Upgrade Planner Controller API's

Arun Nukula
1 min read
There are 2 API's what Upgrade Planner Controller provides

Let's explore these API's and see how we can fetch our desired result
getVrsProductsVersions
Inputs
Method: GET
URL: {{lcmurl}}/lcm/lcops/api/v2/getTargetVersions
Content Type: application/json
screenshot

showUpgradePath
Inputs
Method: POST
URL: {{lcmurl}}/lcm/lcops/api/v2/findUpgradePath
Content Type: application/json
upgradePathInputs:
[
{
"productId": "string",
"fromVersion": "string",
"toVersion": "string",
"required": true
}
]
screenshot

Sample Body
[
{
"productId": "vrslcm",
"fromVersion": "8.8.2",
"toVersion": "8.8.2",
"required": false
},
{
"productId": "vra",
"fromVersion": "8.8.1",
"toVersion": "8.8.2",
"required": true
},
{
"productId": "vrli",
"fromVersion": "8.6.2",
"toVersion": "8.8.2",
"required": true
},
{
"productId": "vrops",
"fromVersion": "8.6.2",
"toVersion": "8.6.3",
"required": true
},
{
"productId": "vrni",
"fromVersion": "6.6.0",
"toVersion": "6.7.0",
"required": true
},
{
"productId": "vidm",
"fromVersion": "3.3.6",
"toVersion": "3.3.6",
"required": true
}
]
Never miss a post
New guides on VMware Cloud Foundation, Aria Suite, and infrastructure automation. Follow the blog in your feed reader and new posts show up as soon as they are published.
Using a different reader? Copy the feed URL and add it there.