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/v11/query?format=resource&depth=0
search/named-query

{ 
"query-parameters": { 
		"named-query": { 
		"startnamed-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": "de7cc3ab-0212-47df-9e64-da1c79234deb"
			}
} ]
}
}
Code Block
languagejs
titleExample Response
linenumberstrue
{
    "inventory-response-item": [
        {
            "model-name": "service-instance",
            "generic-vnf": {
                "vnf-id": "de7cc3ab-0212-47df-9e64-da1c79234deb",
                "vnf-name": "ZRDM2MMEX39",
                "vnf-type": "vMME Svc Jul 14/vMME VF Jul 14 1",
                "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"
            },
            "extra-properties": {},
            "inventory-response-items": {
                "inventory-response-item": [
                    {
                        "vserver": {
                            "vserver-id": "example-vserver-id-val-90579",
                            "vserver-name": "example-vserver-name-val-92986",
                            "vserver-name2": "example-vserver-name2-val-77692",
                            "prov-status": "example-prov-status-val-23854",
                            "vserver-selflink": "example-vserver-selflink-val-14328",
                            "in-maint": true,
                            "is-closed-loop-disabled": true,
                            "resource-version": "1504808495581"
                        },
                        "extra-properties": {},
                        "inventory-response-items": {
                            "inventory-response-item": [
                                {
                                    "tenant": {
                                        "tenant-id": "example-tenant-id-val-89637",
                                        "tenant-name": "example-tenant-name-val-36717",
                                        "resource-version": "1504808495527"
                                    },
                                    "extra-properties": {},
                                    "inventory-response-items": {
                                        "inventory-response-item": [
                        {             "generic-vnf": {      {
          "vnf-id": "de7cc3ab-0212-47df-9e64-da1c79234deb",                    "vnf-name": "ZRDM2MMEX39",                 "vnfcloud-typeregion": "vMME Svc Jul 14/vMME VF Jul 14 1", {
                                  "service-id": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb",                 "orchestrationcloud-statusowner": "activeexample-cloud-owner-val-44086",
                "in-maint": false,                 "is-closed-loop-disabled": false,                 "resourcecloud-region-versionid": "1504805258328example-cloud-region-id-val-67393",
                "model-invariant-id": "82194af1-3c2c-485a-8f44-420e22a9eaa4",                 "model-version-id": "46b92144-923a-4d20-b85a-3cbd847668a9",                 "relationshipcloud-listtype": { "example-cloud-type-val-13758",
                       "relationship": [                         {   "owner-defined-type": "example-owner-defined-type-val-38571",
                        "related-to": "service-instance",
                            "relatedcloud-region-linkversion": "/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-cloud-region-version-val-130",
                                  "relationship-data": [                 "identity-url": "example-identity-url-val-73825",
               {                                     "relationshipcloud-keyzone": "customer.global-customer-idexample-cloud-zone-val-97510",
                                    "relationship-value": "aai_demo_for_onap_community"                                 }"complex-name": "example-complex-name-val-28459",
                                {                    "sriov-automation": false,
               "relationship-key": "service-subscription.service-type",
                                    "relationshipresource-valueversion": "vDNS1504808495472"
                                },                },
                {                                "extra-properties": {},
         "relationship-key": "service-instance.service-instance-id",                                     "relationship-value": "37b8cdb7inventory-94eb-468f-a0c2-4e3c3546578e"
  response-items": {
                             }                       "inventory-response-item": [
    ],                             "related-to-property": [                      {
          {                                     "property-key": "service-instance.service-instance-name",            "esr-system-info": {
                       "property-value": "Demo Service Instance"                                 }     "esr-system-info-id": "example-esr-system-info-id-val-25777",
                      ]                         },                  "system-name": "example-system-name-val-29070",
     {                             "related-to": "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-90579type": "example-type-val-85254",
                            "relationship-data": [                                 {  "vendor": "example-vendor-val-94515",
                                 "relationship-key": "cloud-region.cloud-owner",                                     "relationship-value"version": "example-cloud-ownerversion-val-4408671880",
                                },                                 {
         "service-url": "example-service-url-val-36193",
                          "relationship-key": "cloud-region.cloud-region-id",                                     "relationshipuser-valuename": "example-clouduser-region-idname-val-6739377399",
                                },                                 {
     "password": "example-password-val-46071",
                              "relationship-key": "tenant.tenant-id",                                     "relationshipsystem-valuetype": "example-tenantsystem-idtype-val-89637"
       76197",
                        },                                 {       "protocal": "example-protocal-val-52954",
                            "relationship-key": "vserver.vserver-id",
                                    "relationshipssl-valuecacert": "example-vserverssl-idcacert-val-9057975021",
                                }                                 ]"ssl-insecure": true,
                            "related-to-property": [                                    "ip-address": "example-ip-address-val-44431",
       {                                     "property-key": "vserver.vserver-name",                   "port": "example-port-val-93234",
                "property-value": "example-vserver-name-val-92986"                                 }                 "cloud-domain": "example-cloud-domain-val-76370",
           ]                         },                         {      "default-tenant": "example-tenant-id-val-89637",
                      "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",              "resource-version": "1504808496522"
              "relationship-data": [                                 {            },
                        "relationship-key": "cloud-region.cloud-owner",
                                    "relationshipextra-valueproperties": "example-cloud-owner-val-2"
{}
                               },                             }
   {                                     "relationship-key": "cloud-region.cloud-region-id",            ]
                        "relationship-value": "example-cloud-region-id-val-2"                        }
             },                               }
 {                                     "relationship-key": "tenant.tenant-id",
 ]
                                   "relationship-value": "example-tenant-id-val-2" }
                                },
                            ]
       {                 }
                   "relationship-key": "vserver.vserver-id", },
                    {
                       "relationship-value": "example-vserver-id-val-2"
 ": {
                            "vserver-id":  }"example-vserver-id-val-2",
                             ]"vserver-name": "example-vserver-name-val-2",
                            "relatedvserver-to-propertyname2": ["example-vserver-name2-val-2",
                                {
"prov-status": "example-prov-status-val-2",
                                   "property-key"vserver-selflink": "vserver.vserver-name",
       example-vserver-selflink-val-2",
                            "propertyin-valuemaint": "example-vserver-name-val-2"true,
                            "is-closed-loop-disabled": true,
  }                             ]"resource-version": "1504817435622"
                        },
                    ]      "extra-properties": {},
          }             }
  "inventory-response-items": {
      },         {             "vserverinventory-response-item": {
[
               "vserver-id": "example-vserver-id-val-90579",                {
"vserver-name": "example-vserver-name-val-92986",                 "vserver-name2": "example-vserver-name2-val-77692",                 "prov-statustenant": "example-prov-status-val-23854",{
                     "vserver-selflink": "example-vserver-selflink-val-14328",                   "intenant-maintid": true,"example-tenant-id-val-2",
                   "is-closed-loop-disabled": true,                     "resourcetenant-versionname": "1504808495581example-tenant-name-val-2",
                  "relationship-list": {                     "relationshipresource-version": ["1504817435574"
                        {                     },
       "related-to": "generic-vnf",                             "relatedextra-linkproperties": "/aai/v11/network/generic-vnfs/generic-vnf/de7cc3ab-0212-47df-9e64-da1c79234deb"{},
                            "relationship-data": [       "inventory-response-items": {
                        {                "inventory-response-item": [
                   "relationship-key": "generic-vnf.vnf-id",                             {
       "relationship-value": "de7cc3ab-0212-47df-9e64-da1c79234deb"                                      }   "cloud-region": {
                        ],                            "cloud-owner": "related-to-property": [example-cloud-owner-val-2",
                                             {       "cloud-region-id": "example-cloud-region-id-val-2",
                            "property-key": "generic-vnf.vnf-name",                       "cloud-type": "example-cloud-type-val-2",
            "property-value": "ZRDM2MMEX39"                                 }      "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",
     {             "tenant": {                 "tenant-id": "example-tenant-id-val-89637",
                "tenantcloud-namezone": "example-tenantcloud-namezone-val-367172",
                   "resource-version": "1504808495527"                }         },         {"complex-name": "example-complex-name-val-2",
            "cloud-region": {                 "cloud-owner": "example-cloud-owner-val-44086",                      "cloudsriov-region-idautomation": "example-cloud-region-id-val-67393"false,
                "cloud-type": "example-cloud-type-val-13758",                 "owner-defined-type": "example-owner-defined-type-val-38571",                 "cloud-regionresource-version": "example-cloud-region-version-val-130","1504817435502"
                         "identity-url": "example-identity-url-val-73825",                 "cloud-zone": "example-cloud-zone-val-97510",    },
            "complex-name": "example-complex-name-val-28459",                 "sriov-automation": false,                 "resourceextra-versionproperties": "1504808495472" {},
                 }         },         {             "esrinventory-systemresponse-infoitems": {
                "esr-system-info-id": "example-esr-system-info-id-val-25777",                 "system-name": "example-system-name-val-29070",                 "type": "example-type-val-85254",
   inventory-response-item": [
            "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",                 "protocalesr-system-info": "example-protocal-val-52954", {
                            "ssl-cacert": "example-ssl-cacert-val-75021",                 "ssl-insecure": true,                 "ip-addressesr-system-info-id": "example-ip-addressesr-system-info-id-val-444312",
     
          "port": "example-port-val-93234",                 "cloud-domain": "example-cloud-domain-val-76370",                 "default-tenant": "example-tenant-id-val-89637",                   "resourcesystem-versionname": "1504808496522"example-system-name-val-2",
               }         },         {             "vserver": {                 "vserver-idtype": "example-vserver-idtype-val-2",
                       "vserver-name": "example-vserver-name-val-2",                     "vserver-name2": "example-vserver-name2-val-2",                    "prov-statusvendor": "example-prov-statusvendor-val-2",
                "vserver-selflink": "example-vserver-selflink-val-2",                 "in-maint": true,                 "is-closed-loop-disabled": true,
                "resource-version": "1504817435622",example-version-val-2",
                          "relationship-list": {                     "relationship": [               "service-url": "example-service-url-val-2",
        {                             "related-to": "generic-vnf",
                            "relateduser-linkname": "/aai/v11/network/generic-vnfs/generic-vnf/de7cc3ab-0212-47df-9e64-da1c79234debexample-user-name-val-2",
                            "relationship-data": [                                 {  "password": "example-password-val-2",
                                 "relationship-key": "generic-vnf.vnf-id",                                        "relationshipsystem-valuetype": "de7cc3abexample-0212system-47dftype-9e64val-da1c79234deb2",
                                }                             ],   "protocal": "example-protocal-val-2",
                        "related-to-property": [                                 {           "ssl-cacert": "example-ssl-cacert-val-2",
                         "property-key": "generic-vnf.vnf-name",                                       "propertyssl-valueinsecure": "ZRDM2MMEX39" true,
                                   }                             ]"ip-address": "example-ip-address-val-2",
                           }                     ]                 }"port": "example-port-val-2",
               }         },         {             "tenant": {                 "tenantcloud-iddomain": "example-tenantcloud-iddomain-val-2",",
                             "tenant-name": "example-tenant-name-val-2",                 "resource-version": "1504817435574"             }   "default-tenant": "example-tenant-id-val-2",
      },         {             "cloud-region": {                 "cloud-owner": "example-cloud-owner-val-2",                 "cloudresource-region-idversion": "example-cloud-region-id-val-2",1504817436023"
                       "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",                      "cloud-zone": "example-cloud-zone-val-2",                 "complexextra-nameproperties": "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" ]
            }
        }
    ]
}