Retrieve Product Version Compatibilities from the Tanzu API
search cancel

Retrieve Product Version Compatibilities from the Tanzu API

book

Article ID: 371876

calendar_today

Updated On:

Products

Concourse for VMware Tanzu Redis for VMware Tanzu Tanzu Application Catalog for Tanzu Advanced Prepaid Commitment per Core Tanzu Hub SaaS Tanzu Hub Self-Managed Tanzu Kubernetes Grid Tanzu Mission Control Tanzu Mission Control Prepaid Commitment Plan per Core Tanzu Service Mesh Enterprise - Per Core - Commitment Plan Tanzu Service Mesh, built on VMware NSX - Advanced Prepaid Commitment Plan per Core Tanzu Standard per CPU - Subscription Tanzu Web Service VMware Application Transformer for VMware Tanzu VMware Application Transformer for VMware Tanzu NFR VMware NSX Advanced Load Balancer essentials for Tanzu VMware NSX-T Advanced for VMware Tanzu Application Service Term License (50 pack Application Instance) VMware Tanzu Advanced VMware Tanzu App Ops VMware Tanzu Application Catalog VMware Tanzu Application Catalog Subscription VMware Tanzu Application Platform VMware Tanzu Application Platform per vCPU VMware Tanzu Application Platform SM VMware Tanzu Application Service VMware Tanzu Application Service VMware Tanzu Application Service for VMs VMware Tanzu Build Service VMware Tanzu Data Services Pack VMware Tanzu Data Suite VMware Tanzu Data Suite VMware Tanzu for Kubernetes Operations VMware Tanzu Gemfire VMware Tanzu Greenplum VMware Tanzu Guardrails VMware Tanzu Insights VMware Tanzu Kubernetes Grid VMware Tanzu Kubernetes Grid 1.x VMware Tanzu Kubernetes Grid Integrated (TKGi) VMware Tanzu Kubernetes Grid Integrated Edition VMware Tanzu Kubernetes Grid Integrated Edition (Core) VMware Tanzu Kubernetes Grid Integrated Edition 1.x VMware Tanzu Kubernetes Grid Integrated EditionStarter Pack (Core) VMware Tanzu Kubernetes Grid Management VMware Tanzu Kubernetes Grid Plus VMware Tanzu Kubernetes Grid Plus 1.x VMware Tanzu Kubernetes Grid Service (TKGs) VMware Tanzu Mission Control VMware Tanzu Mission Control - SM VMware Tanzu Mission Control Self-Managed VMware Tanzu MySQL VMware Tanzu Platform Vmware Tanzu Platform - SM VMware Tanzu Platform Spring Essentials VMware Tanzu PostgreSQL VMware Tanzu RabbitMQ VMware Tanzu Redis VMware Tanzu Service Mesh VMware Tanzu Service Mesh, Secure App IX VMware Tanzu Spring Runtime VMware Tanzu Spring Runtime - SM VMware Tanzu SQL VMware Tanzu Standard VMware Tanzu tc Server VMware Tanzu Toolkit for Kubernetes VMware Tanzu Toolkit for Kubernetes 1.x VMware vSphere 7.0 with Tanzu VMware vSphere with Tanzu vSphere with Tanzu

Issue/Introduction

Update - November 2024: You can retrieve product version compatibilities and upgrade information for many products on the Broadcom Support portal by clicking Upgrade/Dependency Information at the top right of the My Downloads page for the product version.

 

Tanzu Network provided dependency and upgrade path information per release directly via UI and API. With the transition of Tanzu Network to Support Portal, this information is no longer visible via UI. However, the API was replicated and continues to function predominantly as is. This article explains how to query the Tanzu Network API to retrieve a list of compatible Tanzu product versions for a Tanzu product version.

Environment

TanzuNet

Tanzu Network

Customer Connect

Tanzu

Download

Pivnet

Platform Automation

Pipeline

Resolution

Prerequisite

 

A macOS or Linux workstation with jq installed.

 

Steps

 

1. Retrieve the slug for the product, its identifier string in the Tanzu product database, by listing the product names and slugs:

 

curl https://network.tanzu.vmware.com/api/v2/products | jq | grep -e '"slug"\|"name"'

 

2. List the versions of the product by human-readable version and database ID:

 

curl https://network.tanzu.vmware.com/api/v2/products/SLUG/releases | jq | grep -e '"id"\|"version"'

 

Where SLUG is the product slug, e.g. pivotal-container-service.

 

In the output, ignore the single-digit id value indented below version, which indexes products within a version.

 

3. Find the database ID of the product version that you are querying compatibilities for, and list its dependencies:

 

curl https://network.tanzu.vmware.com/api/v2/products/SLUG/releases/VERSION-ID/dependencies | jq | grep -e '"slug"\|"name"\|"version"'

 

Where SLUG is the product slug and VERSION-ID is the version ID, e.g. 360292

 

4. The output of the /dependencies query lists all of the compatible product versions by name and slug, for example:

 

        "version": "3.0.31+LTS-T",
          "slug": "ops-manager",
          "name": "VMware Tanzu Operations Manager"
        "version": "3.0.30+LTS-T",
          "slug": "ops-manager",
          "name": "VMware Tanzu Operations Manager"
[...]
        "version": "1.465",
          "slug": "stemcells-ubuntu-jammy",
          "name": "Stemcells (Ubuntu Jammy)"