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

« Previous Version 2 Next »

Example Request
https://127.0.0.1:8443/aai/v11/query?format=resource&depth=0

{
	"start": "network/generic-vnfs/generic-vnf/de7cc3ab-0212-47df-9e64-da1c79234deb",
	"query": "query/esr-system-info-from-vnf"
}
Example Response
{
    "results": [
        {
            "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",
                "relationship-list": {
                    "relationship": [
                        {
                            "related-to": "service-instance",
                            "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",
                            "relationship-data": [
                                {
                                    "relationship-key": "customer.global-customer-id",
                                    "relationship-value": "aai_demo_for_onap_community"
                                },
                                {
                                    "relationship-key": "service-subscription.service-type",
                                    "relationship-value": "vDNS"
                                },
                                {
                                    "relationship-key": "service-instance.service-instance-id",
                                    "relationship-value": "37b8cdb7-94eb-468f-a0c2-4e3c3546578e"
                                }
                            ],
                            "related-to-property": [
                                {
                                    "property-key": "service-instance.service-instance-name",
                                    "property-value": "Demo Service Instance"
                                }
                            ]
                        },
                        {
                            "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-90579",
                            "relationship-data": [
                                {
                                    "relationship-key": "cloud-region.cloud-owner",
                                    "relationship-value": "example-cloud-owner-val-44086"
                                },
                                {
                                    "relationship-key": "cloud-region.cloud-region-id",
                                    "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": [
                                {
                                    "property-key": "vserver.vserver-name",
                                    "property-value": "example-vserver-name-val-92986"
                                }
                            ]
                        }
                    ]
                }
            }
        },
        {
            "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",
                "relationship-list": {
                    "relationship": [
                        {
                            "related-to": "generic-vnf",
                            "related-link": "/aai/v11/network/generic-vnfs/generic-vnf/de7cc3ab-0212-47df-9e64-da1c79234deb",
                            "relationship-data": [
                                {
                                    "relationship-key": "generic-vnf.vnf-id",
                                    "relationship-value": "de7cc3ab-0212-47df-9e64-da1c79234deb"
                                }
                            ],
                            "related-to-property": [
                                {
                                    "property-key": "generic-vnf.vnf-name",
                                    "property-value": "ZRDM2MMEX39"
                                }
                            ]
                        }
                    ]
                }
            }
        },
        {
            "tenant": {
                "tenant-id": "example-tenant-id-val-89637",
                "tenant-name": "example-tenant-name-val-36717",
                "resource-version": "1504808495527"
            }
        },
        {
            "cloud-region": {
                "cloud-owner": "example-cloud-owner-val-44086",
                "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-version": "example-cloud-region-version-val-130",
                "identity-url": "example-identity-url-val-73825",
                "cloud-zone": "example-cloud-zone-val-97510",
                "complex-name": "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"
            }
        }
    ]
}
  
  • No labels