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/named-query?format=resource

{ 	"start
	"query-parameters": { 
			"named-query": { 
			"named-query-uuid": "network/generic-vnfs/generic-vnf/de7cc3ab-0212-47df-9e64-da1c79234deb",
	"query": "query/esr-system-info-from-vnf"
}
Code Block
languagejs
titleExample Response
linenumberstrue
{
    "results": [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": {},
                 {             "generic-vnf": {                 "vnfinventory-response-iditems": "de7cc3ab-0212-47df-9e64-da1c79234deb", {
                   "vnf-name": "ZRDM2MMEX39",                 "vnf-type": "vMME Svc Jul 14/vMME VF Jul 14 1",       "inventory-response-item": [
        "service-id": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb",                 "orchestration-status": "active",                 "in-maint": false,           {
     "is-closed-loop-disabled": false,                 "resource-version": "1504805258328",                 "model-invariant-id": "82194af1-3c2c-485a-8f44-420e22a9eaa4",                 "model-version-id": "46b92144-923a-4d20-b85a-3cbd847668a9",esr-system-info": {
                "relationship-list": {                     "relationship": [                         {"esr-system-info-id": "432ac032-e996-41f2-84ed-9c7a1766eb29",
                                  "related-to": "service-instance",                             "relatedsystem-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",example-system-name-val-29070",
                              "relationship-data": [                                  "type": "example-type-val-85254",
                    {                                            "relationship-keyvendor": "customer.global-customer-id",
   example-vendor-val-94515",
                                "relationship-value": "aai_demo_for_onap_community"                                 },
   "version": "example-version-val-71880",
                            {                                     "relationshipservice-keyurl": "service-subscription.service-typehttp://10.12.25.2:5000/v3",
                                    "relationship-value": "vDNS"                                 }"user-name": "demo",
                                {                                     "relationship-keypassword": "service-instance.service-instance-idonapdemo",
                                      "relationship-value": "37b8cdb7-94eb-468f-a0c2-4e3c3546578e"                          "system-type": "VIM",
       }                             ],                            "ssl-cacert": "related-to-property": [example-ssl-cacert-val-75021",
                                 {
                                    "propertyssl-keyinsecure": "service-instance.service-instance-name"true,
                                    "property-value": "Demo Service Instance"                         "ip-address": "example-ip-address-val-44431",
      }                             ]                         },                "port": "example-port-val-93234",
        {                             "related-to": "vserver",                             "relatedcloud-linkdomain": "/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",
   Default",
                        "relationship-data": [                                 {        "default-tenant": "Integration",
                            "relationship-key": "cloud-region.cloud-owner",
                                    "relationshipresource-valueversion": "example-cloud-owner-val-440861508920101033"
                                },                            },
    {                                     "relationship-key": "cloud-region.cloud-region-id",                  "extra-properties": {}
                 "relationship-value": "example-cloud-region-id-val-67393"                                 },     }
                           {                         ]
           "relationship-key": "tenant.tenant-id",                                     }
 "relationship-value": "example-tenant-id-val-89637"                                 },         }
                       {                 ]
                   "relationship-key": "vserver.vserver-id",                }
                    "relationship-value": "example-vserver-id-val-90579"           }
                     }       ]
                     ],   }
                    },
    "related-to-property": [               {
                 {       "vserver": {
                            "propertyvserver-keyid": "vserver.vserver-name","33e16e02-098a-4f4e-a37f-b4e0307596c0",
                            "vserver-name": "vFW",
           "property-value": "example-vserver-name-val-92986"                 "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,
       "vf-modules": {                     "vfresource-moduleversion": ["1509047285114"
                        {},
                            "vfextra-module-idproperties": "ef71d47a-53e8-40f4-a5ed-7d2cac1b20f1"{},
                            "vfinventory-moduleresponse-nameitems": "ZRDM2MMEX39_base",{
                            "orchestrationinventory-response-statusitem": "pending-create",
     [
                      "is-base-vf-module": true,          {
                  "resource-version": "1504805260442",                 "vnfc": {
          "model-invariant-id": "82194af1-3c2c-485a-8f44-420e22a9eaa4",                             "modelvnfc-version-idname": "46b92144vnfc-923arelated-4d20to-b85avserver-3cbd847668a9example",
                        }                "nfc-naming-code": "example-nfc-naming-code-val-78172",
   ]                 }             }         }"nfc-function": "example-nfc-function-val-56352",
        {              "vserver": {                 "vserverprov-idstatus": "example-vserverprov-idstatus-val-9057910699",
                "vserver-name": "example-vserver-name-val-92986",                        "vserverorchestration-name2status": "example-vserverorchestration-name2status-val-7769268896",
                "prov-status": "example-prov-status-val-23854",                        "vserver-selflinkipaddress-v4-oam-vip": "example-ipaddress-v4-vserveroam-selflinkvip-val-1432871483",
       
        "in-maint": true,                    "is-closed-loop-disabled": true,                 "resourcein-versionmaint": "1504808495581"true,
                "relationship-list": {                        "relationshipis-closed-loop-disabled": [true,
                        {                  "group-notation": "example-group-notation-val-31912",
          "related-to": "generic-vnf",                             "relatedresource-linkversion": "/aai/v11/network/generic-vnfs/generic-vnf/de7cc3ab-0212-47df-9e64-da1c79234deb",1508800709772"
                              "relationship-data": [     },
                           {         "extra-properties": {}
                            "relationship-key": "generic-vnf.vnf-id",   },
                                {
"relationship-value": "de7cc3ab-0212-47df-9e64-da1c79234deb"                                 }  "vnfc": {
                         ],               "vnfc-name": "VNFC_vGMUX_demo_app",
            "related-to-property": [                             "nfc-naming-code": "vGMUXCODE",
   {                                     "propertynfc-keyfunction": "generic-vnf.vnf-namevGMUX",
                                        "propertyprov-valuestatus": "ZRDM2MMEX39Running",
                                }        "orchestration-status": "Running",
                   ]                     "in-maint": false,
  }                     ]                 }
  "is-closed-loop-disabled": false,
         }         },         {             "tenant": {
                "tenant-idresource-version": "example-tenant-id-val-89637",1509041573965"
                 "tenant-name": "example-tenant-name-val-36717",                 "resource-version": "1504808495527" },
                "vservers": {                     "vserverextra-properties": {}
[                         {       },
                     "vserver-id": "example-vserver-id-val-90579",          {
                  "vserver-name": "example-vserver-name-val-92986",                 "tenant": {
          "vserver-name2": "example-vserver-name2-val-77692",                             "provtenant-statusid": "example-prov-status-val-23854466979b815b5415ba14ada713e6e1846",
                             "vserver-selflink           "tenant-name": "example-vserver-selflink-val-14328Integration",
                             "in-maint": true,           "resource-version": "1508920100541"
                                   "is-closed-loop-disabled": true },
                            "resource-version": "1504808495581",        "extra-properties": {},
                                    "relationshipinventory-response-listitems": {
                                "relationship        "inventory-response-item": [
                                    {        {
                                   "related-to": "generic-vnf",            "cloud-region": {
                           "related-link": "/aai/v11/network/generic-vnfs/generic-vnf/de7cc3ab-0212-47df-9e64-da1c79234deb",                        "cloud-owner": "pod25",
               "relationship-data": [                                        "cloud-region-id": "RegionOne",
    {                                                 "relationshipidentity-keyurl": "generic-vnf.vnf-id",http://10.12.25.2:5000/v3",
                                                    "relationshipsriov-valueautomation": "de7cc3ab-0212-47df-9e64-da1c79234deb"false,
                                            }        "resource-version": "1509048416263"
                               ],                         },
               "related-to-property": [                                             {"extra-properties": {},
                                                "propertyinventory-response-keyitems": "generic-vnf.vnf-name", {
                                                    "propertyinventory-response-valueitem": "ZRDM2MMEX39"[
                                            }            {
                            ]                                "esr-system-info": {
   }                                 ]                             }"esr-system-info-id": "432ac032-e996-41f2-84ed-9c7a1766eb29",
                             }                     ]              "system-name": "example-system-name-val-29070",
 }             }         },         {             "cloud-region": {                   "cloud-ownertype": "example-cloudtype-owner-val-4408685254",
                "cloud-region-id": "example-cloud-region-id-val-67393",                 "cloud-type": "example-cloud-type-val-13758",
                "owner-defined-type": "example-owner-defined-type-val-38571",                 "cloud-region-versionvendor": "example-cloudvendor-region-version-val-130",val-94515",
                            "identity-url": "example-identity-url-val-73825",                 "cloud-zone": "example-cloud-zone-val-97510",                 "complex-nameversion": "example-complexversion-name-val-2845971880",
                             "sriov-automation": false,                 "resource-version": "1504808495472",                 "tenants": {"service-url": "http://10.12.25.2:5000/v3",
                    "tenant": [                         {                             "tenant-id"user-name": "example-tenant-id-val-89637demo",
                            "tenant-name": "example-tenant-name-val-36717",                             "resource-version": "1504808495527"            "password": "onapdemo",
            }                     ]                 },                 "esr-system-info-listtype": {
          "VIM",
         "esr-system-info": [                         {                             "esr-system-info-idssl-cacert": "example-esrssl-systemcacert-info-id-val-2577775021",
                            "system-name": "example-system-name-val-29070",                                    "typessl-insecure": "example-type-val-85254"true,
                            "vendor": "example-vendor-val-94515",                                    "versionip-address": "example-ip-versionaddress-val-71880",44431",
                                  "service-url": "example-service-url-val-36193",                             "user-nameport": "example-user-nameport-val-7739993234",
                            "password": "example-password-val-46071",                                    "systemcloud-typedomain": "example-system-type-val-76197Default",
                               "protocal": "example-protocal-val-52954",                                 "ssldefault-cacerttenant": "example-ssl-cacert-val-75021",Integration",
                                  "ssl-insecure": true,                             "ipresource-addressversion": "example-ip-address-val-44431",1508920101033"
                             "port": "example-port-val-93234",                             "cloud-domain": "example-cloud-domain-val-76370" },
                            "default-tenant": "example-tenant-id-val-89637",                                "resourceextra-version": "1504808496522"
                 properties": {}
      }                     ]                 }             }
        },         {             "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"         ]
   }         }
    ]    }
    ]
}