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=0

{
	"start": "network/generic-vnfs/generic-vnf/de7cc3ab-0212-47df-9e64-da1c79234deb",
	"query": "query/esr-system-info-from-vnf"
}
Code Block
languagejs
titleExample Response
linenumberstrue
{
    "results": [named-query

{ 
	"query-parameters": { 
			"named-query": { 
			"named-query-uuid": "037eb932-edac-48f5-9782-c19c0aa5a031" 
		} 
	}, 
	"instance-filters":{
			"instance-filter":[ {
			"generic-vnf": { 
				"vnf-id": "vFirewall_demo_app"
			}
		} ]
	}
}
Code Block
languagejs
titleExample Response
linenumberstrue
{
    "inventory-response-item": [
        {
            "model-name": "vFW",
            "generic-vnf": {
                "vnf-id": "vFirewall_demo_app",
                "vnf-name": "vFirewall_demo_app",
                "vnf-type": "vFW",
                "service-id": "vFirewall_demo_app",
                "orchestration-status": "running",
                "in-maint": false,
                "is-closed-loop-disabled": false,
                "resource-version": "1509456799110",
                "model-invariant-id": "vFirewall",
                "model-version-id": "vFW"
            },
            "extra-properties": {},
            "inventory-response-items": {
                "inventory-response-item": [
                    {
                        "vserver": {
                            "vserver-id": "5b06cf36-40a0-4bcb-bde9-849aa4702d67",
                            "vserver-name": "vFW",
                            "vserver-name2": "vFW",
                            "prov-status": "Running",
                            "vserver-selflink": "http://10.12.25.2:8774/v2.1/466979b815b5415ba14ada713e6e1846/servers/5b06cf36-40a0-4bcb-bde9-849aa4702d67",
                            "in-maint": false,
                            "is-closed-loop-disabled": false,
                            "resource-version": "1509047869791"
                        },
                        "extra-properties": {},
                        "inventory-response-items": {
                            "inventory-response-item": [
                                {
                                    "vnfc": {
                                        "vnfc-name": "VNFC_vGMUX_demo_app2",
                                        "nfc-naming-code": "vGMUXCODE2",
                                        "nfc-function": "vGMUX",
                                        "prov-status": "Running",
                                        "orchestration-status": "Error",
                                        "in-maint": false,
                                        "is-closed-loop-disabled": false,
                                        "resource-version": "1509407048855"
                                    },
                                    "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": "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,
                            "is-closed-loop-disabled": false,
                            "resource-version": "1509047285114"
                        },
                        "extra-properties": {},
                        "inventory-response-items": {
                            "inventory-response-item": [
                                {
                       {             "generic-vnfvnfc": {
                   "vnf-id": "de7cc3ab-0212-47df-9e64-da1c79234deb",                     "vnfvnfc-name": "ZRDM2MMEX39vnfc-related-to-vserver-example",
                "vnf-type": "vMME Svc Jul 14/vMME VF Jul 14 1",                 "servicenfc-naming-idcode": "a9a77d5aexample-nfc-123enaming-4ca2code-9eb9val-0b015d2ee0fb78172",
                               "orchestration-status": "active",        "nfc-function": "example-nfc-function-val-56352",
       "in-maint": false,                 "is-closed-loop-disabled": false,                 "resourceprov-versionstatus": "1504805258328example-prov-status-val-10699",
                     "model-invariant-id": "82194af1-3c2c-485a-8f44-420e22a9eaa4",                   "modelorchestration-version-idstatus": "46b92144example-923aorchestration-4d20status-b85aval-3cbd847668a968896",
          
     "relationship-list": {                     "relationship": [             "ipaddress-v4-oam-vip": "example-ipaddress-v4-oam-vip-val-71483",
           {                             "relatedin-tomaint": "service-instance"true,
                             "related-link": "/aai/v11/business/customers/customer/aai_demo_for_onap_community/service-subscriptions/service-subscription/vDNS/service-instances/service-instance/37b8cdb7-94eb-468f-a0c2-4e3c3546578e",           "is-closed-loop-disabled": true,
                               "relationship-data": [         "group-notation": "example-group-notation-val-31912",
                                        {
"resource-version": "1508800709772"
                                   "relationship-key": "customer.global-customer-id" },
                                    "relationship-value": "aai_demo_for_onap_community"
extra-properties": {}
                                },
                                {
                                    "relationship-keyvnfc": "service-subscription.service-type",{
                                        "relationshipvnfc-valuename": "vDNS"VNFC_vGMUX_demo_app",
                                        },"nfc-naming-code": "vGMUXCODE",
                                        "nfc-function": "vGMUX",
   {                                     "relationshipprov-keystatus": "service-instance.service-instance-idRunning",
                                        "relationshiporchestration-valuestatus": "37b8cdb7-94eb-468f-a0c2-4e3c3546578e"Running",
                                }        "in-maint": false,
                   ],                     "is-closed-loop-disabled": false,
      "related-to-property": [                                 {
"resource-version": "1509041573965"
                                   "property-key": "service-instance.service-instance-name" },
                                    "propertyextra-valueproperties": {}
 "Demo Service Instance"                             },
   }                             ]{
                        },            "tenant": {
           {                             "relatedtenant-toid": "vserver466979b815b5415ba14ada713e6e1846",
                                        "relatedtenant-linkname": "/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",Integration",
                              "relationship-data": [          "resource-version": "1508920100541"
                                    {},
                                    "relationshipextra-keyproperties": "cloud-region.cloud-owner"{},
                                    "relationshipinventory-response-valueitems": "example-cloud-owner-val-44086"{
                                },          "inventory-response-item": [
                      {                              {
      "relationship-key": "cloud-region.cloud-region-id",                                         "relationship-value": "example-cloud-region-id-val-67393"": {
                                },                    "cloud-owner": "pod25",
               {                                     "relationshipcloud-region-keyid": "tenant.tenant-id",RegionOne",
                                                    "identity-url": "http://10.12.25.2:5000/v3",
      "relationship-value": "example-tenant-id-val-89637"                                 },                 "sriov-automation": false,
               {                                     "relationshipresource-keyversion": "vserver.vserver-id",1509048416263"
                                      "relationship-value": "example-vserver-id-val-90579"         },
                       }                         "extra-properties": {},
  ],                             "related-to-property": [                "inventory-response-items": {
               {                                     "propertyinventory-response-keyitem": "vserver.vserver-name",[
                                    "property-value": "example-vserver-name-val-92986"                   {
             }                             ]                  "esr-system-info": {
     }                     ]                 }             }         },"esr-system-info-id": "432ac032-e996-41f2-84ed-9c7a1766eb29",
            {             "vserver": {                 "vserver-id": "example-vserver-id-val-90579",                     "vserversystem-name": "example-vserversystem-name-val-9298629070",
                "vserver-name2": "example-vserver-name2-val-77692",                              "prov-status": "example-prov-status-val-23854",                 "vserver-selflinktype": "example-vserver-selflinktype-val-1432885254",
                          "in-maint": true,                   "is-closed-loop-disabled": true,                   "resource-versionvendor": "1504808495581example-vendor-val-94515",
                      "relationship-list": {                     "relationship": [                   "version": "example-version-val-71880",
    {                              "related-to": "generic-vnf",                             "relatedservice-linkurl": "http:/aai/v11/network/generic-vnfs/generic-vnf/de7cc3ab-0212-47df-9e64-da1c79234deb/10.12.25.2:5000/v3",
                            "relationship-data": [                                    "user-name": "demo",
            {                                     "relationship-key": "generic-vnf.vnf-id",              "password": "onapdemo",
                     "relationship-value": "de7cc3ab-0212-47df-9e64-da1c79234deb"                                 }         "system-type": "VIM",
                  ],                             "related-to-property": [                "ssl-cacert": "example-ssl-cacert-val-75021",
                 {                                     "property-key": "generic-vnf.vnf-name",         "ssl-insecure": true,
                          "property-value": "ZRDM2MMEX39"                                 }    "ip-address": "example-ip-address-val-44431",
                       ]                         }                "port": "example-port-val-93234",
   ]                 }             }         },         {             "tenantcloud-domain": {"Default",
                "tenant-id": "example-tenant-id-val-89637",                 "tenant-name": "example-tenant-name-val-36717",                 "resource-version": "1504808495527"             }
"default-tenant": "Integration",
       },         {             "cloud-region": {                 "cloud-owner": "example-cloud-owner-val-44086",                 "cloudresource-region-idversion": "example-cloud-region-id-val-67393",1508920101033"
                               "cloud-type": "example-cloud-type-val-13758",                 "owner-defined-type": "example-owner-defined-type-val-38571",          },
      "cloud-region-version": "example-cloud-region-version-val-130",                 "identity-url": "example-identity-url-val-73825",                 "cloud-zone": "example-cloud-zone-val-97510",                 "complexextra-nameproperties": "example-complex-name-val-28459", {}
                        "sriov-automation": false,                 "resource-version": "1504808495472"             }
                },         {             "esr-system-info": {             ]
   "esr-system-info-id": "example-esr-system-info-id-val-25777",                   "system-name": "example-system-name-val-29070",                 "type": "example-type-val-85254",       }
         "vendor": "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": "example-protocal-val-52954",   }
             "ssl-cacert": "example-ssl-cacert-val-75021",                   "ssl-insecure": true,}
                  "ip-address": "example-ip-address-val-44431",         ]
       "port": "example-port-val-93234",                }
"cloud-domain": "example-cloud-domain-val-76370",                 "default-tenant": "example-tenant-id-val-89637",
 }
               "resource-version": "1504808496522" ]
            }
        }
    ]
}