Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Code Block
languagejs
titleExample Request
linenumberstrue
POST https://127.0.0.1:8443/aai/v11search/query?format=resource&depth=0named-query

{ 
	"startquery-parameters": "network/generic-vnfs/generic-vnf/de7cc3ab-0212-47df-9e64-da1c79234deb",
	"query{ 
			"named-query": { 
			"named-query-uuid": "query/esr037eb932-systemedac-info48f5-from9782-vnfc19c0aa5a031" 
}
Code Block
languagejs
titleExample Response
linenumberstrue
{
    "results": [
        {
       		} 
	}, 
	"instance-filters":{
			"instance-filter":[ {
			"generic-vnf": { 
				"vnf-id": "vFirewall_demo_app"
			}
		} ]
	}
}
Code Block
languagejs
titleExample Response
linenumberstrue
{
    "genericinventory-response-vnfitem": {[
        {
            "vnfmodel-idname": "de7cc3ab-0212-47df-9e64-da1c79234debvFW",
   
            "generic-vnf-name": "ZRDM2MMEX39",{
                "vnf-typeid": "vFirewall_demo_app",
                "vnf-name": "vMME Svc Jul 14/vMME VF Jul 14 1vFirewall_demo_app",
                "vnf-type": "vFW",
                "service-id": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fbvFirewall_demo_app",
                "orchestration-status": "activerunning",
                "in-maint": false,
                "is-closed-loop-disabled": false,
                "resource-version": "15048052583281509456799110",
                "model-invariant-id": "82194af1-3c2c-485a-8f44-420e22a9eaa4vFirewall",
                "model-version-id": "46b92144-923a-4d20-b85a-3cbd847668a9",vFW"
            },
            "relationshipextra-listproperties": {},
            "inventory-response-items": {
                "relationshipinventory-response-item": [
                    {
                        "vserver": {
                            "relatedvserver-toid": "service-instance5b06cf36-40a0-4bcb-bde9-849aa4702d67",
                            "relatedvserver-linkname": "/aai/v11/business/customers/customer/aai_demo_for_onap_community/service-subscriptions/service-subscription/vDNS/service-instances/service-instance/37b8cdb7-94eb-468f-a0c2-4e3c3546578e","vFW",
                                 "relationshipvserver-dataname2": ["vFW",
                            "prov-status": "Running",
  {
                                    "relationship-key"vserver-selflink": "customer.global-customer-id",
http://10.12.25.2:8774/v2.1/466979b815b5415ba14ada713e6e1846/servers/5b06cf36-40a0-4bcb-bde9-849aa4702d67",
                            "in-maint": false,
     "relationship-value": "aai_demo_for_onap_community"                      "is-closed-loop-disabled": false,
         },                   "resource-version": "1509047869791"
            {            },
                        "relationshipextra-keyproperties": "service-subscription.service-type",
           {},
                        "relationshipinventory-response-valueitems": "vDNS"{
                            "inventory-response-item": [
  },                                 {
                                    "relationship-keyvnfc": "service-instance.service-instance-id",{
                                        "relationshipvnfc-valuename": "37b8cdb7-94eb-468f-a0c2-4e3c3546578e"VNFC_vGMUX_demo_app2",
                                }        "nfc-naming-code": "vGMUXCODE2",
                   ],                     "nfc-function": "vGMUX",
        "related-to-property": [                                "prov-status": "Running",
   {                                     "propertyorchestration-keystatus": "service-instance.service-instance-nameError",
                                        "propertyin-valuemaint": "Demo Service Instance" false,
                                        "is-closed-loop-disabled": false,
       }                             ]    "resource-version": "1509407048855"
                   },                 },
       {                             "relatedextra-toproperties": "vserver", {}
                                },
  "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/example-cloud-owner-val-44086/example-cloud-region-id-val-67393/tenants/tenant/example-tenant-id-val-89637/vservers/vserver/example-vserver-id-val-90579",                              {
   "relationship-data": [                                "tenant": {
                                        "relationshiptenant-keyid": "cloud-region.cloud-owner466979b815b5415ba14ada713e6e1846",
                                        "relationshiptenant-valuename": "example-cloud-owner-val-44086"Integration",
                                        "resource-version": "1508920100541"
 },                                   {},
                                    "relationshipextra-keyproperties": "cloud-region.cloud-region-id"{},
                                    "relationshipinventory-response-valueitems": "example-cloud-region-id-val-67393"{
                                },        "inventory-response-item": [
                       {                     {
               "relationship-key": "tenant.tenant-id",                                 "cloud-region": {
    "relationship-value": "example-tenant-id-val-89637"                                 },                "cloud-owner": "pod25",
                {                                     "relationshipcloud-region-keyid": "vserver.vserver-idRegionOne",
                                    "relationship-value": "example-vserver-id-val-90579"               "identity-url": "http://10.12.25.2:5000/v3",
                }                             ],       "sriov-automation": false,
                    "related-to-property": [                                 {"resource-version": "1509048416263"
                                               "property-key": "vserver.vserver-name", },
                                                "propertyextra-valueproperties": "example-vserver-name-val-92986" {},
                                 }               "inventory-response-items": {
            ]                         },               "inventory-response-item": [
        {                              "related-to": "vserver",                 {
           "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/example-cloud-owner-val-2/example-cloud-region-id-val-2/tenants/tenant/example-tenant-id-val-2/vservers/vserver/example-vserver-id-val-2"                                                 "esr-system-info": {
                                                                "esr-system-info-id": "432ac032-e996-41f2-84ed-9c7a1766eb29",
                                                                "system-name": "example-system-name-val-29070",
                                                                "type": "example-type-val-85254",
                                                                "vendor": "example-vendor-val-94515",
                                                                "version": "example-version-val-71880",
                                                                "service-url": "http://10.12.25.2:5000/v3",
                                                                "user-name": "demo",
                                                                "password": "onapdemo",
                                                                "system-type": "VIM",
                                                                "ssl-cacert": "example-ssl-cacert-val-75021",
                                                                "ssl-insecure": true,
                                                                "ip-address": "example-ip-address-val-44431",
                                                                "port": "example-port-val-93234",
                                                                "cloud-domain": "Default",
                                                                "default-tenant": "Integration",
                                                                "resource-version": "1508920101033"
                                                            },
                                                            "extra-properties": {}
                                                        }
                                                    ]
                                                }
                                            }
                                        ]
                                    }
                                }
                            ]
                        }
                    },
                    {
                        "vserver": {
                            "vserver-id": "0c52905c-f682-42cf-bd52-e7f8953e80e3",
                            "vserver-name": "vFW",
                            "vserver-name2": "vFW",
                            "prov-status": "Running",
                            "vserver-selflink": "http://10.12.25.2:8774/v2.1/466979b815b5415ba14ada713e6e1846/servers/0c52905c-f682-42cf-bd52-e7f8953e80e3",
                            "in-maint": false,
                            "is-closed-loop-disabled": false,
                            "resource-version": "1509047548567"
                        },
                        "extra-properties": {},
                        "inventory-response-items": {
                            "inventory-response-item": [
                                {
                                    "vnfc": {
                                        "vnfc-name": "VNFC_vGMUX_demo_app3",
                                        "nfc-naming-code": "vGMUXCODE3",
                                        "nfc-function": "vGMUX",
                                        "prov-status": "Running",
                                        "orchestration-status": "Running",
                                        "in-maint": false,
                                        "is-closed-loop-disabled": false,
                                        "resource-version": "1509041912808"
                                    },
                                    "extra-properties": {}
                                },
                                {
                                    "tenant": {
                                        "tenant-id": "466979b815b5415ba14ada713e6e1846",
                                        "tenant-name": "Integration",
                                        "resource-version": "1508920100541"
                                    },
                                    "extra-properties": {},
                                    "inventory-response-items": {
                                        "inventory-response-item": [
                                            {
                                                "cloud-region": {
                                                    "cloud-owner": "pod25",
                                                    "cloud-region-id": "RegionOne",
                                                    "identity-url": "http://10.12.25.2:5000/v3",
                                                    "sriov-automation": false,
                                                    "resource-version": "1509048416263"
                                                },
                                                "extra-properties": {},
                                                "inventory-response-items": {
                                                    "inventory-response-item": [
                                                        {
                                                            "esr-system-info": {
                                                                "esr-system-info-id": "432ac032-e996-41f2-84ed-9c7a1766eb29",
                                                                "system-name": "example-system-name-val-29070",
                                                                "type": "example-type-val-85254",
                                                                "vendor": "example-vendor-val-94515",
                                                                "version": "example-version-val-71880",
                                                                "service-url": "http://10.12.25.2:5000/v3",
                                                                "user-name": "demo",
                                                                "password": "onapdemo",
                                                                "system-type": "VIM",
                                                                "ssl-cacert": "example-ssl-cacert-val-75021",
                                                                "ssl-insecure": true,
                                                                "ip-address": "example-ip-address-val-44431",
                                                                "port": "example-port-val-93234",
                                                                "cloud-domain": "Default",
                                                                "default-tenant": "Integration",
                                                                "resource-version": "1508920101033"
                                                            },
                                                            "extra-properties": {}
                                                        }
                                                    ]
                                                }
                                            }
                                        ]
                                    }
                                }
                            ]
                        }
                    },
                    {
                        "vserver": {
                            "vserver-id": "33e16e02-098a-4f4e-a37f-b4e0307596c0",
                            "vserver-name": "vFW",
                            "vserver-name2": "vFW",
                            "prov-status": "Running",
                            "vserver-selflink": "http://10.12.25.2:8774/v2.1/466979b815b5415ba14ada713e6e1846/servers/33e16e02-098a-4f4e-a37f-b4e0307596c0",
                            "in-maint": false,
                            "relationship-datais-closed-loop-disabled": [false,
                            "resource-version": "1509047285114"
    {                    },
                        "relationshipextra-keyproperties": "cloud-region.cloud-owner",{},
                        "inventory-response-items": {
                 "relationship-value": "example-cloud-owner-val-2"           "inventory-response-item": [
                                {
        },                            "vnfc": {
   {                                     "relationshipvnfc-keyname": "cloud-region.cloud-region-id",vnfc-related-to-vserver-example",
                                     "relationship-value   "nfc-naming-code": "example-cloudnfc-regionnaming-idcode-val-278172",
                                }         "nfc-function": "example-nfc-function-val-56352",
                                {        "prov-status": "example-prov-status-val-10699",
                                        "relationshiporchestration-keystatus": "tenant.tenant-idexample-orchestration-status-val-68896",
                                    "relationship-value    "ipaddress-v4-oam-vip": "example-ipaddress-tenantv4-oam-idvip-val-271483",
                                },                           "in-maint": true,
     {                                     "relationship-key"is-closed-loop-disabled": "vserver.vserver-id",true,
                                        "relationshipgroup-valuenotation": "example-vservergroup-idnotation-val-231912",
                                }        "resource-version": "1508800709772"
                       ],             },
               "related-to-property": [                    "extra-properties": {}
           {                      },
              "property-key": "vserver.vserver-name",                  {
                  "property-value": "example-vserver-name-val-2"                 "vnfc": {
              }                          "vnfc-name": "VNFC_vGMUX_demo_app",
 ]                         }              "nfc-naming-code": "vGMUXCODE",
     ]                 }             }     "nfc-function": "vGMUX",
  },         {             "vserver": {                 "vserverprov-idstatus": "example-vserver-id-val-90579Running",
                "vserver-name": "example-vserver-name-val-92986",                        "vserverorchestration-name2status": "example-vserver-name2-val-77692Running",
                  "prov-status": "example-prov-status-val-23854",                     "vserver-selflink": "example-vserver-selflink-val-14328",in-maint": false,
                      "in-maint": true,                 "is-closed-loop-disabled": truefalse,
                "resource-version": "1504808495581",                        "relationshipresource-listversion": {"1509041573965"
                    "relationship": [                 },
       {                             "relatedextra-toproperties": "generic-vnf", {}
                                },
  "related-link": "/aai/v11/network/generic-vnfs/generic-vnf/de7cc3ab-0212-47df-9e64-da1c79234deb",                              {
  "relationship-data": [                                 "tenant": {
                                        "relationshiptenant-keyid": "generic-vnf.vnf-id466979b815b5415ba14ada713e6e1846",
                                        "relationshiptenant-valuename": "de7cc3ab-0212-47df-9e64-da1c79234deb"Integration",
                                }        "resource-version": "1508920100541"
                   ],                 },
           "related-to-property": [                                 {"extra-properties": {},
                                    "property-key": "generic-vnf.vnf-name",inventory-response-items": {
                                        "propertyinventory-response-valueitem": "ZRDM2MMEX39"[
                                }            {
                ]                         }       "cloud-region": {
            ]                 }             }         },
  "cloud-owner": "pod25",
      {             "tenant": {                 "tenant-id": "example-tenant-id-val-89637",                 "tenantcloud-region-nameid": "example-tenant-name-val-36717",
       RegionOne",
        "resource-version": "1504808495527"              }         },         {             "cloudidentity-regionurl": {"http://10.12.25.2:5000/v3",
                "cloud-owner": "example-cloud-owner-val-44086",                 "cloud-region-id": "example-cloud-region-id-val-67393",                 "cloudsriov-typeautomation": "example-cloud-type-val-13758"false,
                "owner-defined-type": "example-owner-defined-type-val-38571",                       "cloud-region-version": "example-cloud-region-version-val-130",                 "identityresource-urlversion": "example-identity-url-val-73825",1509048416263"
                             "cloud-zone": "example-cloud-zone-val-97510",                 "complex-name": "example-complex-name-val-28459" },
                "sriov-automation": false,                   "resource-version": "1504808495472"            "extra-properties": {},
        },         {             "esr-system-info": {                 "esrinventory-systemresponse-info-iditems": "example-esr-system-info-id-val-25777",{
                "system-name": "example-system-name-val-29070",                 "type": "example-type-val-85254",                 "vendorinventory-response-item": "example-vendor-val-94515", [
                          "version": "example-version-val-71880",                 "service-url": "example-service-url-val-36193",           {
     "user-name": "example-user-name-val-77399",                 "password": "example-password-val-46071",                 "system-type": "example-system-type-val-76197",                 "protocal": "exampleesr-protocal-val-52954",
  system-info": {
             "ssl-cacert": "example-ssl-cacert-val-75021",                 "ssl-insecure": true,
                "ip-address": "example-ip-address-val-44431",                 "portesr-system-info-id": "example432ac032-e996-port41f2-val84ed-932349c7a1766eb29",
                  "cloud-domain": "example-cloud-domain-val-76370",                       "default-tenant": "example-tenant-id-val-89637",                       "resourcesystem-versionname": "1504808496522"example-system-name-val-29070",
            }            },         {             "vserver": {                 "vserver-idtype": "example-vservertype-id-val-285254",
     
          "vserver-name": "example-vserver-name-val-2",                 "vserver-name2": "example-vserver-name2-val-2",                 "prov-status": "example-prov-status-val-2",                 "vserver-selflinkvendor": "example-vserver-selflinkvendor-val-294515",
                "in-maint": true,                 "is-closed-loop-disabled": true,                 "resource-version": "1504817435622",                "version": "relationship-list": {example-version-val-71880",
                     "relationship": [                         {                             "related-to"service-url": "generic-vnfhttp://10.12.25.2:5000/v3",
                            "related-link": "/aai/v11/network/generic-vnfs/generic-vnf/de7cc3ab-0212-47df-9e64-da1c79234deb",                               "relationship-data": [    "user-name": "demo",
                           {                                     "relationship-keypassword": "generic-vnf.vnf-idonapdemo",
                                    "relationship-value": "de7cc3ab-0212-47df-9e64-da1c79234deb"                           "system-type": "VIM",
    }                                ],                            "ssl-cacert": "related-to-property": [
   example-ssl-cacert-val-75021",
                            {                                     "propertyssl-keyinsecure": "generic-vnf.vnf-name"true,
                                    "property-value": "ZRDM2MMEX39"                           "ip-address": "example-ip-address-val-44431",
    }                             ]                         }      "port": "example-port-val-93234",
             ]                 }             }         },         {   "cloud-domain": "Default",
        "tenant": {                 "tenant-id": "example-tenant-id-val-2",                    "tenant-name": "example-tenant-name-val-2",                 "resourcedefault-versiontenant": "1504817435574Integration",
            }            },         {             "cloud-region": {                 "cloudresource-ownerversion": "example-cloud-owner-val-2",1508920101033"
                       "cloud-region-id": "example-cloud-region-id-val-2",                 "cloud-type": "example-cloud-type-val-2",                 "owner-defined-type": "example-owner-defined-type-val-2", },
                   "cloud-region-version": "example-cloud-region-version-val-2",                       "identity-url": "example-identity-url-val-2",                 "cloudextra-zoneproperties": "example-cloud-zone-val-2",
 {}
              "complex-name": "example-complex-name-val-2",                   "sriov-automation": false,                 "resource-version": "1504817435502"    }
        }         },         {             "esr-system-info": {            ]
    "esr-system-info-id": "example-esr-system-info-id-val-2",                 "system-name": "example-system-name-val-2",                 "type": "example-type-val-2",       }
         "vendor": "example-vendor-val-2",                   "version": "example-version-val-2",               }
 "service-url": "example-service-url-val-2",                 "user-name": "example-user-name-val-2",                 "password": "example-password-val-2",  ]
              "system-type": "example-system-type-val-2",                 "protocal": "example-protocal-val-2",   }
             "ssl-cacert": "example-ssl-cacert-val-2",                   }
"ssl-insecure": true,                 "ip-address": "example-ip-address-val-2",         ]
       "port": "example-port-val-2",                }
"cloud-domain": "example-cloud-domain-val-2",                 "default-tenant": "example-tenant-id-val-2",
 }
               "resource-version": "1504817436023" ]
            }
        }
    ]
}