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.
TanzuNet
Tanzu Network
Customer Connect
Tanzu
Download
Pivnet
Platform Automation
Pipeline
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)"