Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The "cloud-region-and-source-FromConfiguration" query allows a client to provide A&AI with a configuration-id and retrieve the source cloud-region and source vnf..

Query needs to be submitted using format=simple&nodesOnly=true


InputOutputUsersRelease(s)

configuration-id

cloud-region

generic-vnf (source vnf)

VIDCasablanca


Details

Example payload

{
  "start":["network/configurations/configuration/{configuration-id}"],
  "query":"query/cloud-region-and-source-FromConfiguration"
}

The Traversal

Only objects at the end of a line will be returned.

configuration > logical-link (org.onap.relationships.inventory.Source) >  l-interface > vserver > tenant > cloud-region 

configuration > logical-link (org.onap.relationships.inventory.Source) > l-interface > vserver > vf-module > generic-vnf


Example Output

{
"results": [
{
"id": "4273582096",
"node-type": "cloud-region",
"properties": {
"cloud-owner": "att-aic",
"cloud-region-id": "cloudReg-11902",
"resource-version": "1519310214233",
"sriov-automation": false
},
"url": "/aai/v12/cloud-infrastructure/cloud-regions/cloud-region/att-aic/cloudReg-11902"
},
{
"id": "4982943744",
"node-type": "generic-vnf",
"properties": {
"in-maint": true,
"is-closed-loop-disabled": false,
"orchestration-status": "active",
"resource-version": "1519314710016",
"service-id": "a9a77d5a-123e-4-11902",
"vnf-id": "gVnf-11902",
"vnf-name": "vnf-11902",
"vnf-type": "1-11902"
},
"url": "/aai/v12/network/generic-vnfs/generic-vnf/gVnf-11902"
}
]
}
  • No labels