aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpramod.jamkhedkar <pramod@research.att.com>2019-08-28 15:11:22 -0400
committerpramod.jamkhedkar <pramod@research.att.com>2019-09-04 09:06:54 -0400
commitda3ffabb02a1b1823557dcf179fbef613706dfc4 (patch)
tree5d5f220fff8d0b35bd392d325654e5b4b56e36ab
parentc08643d82c6f615da747a8b4dedaac77277d4433 (diff)
Changes drl files
Changes to the DRL file to change the rules to support custom query. Added new VdnsControlLoop test for custom query, and supporting yaml request Issue-ID: POLICY-1858 Change-Id: Ic1b9e771bd36fe0642e9a3439189076a4906a4b8 Signed-off-by: pramod.jamkhedkar <pramod@research.att.com>
-rw-r--r--controlloop/common/controller-usecases/src/main/resources/usecases.drl23
-rw-r--r--controlloop/common/eventmanager/src/test/resources/AaiCqResponse.json3951
-rw-r--r--controlloop/templates/archetype-cl-amsterdam/src/main/resources/archetype-resources/src/main/resources/__closedLoopControlName__.drl35
-rw-r--r--controlloop/templates/template.demo/src/test/java/org/onap/policy/template/demo/SupportUtil.java132
-rw-r--r--controlloop/templates/template.demo/src/test/java/org/onap/policy/template/demo/VdnsControlLoopCqTest.java263
-rw-r--r--controlloop/templates/template.demo/src/test/resources/yaml/policy_ControlLoop_SO_Cq-test.yaml47
6 files changed, 4011 insertions, 440 deletions
diff --git a/controlloop/common/controller-usecases/src/main/resources/usecases.drl b/controlloop/common/controller-usecases/src/main/resources/usecases.drl
index 37d7b6936..02161b8c3 100644
--- a/controlloop/common/controller-usecases/src/main/resources/usecases.drl
+++ b/controlloop/common/controller-usecases/src/main/resources/usecases.drl
@@ -36,6 +36,7 @@ import org.onap.policy.controlloop.eventmanager.ControlLoopOperationManager;
import org.onap.policy.controlloop.utils.ControlLoopUtils;
import org.onap.policy.controlloop.actor.so.SoActorServiceProvider;
import org.onap.policy.aai.AaiNqResponseWrapper;
+import org.onap.policy.aai.AaiCqResponse;
import org.onap.policy.appc.Request;
import org.onap.policy.appc.Response;
import org.onap.policy.appc.CommonHeader;
@@ -729,6 +730,7 @@ rule "EVENT.MANAGER.OPERATION.LOCKED.GUARD_NOT_YET_QUERIED"
// NOTE: The environment properties uses "guard.disabled" but the boolean is guardEnabled
boolean guardEnabled = "false".equalsIgnoreCase(PolicyEngineConstants.getManager().getEnvironmentProperty("guard.disabled"));
+ boolean cqEnabled = "true".equalsIgnoreCase(PolicyEngineConstants.getManager().getEnvironmentProperty("aai.customQuery"));
if(guardEnabled){
@@ -740,8 +742,25 @@ rule "EVENT.MANAGER.OPERATION.LOCKED.GUARD_NOT_YET_QUERIED"
$operation.getTargetEntity(),
$event.getRequestId().toString(),
() -> {
- AaiNqResponseWrapper resp = $manager.getNqVserverFromAai();
- return(resp == null ? null : resp.countVfModules());
+ if (!cqEnabled) {
+ AaiNqResponseWrapper resp = $manager.getNqVserverFromAai();
+ return(resp == null ? null : resp.countVfModules());
+ } else {
+ try {
+ AaiCqResponse resp_cq = $manager.getCqResponse($event);
+ if (resp_cq == null){
+ return null;
+ } else {
+ String custId = $operation.policy.getTarget().getModelCustomizationId();
+ String invId = $operation.policy.getTarget().getModelInvariantId();
+ String verId = $operation.policy.getTarget().getModelVersionId();
+ return resp_cq.getVfModuleCount(custId, invId, verId);
+ }
+ } catch (Exception e){
+ logger.warn("{}: {}", $params.getClosedLoopControlName(), drools.getRule().getName(), e);
+ }
+ return null;
+ }
}));
t.start();
}
diff --git a/controlloop/common/eventmanager/src/test/resources/AaiCqResponse.json b/controlloop/common/eventmanager/src/test/resources/AaiCqResponse.json
index 63d6f79ac..b23f3a883 100644
--- a/controlloop/common/eventmanager/src/test/resources/AaiCqResponse.json
+++ b/controlloop/common/eventmanager/src/test/resources/AaiCqResponse.json
@@ -2,672 +2,3869 @@
"results": [
{
"vserver": {
- "vserver-id": "e7f1db09-ff78-44fc-b256-69095c5556fb",
- "vserver-name": "vfw-vm-0201-2",
- "vserver-name2": "vfw-vm-0201-2",
+ "vserver-id": "f953c499-4b1e-426b-8c6d-e9e9f1fc730f",
+ "vserver-name": "Ete_vFWCLvFWSNK_7ba1fbde_0",
+ "vserver-name2": "Ete_vFWCLvFWSNK_7ba1fbde_0",
"prov-status": "ACTIVE",
- "vserver-selflink": "http://ecompctl1.research.att.com:8774/v2/3f2aaef74ecb4b19b35e26d0849fe9a2/servers/e7f1db09-ff78-44fc-b256-69095c5556fb",
+ "vserver-selflink": "http://10.12.25.2:8774/v2.1/41d6d38489bd40b09ea8a6b6b852dcbd/servers/f953c499-4b1e-426b-8c6d-e9e9f1fc730f",
"in-maint": false,
"is-closed-loop-disabled": false,
- "resource-version": "1549553422524",
+ "resource-version": "1556725250281",
"relationship-list": {
"relationship": [
{
+ "related-to": "vnfc",
+ "relationship-label": "tosca.relationships.HostedOn",
+ "related-link": "/aai/v15/network/vnfcs/vnfc/Ete_vFWCLvFWSNK_7ba1fbde_0",
+ "relationship-data": [
+ {
+ "relationship-key": "vnfc.vnfc-name",
+ "relationship-value": "Ete_vFWCLvFWSNK_7ba1fbde_0"
+ }
+ ]
+ },
+ {
"related-to": "generic-vnf",
- "related-link": "/aai/v11/network/generic-vnfs/generic-vnf/17044ef4-e7f3-46a1-af03-e2aa562f23ac",
+ "relationship-label": "tosca.relationships.HostedOn",
+ "related-link": "/aai/v15/network/generic-vnfs/generic-vnf/f17face5-69cb-4c88-9e0b-7426db7edddd",
"relationship-data": [
{
"relationship-key": "generic-vnf.vnf-id",
- "relationship-value": "17044ef4-e7f3-46a1-af03-e2aa562f23ac"
- }
- ],
+ "relationship-value": "f17face5-69cb-4c88-9e0b-7426db7edddd"
+ }
+ ],
"related-to-property": [
{
"property-key": "generic-vnf.vnf-name",
- "property-value": "TestVM-Vnf-0201-1"
- }
- ]
- },
- {
- "related-to": "vnfc",
- "related-link": "/aai/v11/network/vnfcs/vnfc/vfw",
- "relationship-data": [
- {
- "relationship-key": "vnfc.vnfc-name",
- "relationship-value": "vfw"
- }
- ]
- },
+ "property-value": "Ete_vFWCLvFWSNK_7ba1fbde_0"
+ }
+ ]
+ },
{
"related-to": "vf-module",
- "related-link": "/aai/v11/network/generic-vnfs/generic-vnf/17044ef4-e7f3-46a1-af03-e2aa562f23ac/vf-modules/vf-module/33f9e03d-2fbd-4e9c-8e73-ce6b12f0b3d2",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/network/generic-vnfs/generic-vnf/f17face5-69cb-4c88-9e0b-7426db7edddd/vf-modules/vf-module/a6936a82-e340-4fe2-8e3e-b0a10a0001e2",
"relationship-data": [
{
"relationship-key": "generic-vnf.vnf-id",
- "relationship-value": "17044ef4-e7f3-46a1-af03-e2aa562f23ac"
- },
+ "relationship-value": "f17face5-69cb-4c88-9e0b-7426db7edddd"
+ },
{
"relationship-key": "vf-module.vf-module-id",
- "relationship-value": "33f9e03d-2fbd-4e9c-8e73-ce6b12f0b3d2"
- }
- ]
- },
+ "relationship-value": "a6936a82-e340-4fe2-8e3e-b0a10a0001e2"
+ }
+ ]
+ },
{
- "related-to": "flavor",
- "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/flavors/flavor/2",
+ "related-to": "image",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/images/image/42fd42f8-cf81-4f4c-a552-d4b124f83b0b",
"relationship-data": [
{
"relationship-key": "cloud-region.cloud-owner",
"relationship-value": "CloudOwner"
- },
+ },
{
"relationship-key": "cloud-region.cloud-region-id",
"relationship-value": "RegionOne"
- },
+ },
{
- "relationship-key": "flavor.flavor-id",
- "relationship-value": "2"
- }
- ],
+ "relationship-key": "image.image-id",
+ "relationship-value": "42fd42f8-cf81-4f4c-a552-d4b124f83b0b"
+ }
+ ],
"related-to-property": [
{
- "property-key": "flavor.flavor-name",
- "property-value": "m1.small"
- }
- ]
- },
+ "property-key": "image.image-name",
+ "property-value": "unknown"
+ }
+ ]
+ },
{
- "related-to": "image",
- "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/images/image/84be7136-301f-4f47-9585-3a2e0f9534af",
+ "related-to": "flavor",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/flavors/flavor/764efb04-5a46-4806-a766-2bdd24559f39",
"relationship-data": [
{
"relationship-key": "cloud-region.cloud-owner",
"relationship-value": "CloudOwner"
- },
+ },
{
"relationship-key": "cloud-region.cloud-region-id",
"relationship-value": "RegionOne"
- },
+ },
{
- "relationship-key": "image.image-id",
- "relationship-value": "84be7136-301f-4f47-9585-3a2e0f9534af"
- }
- ],
+ "relationship-key": "flavor.flavor-id",
+ "relationship-value": "764efb04-5a46-4806-a766-2bdd24559f39"
+ }
+ ],
"related-to-property": [
{
- "property-key": "image.image-name",
- "property-value": "unknown"
+ "property-key": "flavor.flavor-name",
+ "property-value": "m1.medium"
+ }
+ ]
+ }
+ ]
+ },
+ "l-interfaces": {
+ "l-interface": [
+ {
+ "interface-name": "Vfmodule_Ete_vFWCLvFWSNK_7ba1fbde_0-vfw_0_int_unprotected_private_port_0-u2lkra6bpz7l",
+ "interface-id": "bd621b3f-da40-4a8a-a703-3db290295cd9",
+ "macaddr": "fa:16:3e:0c:27:e4",
+ "network-name": "4e291560-92f8-4822-9dcf-dd75c04c9617",
+ "is-port-mirrored": false,
+ "resource-version": "1556725250653",
+ "in-maint": false,
+ "is-ip-unnumbered": false
+ },
+ {
+ "interface-name": "Vfmodule_Ete_vFWCLvFWSNK_7ba1fbde_0-vfw_0_onap_private_port_0-nfvykwarrnxr",
+ "interface-id": "86bbce7d-51ba-4ad2-a34a-aa2742f9789f",
+ "macaddr": "fa:16:3e:39:d9:27",
+ "network-name": "3ef9d123-0d09-4400-8ed0-c0fd5c76aa2b",
+ "is-port-mirrored": false,
+ "resource-version": "1556725250531",
+ "in-maint": false,
+ "is-ip-unnumbered": false
+ },
+ {
+ "interface-name": "Vfmodule_Ete_vFWCLvFWSNK_7ba1fbde_0-vfw_0_int_protected_private_port_0-bz3hsoxjcgyw",
+ "interface-id": "b1a8a573-d70d-4b32-b717-21fd6bb549a6",
+ "macaddr": "fa:16:3e:95:1d:e9",
+ "network-name": "47cae58a-b052-4f73-8f42-e154c260d5df",
+ "is-port-mirrored": false,
+ "resource-version": "1556725250584",
+ "in-maint": false,
+ "is-ip-unnumbered": false
}
- ]
- }
- ]
+ ]
}
}
- },
+ },
{
"generic-vnf": {
- "vnf-id": "7b202620-2936-4b0d-b09c-60b411f10f64",
- "vnf-name": "vLoadBalancerMS-Vnf-0211-1",
- "vnf-type": "vLoadBalancerMS/vLoadBalancerMS 0",
+ "vnf-id": "f17face5-69cb-4c88-9e0b-7426db7edddd",
+ "vnf-name": "Ete_vFWCLvFWSNK_7ba1fbde_0",
+ "vnf-type": "vFWCL 2019-05-01 15:30:/vFWCL_vFWSNK bbefb8ce-2bde 0",
+ "service-id": "e591441a-e649-4490-82e0-07dac05d674b",
"prov-status": "ACTIVE",
- "equipment-role": "vLB",
"orchestration-status": "Active",
- "ipv4-oam-address": "10.0.150.1",
- "in-maint": true,
+ "in-maint": false,
"is-closed-loop-disabled": false,
- "resource-version": "1552311656338",
- "model-invariant-id": "724ab1cf-6120-49e8-b909-849963bed1d6",
- "model-version-id": "9d5944d8-2267-4799-824a-0f824e9a978d",
- "model-customization-id": "efcd576d-a05e-4798-bb68-79e7d9c80f4c",
- "nf-type": "ONAP-LOADBALANCER",
- "nf-function": "LOADBALANCER",
- "nf-role": "vLB",
- "nf-naming-code": "vlb",
- "selflink": "restconf/config/GENERIC-RESOURCE-API:services/service/101b8fc1-1796-4db1-a4e7-fe39c6a51558/service-data/vnfs/vnf/7b202620-2936-4b0d-b09c-60b411f10f64/vnf-data/vnf-topology/",
+ "resource-version": "1556725242259",
+ "model-invariant-id": "bbb3cefd-01c8-413c-9bdd-2b92f9ca3d38",
+ "model-version-id": "189a5070-3bd5-45ac-8a1d-c84ca40b277b",
+ "model-customization-id": "f3733725-19a1-41a0-ba2d-540bf03862a8",
"relationship-list": {
"relationship": [
{
"related-to": "service-instance",
- "related-link": "/aai/v11/business/customers/customer/Demonstration/service-subscriptions/service-subscription/vLB/service-instances/service-instance/101b8fc1-1796-4db1-a4e7-fe39c6a51558",
+ "relationship-label": "org.onap.relationships.inventory.ComposedOf",
+ "related-link": "/aai/v15/business/customers/customer/DemoCust_7ba1fbde-6187-464a-a62d-d9dd25bdf4e8/service-subscriptions/service-subscription/vFWCL/service-instances/service-instance/7be584e2-0bb2-4126-adaf-ced2c77ca0b3",
"relationship-data": [
{
"relationship-key": "customer.global-customer-id",
- "relationship-value": "Demonstration"
- },
+ "relationship-value": "DemoCust_7ba1fbde-6187-464a-a62d-d9dd25bdf4e8"
+ },
{
"relationship-key": "service-subscription.service-type",
- "relationship-value": "vLB"
- },
+ "relationship-value": "vFWCL"
+ },
{
"relationship-key": "service-instance.service-instance-id",
- "relationship-value": "101b8fc1-1796-4db1-a4e7-fe39c6a51558"
- }
- ],
+ "relationship-value": "7be584e2-0bb2-4126-adaf-ced2c77ca0b3"
+ }
+ ],
"related-to-property": [
{
"property-key": "service-instance.service-instance-name",
- "property-value": "vLoadBalancerMS-0211-1"
- }
- ]
- },
+ "property-value": "Service_Ete_Name7ba1fbde-6187-464a-a62d-d9dd25bdf4e8"
+ }
+ ]
+ },
{
"related-to": "platform",
- "related-link": "/aai/v11/business/platforms/platform/Test-Platform",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/business/platforms/platform/Platform-Demonstration",
"relationship-data": [
{
"relationship-key": "platform.platform-name",
- "relationship-value": "Test-Platform"
- }
- ]
- },
- {
- "related-to": "line-of-business",
- "related-link": "/aai/v11/business/lines-of-business/line-of-business/Test-Business",
- "relationship-data": [
- {
- "relationship-key": "line-of-business.line-of-business-name",
- "relationship-value": "Test-Business"
- }
- ]
- },
+ "relationship-value": "Platform-Demonstration"
+ }
+ ]
+ },
{
"related-to": "vserver",
- "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/3f2aaef74ecb4b19b35e26d0849fe9a2/vservers/vserver/58ca8df0-17b8-4aa2-8766-9c6c1a12cec8",
+ "relationship-label": "tosca.relationships.HostedOn",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/41d6d38489bd40b09ea8a6b6b852dcbd/vservers/vserver/b75ccb62-131b-4e76-adad-28636fc60fb8",
"relationship-data": [
{
"relationship-key": "cloud-region.cloud-owner",
"relationship-value": "CloudOwner"
- },
+ },
{
"relationship-key": "cloud-region.cloud-region-id",
"relationship-value": "RegionOne"
- },
+ },
{
"relationship-key": "tenant.tenant-id",
- "relationship-value": "3f2aaef74ecb4b19b35e26d0849fe9a2"
- },
+ "relationship-value": "41d6d38489bd40b09ea8a6b6b852dcbd"
+ },
{
"relationship-key": "vserver.vserver-id",
- "relationship-value": "58ca8df0-17b8-4aa2-8766-9c6c1a12cec8"
- }
- ],
+ "relationship-value": "b75ccb62-131b-4e76-adad-28636fc60fb8"
+ }
+ ],
"related-to-property": [
{
"property-key": "vserver.vserver-name",
- "property-value": "vdns-ms-0211-1"
- }
- ]
- },
+ "property-value": "demofwl01snkfbde"
+ }
+ ]
+ },
{
"related-to": "vserver",
- "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/3f2aaef74ecb4b19b35e26d0849fe9a2/vservers/vserver/6c3b3714-e36c-45af-9f16-7d3a73d99497",
+ "relationship-label": "tosca.relationships.HostedOn",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/41d6d38489bd40b09ea8a6b6b852dcbd/vservers/vserver/f953c499-4b1e-426b-8c6d-e9e9f1fc730f",
"relationship-data": [
{
"relationship-key": "cloud-region.cloud-owner",
"relationship-value": "CloudOwner"
- },
+ },
{
"relationship-key": "cloud-region.cloud-region-id",
"relationship-value": "RegionOne"
- },
+ },
{
"relationship-key": "tenant.tenant-id",
- "relationship-value": "3f2aaef74ecb4b19b35e26d0849fe9a2"
- },
+ "relationship-value": "41d6d38489bd40b09ea8a6b6b852dcbd"
+ },
{
"relationship-key": "vserver.vserver-id",
- "relationship-value": "6c3b3714-e36c-45af-9f16-7d3a73d99497"
- }
- ],
+ "relationship-value": "f953c499-4b1e-426b-8c6d-e9e9f1fc730f"
+ }
+ ],
"related-to-property": [
{
"property-key": "vserver.vserver-name",
- "property-value": "vlb-ms-0211-1"
- }
- ]
- },
- {
- "related-to": "availability-zone",
- "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/availability-zones/availability-zone/nova",
- "relationship-data": [
- {
- "relationship-key": "cloud-region.cloud-owner",
- "relationship-value": "CloudOwner"
- },
- {
- "relationship-key": "cloud-region.cloud-region-id",
- "relationship-value": "RegionOne"
- },
- {
- "relationship-key": "availability-zone.availability-zone-name",
- "relationship-value": "nova"
+ "property-value": "Ete_vFWCLvFWSNK_7ba1fbde_0"
+ }
+ ]
}
- ]
- }
- ]
+ ]
},
"vf-modules": {
"vf-module": [
{
- "vf-module-id": "e46c6636-9ce5-4b77-bb1b-455ce9edc892",
- "vf-module-name": "vLoadBalancerMS-0211-1",
- "heat-stack-id": "vLoadBalancerMS-0211-1/73360253-2dfe-46f6-bcd6-8662a81238ea",
- "orchestration-status": "Active",
+ "vf-module-id": "a6936a82-e340-4fe2-8e3e-b0a10a0001e2",
+ "vf-module-name": "Vfmodule_Ete_vFWCLvFWSNK_7ba1fbde_0",
+ "heat-stack-id": "Vfmodule_Ete_vFWCLvFWSNK_7ba1fbde_0/6769f192-0579-4dab-b4e7-170d334c37dd",
+ "orchestration-status": "active",
"is-base-vf-module": true,
- "resource-version": "1552311559802",
- "model-invariant-id": "d263fc6d-cfce-4e20-8337-e06f48b474e6",
- "model-version-id": "24c0aa10-3979-402c-ad98-20124751b551",
- "model-customization-id": "65382eb1-db84-466c-b9d7-4e0f1ba7105f",
- "selflink": "restconf/config/GENERIC-RESOURCE-API:services/service/101b8fc1-1796-4db1-a4e7-fe39c6a51558/service-data/vnfs/vnf/7b202620-2936-4b0d-b09c-60b411f10f64/vnf-data/vf-modules/vf-module/e46c6636-9ce5-4b77-bb1b-455ce9edc892/vf-module-data/vf-module-topology/",
+ "automated-assignment": false,
+ "resource-version": "1556725224323",
+ "model-invariant-id": "e6130d03-56f1-4b0a-9a1d-e1b2ebc30e0e",
+ "model-version-id": "94b18b1d-cc91-4f43-911a-e6348665f292",
+ "model-customization-id": "47958575-138f-452a-8c8d-d89b595f8164",
+ "module-index": 0,
"relationship-list": {
"relationship": [
{
"related-to": "vserver",
- "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/3f2aaef74ecb4b19b35e26d0849fe9a2/vservers/vserver/58ca8df0-17b8-4aa2-8766-9c6c1a12cec8",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/41d6d38489bd40b09ea8a6b6b852dcbd/vservers/vserver/b75ccb62-131b-4e76-adad-28636fc60fb8",
"relationship-data": [
{
"relationship-key": "cloud-region.cloud-owner",
"relationship-value": "CloudOwner"
- },
+ },
{
"relationship-key": "cloud-region.cloud-region-id",
"relationship-value": "RegionOne"
- },
+ },
{
"relationship-key": "tenant.tenant-id",
- "relationship-value": "3f2aaef74ecb4b19b35e26d0849fe9a2"
- },
+ "relationship-value": "41d6d38489bd40b09ea8a6b6b852dcbd"
+ },
{
"relationship-key": "vserver.vserver-id",
- "relationship-value": "58ca8df0-17b8-4aa2-8766-9c6c1a12cec8"
- }
- ],
+ "relationship-value": "b75ccb62-131b-4e76-adad-28636fc60fb8"
+ }
+ ],
"related-to-property": [
{
"property-key": "vserver.vserver-name",
- "property-value": "vdns-ms-0211-1"
- }
- ]
- },
+ "property-value": "demofwl01snkfbde"
+ }
+ ]
+ },
{
"related-to": "vserver",
- "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/3f2aaef74ecb4b19b35e26d0849fe9a2/vservers/vserver/6c3b3714-e36c-45af-9f16-7d3a73d99497",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/41d6d38489bd40b09ea8a6b6b852dcbd/vservers/vserver/f953c499-4b1e-426b-8c6d-e9e9f1fc730f",
"relationship-data": [
{
"relationship-key": "cloud-region.cloud-owner",
"relationship-value": "CloudOwner"
- },
+ },
{
"relationship-key": "cloud-region.cloud-region-id",
"relationship-value": "RegionOne"
- },
+ },
{
"relationship-key": "tenant.tenant-id",
- "relationship-value": "3f2aaef74ecb4b19b35e26d0849fe9a2"
- },
+ "relationship-value": "41d6d38489bd40b09ea8a6b6b852dcbd"
+ },
{
"relationship-key": "vserver.vserver-id",
- "relationship-value": "6c3b3714-e36c-45af-9f16-7d3a73d99497"
- }
- ],
+ "relationship-value": "f953c499-4b1e-426b-8c6d-e9e9f1fc730f"
+ }
+ ],
"related-to-property": [
{
"property-key": "vserver.vserver-name",
- "property-value": "vlb-ms-0211-1"
- }
- ]
- }
- ]
+ "property-value": "Ete_vFWCLvFWSNK_7ba1fbde_0"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "model-ver": {
+ "model-version-id": "189a5070-3bd5-45ac-8a1d-c84ca40b277b",
+ "model-name": "vFWCL_vFWSNK bbefb8ce-2bde",
+ "model-version": "1.0",
+ "model-description": "vendor software product",
+ "resource-version": "1556724755172",
+ "model-elements": {
+ "model-element": [
+ {
+ "model-element-uuid": "d4dd3710-eb91-4b15-98d7-a8a90fa28f1b",
+ "new-data-del-flag": "T",
+ "cardinality": "unbounded",
+ "resource-version": "1556724755172",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "model-ver",
+ "relationship-label": "org.onap.relationships.inventory.IsA",
+ "related-link": "/aai/v15/service-design-and-creation/models/model/acc6edd8-a8d4-4b93-afaa-0994068be14c/model-vers/model-ver/93a6166f-b3d5-4f06-b4ba-aed48d009ad9",
+ "relationship-data": [
+ {
+ "relationship-key": "model.model-invariant-id",
+ "relationship-value": "acc6edd8-a8d4-4b93-afaa-0994068be14c"
+ },
+ {
+ "relationship-key": "model-ver.model-version-id",
+ "relationship-value": "93a6166f-b3d5-4f06-b4ba-aed48d009ad9"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "model-ver.model-name",
+ "property-value": "generic-vnf"
+ }
+ ]
+ }
+ ]
}
- }
- ]
+ }
+ ]
+ },
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "model-element",
+ "relationship-label": "org.onap.relationships.inventory.IsA",
+ "related-link": "/aai/v15/service-design-and-creation/models/model/f6937c86-584c-47ae-ad29-8d41d6f0cc7c/model-vers/model-ver/a03b1102-ac3b-44dd-8862-9b94f1951040/model-elements/model-element/aa23fd76-27cf-4dbe-85c7-dca15bec5ca6/model-elements/model-element/f837e297-a5e8-45d8-9ee8-2a1b436dbddb",
+ "relationship-data": [
+ {
+ "relationship-key": "model.model-invariant-id",
+ "relationship-value": "f6937c86-584c-47ae-ad29-8d41d6f0cc7c"
+ },
+ {
+ "relationship-key": "model-ver.model-version-id",
+ "relationship-value": "a03b1102-ac3b-44dd-8862-9b94f1951040"
+ },
+ {
+ "relationship-key": "model-element.model-element-uuid",
+ "relationship-value": "aa23fd76-27cf-4dbe-85c7-dca15bec5ca6"
+ },
+ {
+ "relationship-key": "model-element.model-element-uuid",
+ "relationship-value": "f837e297-a5e8-45d8-9ee8-2a1b436dbddb"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "model": {
+ "model-invariant-id": "bbb3cefd-01c8-413c-9bdd-2b92f9ca3d38",
+ "model-type": "resource",
+ "resource-version": "1556724755172",
+ "model-vers": {
+ "model-ver": [
+ {
+ "model-version-id": "189a5070-3bd5-45ac-8a1d-c84ca40b277b",
+ "model-name": "vFWCL_vFWSNK bbefb8ce-2bde",
+ "model-version": "1.0",
+ "model-description": "vendor software product",
+ "resource-version": "1556724755172",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "model-element",
+ "relationship-label": "org.onap.relationships.inventory.IsA",
+ "related-link": "/aai/v15/service-design-and-creation/models/model/f6937c86-584c-47ae-ad29-8d41d6f0cc7c/model-vers/model-ver/a03b1102-ac3b-44dd-8862-9b94f1951040/model-elements/model-element/aa23fd76-27cf-4dbe-85c7-dca15bec5ca6/model-elements/model-element/f837e297-a5e8-45d8-9ee8-2a1b436dbddb",
+ "relationship-data": [
+ {
+ "relationship-key": "model.model-invariant-id",
+ "relationship-value": "f6937c86-584c-47ae-ad29-8d41d6f0cc7c"
+ },
+ {
+ "relationship-key": "model-ver.model-version-id",
+ "relationship-value": "a03b1102-ac3b-44dd-8862-9b94f1951040"
+ },
+ {
+ "relationship-key": "model-element.model-element-uuid",
+ "relationship-value": "aa23fd76-27cf-4dbe-85c7-dca15bec5ca6"
+ },
+ {
+ "relationship-key": "model-element.model-element-uuid",
+ "relationship-value": "f837e297-a5e8-45d8-9ee8-2a1b436dbddb"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
}
}
- },
+ },
{
"service-instance": {
- "service-instance-id": "101b8fc1-1796-4db1-a4e7-fe39c6a51558",
- "service-instance-name": "vLoadBalancerMS-0211-1",
+ "service-instance-id": "7be584e2-0bb2-4126-adaf-ced2c77ca0b3",
+ "service-instance-name": "Service_Ete_Name7ba1fbde-6187-464a-a62d-d9dd25bdf4e8",
"environment-context": "General_Revenue-Bearing",
"workload-context": "Production",
- "model-invariant-id": "1008a768-1b67-407e-88c6-58c82b34ef42",
- "model-version-id": "81f8c1cd-f664-4450-b3a4-be645613ab32",
- "resource-version": "1552311350334",
- "selflink": "restconf/config/GENERIC-RESOURCE-API:services/service/101b8fc1-1796-4db1-a4e7-fe39c6a51558/service-data/service-topology/",
+ "model-invariant-id": "f6937c86-584c-47ae-ad29-8d41d6f0cc7c",
+ "model-version-id": "a03b1102-ac3b-44dd-8862-9b94f1951040",
+ "resource-version": "1556725033469",
"orchestration-status": "Active",
"relationship-list": {
"relationship": [
{
"related-to": "project",
- "related-link": "/aai/v11/business/projects/project/Test-Project",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/business/projects/project/Project-Demonstration",
"relationship-data": [
{
"relationship-key": "project.project-name",
- "relationship-value": "Test-Project"
- }
- ]
- },
+ "relationship-value": "Project-Demonstration"
+ }
+ ]
+ },
+ {
+ "related-to": "owning-entity",
+ "relationship-label": "org.onap.relationships.inventory.BelongsTo",
+ "related-link": "/aai/v15/business/owning-entities/owning-entity/fcc64127-06ba-4761-b325-c681f636ad07",
+ "relationship-data": [
+ {
+ "relationship-key": "owning-entity.owning-entity-id",
+ "relationship-value": "fcc64127-06ba-4761-b325-c681f636ad07"
+ }
+ ]
+ },
{
"related-to": "generic-vnf",
- "related-link": "/aai/v11/network/generic-vnfs/generic-vnf/7b202620-2936-4b0d-b09c-60b411f10f64",
+ "relationship-label": "org.onap.relationships.inventory.ComposedOf",
+ "related-link": "/aai/v15/network/generic-vnfs/generic-vnf/9cd7da50-723c-418c-a91d-af2866844a5d",
"relationship-data": [
{
"relationship-key": "generic-vnf.vnf-id",
- "relationship-value": "7b202620-2936-4b0d-b09c-60b411f10f64"
- }
- ],
+ "relationship-value": "9cd7da50-723c-418c-a91d-af2866844a5d"
+ }
+ ],
"related-to-property": [
{
"property-key": "generic-vnf.vnf-name",
- "property-value": "vLoadBalancerMS-Vnf-0211-1"
- }
- ]
- },
+ "property-value": "Ete_vFWCLvPKG_7ba1fbde_1"
+ }
+ ]
+ },
{
- "related-to": "owning-entity",
- "related-link": "/aai/v11/business/owning-entities/owning-entity/bb94a687-4f3b-40a3-914e-e98037d5ebd2",
+ "related-to": "generic-vnf",
+ "relationship-label": "org.onap.relationships.inventory.ComposedOf",
+ "related-link": "/aai/v15/network/generic-vnfs/generic-vnf/f17face5-69cb-4c88-9e0b-7426db7edddd",
"relationship-data": [
{
- "relationship-key": "owning-entity.owning-entity-id",
- "relationship-value": "bb94a687-4f3b-40a3-914e-e98037d5ebd2"
+ "relationship-key": "generic-vnf.vnf-id",
+ "relationship-value": "f17face5-69cb-4c88-9e0b-7426db7edddd"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "generic-vnf.vnf-name",
+ "property-value": "Ete_vFWCLvFWSNK_7ba1fbde_0"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "model-ver": {
+ "model-version-id": "a03b1102-ac3b-44dd-8862-9b94f1951040",
+ "model-name": "vFWCL 2019-05-01 15:30:",
+ "model-version": "1.0",
+ "distribution-status": "DISTRIBUTION_COMPLETE_OK",
+ "model-description": "catalog service description",
+ "resource-version": "1556724849102",
+ "model-elements": {
+ "model-element": [
+ {
+ "model-element-uuid": "aa23fd76-27cf-4dbe-85c7-dca15bec5ca6",
+ "new-data-del-flag": "T",
+ "cardinality": "unbounded",
+ "resource-version": "1556724755319",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "model-ver",
+ "relationship-label": "org.onap.relationships.inventory.IsA",
+ "related-link": "/aai/v15/service-design-and-creation/models/model/82194af1-3c2c-485a-8f44-420e22a9eaa4/model-vers/model-ver/46b92144-923a-4d20-b85a-3cbd847668a9",
+ "relationship-data": [
+ {
+ "relationship-key": "model.model-invariant-id",
+ "relationship-value": "82194af1-3c2c-485a-8f44-420e22a9eaa4"
+ },
+ {
+ "relationship-key": "model-ver.model-version-id",
+ "relationship-value": "46b92144-923a-4d20-b85a-3cbd847668a9"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "model-ver.model-name",
+ "property-value": "service-instance"
+ }
+ ]
+ }
+ ]
+ }
}
- ]
- }
- ]
+ ]
}
}
- },
+ },
+ {
+ "model": {
+ "model-invariant-id": "f6937c86-584c-47ae-ad29-8d41d6f0cc7c",
+ "model-type": "service",
+ "resource-version": "1556724755319",
+ "model-vers": {
+ "model-ver": [
+ {
+ "model-version-id": "a03b1102-ac3b-44dd-8862-9b94f1951040",
+ "model-name": "vFWCL 2019-05-01 15:30:",
+ "model-version": "1.0",
+ "distribution-status": "DISTRIBUTION_COMPLETE_OK",
+ "model-description": "catalog service description",
+ "resource-version": "1556724849102"
+ }
+ ]
+ }
+ }
+ },
{
"generic-vnf": {
- "vnf-id": "17044ef4-e7f3-46a1-af03-e2aa562f23ac",
- "vnf-name": "TestVM-Vnf-0201-1",
- "vnf-type": "TestVM/TestVM 0",
+ "vnf-id": "9cd7da50-723c-418c-a91d-af2866844a5d",
+ "vnf-name": "Ete_vFWCLvPKG_7ba1fbde_1",
+ "vnf-type": "vFWCL 2019-05-01 15:30:/vFWCL_vPKG 5101f6c6-8df3 0",
+ "service-id": "e591441a-e649-4490-82e0-07dac05d674b",
"prov-status": "ACTIVE",
- "equipment-role": "",
"orchestration-status": "Active",
- "ipv4-oam-address": "10.0.70.1",
- "in-maint": true,
+ "in-maint": false,
"is-closed-loop-disabled": false,
- "resource-version": "1549041636264",
- "model-invariant-id": "6a4d7971-0778-4655-9eab-9d6031c7ad57",
- "model-version-id": "fb6c673c-e5b6-4e0a-9baf-5e0089784de9",
- "model-customization-id": "706a3100-dbe5-442e-86c3-c7b823abbec2",
- "selflink": "restconf/config/GENERIC-RESOURCE-API:services/service/d41f8217-d464-4458-bf0a-fba33a0f1b31/service-data/vnfs/vnf/17044ef4-e7f3-46a1-af03-e2aa562f23ac/vnf-data/vnf-topology/",
+ "resource-version": "1556725432402",
+ "model-invariant-id": "9a243c47-fd5f-43d1-bd2a-f17bd12a61f2",
+ "model-version-id": "8f79aa0f-da58-4381-9abf-0d6d1926a1eb",
+ "model-customization-id": "82dd9d05-e056-4c3e-a9b4-8a3d6bd54226",
"relationship-list": {
"relationship": [
{
"related-to": "service-instance",
- "related-link": "/aai/v11/business/customers/customer/Demonstration/service-subscriptions/service-subscription/vFW/service-instances/service-instance/d41f8217-d464-4458-bf0a-fba33a0f1b31",
+ "relationship-label": "org.onap.relationships.inventory.ComposedOf",
+ "related-link": "/aai/v15/business/customers/customer/DemoCust_7ba1fbde-6187-464a-a62d-d9dd25bdf4e8/service-subscriptions/service-subscription/vFWCL/service-instances/service-instance/7be584e2-0bb2-4126-adaf-ced2c77ca0b3",
"relationship-data": [
{
"relationship-key": "customer.global-customer-id",
- "relationship-value": "Demonstration"
- },
+ "relationship-value": "DemoCust_7ba1fbde-6187-464a-a62d-d9dd25bdf4e8"
+ },
{
"relationship-key": "service-subscription.service-type",
- "relationship-value": "vFW"
- },
+ "relationship-value": "vFWCL"
+ },
{
"relationship-key": "service-instance.service-instance-id",
- "relationship-value": "d41f8217-d464-4458-bf0a-fba33a0f1b31"
- }
- ],
+ "relationship-value": "7be584e2-0bb2-4126-adaf-ced2c77ca0b3"
+ }
+ ],
"related-to-property": [
{
"property-key": "service-instance.service-instance-name",
- "property-value": "TestVM-Service-0201-1"
- }
- ]
- },
+ "property-value": "Service_Ete_Name7ba1fbde-6187-464a-a62d-d9dd25bdf4e8"
+ }
+ ]
+ },
{
"related-to": "platform",
- "related-link": "/aai/v11/business/platforms/platform/Test-Platform",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/business/platforms/platform/Platform-Demonstration",
"relationship-data": [
{
"relationship-key": "platform.platform-name",
- "relationship-value": "Test-Platform"
- }
- ]
- },
- {
- "related-to": "line-of-business",
- "related-link": "/aai/v11/business/lines-of-business/line-of-business/Test-Business",
- "relationship-data": [
- {
- "relationship-key": "line-of-business.line-of-business-name",
- "relationship-value": "Test-Business"
- }
- ]
- },
+ "relationship-value": "Platform-Demonstration"
+ }
+ ]
+ },
{
"related-to": "vserver",
- "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/3f2aaef74ecb4b19b35e26d0849fe9a2/vservers/vserver/e7f1db09-ff78-44fc-b256-69095c5556fb",
+ "relationship-label": "tosca.relationships.HostedOn",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/41d6d38489bd40b09ea8a6b6b852dcbd/vservers/vserver/80465c73-3481-4d9d-9d3b-ab4016dfffe7",
"relationship-data": [
{
"relationship-key": "cloud-region.cloud-owner",
"relationship-value": "CloudOwner"
- },
+ },
{
"relationship-key": "cloud-region.cloud-region-id",
"relationship-value": "RegionOne"
- },
+ },
{
"relationship-key": "tenant.tenant-id",
- "relationship-value": "3f2aaef74ecb4b19b35e26d0849fe9a2"
- },
+ "relationship-value": "41d6d38489bd40b09ea8a6b6b852dcbd"
+ },
{
"relationship-key": "vserver.vserver-id",
- "relationship-value": "e7f1db09-ff78-44fc-b256-69095c5556fb"
- }
- ],
+ "relationship-value": "80465c73-3481-4d9d-9d3b-ab4016dfffe7"
+ }
+ ],
"related-to-property": [
{
"property-key": "vserver.vserver-name",
- "property-value": "vfw-vm-0201-2"
+ "property-value": "demofwl01pgnfbde"
+ }
+ ]
}
- ]
- },
- {
- "related-to": "availability-zone",
- "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionTwo/availability-zones/availability-zone/zone-1",
- "relationship-data": [
- {
- "relationship-key": "cloud-region.cloud-owner",
- "relationship-value": "CloudOwner"
- },
- {
- "relationship-key": "cloud-region.cloud-region-id",
- "relationship-value": "RegionTwo"
- },
- {
- "relationship-key": "availability-zone.availability-zone-name",
- "relationship-value": "zone-1"
- }
- ]
- }
- ]
+ ]
},
"vf-modules": {
"vf-module": [
{
- "vf-module-id": "0afde97a-3e3f-4597-aec3-e5488c0f20b7",
- "vf-module-name": "TestVM-0201-1",
- "heat-stack-id": "TestVM-0201-1/aee4d7e5-b4a0-4261-b3cf-bb23348a3d99",
- "orchestration-status": "Active",
+ "vf-module-id": "04bcd430-e1ef-4da5-a67e-3dd80463a725",
+ "vf-module-name": "Vfmodule_Ete_vFWCLvPKG_7ba1fbde_1",
+ "heat-stack-id": "Vfmodule_Ete_vFWCLvPKG_7ba1fbde_1/6f9827e8-68fb-45e9-a19e-e2246a43df14",
+ "orchestration-status": "active",
"is-base-vf-module": true,
- "resource-version": "1549039401119",
- "model-invariant-id": "6af68fdb-6479-43e2-8989-938f06c994bd",
- "model-version-id": "16d1834e-d834-431f-b064-98c469c6505d",
- "model-customization-id": "29ffb122-22c8-48d2-b152-b52d9e81e910",
- "selflink": "restconf/config/GENERIC-RESOURCE-API:services/service/d41f8217-d464-4458-bf0a-fba33a0f1b31/service-data/vnfs/vnf/17044ef4-e7f3-46a1-af03-e2aa562f23ac/vnf-data/vf-modules/vf-module/0afde97a-3e3f-4597-aec3-e5488c0f20b7/vf-module-data/vf-module-topology/"
- },
- {
- "vf-module-id": "33f9e03d-2fbd-4e9c-8e73-ce6b12f0b3d2",
- "vf-module-name": "TestVM-0201-2",
- "heat-stack-id": "TestVM-0201-2/1b9db6b8-620b-46f1-935a-8a61c294a98b",
- "orchestration-status": "Active",
- "is-base-vf-module": true,
- "resource-version": "1549041447373",
- "model-invariant-id": "6af68fdb-6479-43e2-8989-938f06c994bd",
- "model-version-id": "16d1834e-d834-431f-b064-98c469c6505d",
- "model-customization-id": "29ffb122-22c8-48d2-b152-b52d9e81e910",
- "selflink": "restconf/config/GENERIC-RESOURCE-API:services/service/d41f8217-d464-4458-bf0a-fba33a0f1b31/service-data/vnfs/vnf/17044ef4-e7f3-46a1-af03-e2aa562f23ac/vnf-data/vf-modules/vf-module/33f9e03d-2fbd-4e9c-8e73-ce6b12f0b3d2/vf-module-data/vf-module-topology/",
+ "automated-assignment": false,
+ "resource-version": "1556725420287",
+ "model-invariant-id": "4eb0297d-1256-4ba7-9ed4-7bc44b6a0031",
+ "model-version-id": "bb755929-a025-48cd-b987-59cb4734c059",
+ "model-customization-id": "bfcebc88-8d57-449d-906c-f508b5bd0fe0",
+ "module-index": 0,
"relationship-list": {
"relationship": [
{
"related-to": "vserver",
- "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/3f2aaef74ecb4b19b35e26d0849fe9a2/vservers/vserver/e7f1db09-ff78-44fc-b256-69095c5556fb",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/41d6d38489bd40b09ea8a6b6b852dcbd/vservers/vserver/80465c73-3481-4d9d-9d3b-ab4016dfffe7",
"relationship-data": [
{
"relationship-key": "cloud-region.cloud-owner",
"relationship-value": "CloudOwner"
- },
+ },
{
"relationship-key": "cloud-region.cloud-region-id",
"relationship-value": "RegionOne"
- },
+ },
{
"relationship-key": "tenant.tenant-id",
- "relationship-value": "3f2aaef74ecb4b19b35e26d0849fe9a2"
- },
+ "relationship-value": "41d6d38489bd40b09ea8a6b6b852dcbd"
+ },
{
"relationship-key": "vserver.vserver-id",
- "relationship-value": "e7f1db09-ff78-44fc-b256-69095c5556fb"
- }
- ],
+ "relationship-value": "80465c73-3481-4d9d-9d3b-ab4016dfffe7"
+ }
+ ],
"related-to-property": [
{
"property-key": "vserver.vserver-name",
- "property-value": "vfw-vm-0201-2"
- }
- ]
- }
- ]
+ "property-value": "demofwl01pgnfbde"
+ }
+ ]
+ }
+ ]
}
- }
- ]
+ }
+ ]
}
}
- },
- {
- "vf-module": {
- "vf-module-id": "0afde97a-3e3f-4597-aec3-e5488c0f20b7",
- "vf-module-name": "TestVM-0201-1",
- "heat-stack-id": "TestVM-0201-1/aee4d7e5-b4a0-4261-b3cf-bb23348a3d99",
- "orchestration-status": "Active",
- "is-base-vf-module": true,
- "resource-version": "1549039401119",
- "model-invariant-id": "6af68fdb-6479-43e2-8989-938f06c994bd",
- "model-version-id": "16d1834e-d834-431f-b064-98c469c6505d",
- "model-customization-id": "29ffb122-22c8-48d2-b152-b52d9e81e910",
- "selflink": "restconf/config/GENERIC-RESOURCE-API:services/service/d41f8217-d464-4458-bf0a-fba33a0f1b31/service-data/vnfs/vnf/17044ef4-e7f3-46a1-af03-e2aa562f23ac/vnf-data/vf-modules/vf-module/0afde97a-3e3f-4597-aec3-e5488c0f20b7/vf-module-data/vf-module-topology/"
- }
- },
+ },
{
"vf-module": {
- "vf-module-id": "33f9e03d-2fbd-4e9c-8e73-ce6b12f0b3d2",
- "vf-module-name": "TestVM-0201-2",
- "heat-stack-id": "TestVM-0201-2/1b9db6b8-620b-46f1-935a-8a61c294a98b",
- "orchestration-status": "Active",
+ "vf-module-id": "a6936a82-e340-4fe2-8e3e-b0a10a0001e2",
+ "vf-module-name": "Vfmodule_Ete_vFWCLvFWSNK_7ba1fbde_0",
+ "heat-stack-id": "Vfmodule_Ete_vFWCLvFWSNK_7ba1fbde_0/6769f192-0579-4dab-b4e7-170d334c37dd",
+ "orchestration-status": "active",
"is-base-vf-module": true,
- "resource-version": "1549041447373",
- "model-invariant-id": "6af68fdb-6479-43e2-8989-938f06c994bd",
- "model-version-id": "16d1834e-d834-431f-b064-98c469c6505d",
- "model-customization-id": "29ffb122-22c8-48d2-b152-b52d9e81e910",
- "selflink": "restconf/config/GENERIC-RESOURCE-API:services/service/d41f8217-d464-4458-bf0a-fba33a0f1b31/service-data/vnfs/vnf/17044ef4-e7f3-46a1-af03-e2aa562f23ac/vnf-data/vf-modules/vf-module/33f9e03d-2fbd-4e9c-8e73-ce6b12f0b3d2/vf-module-data/vf-module-topology/",
+ "automated-assignment": false,
+ "resource-version": "1556725224323",
+ "model-invariant-id": "e6130d03-56f1-4b0a-9a1d-e1b2ebc30e0e",
+ "model-version-id": "94b18b1d-cc91-4f43-911a-e6348665f292",
+ "model-customization-id": "47958575-138f-452a-8c8d-d89b595f8164",
+ "module-index": 0,
"relationship-list": {
"relationship": [
{
"related-to": "vserver",
- "related-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/3f2aaef74ecb4b19b35e26d0849fe9a2/vservers/vserver/e7f1db09-ff78-44fc-b256-69095c5556fb",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/41d6d38489bd40b09ea8a6b6b852dcbd/vservers/vserver/b75ccb62-131b-4e76-adad-28636fc60fb8",
"relationship-data": [
{
"relationship-key": "cloud-region.cloud-owner",
"relationship-value": "CloudOwner"
- },
+ },
{
"relationship-key": "cloud-region.cloud-region-id",
"relationship-value": "RegionOne"
- },
+ },
{
"relationship-key": "tenant.tenant-id",
- "relationship-value": "3f2aaef74ecb4b19b35e26d0849fe9a2"
+ "relationship-value": "41d6d38489bd40b09ea8a6b6b852dcbd"
+ },
+ {
+ "relationship-key": "vserver.vserver-id",
+ "relationship-value": "b75ccb62-131b-4e76-adad-28636fc60fb8"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "vserver.vserver-name",
+ "property-value": "demofwl01snkfbde"
+ }
+ ]
},
+ {
+ "related-to": "vserver",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/41d6d38489bd40b09ea8a6b6b852dcbd/vservers/vserver/f953c499-4b1e-426b-8c6d-e9e9f1fc730f",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "41d6d38489bd40b09ea8a6b6b852dcbd"
+ },
{
"relationship-key": "vserver.vserver-id",
- "relationship-value": "e7f1db09-ff78-44fc-b256-69095c5556fb"
- }
- ],
+ "relationship-value": "f953c499-4b1e-426b-8c6d-e9e9f1fc730f"
+ }
+ ],
"related-to-property": [
{
"property-key": "vserver.vserver-name",
- "property-value": "vfw-vm-0201-2"
+ "property-value": "Ete_vFWCLvFWSNK_7ba1fbde_0"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "model-ver": {
+ "model-version-id": "94b18b1d-cc91-4f43-911a-e6348665f292",
+ "model-name": "VfwclVfwsnkBbefb8ce2bde..base_vfw..module-0",
+ "model-version": "1",
+ "resource-version": "1556724754936",
+ "model-elements": {
+ "model-element": [
+ {
+ "model-element-uuid": "acdee717-9602-4c9c-acf4-8522b65c7161",
+ "new-data-del-flag": "T",
+ "cardinality": "unbounded",
+ "resource-version": "1556724754936",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "model-ver",
+ "relationship-label": "org.onap.relationships.inventory.IsA",
+ "related-link": "/aai/v15/service-design-and-creation/models/model/ef86f9c5-2165-44f3-8fc3-96018b609ea5/model-vers/model-ver/c00563ae-812b-4e62-8330-7c4d0f47088a",
+ "relationship-data": [
+ {
+ "relationship-key": "model.model-invariant-id",
+ "relationship-value": "ef86f9c5-2165-44f3-8fc3-96018b609ea5"
+ },
+ {
+ "relationship-key": "model-ver.model-version-id",
+ "relationship-value": "c00563ae-812b-4e62-8330-7c4d0f47088a"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "model-ver.model-name",
+ "property-value": "vf-module"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "model-element",
+ "relationship-label": "org.onap.relationships.inventory.IsA",
+ "related-link": "/aai/v15/service-design-and-creation/models/model/bbb3cefd-01c8-413c-9bdd-2b92f9ca3d38/model-vers/model-ver/189a5070-3bd5-45ac-8a1d-c84ca40b277b/model-elements/model-element/d4dd3710-eb91-4b15-98d7-a8a90fa28f1b/model-elements/model-element/d272cfdd-0700-43a9-8cab-b2fcd80c803a",
+ "relationship-data": [
+ {
+ "relationship-key": "model.model-invariant-id",
+ "relationship-value": "bbb3cefd-01c8-413c-9bdd-2b92f9ca3d38"
+ },
+ {
+ "relationship-key": "model-ver.model-version-id",
+ "relationship-value": "189a5070-3bd5-45ac-8a1d-c84ca40b277b"
+ },
+ {
+ "relationship-key": "model-element.model-element-uuid",
+ "relationship-value": "d4dd3710-eb91-4b15-98d7-a8a90fa28f1b"
+ },
+ {
+ "relationship-key": "model-element.model-element-uuid",
+ "relationship-value": "d272cfdd-0700-43a9-8cab-b2fcd80c803a"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "model": {
+ "model-invariant-id": "e6130d03-56f1-4b0a-9a1d-e1b2ebc30e0e",
+ "model-type": "resource",
+ "resource-version": "1556724754936",
+ "model-vers": {
+ "model-ver": [
+ {
+ "model-version-id": "94b18b1d-cc91-4f43-911a-e6348665f292",
+ "model-name": "VfwclVfwsnkBbefb8ce2bde..base_vfw..module-0",
+ "model-version": "1",
+ "resource-version": "1556724754936",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "model-element",
+ "relationship-label": "org.onap.relationships.inventory.IsA",
+ "related-link": "/aai/v15/service-design-and-creation/models/model/bbb3cefd-01c8-413c-9bdd-2b92f9ca3d38/model-vers/model-ver/189a5070-3bd5-45ac-8a1d-c84ca40b277b/model-elements/model-element/d4dd3710-eb91-4b15-98d7-a8a90fa28f1b/model-elements/model-element/d272cfdd-0700-43a9-8cab-b2fcd80c803a",
+ "relationship-data": [
+ {
+ "relationship-key": "model.model-invariant-id",
+ "relationship-value": "bbb3cefd-01c8-413c-9bdd-2b92f9ca3d38"
+ },
+ {
+ "relationship-key": "model-ver.model-version-id",
+ "relationship-value": "189a5070-3bd5-45ac-8a1d-c84ca40b277b"
+ },
+ {
+ "relationship-key": "model-element.model-element-uuid",
+ "relationship-value": "d4dd3710-eb91-4b15-98d7-a8a90fa28f1b"
+ },
+ {
+ "relationship-key": "model-element.model-element-uuid",
+ "relationship-value": "d272cfdd-0700-43a9-8cab-b2fcd80c803a"
+ }
+ ]
+ }
+ ]
+ }
}
- ]
- }
- ]
+ ]
}
}
- },
+ },
{
"tenant": {
- "tenant-id": "tenant1-16197-as988q",
- "tenant-name": "tenant-name-16197-as988q",
- "resource-version": "1550769793637",
+ "tenant-id": "41d6d38489bd40b09ea8a6b6b852dcbd",
+ "tenant-name": "Integration-SB-00",
+ "resource-version": "1556561749631",
"vservers": {
"vserver": [
{
- "vserver-id": "vserver1-16197-as988q",
- "vserver-name": "vserverName",
- "vserver-name2": "vserverTE-name2-as988q",
+ "vserver-id": "f7807a27-1c45-4e79-9e61-6fb33ee4b7e7",
+ "vserver-name": "Ete_vFWCLvFWSNK_38fbaf46_0",
+ "vserver-name2": "Ete_vFWCLvFWSNK_38fbaf46_0",
+ "prov-status": "ACTIVE",
+ "vserver-selflink": "http://10.12.25.2:8774/v2.1/41d6d38489bd40b09ea8a6b6b852dcbd/servers/f7807a27-1c45-4e79-9e61-6fb33ee4b7e7",
+ "in-maint": false,
+ "is-closed-loop-disabled": false,
+ "resource-version": "1556564836725",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "generic-vnf",
+ "relationship-label": "tosca.relationships.HostedOn",
+ "related-link": "/aai/v15/network/generic-vnfs/generic-vnf/0b34a0bb-84ea-424a-a0ce-a2041e115025",
+ "relationship-data": [
+ {
+ "relationship-key": "generic-vnf.vnf-id",
+ "relationship-value": "0b34a0bb-84ea-424a-a0ce-a2041e115025"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "generic-vnf.vnf-name",
+ "property-value": "Ete_vFWCLvFWSNK_38fbaf46_0"
+ }
+ ]
+ },
+ {
+ "related-to": "vnfc",
+ "relationship-label": "tosca.relationships.HostedOn",
+ "related-link": "/aai/v15/network/vnfcs/vnfc/Ete_vFWCLvFWSNK_38fbaf46_0",
+ "relationship-data": [
+ {
+ "relationship-key": "vnfc.vnfc-name",
+ "relationship-value": "Ete_vFWCLvFWSNK_38fbaf46_0"
+ }
+ ]
+ },
+ {
+ "related-to": "vf-module",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/network/generic-vnfs/generic-vnf/0b34a0bb-84ea-424a-a0ce-a2041e115025/vf-modules/vf-module/32a2a6e2-27a4-4995-8e3d-50a65e8bfeb6",
+ "relationship-data": [
+ {
+ "relationship-key": "generic-vnf.vnf-id",
+ "relationship-value": "0b34a0bb-84ea-424a-a0ce-a2041e115025"
+ },
+ {
+ "relationship-key": "vf-module.vf-module-id",
+ "relationship-value": "32a2a6e2-27a4-4995-8e3d-50a65e8bfeb6"
+ }
+ ]
+ },
+ {
+ "related-to": "image",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/images/image/42fd42f8-cf81-4f4c-a552-d4b124f83b0b",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "image.image-id",
+ "relationship-value": "42fd42f8-cf81-4f4c-a552-d4b124f83b0b"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "image.image-name",
+ "property-value": "unknown"
+ }
+ ]
+ },
+ {
+ "related-to": "flavor",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/flavors/flavor/764efb04-5a46-4806-a766-2bdd24559f39",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "flavor.flavor-id",
+ "relationship-value": "764efb04-5a46-4806-a766-2bdd24559f39"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "flavor.flavor-name",
+ "property-value": "m1.medium"
+ }
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "vserver-id": "900dc2db-1d65-41ef-8b13-9b9b605cb0bd",
+ "vserver-name": "vofwl01snkf0ef",
+ "vserver-name2": "vofwl01snkf0ef",
+ "prov-status": "ACTIVE",
+ "vserver-selflink": "http://10.12.25.2:8774/v2.1/41d6d38489bd40b09ea8a6b6b852dcbd/servers/900dc2db-1d65-41ef-8b13-9b9b605cb0bd",
+ "in-maint": false,
+ "is-closed-loop-disabled": false,
+ "resource-version": "1556567725997",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "generic-vnf",
+ "relationship-label": "tosca.relationships.HostedOn",
+ "related-link": "/aai/v15/network/generic-vnfs/generic-vnf/9a216ccb-6536-4dc3-a789-0634591342d3",
+ "relationship-data": [
+ {
+ "relationship-key": "generic-vnf.vnf-id",
+ "relationship-value": "9a216ccb-6536-4dc3-a789-0634591342d3"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "generic-vnf.vnf-name",
+ "property-value": "Ete_vFWDTvFWSNK_8edbf0ef_1"
+ }
+ ]
+ },
+ {
+ "related-to": "vnfc",
+ "relationship-label": "tosca.relationships.HostedOn",
+ "related-link": "/aai/v15/network/vnfcs/vnfc/vofwl01snkf0ef",
+ "relationship-data": [
+ {
+ "relationship-key": "vnfc.vnfc-name",
+ "relationship-value": "vofwl01snkf0ef"
+ }
+ ]
+ },
+ {
+ "related-to": "vf-module",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/network/generic-vnfs/generic-vnf/9a216ccb-6536-4dc3-a789-0634591342d3/vf-modules/vf-module/3ecc64d4-3861-4024-8fd2-d81d2d6e539c",
+ "relationship-data": [
+ {
+ "relationship-key": "generic-vnf.vnf-id",
+ "relationship-value": "9a216ccb-6536-4dc3-a789-0634591342d3"
+ },
+ {
+ "relationship-key": "vf-module.vf-module-id",
+ "relationship-value": "3ecc64d4-3861-4024-8fd2-d81d2d6e539c"
+ }
+ ]
+ },
+ {
+ "related-to": "image",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/images/image/42fd42f8-cf81-4f4c-a552-d4b124f83b0b",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "image.image-id",
+ "relationship-value": "42fd42f8-cf81-4f4c-a552-d4b124f83b0b"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "image.image-name",
+ "property-value": "unknown"
+ }
+ ]
+ },
+ {
+ "related-to": "flavor",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/flavors/flavor/764efb04-5a46-4806-a766-2bdd24559f39",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "flavor.flavor-id",
+ "relationship-value": "764efb04-5a46-4806-a766-2bdd24559f39"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "flavor.flavor-name",
+ "property-value": "m1.medium"
+ }
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "vserver-id": "cc93aa76-e88d-43a6-8e3b-331918dd3eab",
+ "vserver-name": "demofwl01pgnaf46",
+ "vserver-name2": "demofwl01pgnaf46",
+ "prov-status": "ACTIVE",
+ "vserver-selflink": "http://10.12.25.2:8774/v2.1/41d6d38489bd40b09ea8a6b6b852dcbd/servers/cc93aa76-e88d-43a6-8e3b-331918dd3eab",
+ "in-maint": false,
+ "is-closed-loop-disabled": false,
+ "resource-version": "1556565009305",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "vnfc",
+ "relationship-label": "tosca.relationships.HostedOn",
+ "related-link": "/aai/v15/network/vnfcs/vnfc/demofwl01pgnaf46",
+ "relationship-data": [
+ {
+ "relationship-key": "vnfc.vnfc-name",
+ "relationship-value": "demofwl01pgnaf46"
+ }
+ ]
+ },
+ {
+ "related-to": "generic-vnf",
+ "relationship-label": "tosca.relationships.HostedOn",
+ "related-link": "/aai/v15/network/generic-vnfs/generic-vnf/9fdccaed-6809-457d-9178-9f2187b54e15",
+ "relationship-data": [
+ {
+ "relationship-key": "generic-vnf.vnf-id",
+ "relationship-value": "9fdccaed-6809-457d-9178-9f2187b54e15"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "generic-vnf.vnf-name",
+ "property-value": "Ete_vFWCLvPKG_38fbaf46_1"
+ }
+ ]
+ },
+ {
+ "related-to": "vf-module",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/network/generic-vnfs/generic-vnf/9fdccaed-6809-457d-9178-9f2187b54e15/vf-modules/vf-module/475496f6-38d1-43df-a995-64a387f6c788",
+ "relationship-data": [
+ {
+ "relationship-key": "generic-vnf.vnf-id",
+ "relationship-value": "9fdccaed-6809-457d-9178-9f2187b54e15"
+ },
+ {
+ "relationship-key": "vf-module.vf-module-id",
+ "relationship-value": "475496f6-38d1-43df-a995-64a387f6c788"
+ }
+ ]
+ },
+ {
+ "related-to": "image",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/images/image/42fd42f8-cf81-4f4c-a552-d4b124f83b0b",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "image.image-id",
+ "relationship-value": "42fd42f8-cf81-4f4c-a552-d4b124f83b0b"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "image.image-name",
+ "property-value": "unknown"
+ }
+ ]
+ },
+ {
+ "related-to": "flavor",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/flavors/flavor/764efb04-5a46-4806-a766-2bdd24559f39",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "flavor.flavor-id",
+ "relationship-value": "764efb04-5a46-4806-a766-2bdd24559f39"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "flavor.flavor-name",
+ "property-value": "m1.medium"
+ }
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "vserver-id": "ab342d19-f3e6-420b-8481-ed7f16c43dfa",
+ "vserver-name": "demofwl01snkaf46",
+ "vserver-name2": "demofwl01snkaf46",
+ "prov-status": "ACTIVE",
+ "vserver-selflink": "http://10.12.25.2:8774/v2.1/41d6d38489bd40b09ea8a6b6b852dcbd/servers/ab342d19-f3e6-420b-8481-ed7f16c43dfa",
+ "in-maint": false,
+ "is-closed-loop-disabled": false,
+ "resource-version": "1556564837108",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "generic-vnf",
+ "relationship-label": "tosca.relationships.HostedOn",
+ "related-link": "/aai/v15/network/generic-vnfs/generic-vnf/0b34a0bb-84ea-424a-a0ce-a2041e115025",
+ "relationship-data": [
+ {
+ "relationship-key": "generic-vnf.vnf-id",
+ "relationship-value": "0b34a0bb-84ea-424a-a0ce-a2041e115025"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "generic-vnf.vnf-name",
+ "property-value": "Ete_vFWCLvFWSNK_38fbaf46_0"
+ }
+ ]
+ },
+ {
+ "related-to": "vnfc",
+ "relationship-label": "tosca.relationships.HostedOn",
+ "related-link": "/aai/v15/network/vnfcs/vnfc/demofwl01snkaf46",
+ "relationship-data": [
+ {
+ "relationship-key": "vnfc.vnfc-name",
+ "relationship-value": "demofwl01snkaf46"
+ }
+ ]
+ },
+ {
+ "related-to": "vf-module",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/network/generic-vnfs/generic-vnf/0b34a0bb-84ea-424a-a0ce-a2041e115025/vf-modules/vf-module/32a2a6e2-27a4-4995-8e3d-50a65e8bfeb6",
+ "relationship-data": [
+ {
+ "relationship-key": "generic-vnf.vnf-id",
+ "relationship-value": "0b34a0bb-84ea-424a-a0ce-a2041e115025"
+ },
+ {
+ "relationship-key": "vf-module.vf-module-id",
+ "relationship-value": "32a2a6e2-27a4-4995-8e3d-50a65e8bfeb6"
+ }
+ ]
+ },
+ {
+ "related-to": "image",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/images/image/42fd42f8-cf81-4f4c-a552-d4b124f83b0b",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "image.image-id",
+ "relationship-value": "42fd42f8-cf81-4f4c-a552-d4b124f83b0b"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "image.image-name",
+ "property-value": "unknown"
+ }
+ ]
+ },
+ {
+ "related-to": "flavor",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/flavors/flavor/764efb04-5a46-4806-a766-2bdd24559f39",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "flavor.flavor-id",
+ "relationship-value": "764efb04-5a46-4806-a766-2bdd24559f39"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "flavor.flavor-name",
+ "property-value": "m1.medium"
+ }
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "vserver-id": "2a9ce7fd-ecae-4301-b2eb-0b3f42df2eb8",
+ "vserver-name": "vofwl01vfw8ab3",
+ "vserver-name2": "vofwl01vfw8ab3",
+ "prov-status": "ACTIVE",
+ "vserver-selflink": "http://10.12.25.2:8774/v2.1/41d6d38489bd40b09ea8a6b6b852dcbd/servers/2a9ce7fd-ecae-4301-b2eb-0b3f42df2eb8",
+ "in-maint": false,
+ "is-closed-loop-disabled": false,
+ "resource-version": "1556573557549",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "vnfc",
+ "relationship-label": "tosca.relationships.HostedOn",
+ "related-link": "/aai/v15/network/vnfcs/vnfc/vofwl01vfw8ab3",
+ "relationship-data": [
+ {
+ "relationship-key": "vnfc.vnfc-name",
+ "relationship-value": "vofwl01vfw8ab3"
+ }
+ ]
+ },
+ {
+ "related-to": "generic-vnf",
+ "relationship-label": "tosca.relationships.HostedOn",
+ "related-link": "/aai/v15/network/generic-vnfs/generic-vnf/b2d0096d-8d50-4f05-b603-dfe95b07f1ea",
+ "relationship-data": [
+ {
+ "relationship-key": "generic-vnf.vnf-id",
+ "relationship-value": "b2d0096d-8d50-4f05-b603-dfe95b07f1ea"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "generic-vnf.vnf-name",
+ "property-value": "Ete_vFWDTvFWSNK_8b908ab3_1"
+ }
+ ]
+ },
+ {
+ "related-to": "vf-module",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/network/generic-vnfs/generic-vnf/b2d0096d-8d50-4f05-b603-dfe95b07f1ea/vf-modules/vf-module/acc2eaad-1127-483a-80d2-ac5de1ec942a",
+ "relationship-data": [
+ {
+ "relationship-key": "generic-vnf.vnf-id",
+ "relationship-value": "b2d0096d-8d50-4f05-b603-dfe95b07f1ea"
+ },
+ {
+ "relationship-key": "vf-module.vf-module-id",
+ "relationship-value": "acc2eaad-1127-483a-80d2-ac5de1ec942a"
+ }
+ ]
+ },
+ {
+ "related-to": "image",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/images/image/42fd42f8-cf81-4f4c-a552-d4b124f83b0b",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "image.image-id",
+ "relationship-value": "42fd42f8-cf81-4f4c-a552-d4b124f83b0b"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "image.image-name",
+ "property-value": "unknown"
+ }
+ ]
+ },
+ {
+ "related-to": "flavor",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/flavors/flavor/764efb04-5a46-4806-a766-2bdd24559f39",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "flavor.flavor-id",
+ "relationship-value": "764efb04-5a46-4806-a766-2bdd24559f39"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "flavor.flavor-name",
+ "property-value": "m1.medium"
+ }
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "vserver-id": "91277106-90d3-450d-8a10-9aa9a8727d6e",
+ "vserver-name": "vofwl01pgnf0ef",
+ "vserver-name2": "vofwl01pgnf0ef",
+ "prov-status": "ACTIVE",
+ "vserver-selflink": "http://10.12.25.2:8774/v2.1/41d6d38489bd40b09ea8a6b6b852dcbd/servers/91277106-90d3-450d-8a10-9aa9a8727d6e",
+ "in-maint": false,
+ "is-closed-loop-disabled": false,
+ "resource-version": "1556567540588",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "generic-vnf",
+ "relationship-label": "tosca.relationships.HostedOn",
+ "related-link": "/aai/v15/network/generic-vnfs/generic-vnf/9e34e80d-3995-479c-8c53-54e621840ae0",
+ "relationship-data": [
+ {
+ "relationship-key": "generic-vnf.vnf-id",
+ "relationship-value": "9e34e80d-3995-479c-8c53-54e621840ae0"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "generic-vnf.vnf-name",
+ "property-value": "Ete_vFWDTvPKG_8edbf0ef_0"
+ }
+ ]
+ },
+ {
+ "related-to": "vnfc",
+ "relationship-label": "tosca.relationships.HostedOn",
+ "related-link": "/aai/v15/network/vnfcs/vnfc/vofwl01pgnf0ef",
+ "relationship-data": [
+ {
+ "relationship-key": "vnfc.vnfc-name",
+ "relationship-value": "vofwl01pgnf0ef"
+ }
+ ]
+ },
+ {
+ "related-to": "vf-module",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/network/generic-vnfs/generic-vnf/9e34e80d-3995-479c-8c53-54e621840ae0/vf-modules/vf-module/02e31bf2-8a33-418f-85f4-6b1d2903b3b7",
+ "relationship-data": [
+ {
+ "relationship-key": "generic-vnf.vnf-id",
+ "relationship-value": "9e34e80d-3995-479c-8c53-54e621840ae0"
+ },
+ {
+ "relationship-key": "vf-module.vf-module-id",
+ "relationship-value": "02e31bf2-8a33-418f-85f4-6b1d2903b3b7"
+ }
+ ]
+ },
+ {
+ "related-to": "image",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/images/image/42fd42f8-cf81-4f4c-a552-d4b124f83b0b",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "image.image-id",
+ "relationship-value": "42fd42f8-cf81-4f4c-a552-d4b124f83b0b"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "image.image-name",
+ "property-value": "unknown"
+ }
+ ]
+ },
+ {
+ "related-to": "flavor",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/flavors/flavor/764efb04-5a46-4806-a766-2bdd24559f39",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "flavor.flavor-id",
+ "relationship-value": "764efb04-5a46-4806-a766-2bdd24559f39"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "flavor.flavor-name",
+ "property-value": "m1.medium"
+ }
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "vserver-id": "801da076-918a-4911-b87c-b44ce62822a9",
+ "vserver-name": "vofwl01pgn8ab3",
+ "vserver-name2": "vofwl01pgn8ab3",
+ "prov-status": "ACTIVE",
+ "vserver-selflink": "http://10.12.25.2:8774/v2.1/41d6d38489bd40b09ea8a6b6b852dcbd/servers/801da076-918a-4911-b87c-b44ce62822a9",
+ "in-maint": false,
+ "is-closed-loop-disabled": false,
+ "resource-version": "1556573356532",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "vnfc",
+ "relationship-label": "tosca.relationships.HostedOn",
+ "related-link": "/aai/v15/network/vnfcs/vnfc/vofwl01pgn8ab3",
+ "relationship-data": [
+ {
+ "relationship-key": "vnfc.vnfc-name",
+ "relationship-value": "vofwl01pgn8ab3"
+ }
+ ]
+ },
+ {
+ "related-to": "generic-vnf",
+ "relationship-label": "tosca.relationships.HostedOn",
+ "related-link": "/aai/v15/network/generic-vnfs/generic-vnf/7f0cccbf-408d-466c-8045-a7fd677bb24f",
+ "relationship-data": [
+ {
+ "relationship-key": "generic-vnf.vnf-id",
+ "relationship-value": "7f0cccbf-408d-466c-8045-a7fd677bb24f"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "generic-vnf.vnf-name",
+ "property-value": "Ete_vFWDTvPKG_8b908ab3_0"
+ }
+ ]
+ },
+ {
+ "related-to": "vf-module",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/network/generic-vnfs/generic-vnf/7f0cccbf-408d-466c-8045-a7fd677bb24f/vf-modules/vf-module/1e130341-7ccd-46bc-bf83-3453c1ba5fe3",
+ "relationship-data": [
+ {
+ "relationship-key": "generic-vnf.vnf-id",
+ "relationship-value": "7f0cccbf-408d-466c-8045-a7fd677bb24f"
+ },
+ {
+ "relationship-key": "vf-module.vf-module-id",
+ "relationship-value": "1e130341-7ccd-46bc-bf83-3453c1ba5fe3"
+ }
+ ]
+ },
+ {
+ "related-to": "image",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/images/image/42fd42f8-cf81-4f4c-a552-d4b124f83b0b",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "image.image-id",
+ "relationship-value": "42fd42f8-cf81-4f4c-a552-d4b124f83b0b"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "image.image-name",
+ "property-value": "unknown"
+ }
+ ]
+ },
+ {
+ "related-to": "flavor",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/flavors/flavor/764efb04-5a46-4806-a766-2bdd24559f39",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "flavor.flavor-id",
+ "relationship-value": "764efb04-5a46-4806-a766-2bdd24559f39"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "flavor.flavor-name",
+ "property-value": "m1.medium"
+ }
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "vserver-id": "8a503052-a89c-4035-94ec-b3ab1e157b49",
+ "vserver-name": "vofwl01vfwf0ef",
+ "vserver-name2": "vofwl01vfwf0ef",
+ "prov-status": "ACTIVE",
+ "vserver-selflink": "http://10.12.25.2:8774/v2.1/41d6d38489bd40b09ea8a6b6b852dcbd/servers/8a503052-a89c-4035-94ec-b3ab1e157b49",
+ "in-maint": false,
+ "is-closed-loop-disabled": false,
+ "resource-version": "1556567726399",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "generic-vnf",
+ "relationship-label": "tosca.relationships.HostedOn",
+ "related-link": "/aai/v15/network/generic-vnfs/generic-vnf/9a216ccb-6536-4dc3-a789-0634591342d3",
+ "relationship-data": [
+ {
+ "relationship-key": "generic-vnf.vnf-id",
+ "relationship-value": "9a216ccb-6536-4dc3-a789-0634591342d3"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "generic-vnf.vnf-name",
+ "property-value": "Ete_vFWDTvFWSNK_8edbf0ef_1"
+ }
+ ]
+ },
+ {
+ "related-to": "vnfc",
+ "relationship-label": "tosca.relationships.HostedOn",
+ "related-link": "/aai/v15/network/vnfcs/vnfc/vofwl01vfwf0ef",
+ "relationship-data": [
+ {
+ "relationship-key": "vnfc.vnfc-name",
+ "relationship-value": "vofwl01vfwf0ef"
+ }
+ ]
+ },
+ {
+ "related-to": "vf-module",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/network/generic-vnfs/generic-vnf/9a216ccb-6536-4dc3-a789-0634591342d3/vf-modules/vf-module/3ecc64d4-3861-4024-8fd2-d81d2d6e539c",
+ "relationship-data": [
+ {
+ "relationship-key": "generic-vnf.vnf-id",
+ "relationship-value": "9a216ccb-6536-4dc3-a789-0634591342d3"
+ },
+ {
+ "relationship-key": "vf-module.vf-module-id",
+ "relationship-value": "3ecc64d4-3861-4024-8fd2-d81d2d6e539c"
+ }
+ ]
+ },
+ {
+ "related-to": "image",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/images/image/42fd42f8-cf81-4f4c-a552-d4b124f83b0b",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "image.image-id",
+ "relationship-value": "42fd42f8-cf81-4f4c-a552-d4b124f83b0b"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "image.image-name",
+ "property-value": "unknown"
+ }
+ ]
+ },
+ {
+ "related-to": "flavor",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/flavors/flavor/764efb04-5a46-4806-a766-2bdd24559f39",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "flavor.flavor-id",
+ "relationship-value": "764efb04-5a46-4806-a766-2bdd24559f39"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "flavor.flavor-name",
+ "property-value": "m1.medium"
+ }
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "vserver-id": "39a77e27-ced1-444c-a5b6-f73135e09225",
+ "vserver-name": "vofwl01snk8ab3",
+ "vserver-name2": "vofwl01snk8ab3",
+ "prov-status": "ACTIVE",
+ "vserver-selflink": "http://10.12.25.2:8774/v2.1/41d6d38489bd40b09ea8a6b6b852dcbd/servers/39a77e27-ced1-444c-a5b6-f73135e09225",
+ "in-maint": false,
+ "is-closed-loop-disabled": false,
+ "resource-version": "1556573557017",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "vnfc",
+ "relationship-label": "tosca.relationships.HostedOn",
+ "related-link": "/aai/v15/network/vnfcs/vnfc/vofwl01snk8ab3",
+ "relationship-data": [
+ {
+ "relationship-key": "vnfc.vnfc-name",
+ "relationship-value": "vofwl01snk8ab3"
+ }
+ ]
+ },
+ {
+ "related-to": "generic-vnf",
+ "relationship-label": "tosca.relationships.HostedOn",
+ "related-link": "/aai/v15/network/generic-vnfs/generic-vnf/b2d0096d-8d50-4f05-b603-dfe95b07f1ea",
+ "relationship-data": [
+ {
+ "relationship-key": "generic-vnf.vnf-id",
+ "relationship-value": "b2d0096d-8d50-4f05-b603-dfe95b07f1ea"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "generic-vnf.vnf-name",
+ "property-value": "Ete_vFWDTvFWSNK_8b908ab3_1"
+ }
+ ]
+ },
+ {
+ "related-to": "vf-module",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/network/generic-vnfs/generic-vnf/b2d0096d-8d50-4f05-b603-dfe95b07f1ea/vf-modules/vf-module/acc2eaad-1127-483a-80d2-ac5de1ec942a",
+ "relationship-data": [
+ {
+ "relationship-key": "generic-vnf.vnf-id",
+ "relationship-value": "b2d0096d-8d50-4f05-b603-dfe95b07f1ea"
+ },
+ {
+ "relationship-key": "vf-module.vf-module-id",
+ "relationship-value": "acc2eaad-1127-483a-80d2-ac5de1ec942a"
+ }
+ ]
+ },
+ {
+ "related-to": "image",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/images/image/42fd42f8-cf81-4f4c-a552-d4b124f83b0b",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "image.image-id",
+ "relationship-value": "42fd42f8-cf81-4f4c-a552-d4b124f83b0b"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "image.image-name",
+ "property-value": "unknown"
+ }
+ ]
+ },
+ {
+ "related-to": "flavor",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/flavors/flavor/764efb04-5a46-4806-a766-2bdd24559f39",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "flavor.flavor-id",
+ "relationship-value": "764efb04-5a46-4806-a766-2bdd24559f39"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "flavor.flavor-name",
+ "property-value": "m1.medium"
+ }
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "vserver-id": "0e581a27-5184-48b1-88b1-e81c5b5a450c",
+ "vserver-name": "vofwl01snk8ab3",
+ "vserver-name2": "vofwl01snk8ab3",
+ "prov-status": "ACTIVE",
+ "vserver-selflink": "http://10.12.25.2:8774/v2.1/41d6d38489bd40b09ea8a6b6b852dcbd/servers/0e581a27-5184-48b1-88b1-e81c5b5a450c",
+ "in-maint": false,
+ "is-closed-loop-disabled": false,
+ "resource-version": "1556573767443",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "vnfc",
+ "relationship-label": "tosca.relationships.HostedOn",
+ "related-link": "/aai/v15/network/vnfcs/vnfc/vofwl01snk8ab3",
+ "relationship-data": [
+ {
+ "relationship-key": "vnfc.vnfc-name",
+ "relationship-value": "vofwl01snk8ab3"
+ }
+ ]
+ },
+ {
+ "related-to": "generic-vnf",
+ "relationship-label": "tosca.relationships.HostedOn",
+ "related-link": "/aai/v15/network/generic-vnfs/generic-vnf/7d4ae51b-4d2e-45f7-a0a5-6fd42dc8a073",
+ "relationship-data": [
+ {
+ "relationship-key": "generic-vnf.vnf-id",
+ "relationship-value": "7d4ae51b-4d2e-45f7-a0a5-6fd42dc8a073"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "generic-vnf.vnf-name",
+ "property-value": "Ete_vFWDTvFWSNK_8b908ab3_2"
+ }
+ ]
+ },
+ {
+ "related-to": "vf-module",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/network/generic-vnfs/generic-vnf/7d4ae51b-4d2e-45f7-a0a5-6fd42dc8a073/vf-modules/vf-module/06a08cc1-37a5-4ec6-bb85-e5ee4d69d0f0",
+ "relationship-data": [
+ {
+ "relationship-key": "generic-vnf.vnf-id",
+ "relationship-value": "7d4ae51b-4d2e-45f7-a0a5-6fd42dc8a073"
+ },
+ {
+ "relationship-key": "vf-module.vf-module-id",
+ "relationship-value": "06a08cc1-37a5-4ec6-bb85-e5ee4d69d0f0"
+ }
+ ]
+ },
+ {
+ "related-to": "image",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/images/image/42fd42f8-cf81-4f4c-a552-d4b124f83b0b",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "image.image-id",
+ "relationship-value": "42fd42f8-cf81-4f4c-a552-d4b124f83b0b"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "image.image-name",
+ "property-value": "unknown"
+ }
+ ]
+ },
+ {
+ "related-to": "flavor",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/flavors/flavor/764efb04-5a46-4806-a766-2bdd24559f39",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "flavor.flavor-id",
+ "relationship-value": "764efb04-5a46-4806-a766-2bdd24559f39"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "flavor.flavor-name",
+ "property-value": "m1.medium"
+ }
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "vserver-id": "c103ce57-6662-49e0-a589-ebfd91f05c79",
+ "vserver-name": "vofwl01vfw8ab3",
+ "vserver-name2": "vofwl01vfw8ab3",
+ "prov-status": "ACTIVE",
+ "vserver-selflink": "http://10.12.25.2:8774/v2.1/41d6d38489bd40b09ea8a6b6b852dcbd/servers/c103ce57-6662-49e0-a589-ebfd91f05c79",
+ "in-maint": false,
+ "is-closed-loop-disabled": false,
+ "resource-version": "1556573767717",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "vnfc",
+ "relationship-label": "tosca.relationships.HostedOn",
+ "related-link": "/aai/v15/network/vnfcs/vnfc/vofwl01vfw8ab3",
+ "relationship-data": [
+ {
+ "relationship-key": "vnfc.vnfc-name",
+ "relationship-value": "vofwl01vfw8ab3"
+ }
+ ]
+ },
+ {
+ "related-to": "generic-vnf",
+ "relationship-label": "tosca.relationships.HostedOn",
+ "related-link": "/aai/v15/network/generic-vnfs/generic-vnf/7d4ae51b-4d2e-45f7-a0a5-6fd42dc8a073",
+ "relationship-data": [
+ {
+ "relationship-key": "generic-vnf.vnf-id",
+ "relationship-value": "7d4ae51b-4d2e-45f7-a0a5-6fd42dc8a073"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "generic-vnf.vnf-name",
+ "property-value": "Ete_vFWDTvFWSNK_8b908ab3_2"
+ }
+ ]
+ },
+ {
+ "related-to": "vf-module",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/network/generic-vnfs/generic-vnf/7d4ae51b-4d2e-45f7-a0a5-6fd42dc8a073/vf-modules/vf-module/06a08cc1-37a5-4ec6-bb85-e5ee4d69d0f0",
+ "relationship-data": [
+ {
+ "relationship-key": "generic-vnf.vnf-id",
+ "relationship-value": "7d4ae51b-4d2e-45f7-a0a5-6fd42dc8a073"
+ },
+ {
+ "relationship-key": "vf-module.vf-module-id",
+ "relationship-value": "06a08cc1-37a5-4ec6-bb85-e5ee4d69d0f0"
+ }
+ ]
+ },
+ {
+ "related-to": "image",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/images/image/42fd42f8-cf81-4f4c-a552-d4b124f83b0b",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "image.image-id",
+ "relationship-value": "42fd42f8-cf81-4f4c-a552-d4b124f83b0b"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "image.image-name",
+ "property-value": "unknown"
+ }
+ ]
+ },
+ {
+ "related-to": "flavor",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/flavors/flavor/764efb04-5a46-4806-a766-2bdd24559f39",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "flavor.flavor-id",
+ "relationship-value": "764efb04-5a46-4806-a766-2bdd24559f39"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "flavor.flavor-name",
+ "property-value": "m1.medium"
+ }
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "vserver-id": "b75ccb62-131b-4e76-adad-28636fc60fb8",
+ "vserver-name": "demofwl01snkfbde",
+ "vserver-name2": "demofwl01snkfbde",
+ "prov-status": "ACTIVE",
+ "vserver-selflink": "http://10.12.25.2:8774/v2.1/41d6d38489bd40b09ea8a6b6b852dcbd/servers/b75ccb62-131b-4e76-adad-28636fc60fb8",
+ "in-maint": false,
+ "is-closed-loop-disabled": false,
+ "resource-version": "1556725250327",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "vnfc",
+ "relationship-label": "tosca.relationships.HostedOn",
+ "related-link": "/aai/v15/network/vnfcs/vnfc/demofwl01snkfbde",
+ "relationship-data": [
+ {
+ "relationship-key": "vnfc.vnfc-name",
+ "relationship-value": "demofwl01snkfbde"
+ }
+ ]
+ },
+ {
+ "related-to": "generic-vnf",
+ "relationship-label": "tosca.relationships.HostedOn",
+ "related-link": "/aai/v15/network/generic-vnfs/generic-vnf/f17face5-69cb-4c88-9e0b-7426db7edddd",
+ "relationship-data": [
+ {
+ "relationship-key": "generic-vnf.vnf-id",
+ "relationship-value": "f17face5-69cb-4c88-9e0b-7426db7edddd"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "generic-vnf.vnf-name",
+ "property-value": "Ete_vFWCLvFWSNK_7ba1fbde_0"
+ }
+ ]
+ },
+ {
+ "related-to": "vf-module",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/network/generic-vnfs/generic-vnf/f17face5-69cb-4c88-9e0b-7426db7edddd/vf-modules/vf-module/a6936a82-e340-4fe2-8e3e-b0a10a0001e2",
+ "relationship-data": [
+ {
+ "relationship-key": "generic-vnf.vnf-id",
+ "relationship-value": "f17face5-69cb-4c88-9e0b-7426db7edddd"
+ },
+ {
+ "relationship-key": "vf-module.vf-module-id",
+ "relationship-value": "a6936a82-e340-4fe2-8e3e-b0a10a0001e2"
+ }
+ ]
+ },
+ {
+ "related-to": "image",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/images/image/42fd42f8-cf81-4f4c-a552-d4b124f83b0b",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "image.image-id",
+ "relationship-value": "42fd42f8-cf81-4f4c-a552-d4b124f83b0b"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "image.image-name",
+ "property-value": "unknown"
+ }
+ ]
+ },
+ {
+ "related-to": "flavor",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/flavors/flavor/764efb04-5a46-4806-a766-2bdd24559f39",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "flavor.flavor-id",
+ "relationship-value": "764efb04-5a46-4806-a766-2bdd24559f39"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "flavor.flavor-name",
+ "property-value": "m1.medium"
+ }
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "vserver-id": "f953c499-4b1e-426b-8c6d-e9e9f1fc730f",
+ "vserver-name": "Ete_vFWCLvFWSNK_7ba1fbde_0",
+ "vserver-name2": "Ete_vFWCLvFWSNK_7ba1fbde_0",
+ "prov-status": "ACTIVE",
+ "vserver-selflink": "http://10.12.25.2:8774/v2.1/41d6d38489bd40b09ea8a6b6b852dcbd/servers/f953c499-4b1e-426b-8c6d-e9e9f1fc730f",
+ "in-maint": false,
+ "is-closed-loop-disabled": false,
+ "resource-version": "1556725250281",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "vnfc",
+ "relationship-label": "tosca.relationships.HostedOn",
+ "related-link": "/aai/v15/network/vnfcs/vnfc/Ete_vFWCLvFWSNK_7ba1fbde_0",
+ "relationship-data": [
+ {
+ "relationship-key": "vnfc.vnfc-name",
+ "relationship-value": "Ete_vFWCLvFWSNK_7ba1fbde_0"
+ }
+ ]
+ },
+ {
+ "related-to": "generic-vnf",
+ "relationship-label": "tosca.relationships.HostedOn",
+ "related-link": "/aai/v15/network/generic-vnfs/generic-vnf/f17face5-69cb-4c88-9e0b-7426db7edddd",
+ "relationship-data": [
+ {
+ "relationship-key": "generic-vnf.vnf-id",
+ "relationship-value": "f17face5-69cb-4c88-9e0b-7426db7edddd"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "generic-vnf.vnf-name",
+ "property-value": "Ete_vFWCLvFWSNK_7ba1fbde_0"
+ }
+ ]
+ },
+ {
+ "related-to": "vf-module",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/network/generic-vnfs/generic-vnf/f17face5-69cb-4c88-9e0b-7426db7edddd/vf-modules/vf-module/a6936a82-e340-4fe2-8e3e-b0a10a0001e2",
+ "relationship-data": [
+ {
+ "relationship-key": "generic-vnf.vnf-id",
+ "relationship-value": "f17face5-69cb-4c88-9e0b-7426db7edddd"
+ },
+ {
+ "relationship-key": "vf-module.vf-module-id",
+ "relationship-value": "a6936a82-e340-4fe2-8e3e-b0a10a0001e2"
+ }
+ ]
+ },
+ {
+ "related-to": "image",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/images/image/42fd42f8-cf81-4f4c-a552-d4b124f83b0b",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "image.image-id",
+ "relationship-value": "42fd42f8-cf81-4f4c-a552-d4b124f83b0b"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "image.image-name",
+ "property-value": "unknown"
+ }
+ ]
+ },
+ {
+ "related-to": "flavor",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/flavors/flavor/764efb04-5a46-4806-a766-2bdd24559f39",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "flavor.flavor-id",
+ "relationship-value": "764efb04-5a46-4806-a766-2bdd24559f39"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "flavor.flavor-name",
+ "property-value": "m1.medium"
+ }
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "vserver-id": "80465c73-3481-4d9d-9d3b-ab4016dfffe7",
+ "vserver-name": "demofwl01pgnfbde",
+ "vserver-name2": "demofwl01pgnfbde",
"prov-status": "ACTIVE",
- "vserver-selflink": "TRINITY vserverLink",
+ "vserver-selflink": "http://10.12.25.2:8774/v2.1/41d6d38489bd40b09ea8a6b6b852dcbd/servers/80465c73-3481-4d9d-9d3b-ab4016dfffe7",
"in-maint": false,
"is-closed-loop-disabled": false,
- "resource-version": "1550769794551",
+ "resource-version": "1556725436997",
"relationship-list": {
"relationship": [
{
+ "related-to": "vnfc",
+ "relationship-label": "tosca.relationships.HostedOn",
+ "related-link": "/aai/v15/network/vnfcs/vnfc/demofwl01pgnfbde",
+ "relationship-data": [
+ {
+ "relationship-key": "vnfc.vnfc-name",
+ "relationship-value": "demofwl01pgnfbde"
+ }
+ ]
+ },
+ {
"related-to": "generic-vnf",
"relationship-label": "tosca.relationships.HostedOn",
- "related-link": "/aai/v16/network/generic-vnfs/generic-vnf/VNF1-16197-as988q",
+ "related-link": "/aai/v15/network/generic-vnfs/generic-vnf/9cd7da50-723c-418c-a91d-af2866844a5d",
"relationship-data": [
{
"relationship-key": "generic-vnf.vnf-id",
- "relationship-value": "VNF1-16197-as988q"
- }
- ],
+ "relationship-value": "9cd7da50-723c-418c-a91d-af2866844a5d"
+ }
+ ],
"related-to-property": [
{
"property-key": "generic-vnf.vnf-name",
- "property-value": "vnf1Name"
- }
- ]
- }
- ]
+ "property-value": "Ete_vFWCLvPKG_7ba1fbde_1"
+ }
+ ]
+ },
+ {
+ "related-to": "vf-module",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/network/generic-vnfs/generic-vnf/9cd7da50-723c-418c-a91d-af2866844a5d/vf-modules/vf-module/04bcd430-e1ef-4da5-a67e-3dd80463a725",
+ "relationship-data": [
+ {
+ "relationship-key": "generic-vnf.vnf-id",
+ "relationship-value": "9cd7da50-723c-418c-a91d-af2866844a5d"
+ },
+ {
+ "relationship-key": "vf-module.vf-module-id",
+ "relationship-value": "04bcd430-e1ef-4da5-a67e-3dd80463a725"
+ }
+ ]
+ },
+ {
+ "related-to": "image",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/images/image/42fd42f8-cf81-4f4c-a552-d4b124f83b0b",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "image.image-id",
+ "relationship-value": "42fd42f8-cf81-4f4c-a552-d4b124f83b0b"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "image.image-name",
+ "property-value": "unknown"
+ }
+ ]
+ },
+ {
+ "related-to": "flavor",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/flavors/flavor/764efb04-5a46-4806-a766-2bdd24559f39",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "flavor.flavor-id",
+ "relationship-value": "764efb04-5a46-4806-a766-2bdd24559f39"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "flavor.flavor-name",
+ "property-value": "m1.medium"
+ }
+ ]
+ }
+ ]
}
- }
- ]
+ }
+ ]
+ },
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "service-subscription",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/business/customers/customer/SDN-ETHERNET-INTERNET/service-subscriptions/service-subscription/vFWCL",
+ "relationship-data": [
+ {
+ "relationship-key": "customer.global-customer-id",
+ "relationship-value": "SDN-ETHERNET-INTERNET"
+ },
+ {
+ "relationship-key": "service-subscription.service-type",
+ "relationship-value": "vFWCL"
+ }
+ ]
+ },
+ {
+ "related-to": "service-subscription",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/business/customers/customer/Demonstration/service-subscriptions/service-subscription/vLB",
+ "relationship-data": [
+ {
+ "relationship-key": "customer.global-customer-id",
+ "relationship-value": "Demonstration"
+ },
+ {
+ "relationship-key": "service-subscription.service-type",
+ "relationship-value": "vLB"
+ }
+ ]
+ },
+ {
+ "related-to": "service-subscription",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/business/customers/customer/SDN-ETHERNET-INTERNET/service-subscriptions/service-subscription/vIMS",
+ "relationship-data": [
+ {
+ "relationship-key": "customer.global-customer-id",
+ "relationship-value": "SDN-ETHERNET-INTERNET"
+ },
+ {
+ "relationship-key": "service-subscription.service-type",
+ "relationship-value": "vIMS"
+ }
+ ]
+ },
+ {
+ "related-to": "service-subscription",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/business/customers/customer/Demonstration/service-subscriptions/service-subscription/vCPE",
+ "relationship-data": [
+ {
+ "relationship-key": "customer.global-customer-id",
+ "relationship-value": "Demonstration"
+ },
+ {
+ "relationship-key": "service-subscription.service-type",
+ "relationship-value": "vCPE"
+ }
+ ]
+ },
+ {
+ "related-to": "service-subscription",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/business/customers/customer/SDN-ETHERNET-INTERNET/service-subscriptions/service-subscription/vFW",
+ "relationship-data": [
+ {
+ "relationship-key": "customer.global-customer-id",
+ "relationship-value": "SDN-ETHERNET-INTERNET"
+ },
+ {
+ "relationship-key": "service-subscription.service-type",
+ "relationship-value": "vFW"
+ }
+ ]
+ },
+ {
+ "related-to": "service-subscription",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/business/customers/customer/SDN-ETHERNET-INTERNET/service-subscriptions/service-subscription/gNB",
+ "relationship-data": [
+ {
+ "relationship-key": "customer.global-customer-id",
+ "relationship-value": "SDN-ETHERNET-INTERNET"
+ },
+ {
+ "relationship-key": "service-subscription.service-type",
+ "relationship-value": "gNB"
+ }
+ ]
+ },
+ {
+ "related-to": "service-subscription",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/business/customers/customer/Demonstration/service-subscriptions/service-subscription/vIMS",
+ "relationship-data": [
+ {
+ "relationship-key": "customer.global-customer-id",
+ "relationship-value": "Demonstration"
+ },
+ {
+ "relationship-key": "service-subscription.service-type",
+ "relationship-value": "vIMS"
+ }
+ ]
+ },
+ {
+ "related-to": "service-subscription",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/business/customers/customer/Demonstration/service-subscriptions/service-subscription/gNB",
+ "relationship-data": [
+ {
+ "relationship-key": "customer.global-customer-id",
+ "relationship-value": "Demonstration"
+ },
+ {
+ "relationship-key": "service-subscription.service-type",
+ "relationship-value": "gNB"
+ }
+ ]
+ },
+ {
+ "related-to": "service-subscription",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/business/customers/customer/Demonstration/service-subscriptions/service-subscription/vFW",
+ "relationship-data": [
+ {
+ "relationship-key": "customer.global-customer-id",
+ "relationship-value": "Demonstration"
+ },
+ {
+ "relationship-key": "service-subscription.service-type",
+ "relationship-value": "vFW"
+ }
+ ]
+ },
+ {
+ "related-to": "service-subscription",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/business/customers/customer/SDN-ETHERNET-INTERNET/service-subscriptions/service-subscription/vLB",
+ "relationship-data": [
+ {
+ "relationship-key": "customer.global-customer-id",
+ "relationship-value": "SDN-ETHERNET-INTERNET"
+ },
+ {
+ "relationship-key": "service-subscription.service-type",
+ "relationship-value": "vLB"
+ }
+ ]
+ },
+ {
+ "related-to": "service-subscription",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/business/customers/customer/DemoCust_8568f3da-8821-4600-b95f-6224f15943f7/service-subscriptions/service-subscription/vFWCL",
+ "relationship-data": [
+ {
+ "relationship-key": "customer.global-customer-id",
+ "relationship-value": "DemoCust_8568f3da-8821-4600-b95f-6224f15943f7"
+ },
+ {
+ "relationship-key": "service-subscription.service-type",
+ "relationship-value": "vFWCL"
+ }
+ ]
+ },
+ {
+ "related-to": "service-subscription",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/business/customers/customer/DemoCust_38fbaf46-8ae5-4b08-ad4d-2cb552ca2eb0/service-subscriptions/service-subscription/vFWCL",
+ "relationship-data": [
+ {
+ "relationship-key": "customer.global-customer-id",
+ "relationship-value": "DemoCust_38fbaf46-8ae5-4b08-ad4d-2cb552ca2eb0"
+ },
+ {
+ "relationship-key": "service-subscription.service-type",
+ "relationship-value": "vFWCL"
+ }
+ ]
+ },
+ {
+ "related-to": "service-subscription",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/business/customers/customer/Demonstration/service-subscriptions/service-subscription/vFWCL",
+ "relationship-data": [
+ {
+ "relationship-key": "customer.global-customer-id",
+ "relationship-value": "Demonstration"
+ },
+ {
+ "relationship-key": "service-subscription.service-type",
+ "relationship-value": "vFWCL"
+ }
+ ]
+ },
+ {
+ "related-to": "service-subscription",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/business/customers/customer/DemoCust_8edbf0ef-8460-4965-9e56-7e4637c31a41/service-subscriptions/service-subscription/vFWDT",
+ "relationship-data": [
+ {
+ "relationship-key": "customer.global-customer-id",
+ "relationship-value": "DemoCust_8edbf0ef-8460-4965-9e56-7e4637c31a41"
+ },
+ {
+ "relationship-key": "service-subscription.service-type",
+ "relationship-value": "vFWDT"
+ }
+ ]
+ },
+ {
+ "related-to": "service-subscription",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/business/customers/customer/SDN-ETHERNET-INTERNET/service-subscriptions/service-subscription/vCPE",
+ "relationship-data": [
+ {
+ "relationship-key": "customer.global-customer-id",
+ "relationship-value": "SDN-ETHERNET-INTERNET"
+ },
+ {
+ "relationship-key": "service-subscription.service-type",
+ "relationship-value": "vCPE"
+ }
+ ]
+ },
+ {
+ "related-to": "service-subscription",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/business/customers/customer/DemoCust_5dbd369e-2174-430a-9c15-b9a090b99591/service-subscriptions/service-subscription/vFWDT",
+ "relationship-data": [
+ {
+ "relationship-key": "customer.global-customer-id",
+ "relationship-value": "DemoCust_5dbd369e-2174-430a-9c15-b9a090b99591"
+ },
+ {
+ "relationship-key": "service-subscription.service-type",
+ "relationship-value": "vFWDT"
+ }
+ ]
+ },
+ {
+ "related-to": "service-subscription",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/business/customers/customer/DemoCust_8b908ab3-b9e6-41a9-a4e2-31cc9c5114a2/service-subscriptions/service-subscription/vFWDT",
+ "relationship-data": [
+ {
+ "relationship-key": "customer.global-customer-id",
+ "relationship-value": "DemoCust_8b908ab3-b9e6-41a9-a4e2-31cc9c5114a2"
+ },
+ {
+ "relationship-key": "service-subscription.service-type",
+ "relationship-value": "vFWDT"
+ }
+ ]
+ },
+ {
+ "related-to": "service-subscription",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/business/customers/customer/DemoCust_7ba1fbde-6187-464a-a62d-d9dd25bdf4e8/service-subscriptions/service-subscription/vFWCL",
+ "relationship-data": [
+ {
+ "relationship-key": "customer.global-customer-id",
+ "relationship-value": "DemoCust_7ba1fbde-6187-464a-a62d-d9dd25bdf4e8"
+ },
+ {
+ "relationship-key": "service-subscription.service-type",
+ "relationship-value": "vFWCL"
+ }
+ ]
+ }
+ ]
}
}
- },
+ },
{
"cloud-region": {
- "cloud-owner": "co-16197-01-as988q",
- "cloud-region-id": "cr-16197-01-as988q",
- "resource-version": "1550769792672",
- "orchestration-disabled": false,
- "in-maint": false,
+ "cloud-owner": "CloudOwner",
+ "cloud-region-id": "RegionOne",
+ "cloud-type": "SharedNode",
+ "owner-defined-type": "OwnerType",
+ "cloud-region-version": "v1",
+ "cloud-zone": "CloudZone",
+ "resource-version": "1556561749631",
"tenants": {
"tenant": [
{
- "tenant-id": "tenant1-16197-as988q",
- "tenant-name": "tenant-name-16197-as988q",
- "resource-version": "1550769793637"
- }
- ]
+ "tenant-id": "41d6d38489bd40b09ea8a6b6b852dcbd",
+ "tenant-name": "Integration-SB-00",
+ "resource-version": "1556561749631",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "service-subscription",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/business/customers/customer/SDN-ETHERNET-INTERNET/service-subscriptions/service-subscription/vFWCL",
+ "relationship-data": [
+ {
+ "relationship-key": "customer.global-customer-id",
+ "relationship-value": "SDN-ETHERNET-INTERNET"
+ },
+ {
+ "relationship-key": "service-subscription.service-type",
+ "relationship-value": "vFWCL"
+ }
+ ]
+ },
+ {
+ "related-to": "service-subscription",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/business/customers/customer/Demonstration/service-subscriptions/service-subscription/vLB",
+ "relationship-data": [
+ {
+ "relationship-key": "customer.global-customer-id",
+ "relationship-value": "Demonstration"
+ },
+ {
+ "relationship-key": "service-subscription.service-type",
+ "relationship-value": "vLB"
+ }
+ ]
+ },
+ {
+ "related-to": "service-subscription",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/business/customers/customer/SDN-ETHERNET-INTERNET/service-subscriptions/service-subscription/vIMS",
+ "relationship-data": [
+ {
+ "relationship-key": "customer.global-customer-id",
+ "relationship-value": "SDN-ETHERNET-INTERNET"
+ },
+ {
+ "relationship-key": "service-subscription.service-type",
+ "relationship-value": "vIMS"
+ }
+ ]
+ },
+ {
+ "related-to": "service-subscription",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/business/customers/customer/Demonstration/service-subscriptions/service-subscription/vCPE",
+ "relationship-data": [
+ {
+ "relationship-key": "customer.global-customer-id",
+ "relationship-value": "Demonstration"
+ },
+ {
+ "relationship-key": "service-subscription.service-type",
+ "relationship-value": "vCPE"
+ }
+ ]
+ },
+ {
+ "related-to": "service-subscription",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/business/customers/customer/SDN-ETHERNET-INTERNET/service-subscriptions/service-subscription/vFW",
+ "relationship-data": [
+ {
+ "relationship-key": "customer.global-customer-id",
+ "relationship-value": "SDN-ETHERNET-INTERNET"
+ },
+ {
+ "relationship-key": "service-subscription.service-type",
+ "relationship-value": "vFW"
+ }
+ ]
+ },
+ {
+ "related-to": "service-subscription",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/business/customers/customer/SDN-ETHERNET-INTERNET/service-subscriptions/service-subscription/gNB",
+ "relationship-data": [
+ {
+ "relationship-key": "customer.global-customer-id",
+ "relationship-value": "SDN-ETHERNET-INTERNET"
+ },
+ {
+ "relationship-key": "service-subscription.service-type",
+ "relationship-value": "gNB"
+ }
+ ]
+ },
+ {
+ "related-to": "service-subscription",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/business/customers/customer/Demonstration/service-subscriptions/service-subscription/vIMS",
+ "relationship-data": [
+ {
+ "relationship-key": "customer.global-customer-id",
+ "relationship-value": "Demonstration"
+ },
+ {
+ "relationship-key": "service-subscription.service-type",
+ "relationship-value": "vIMS"
+ }
+ ]
+ },
+ {
+ "related-to": "service-subscription",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/business/customers/customer/Demonstration/service-subscriptions/service-subscription/gNB",
+ "relationship-data": [
+ {
+ "relationship-key": "customer.global-customer-id",
+ "relationship-value": "Demonstration"
+ },
+ {
+ "relationship-key": "service-subscription.service-type",
+ "relationship-value": "gNB"
+ }
+ ]
+ },
+ {
+ "related-to": "service-subscription",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/business/customers/customer/Demonstration/service-subscriptions/service-subscription/vFW",
+ "relationship-data": [
+ {
+ "relationship-key": "customer.global-customer-id",
+ "relationship-value": "Demonstration"
+ },
+ {
+ "relationship-key": "service-subscription.service-type",
+ "relationship-value": "vFW"
+ }
+ ]
+ },
+ {
+ "related-to": "service-subscription",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/business/customers/customer/SDN-ETHERNET-INTERNET/service-subscriptions/service-subscription/vLB",
+ "relationship-data": [
+ {
+ "relationship-key": "customer.global-customer-id",
+ "relationship-value": "SDN-ETHERNET-INTERNET"
+ },
+ {
+ "relationship-key": "service-subscription.service-type",
+ "relationship-value": "vLB"
+ }
+ ]
+ },
+ {
+ "related-to": "service-subscription",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/business/customers/customer/DemoCust_8568f3da-8821-4600-b95f-6224f15943f7/service-subscriptions/service-subscription/vFWCL",
+ "relationship-data": [
+ {
+ "relationship-key": "customer.global-customer-id",
+ "relationship-value": "DemoCust_8568f3da-8821-4600-b95f-6224f15943f7"
+ },
+ {
+ "relationship-key": "service-subscription.service-type",
+ "relationship-value": "vFWCL"
+ }
+ ]
+ },
+ {
+ "related-to": "service-subscription",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/business/customers/customer/DemoCust_38fbaf46-8ae5-4b08-ad4d-2cb552ca2eb0/service-subscriptions/service-subscription/vFWCL",
+ "relationship-data": [
+ {
+ "relationship-key": "customer.global-customer-id",
+ "relationship-value": "DemoCust_38fbaf46-8ae5-4b08-ad4d-2cb552ca2eb0"
+ },
+ {
+ "relationship-key": "service-subscription.service-type",
+ "relationship-value": "vFWCL"
+ }
+ ]
+ },
+ {
+ "related-to": "service-subscription",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/business/customers/customer/Demonstration/service-subscriptions/service-subscription/vFWCL",
+ "relationship-data": [
+ {
+ "relationship-key": "customer.global-customer-id",
+ "relationship-value": "Demonstration"
+ },
+ {
+ "relationship-key": "service-subscription.service-type",
+ "relationship-value": "vFWCL"
+ }
+ ]
+ },
+ {
+ "related-to": "service-subscription",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/business/customers/customer/DemoCust_8edbf0ef-8460-4965-9e56-7e4637c31a41/service-subscriptions/service-subscription/vFWDT",
+ "relationship-data": [
+ {
+ "relationship-key": "customer.global-customer-id",
+ "relationship-value": "DemoCust_8edbf0ef-8460-4965-9e56-7e4637c31a41"
+ },
+ {
+ "relationship-key": "service-subscription.service-type",
+ "relationship-value": "vFWDT"
+ }
+ ]
+ },
+ {
+ "related-to": "service-subscription",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/business/customers/customer/SDN-ETHERNET-INTERNET/service-subscriptions/service-subscription/vCPE",
+ "relationship-data": [
+ {
+ "relationship-key": "customer.global-customer-id",
+ "relationship-value": "SDN-ETHERNET-INTERNET"
+ },
+ {
+ "relationship-key": "service-subscription.service-type",
+ "relationship-value": "vCPE"
+ }
+ ]
+ },
+ {
+ "related-to": "service-subscription",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/business/customers/customer/DemoCust_5dbd369e-2174-430a-9c15-b9a090b99591/service-subscriptions/service-subscription/vFWDT",
+ "relationship-data": [
+ {
+ "relationship-key": "customer.global-customer-id",
+ "relationship-value": "DemoCust_5dbd369e-2174-430a-9c15-b9a090b99591"
+ },
+ {
+ "relationship-key": "service-subscription.service-type",
+ "relationship-value": "vFWDT"
+ }
+ ]
+ },
+ {
+ "related-to": "service-subscription",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/business/customers/customer/DemoCust_8b908ab3-b9e6-41a9-a4e2-31cc9c5114a2/service-subscriptions/service-subscription/vFWDT",
+ "relationship-data": [
+ {
+ "relationship-key": "customer.global-customer-id",
+ "relationship-value": "DemoCust_8b908ab3-b9e6-41a9-a4e2-31cc9c5114a2"
+ },
+ {
+ "relationship-key": "service-subscription.service-type",
+ "relationship-value": "vFWDT"
+ }
+ ]
+ },
+ {
+ "related-to": "service-subscription",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/business/customers/customer/DemoCust_7ba1fbde-6187-464a-a62d-d9dd25bdf4e8/service-subscriptions/service-subscription/vFWCL",
+ "relationship-data": [
+ {
+ "relationship-key": "customer.global-customer-id",
+ "relationship-value": "DemoCust_7ba1fbde-6187-464a-a62d-d9dd25bdf4e8"
+ },
+ {
+ "relationship-key": "service-subscription.service-type",
+ "relationship-value": "vFWCL"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "flavors": {
+ "flavor": [
+ {
+ "flavor-id": "764efb04-5a46-4806-a766-2bdd24559f39",
+ "flavor-name": "m1.medium",
+ "flavor-vcpus": 2,
+ "flavor-ram": 4096,
+ "flavor-disk": 40,
+ "flavor-ephemeral": 0,
+ "flavor-selflink": "http://10.12.25.2:8774/v2.1/41d6d38489bd40b09ea8a6b6b852dcbd/flavors/764efb04-5a46-4806-a766-2bdd24559f39",
+ "resource-version": "1556564836050",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "vserver",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/41d6d38489bd40b09ea8a6b6b852dcbd/vservers/vserver/f7807a27-1c45-4e79-9e61-6fb33ee4b7e7",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "41d6d38489bd40b09ea8a6b6b852dcbd"
+ },
+ {
+ "relationship-key": "vserver.vserver-id",
+ "relationship-value": "f7807a27-1c45-4e79-9e61-6fb33ee4b7e7"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "vserver.vserver-name",
+ "property-value": "Ete_vFWCLvFWSNK_38fbaf46_0"
+ }
+ ]
+ },
+ {
+ "related-to": "vserver",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/41d6d38489bd40b09ea8a6b6b852dcbd/vservers/vserver/900dc2db-1d65-41ef-8b13-9b9b605cb0bd",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "41d6d38489bd40b09ea8a6b6b852dcbd"
+ },
+ {
+ "relationship-key": "vserver.vserver-id",
+ "relationship-value": "900dc2db-1d65-41ef-8b13-9b9b605cb0bd"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "vserver.vserver-name",
+ "property-value": "vofwl01snkf0ef"
+ }
+ ]
+ },
+ {
+ "related-to": "vserver",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/41d6d38489bd40b09ea8a6b6b852dcbd/vservers/vserver/cc93aa76-e88d-43a6-8e3b-331918dd3eab",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "41d6d38489bd40b09ea8a6b6b852dcbd"
+ },
+ {
+ "relationship-key": "vserver.vserver-id",
+ "relationship-value": "cc93aa76-e88d-43a6-8e3b-331918dd3eab"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "vserver.vserver-name",
+ "property-value": "demofwl01pgnaf46"
+ }
+ ]
+ },
+ {
+ "related-to": "vserver",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/41d6d38489bd40b09ea8a6b6b852dcbd/vservers/vserver/ab342d19-f3e6-420b-8481-ed7f16c43dfa",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "41d6d38489bd40b09ea8a6b6b852dcbd"
+ },
+ {
+ "relationship-key": "vserver.vserver-id",
+ "relationship-value": "ab342d19-f3e6-420b-8481-ed7f16c43dfa"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "vserver.vserver-name",
+ "property-value": "demofwl01snkaf46"
+ }
+ ]
+ },
+ {
+ "related-to": "vserver",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/41d6d38489bd40b09ea8a6b6b852dcbd/vservers/vserver/2a9ce7fd-ecae-4301-b2eb-0b3f42df2eb8",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "41d6d38489bd40b09ea8a6b6b852dcbd"
+ },
+ {
+ "relationship-key": "vserver.vserver-id",
+ "relationship-value": "2a9ce7fd-ecae-4301-b2eb-0b3f42df2eb8"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "vserver.vserver-name",
+ "property-value": "vofwl01vfw8ab3"
+ }
+ ]
+ },
+ {
+ "related-to": "vserver",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/41d6d38489bd40b09ea8a6b6b852dcbd/vservers/vserver/91277106-90d3-450d-8a10-9aa9a8727d6e",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "41d6d38489bd40b09ea8a6b6b852dcbd"
+ },
+ {
+ "relationship-key": "vserver.vserver-id",
+ "relationship-value": "91277106-90d3-450d-8a10-9aa9a8727d6e"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "vserver.vserver-name",
+ "property-value": "vofwl01pgnf0ef"
+ }
+ ]
+ },
+ {
+ "related-to": "vserver",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/41d6d38489bd40b09ea8a6b6b852dcbd/vservers/vserver/801da076-918a-4911-b87c-b44ce62822a9",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "41d6d38489bd40b09ea8a6b6b852dcbd"
+ },
+ {
+ "relationship-key": "vserver.vserver-id",
+ "relationship-value": "801da076-918a-4911-b87c-b44ce62822a9"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "vserver.vserver-name",
+ "property-value": "vofwl01pgn8ab3"
+ }
+ ]
+ },
+ {
+ "related-to": "vserver",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/41d6d38489bd40b09ea8a6b6b852dcbd/vservers/vserver/8a503052-a89c-4035-94ec-b3ab1e157b49",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "41d6d38489bd40b09ea8a6b6b852dcbd"
+ },
+ {
+ "relationship-key": "vserver.vserver-id",
+ "relationship-value": "8a503052-a89c-4035-94ec-b3ab1e157b49"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "vserver.vserver-name",
+ "property-value": "vofwl01vfwf0ef"
+ }
+ ]
+ },
+ {
+ "related-to": "vserver",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/41d6d38489bd40b09ea8a6b6b852dcbd/vservers/vserver/39a77e27-ced1-444c-a5b6-f73135e09225",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "41d6d38489bd40b09ea8a6b6b852dcbd"
+ },
+ {
+ "relationship-key": "vserver.vserver-id",
+ "relationship-value": "39a77e27-ced1-444c-a5b6-f73135e09225"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "vserver.vserver-name",
+ "property-value": "vofwl01snk8ab3"
+ }
+ ]
+ },
+ {
+ "related-to": "vserver",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/41d6d38489bd40b09ea8a6b6b852dcbd/vservers/vserver/0e581a27-5184-48b1-88b1-e81c5b5a450c",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "41d6d38489bd40b09ea8a6b6b852dcbd"
+ },
+ {
+ "relationship-key": "vserver.vserver-id",
+ "relationship-value": "0e581a27-5184-48b1-88b1-e81c5b5a450c"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "vserver.vserver-name",
+ "property-value": "vofwl01snk8ab3"
+ }
+ ]
+ },
+ {
+ "related-to": "vserver",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/41d6d38489bd40b09ea8a6b6b852dcbd/vservers/vserver/c103ce57-6662-49e0-a589-ebfd91f05c79",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "41d6d38489bd40b09ea8a6b6b852dcbd"
+ },
+ {
+ "relationship-key": "vserver.vserver-id",
+ "relationship-value": "c103ce57-6662-49e0-a589-ebfd91f05c79"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "vserver.vserver-name",
+ "property-value": "vofwl01vfw8ab3"
+ }
+ ]
+ },
+ {
+ "related-to": "vserver",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/41d6d38489bd40b09ea8a6b6b852dcbd/vservers/vserver/b75ccb62-131b-4e76-adad-28636fc60fb8",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "41d6d38489bd40b09ea8a6b6b852dcbd"
+ },
+ {
+ "relationship-key": "vserver.vserver-id",
+ "relationship-value": "b75ccb62-131b-4e76-adad-28636fc60fb8"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "vserver.vserver-name",
+ "property-value": "demofwl01snkfbde"
+ }
+ ]
+ },
+ {
+ "related-to": "vserver",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/41d6d38489bd40b09ea8a6b6b852dcbd/vservers/vserver/f953c499-4b1e-426b-8c6d-e9e9f1fc730f",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "41d6d38489bd40b09ea8a6b6b852dcbd"
+ },
+ {
+ "relationship-key": "vserver.vserver-id",
+ "relationship-value": "f953c499-4b1e-426b-8c6d-e9e9f1fc730f"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "vserver.vserver-name",
+ "property-value": "Ete_vFWCLvFWSNK_7ba1fbde_0"
+ }
+ ]
+ },
+ {
+ "related-to": "vserver",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/41d6d38489bd40b09ea8a6b6b852dcbd/vservers/vserver/80465c73-3481-4d9d-9d3b-ab4016dfffe7",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "41d6d38489bd40b09ea8a6b6b852dcbd"
+ },
+ {
+ "relationship-key": "vserver.vserver-id",
+ "relationship-value": "80465c73-3481-4d9d-9d3b-ab4016dfffe7"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "vserver.vserver-name",
+ "property-value": "demofwl01pgnfbde"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "images": {
+ "image": [
+ {
+ "image-id": "42fd42f8-cf81-4f4c-a552-d4b124f83b0b",
+ "image-name": "unknown",
+ "image-architecture": "unknown",
+ "image-os-distro": "unknown",
+ "image-os-version": "unknown",
+ "application": "unknown",
+ "application-vendor": "unknown",
+ "application-version": "unknown",
+ "image-selflink": "http://10.12.25.2:8774/41d6d38489bd40b09ea8a6b6b852dcbd/images/42fd42f8-cf81-4f4c-a552-d4b124f83b0b",
+ "resource-version": "1556564834957",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "vserver",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/41d6d38489bd40b09ea8a6b6b852dcbd/vservers/vserver/f7807a27-1c45-4e79-9e61-6fb33ee4b7e7",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "41d6d38489bd40b09ea8a6b6b852dcbd"
+ },
+ {
+ "relationship-key": "vserver.vserver-id",
+ "relationship-value": "f7807a27-1c45-4e79-9e61-6fb33ee4b7e7"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "vserver.vserver-name",
+ "property-value": "Ete_vFWCLvFWSNK_38fbaf46_0"
+ }
+ ]
+ },
+ {
+ "related-to": "vserver",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/41d6d38489bd40b09ea8a6b6b852dcbd/vservers/vserver/900dc2db-1d65-41ef-8b13-9b9b605cb0bd",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "41d6d38489bd40b09ea8a6b6b852dcbd"
+ },
+ {
+ "relationship-key": "vserver.vserver-id",
+ "relationship-value": "900dc2db-1d65-41ef-8b13-9b9b605cb0bd"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "vserver.vserver-name",
+ "property-value": "vofwl01snkf0ef"
+ }
+ ]
+ },
+ {
+ "related-to": "vserver",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/41d6d38489bd40b09ea8a6b6b852dcbd/vservers/vserver/cc93aa76-e88d-43a6-8e3b-331918dd3eab",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "41d6d38489bd40b09ea8a6b6b852dcbd"
+ },
+ {
+ "relationship-key": "vserver.vserver-id",
+ "relationship-value": "cc93aa76-e88d-43a6-8e3b-331918dd3eab"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "vserver.vserver-name",
+ "property-value": "demofwl01pgnaf46"
+ }
+ ]
+ },
+ {
+ "related-to": "vserver",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/41d6d38489bd40b09ea8a6b6b852dcbd/vservers/vserver/ab342d19-f3e6-420b-8481-ed7f16c43dfa",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "41d6d38489bd40b09ea8a6b6b852dcbd"
+ },
+ {
+ "relationship-key": "vserver.vserver-id",
+ "relationship-value": "ab342d19-f3e6-420b-8481-ed7f16c43dfa"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "vserver.vserver-name",
+ "property-value": "demofwl01snkaf46"
+ }
+ ]
+ },
+ {
+ "related-to": "vserver",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/41d6d38489bd40b09ea8a6b6b852dcbd/vservers/vserver/2a9ce7fd-ecae-4301-b2eb-0b3f42df2eb8",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "41d6d38489bd40b09ea8a6b6b852dcbd"
+ },
+ {
+ "relationship-key": "vserver.vserver-id",
+ "relationship-value": "2a9ce7fd-ecae-4301-b2eb-0b3f42df2eb8"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "vserver.vserver-name",
+ "property-value": "vofwl01vfw8ab3"
+ }
+ ]
+ },
+ {
+ "related-to": "vserver",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/41d6d38489bd40b09ea8a6b6b852dcbd/vservers/vserver/91277106-90d3-450d-8a10-9aa9a8727d6e",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "41d6d38489bd40b09ea8a6b6b852dcbd"
+ },
+ {
+ "relationship-key": "vserver.vserver-id",
+ "relationship-value": "91277106-90d3-450d-8a10-9aa9a8727d6e"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "vserver.vserver-name",
+ "property-value": "vofwl01pgnf0ef"
+ }
+ ]
+ },
+ {
+ "related-to": "vserver",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/41d6d38489bd40b09ea8a6b6b852dcbd/vservers/vserver/801da076-918a-4911-b87c-b44ce62822a9",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "41d6d38489bd40b09ea8a6b6b852dcbd"
+ },
+ {
+ "relationship-key": "vserver.vserver-id",
+ "relationship-value": "801da076-918a-4911-b87c-b44ce62822a9"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "vserver.vserver-name",
+ "property-value": "vofwl01pgn8ab3"
+ }
+ ]
+ },
+ {
+ "related-to": "vserver",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/41d6d38489bd40b09ea8a6b6b852dcbd/vservers/vserver/8a503052-a89c-4035-94ec-b3ab1e157b49",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "41d6d38489bd40b09ea8a6b6b852dcbd"
+ },
+ {
+ "relationship-key": "vserver.vserver-id",
+ "relationship-value": "8a503052-a89c-4035-94ec-b3ab1e157b49"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "vserver.vserver-name",
+ "property-value": "vofwl01vfwf0ef"
+ }
+ ]
+ },
+ {
+ "related-to": "vserver",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/41d6d38489bd40b09ea8a6b6b852dcbd/vservers/vserver/39a77e27-ced1-444c-a5b6-f73135e09225",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "41d6d38489bd40b09ea8a6b6b852dcbd"
+ },
+ {
+ "relationship-key": "vserver.vserver-id",
+ "relationship-value": "39a77e27-ced1-444c-a5b6-f73135e09225"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "vserver.vserver-name",
+ "property-value": "vofwl01snk8ab3"
+ }
+ ]
+ },
+ {
+ "related-to": "vserver",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/41d6d38489bd40b09ea8a6b6b852dcbd/vservers/vserver/0e581a27-5184-48b1-88b1-e81c5b5a450c",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "41d6d38489bd40b09ea8a6b6b852dcbd"
+ },
+ {
+ "relationship-key": "vserver.vserver-id",
+ "relationship-value": "0e581a27-5184-48b1-88b1-e81c5b5a450c"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "vserver.vserver-name",
+ "property-value": "vofwl01snk8ab3"
+ }
+ ]
+ },
+ {
+ "related-to": "vserver",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/41d6d38489bd40b09ea8a6b6b852dcbd/vservers/vserver/c103ce57-6662-49e0-a589-ebfd91f05c79",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "41d6d38489bd40b09ea8a6b6b852dcbd"
+ },
+ {
+ "relationship-key": "vserver.vserver-id",
+ "relationship-value": "c103ce57-6662-49e0-a589-ebfd91f05c79"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "vserver.vserver-name",
+ "property-value": "vofwl01vfw8ab3"
+ }
+ ]
+ },
+ {
+ "related-to": "vserver",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/41d6d38489bd40b09ea8a6b6b852dcbd/vservers/vserver/b75ccb62-131b-4e76-adad-28636fc60fb8",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "41d6d38489bd40b09ea8a6b6b852dcbd"
+ },
+ {
+ "relationship-key": "vserver.vserver-id",
+ "relationship-value": "b75ccb62-131b-4e76-adad-28636fc60fb8"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "vserver.vserver-name",
+ "property-value": "demofwl01snkfbde"
+ }
+ ]
+ },
+ {
+ "related-to": "vserver",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/41d6d38489bd40b09ea8a6b6b852dcbd/vservers/vserver/f953c499-4b1e-426b-8c6d-e9e9f1fc730f",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "41d6d38489bd40b09ea8a6b6b852dcbd"
+ },
+ {
+ "relationship-key": "vserver.vserver-id",
+ "relationship-value": "f953c499-4b1e-426b-8c6d-e9e9f1fc730f"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "vserver.vserver-name",
+ "property-value": "Ete_vFWCLvFWSNK_7ba1fbde_0"
+ }
+ ]
+ },
+ {
+ "related-to": "vserver",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v15/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/41d6d38489bd40b09ea8a6b6b852dcbd/vservers/vserver/80465c73-3481-4d9d-9d3b-ab4016dfffe7",
+ "relationship-data": [
+ {
+ "relationship-key": "cloud-region.cloud-owner",
+ "relationship-value": "CloudOwner"
+ },
+ {
+ "relationship-key": "cloud-region.cloud-region-id",
+ "relationship-value": "RegionOne"
+ },
+ {
+ "relationship-key": "tenant.tenant-id",
+ "relationship-value": "41d6d38489bd40b09ea8a6b6b852dcbd"
+ },
+ {
+ "relationship-key": "vserver.vserver-id",
+ "relationship-value": "80465c73-3481-4d9d-9d3b-ab4016dfffe7"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "vserver.vserver-name",
+ "property-value": "demofwl01pgnfbde"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "availability-zones": {
+ "availability-zone": [
+ {
+ "availability-zone-name": "nova",
+ "hypervisor-type": "KVM",
+ "operational-status": "Active",
+ "resource-version": "1556561761360"
+ }
+ ]
+ },
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "complex",
+ "relationship-label": "org.onap.relationships.inventory.LocatedIn",
+ "related-link": "/aai/v15/cloud-infrastructure/complexes/complex/clli1",
+ "relationship-data": [
+ {
+ "relationship-key": "complex.physical-location-id",
+ "relationship-value": "clli1"
+ }
+ ]
+ }
+ ]
}
}
- }
- ]
+ }
+ ]
}
diff --git a/controlloop/templates/archetype-cl-amsterdam/src/main/resources/archetype-resources/src/main/resources/__closedLoopControlName__.drl b/controlloop/templates/archetype-cl-amsterdam/src/main/resources/archetype-resources/src/main/resources/__closedLoopControlName__.drl
index 049bd9a23..57ebd7089 100644
--- a/controlloop/templates/archetype-cl-amsterdam/src/main/resources/archetype-resources/src/main/resources/__closedLoopControlName__.drl
+++ b/controlloop/templates/archetype-cl-amsterdam/src/main/resources/archetype-resources/src/main/resources/__closedLoopControlName__.drl
@@ -33,6 +33,7 @@ import org.onap.policy.controlloop.eventmanager.ControlLoopEventManager.NewEvent
import org.onap.policy.controlloop.eventmanager.ControlLoopOperationManager;
import org.onap.policy.controlloop.actor.so.SoActorServiceProvider;
import org.onap.policy.aai.AaiNqResponseWrapper;
+import org.onap.policy.aai.AaiCqResponse;
import org.onap.policy.appc.Request;
import org.onap.policy.appc.Response;
import org.onap.policy.appc.CommonHeader;
@@ -729,23 +730,24 @@ rule "${policyName}.EVENT.MANAGER.OPERATION.LOCKED.GUARD_NOT_YET_QUERIED"
notification.setPolicyName(drools.getRule().getName());
notification.setPolicyScope("${policyScope}");
notification.setPolicyVersion("${policyVersion}");
-
+
PolicyEngineConstants.getManager().deliver("POLICY-CL-MGT", notification);
-
+
//
// Now send Guard Request to XACML Guard. In order to bypass the call to Guard,
// just change guardEnabled to false.
- //
+ //
// In order to use REST XACML, provide a URL instead of "" as a second argument
// to the CallGuardTask() and set the first argument to null
// (instead of XacmlPdpEngine).
//
-
+
// NOTE: The environment properties uses "guard.disabled" but the boolean is guardEnabled
boolean guardEnabled = "false".equalsIgnoreCase(PolicyEngineConstants.getManager().getEnvironmentProperty("guard.disabled"));
-
+ boolean cqEnabled = "true".equalsIgnoreCase(PolicyEngineConstants.getManager().getEnvironmentProperty("aai.customQuery"));
+
if(guardEnabled){
-
+
Thread t = new Thread(new org.onap.policy.guard.CallGuardTask(
drools.getWorkingMemory(),
$event.getClosedLoopControlName(),
@@ -754,8 +756,25 @@ rule "${policyName}.EVENT.MANAGER.OPERATION.LOCKED.GUARD_NOT_YET_QUERIED"
$operation.getTargetEntity(),
$event.getRequestId().toString(),
() -> {
- AaiNqResponseWrapper resp = $manager.getNqVserverFromAai();
- return(resp == null ? null : resp.countVfModules());
+ if (!cqEnabled) {
+ AaiNqResponseWrapper resp = $manager.getNqVserverFromAai();
+ return(resp == null ? null : resp.countVfModules());
+ } else {
+ try {
+ AaiCqResponse resp_cq = $manager.getCqResponse($event);
+ if (resp_cq == null){
+ return null;
+ } else {
+ String custId = $operation.policy.getTarget().getModelCustomizationId();
+ String invId = $operation.policy.getTarget().getModelInvariantId();
+ String verId = $operation.policy.getTarget().getModelVersionId();
+ return resp_cq.getVfModuleCount(custId, invId, verId);
+ }
+ } catch (Exception e){
+ logger.warn("{}: {}", $params.getClosedLoopControlName(), drools.getRule().getName(), e);
+ }
+ return null;
+ }
}));
t.start();
}
diff --git a/controlloop/templates/template.demo/src/test/java/org/onap/policy/template/demo/SupportUtil.java b/controlloop/templates/template.demo/src/test/java/org/onap/policy/template/demo/SupportUtil.java
index a4e8bef65..ab57fdf86 100644
--- a/controlloop/templates/template.demo/src/test/java/org/onap/policy/template/demo/SupportUtil.java
+++ b/controlloop/templates/template.demo/src/test/java/org/onap/policy/template/demo/SupportUtil.java
@@ -53,7 +53,6 @@ import org.slf4j.LoggerFactory;
import org.yaml.snakeyaml.Yaml;
import org.yaml.snakeyaml.constructor.Constructor;
-
public final class SupportUtil {
private static final String OPSHISTPUPROP = "OperationsHistoryPU";
@@ -155,11 +154,12 @@ public final class SupportUtil {
* @return the Kie session
* @throws IOException if the container cannot be built
*/
- public static KieSession buildContainer(String droolsTemplate, String closedLoopControlName, String policyScope,
- String policyName, String policyVersion, String yamlSpecification) throws IOException {
+ public static KieSession buildContainer(String droolsTemplate, String closedLoopControlName,
+ String policyScope, String policyName, String policyVersion, String yamlSpecification)
+ throws IOException {
- RuleSpec spec = new RuleSpec(droolsTemplate, closedLoopControlName, policyScope, policyName, policyVersion,
- yamlSpecification);
+ RuleSpec spec = new RuleSpec(droolsTemplate, closedLoopControlName, policyScope, policyName,
+ policyVersion, yamlSpecification);
return buildContainer(policyVersion, new RuleSpec[] {spec});
}
@@ -172,7 +172,8 @@ public final class SupportUtil {
* @return the Kie session
* @throws IOException if the container cannot be built
*/
- public static KieSession buildContainer(String policyVersion, RuleSpec[] specifications) throws IOException {
+ public static KieSession buildContainer(String policyVersion, RuleSpec[] specifications)
+ throws IOException {
//
// Get our Drools Kie factory
//
@@ -196,7 +197,8 @@ public final class SupportUtil {
* @param specifications new rule specifications
* @throws IOException if the container cannot be built
*/
- public static void updateContainer(String policyVersion, RuleSpec[] specifications) throws IOException {
+ public static void updateContainer(String policyVersion, RuleSpec[] specifications)
+ throws IOException {
ReleaseId releaseId = buildPolicy(policyVersion, specifications);
logger.debug(releaseId.toString());
@@ -211,20 +213,22 @@ public final class SupportUtil {
* @return the release
* @throws IOException if the container cannot be built
*/
- private static ReleaseId buildPolicy(String policyVersion, RuleSpec[] specifications) throws IOException {
+ private static ReleaseId buildPolicy(String policyVersion, RuleSpec[] specifications)
+ throws IOException {
//
// Generate our drools rule from our template
//
KieFileSystem kfs = kieServices.newKieFileSystem();
ReleaseId releaseId = kieServices.getRepository().getDefaultReleaseId();
- releaseId = kieServices.newReleaseId(releaseId.getGroupId(), releaseId.getArtifactId(), policyVersion);
+ releaseId = kieServices.newReleaseId(releaseId.getGroupId(), releaseId.getArtifactId(),
+ policyVersion);
kfs.generateAndWritePomXML(releaseId);
for (RuleSpec spec : specifications) {
String drlContents = spec.generateRules();
kfs.write("src/main/resources/" + spec.policyName + ".drl",
- kieServices.getResources().newByteArrayResource(drlContents.getBytes()));
+ kieServices.getResources().newByteArrayResource(drlContents.getBytes()));
}
//
@@ -247,97 +251,119 @@ public final class SupportUtil {
private static KieSession setupSession(KieSession kieSession) {
-
//
// Create XACML Guard policy from YAML
- // We prepare 4 Guards. Notice that Rebuilds recipe has two Guards (for checking policy combining algorithm)
+ // We prepare 4 Guards. Notice that Rebuilds recipe has two Guards (for checking policy
+ // combining algorithm)
//
- PolicyGuardYamlToXacml.fromYamlToXacml("src/test/resources/yaml/policy_guard_appc_restart.yaml",
- "src/main/resources/frequency_limiter_template.xml",
- "src/test/resources/xacml/autogenerated_frequency_limiter_restart.xml");
-
- PolicyGuardYamlToXacml.fromYamlToXacml("src/test/resources/yaml/policy_guard_appc_rebuild.yaml",
- "src/main/resources/frequency_limiter_template.xml",
- "src/test/resources/xacml/autogenerated_frequency_limiter_rebuild.xml");
-
- PolicyGuardYamlToXacml.fromYamlToXacml("src/test/resources/yaml/policy_guard_appc_rebuild_1.yaml",
- "src/main/resources/frequency_limiter_template.xml",
- "src/test/resources/xacml/autogenerated_frequency_limiter_rebuild_1.xml");
-
- PolicyGuardYamlToXacml.fromYamlToXacml("src/test/resources/yaml/policy_guard_appc_migrate.yaml",
- "src/main/resources/frequency_limiter_template.xml",
- "src/test/resources/xacml/autogenerated_frequency_limiter_migrate.xml");
-
- PolicyGuardYamlToXacml.fromYamlToXacml("src/test/resources/yaml/policy_guard_appc_modifyconfig.yaml",
- "src/main/resources/frequency_limiter_template.xml",
- "src/test/resources/xacml/autogenerated_frequency_limiter_modifyconfig.xml");
+ PolicyGuardYamlToXacml.fromYamlToXacml(
+ "src/test/resources/yaml/policy_guard_appc_restart.yaml",
+ "src/main/resources/frequency_limiter_template.xml",
+ "src/test/resources/xacml/autogenerated_frequency_limiter_restart.xml");
+
+ PolicyGuardYamlToXacml.fromYamlToXacml(
+ "src/test/resources/yaml/policy_guard_appc_rebuild.yaml",
+ "src/main/resources/frequency_limiter_template.xml",
+ "src/test/resources/xacml/autogenerated_frequency_limiter_rebuild.xml");
+
+ PolicyGuardYamlToXacml.fromYamlToXacml(
+ "src/test/resources/yaml/policy_guard_appc_rebuild_1.yaml",
+ "src/main/resources/frequency_limiter_template.xml",
+ "src/test/resources/xacml/autogenerated_frequency_limiter_rebuild_1.xml");
+
+ PolicyGuardYamlToXacml.fromYamlToXacml(
+ "src/test/resources/yaml/policy_guard_appc_migrate.yaml",
+ "src/main/resources/frequency_limiter_template.xml",
+ "src/test/resources/xacml/autogenerated_frequency_limiter_migrate.xml");
+
+ PolicyGuardYamlToXacml.fromYamlToXacml(
+ "src/test/resources/yaml/policy_guard_appc_modifyconfig.yaml",
+ "src/main/resources/frequency_limiter_template.xml",
+ "src/test/resources/xacml/autogenerated_frequency_limiter_modifyconfig.xml");
PolicyGuardYamlToXacml.fromYamlToXacmlBlacklist(
- "src/test/resources/yaml/policy_guard_appc_restart_blacklist.yaml",
- "src/main/resources/blacklist_template.xml",
- "src/test/resources/xacml/autogenerated_blacklist.xml");
+ "src/test/resources/yaml/policy_guard_appc_restart_blacklist.yaml",
+ "src/main/resources/blacklist_template.xml",
+ "src/test/resources/xacml/autogenerated_blacklist.xml");
//
// Creating an embedded XACML PDP
//
- System.setProperty(XACMLProperties.XACML_PROPERTIES_NAME, "src/test/resources/xacml/xacml_guard.properties");
+ System.setProperty(XACMLProperties.XACML_PROPERTIES_NAME,
+ "src/test/resources/xacml/xacml_guard.properties");
return kieSession;
}
/**
- * Set the A&AI properties.
+ * Set the A&AI properties.
*/
public static void setAaiProps() {
- PolicyEngineConstants.getManager().setEnvironmentProperty("aai.url", "http://localhost:6666");
+ PolicyEngineConstants.getManager().setEnvironmentProperty("aai.url",
+ "http://localhost:6666");
PolicyEngineConstants.getManager().setEnvironmentProperty("aai.username", "AAI");
PolicyEngineConstants.getManager().setEnvironmentProperty("aai.password", "AAI");
}
/**
- * Set the SO properties.
+ * Set the SO properties.
*/
public static void setSoProps() {
- PolicyEngineConstants.getManager().setEnvironmentProperty("so.url", "http://localhost:6667");
+ PolicyEngineConstants.getManager().setEnvironmentProperty("so.url",
+ "http://localhost:6667");
PolicyEngineConstants.getManager().setEnvironmentProperty("so.username", "SO");
PolicyEngineConstants.getManager().setEnvironmentProperty("so.password", "SO");
}
/**
- * Set the SDNC properties.
+ * Set the SDNC properties.
*/
public static void setSdncProps() {
- PolicyEngineConstants.getManager().setEnvironmentProperty("sdnc.url", "http://localhost:6670/restconf/operations");
+ PolicyEngineConstants.getManager().setEnvironmentProperty("sdnc.url",
+ "http://localhost:6670/restconf/operations");
PolicyEngineConstants.getManager().setEnvironmentProperty("sdnc.username", "sdnc");
PolicyEngineConstants.getManager().setEnvironmentProperty("sdnc.password", "sdnc");
}
/**
- * Set the Guard properties.
+ * Set the Guard properties.
*/
public static void setGuardProps() {
/*
* Guard PDP-x connection Properties
*/
- PolicyEngineConstants.getManager().setEnvironmentProperty(org.onap.policy.guard.Util.PROP_GUARD_URL,
- "http://localhost:6669/policy/pdpx/v1/decision");
- PolicyEngineConstants.getManager().setEnvironmentProperty(org.onap.policy.guard.Util.PROP_GUARD_USER, "python");
- PolicyEngineConstants.getManager().setEnvironmentProperty(org.onap.policy.guard.Util.PROP_GUARD_PASS, "test");
- PolicyEngineConstants.getManager().setEnvironmentProperty(org.onap.policy.guard.Util.PROP_GUARD_DISABLED,
- "false");
+ PolicyEngineConstants.getManager().setEnvironmentProperty(
+ org.onap.policy.guard.Util.PROP_GUARD_URL,
+ "http://localhost:6669/policy/pdpx/v1/decision");
+ PolicyEngineConstants.getManager()
+ .setEnvironmentProperty(org.onap.policy.guard.Util.PROP_GUARD_USER, "python");
+ PolicyEngineConstants.getManager()
+ .setEnvironmentProperty(org.onap.policy.guard.Util.PROP_GUARD_PASS, "test");
+ PolicyEngineConstants.getManager()
+ .setEnvironmentProperty(org.onap.policy.guard.Util.PROP_GUARD_DISABLED, "false");
+ }
+
+ /**
+ * Sets the value of customQuery Environment property.
+ *
+ * @param value of the custom query boolean.
+ */
+ public static void setCustomQuery(String value) {
+ PolicyEngineConstants.getManager().setEnvironmentProperty("aai.customQuery", value);
}
/**
- * Set the VFC properties.
+ * Set the VFC properties.
*/
public static void setVfcProps() {
- PolicyEngineConstants.getManager().setEnvironmentProperty("vfc.url", "http://localhost:6668/api/nslcm/v1");
+ PolicyEngineConstants.getManager().setEnvironmentProperty("vfc.url",
+ "http://localhost:6668/api/nslcm/v1");
PolicyEngineConstants.getManager().setEnvironmentProperty("vfc.username", "VFC");
PolicyEngineConstants.getManager().setEnvironmentProperty("vfc.password", "VFC");
}
/**
- * Set the operation history properties.
+ * Set the operation history properties.
*/
public static void setPuProp() {
System.setProperty(OPSHISTPUPROP, "OperationsHistoryPUTest");
@@ -364,8 +390,8 @@ public final class SupportUtil {
* @param policyVersion policy version
* @param yamlSpecification incoming yaml specification
*/
- public RuleSpec(String droolsTemplate, String closedLoopControlName, String policyScope, String policyName,
- String policyVersion, String yamlSpecification) {
+ public RuleSpec(String droolsTemplate, String closedLoopControlName, String policyScope,
+ String policyName, String policyVersion, String yamlSpecification) {
this.droolsTemplate = droolsTemplate;
this.closedLoopControlName = closedLoopControlName;
diff --git a/controlloop/templates/template.demo/src/test/java/org/onap/policy/template/demo/VdnsControlLoopCqTest.java b/controlloop/templates/template.demo/src/test/java/org/onap/policy/template/demo/VdnsControlLoopCqTest.java
new file mode 100644
index 000000000..da22ac00f
--- /dev/null
+++ b/controlloop/templates/template.demo/src/test/java/org/onap/policy/template/demo/VdnsControlLoopCqTest.java
@@ -0,0 +1,263 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * demo
+ * ================================================================================
+ * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.onap.policy.template.demo;
+
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertTrue;
+import static org.junit.Assert.fail;
+
+import java.time.Instant;
+import java.util.HashMap;
+import java.util.UUID;
+
+import org.junit.AfterClass;
+import org.junit.BeforeClass;
+import org.junit.Test;
+import org.onap.policy.common.endpoints.event.comm.Topic.CommInfrastructure;
+import org.onap.policy.common.endpoints.event.comm.TopicListener;
+import org.onap.policy.common.endpoints.event.comm.TopicSink;
+import org.onap.policy.controlloop.ControlLoopEventStatus;
+import org.onap.policy.controlloop.ControlLoopNotificationType;
+import org.onap.policy.controlloop.VirtualControlLoopEvent;
+import org.onap.policy.controlloop.VirtualControlLoopNotification;
+import org.onap.policy.controlloop.policy.ControlLoopPolicy;
+import org.onap.policy.so.SoRequest;
+
+public class VdnsControlLoopCqTest extends ControlLoopBase implements TopicListener {
+
+ /**
+ * Setup the simulator.
+ */
+ @BeforeClass
+ public static void setUpBeforeClass() {
+ ControlLoopBase.setUpBeforeClass(
+ "../archetype-cl-amsterdam/src/main/resources/archetype-resources/"
+ + "src/main/resources/__closedLoopControlName__.drl",
+ "src/test/resources/yaml/policy_ControlLoop_SO_Cq-test.yaml", "type=operational",
+ "CL_vDNS", "v2.0");
+ SupportUtil.setCustomQuery("true");
+ }
+
+ @AfterClass
+ public static void tearDownAfterClass() {
+ SupportUtil.setCustomQuery("false");
+ ControlLoopBase.tearDownAfterClass();
+ }
+
+ @Test
+ public void successTest() {
+
+ /*
+ * Allows the PolicyEngine to callback to this object to notify that there is an event ready
+ * to be pulled from the queue
+ */
+ for (TopicSink sink : noopTopics) {
+ assertTrue(sink.start());
+ sink.register(this);
+ }
+
+ /*
+ * Create a unique requestId
+ */
+ requestId = UUID.randomUUID();
+
+ /*
+ * Simulate an onset event the policy engine will receive from DCAE to kick off processing
+ * through the rules
+ */
+ sendEvent(pair.first, requestId, ControlLoopEventStatus.ONSET);
+
+ kieSession.fireUntilHalt();
+
+ // allow object clean-up
+ kieSession.fireAllRules();
+
+ /*
+ * The only fact in memory should be Params
+ */
+ assertEquals(1, kieSession.getFactCount());
+
+ /*
+ * Print what's left in memory
+ */
+ dumpFacts(kieSession);
+ }
+
+ @Test
+ public void aaiGetFailTest() {
+
+ /*
+ * Allows the PolicyEngine to callback to this object to notify that there is an event ready
+ * to be pulled from the queue
+ */
+ for (TopicSink sink : noopTopics) {
+ assertTrue(sink.start());
+ sink.register(this);
+ }
+
+ /*
+ * Create a unique requestId
+ */
+ requestId = UUID.randomUUID();
+
+ /*
+ * Simulate an onset event the policy engine will receive from DCAE to kick off processing
+ * through the rules
+ */
+ sendEvent(pair.first, requestId, ControlLoopEventStatus.ONSET, "getFail");
+
+ try {
+ kieSession.fireUntilHalt();
+
+ // allow object clean-up
+ kieSession.fireAllRules();
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ logger.warn(e.toString());
+ fail(e.getMessage());
+ }
+
+ /*
+ * The only fact in memory should be Params
+ */
+ assertEquals(1, kieSession.getFactCount());
+
+ /*
+ * Print what's left in memory
+ */
+ dumpFacts(kieSession);
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.onap.policy.drools.PolicyEngineListener#newEventNotification(java.lang.String)
+ */
+ @Override
+ public void onTopicEvent(CommInfrastructure commType, String topic, String event) {
+ /*
+ * Pull the object that was sent out to DMAAP and make sure it is a ControlLoopNoticiation
+ * of type active
+ */
+ Object obj = null;
+ if ("POLICY-CL-MGT".equals(topic)) {
+ obj = org.onap.policy.controlloop.util.Serialization.gsonJunit.fromJson(event,
+ org.onap.policy.controlloop.VirtualControlLoopNotification.class);
+ }
+ assertNotNull(obj);
+ if (obj instanceof VirtualControlLoopNotification) {
+ VirtualControlLoopNotification notification = (VirtualControlLoopNotification) obj;
+ String policyName = notification.getPolicyName();
+ if (policyName.endsWith("EVENT")) {
+ logger.debug("Rule Fired: " + notification.getPolicyName());
+ assertTrue(
+ ControlLoopNotificationType.ACTIVE.equals(notification.getNotification()));
+ } else if (policyName.endsWith("GUARD_NOT_YET_QUERIED")) {
+ logger.debug("Rule Fired: " + notification.getPolicyName());
+ assertTrue(
+ ControlLoopNotificationType.OPERATION.equals(notification.getNotification()));
+ assertNotNull(notification.getMessage());
+ assertTrue(notification.getMessage().startsWith("Sending guard query"));
+ } else if (policyName.endsWith("GUARD.RESPONSE")) {
+ logger.debug("Rule Fired: " + notification.getPolicyName());
+ assertTrue(
+ ControlLoopNotificationType.OPERATION.equals(notification.getNotification()));
+ assertNotNull(notification.getMessage());
+ assertTrue(notification.getMessage().toLowerCase().endsWith("permit"));
+ } else if (policyName.endsWith("GUARD_PERMITTED")) {
+ logger.debug("Rule Fired: " + notification.getPolicyName());
+ assertTrue(
+ ControlLoopNotificationType.OPERATION.equals(notification.getNotification()));
+ assertNotNull(notification.getMessage());
+ assertTrue(notification.getMessage().startsWith("actor=SO"));
+ } else if (policyName.endsWith("OPERATION.TIMEOUT")) {
+ logger.debug("Rule Fired: " + notification.getPolicyName());
+ kieSession.halt();
+ logger.debug("The operation timed out");
+ fail("Operation Timed Out");
+ } else if (policyName.endsWith("SO.RESPONSE")) {
+ logger.debug("Rule Fired: " + notification.getPolicyName());
+ assertTrue(ControlLoopNotificationType.OPERATION_SUCCESS
+ .equals(notification.getNotification()));
+ assertNotNull(notification.getMessage());
+ assertTrue(notification.getMessage().startsWith("actor=SO"));
+ } else if (policyName.endsWith("EVENT.MANAGER")) {
+ logger.debug("Rule Fired: " + notification.getPolicyName());
+ if ("error".equals(notification.getAai().get("vserver.vserver-name"))) {
+ assertEquals(ControlLoopNotificationType.FINAL_FAILURE,
+ notification.getNotification());
+ } else if ("getFail".equals(notification.getAai().get("vserver.vserver-name"))) {
+ assertEquals(ControlLoopNotificationType.FINAL_FAILURE,
+ notification.getNotification());
+ } else {
+ assertTrue(ControlLoopNotificationType.FINAL_SUCCESS
+ .equals(notification.getNotification()));
+ }
+ kieSession.halt();
+ } else if (policyName.endsWith("EVENT.MANAGER.TIMEOUT")) {
+ logger.debug("Rule Fired: " + notification.getPolicyName());
+ kieSession.halt();
+ logger.debug("The control loop timed out");
+ fail("Control Loop Timed Out");
+ }
+ } else if (obj instanceof SoRequest) {
+ logger.debug("\n============ SO received the request!!! ===========\n");
+ }
+ }
+
+ /**
+ * This method is used to simulate event messages from DCAE that start the control loop (onset
+ * message) or end the control loop (abatement message).
+ *
+ * @param policy the controlLoopName comes from the policy
+ * @param requestId the requestId for this event
+ * @param status could be onset or abated
+ */
+ protected void sendEvent(ControlLoopPolicy policy, UUID requestId,
+ ControlLoopEventStatus status) {
+ VirtualControlLoopEvent event = new VirtualControlLoopEvent();
+ event.setClosedLoopControlName(policy.getControlLoop().getControlLoopName());
+ event.setRequestId(requestId);
+ event.setTarget("vserver.vserver-name");
+ event.setClosedLoopAlarmStart(Instant.now());
+ event.setAai(new HashMap<>());
+ event.getAai().put("vserver.vserver-name", "Ete_vFWCLvFWSNK_7ba1fbde_0");
+ event.getAai().put("vserver.is-closed-loop-disabled", "false");
+ event.getAai().put("vserver.prov-status", "ACTIVE");
+ event.setClosedLoopEventStatus(status);
+ kieSession.insert(event);
+ }
+
+ protected void sendEvent(ControlLoopPolicy policy, UUID requestId,
+ ControlLoopEventStatus status, String vserverName) {
+ VirtualControlLoopEvent event = new VirtualControlLoopEvent();
+ event.setClosedLoopControlName(policy.getControlLoop().getControlLoopName());
+ event.setRequestId(requestId);
+ event.setTarget("vserver.vserver-name");
+ event.setClosedLoopAlarmStart(Instant.now());
+ event.setAai(new HashMap<>());
+ event.getAai().put("vserver.vserver-name", vserverName);
+ event.setClosedLoopEventStatus(status);
+ kieSession.insert(event);
+ }
+}
diff --git a/controlloop/templates/template.demo/src/test/resources/yaml/policy_ControlLoop_SO_Cq-test.yaml b/controlloop/templates/template.demo/src/test/resources/yaml/policy_ControlLoop_SO_Cq-test.yaml
new file mode 100644
index 000000000..16c031f33
--- /dev/null
+++ b/controlloop/templates/template.demo/src/test/resources/yaml/policy_ControlLoop_SO_Cq-test.yaml
@@ -0,0 +1,47 @@
+# Copyright 2019 AT&T Intellectual Property. All rights reserved
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+controlLoop:
+ version: 2.0.0
+ controlLoopName: ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3
+ services:
+ - serviceName: d4738992-6497-4dca-9db9
+ serviceInvariantUUID: dc112d6e-7e73-4777-9c6f-1a7fb5fd1b6f
+ serviceUUID: 2eea06c6-e1d3-4c3a-b9c4-478c506eeedf
+ trigger_policy: unique-policy-id-1-scale-up
+ timeout: 60
+
+policies:
+ - id: unique-policy-id-1-scale-up
+ name: Create a new VF Module
+ description:
+ actor: SO
+ recipe: VF Module Create
+ target:
+ type: VFMODULE
+ modelInvariantId: e6130d03-56f1-4b0a-9a1d-e1b2ebc30e0e
+ modelVersionId: 94b18b1d-cc91-4f43-911a-e6348665f292
+ modelName: VfwclVfwsnkBbefb8ce2bde..base_vfw..module-0
+ modelVersion: 1
+ modelCustomizationId: 47958575-138f-452a-8c8d-d89b595f8164
+ payload:
+ requestParameters: '{"usePreload":true,"userParams":[]}'
+ configurationParameters: '[{"ip-addr":"$.vf-module-topology.vf-module-parameters.param[9]","oam-ip-addr":"$.vf-module-topology.vf-module-parameters.param[16]","enabled":"$.vf-module-topology.vf-module-parameters.param[23]"}]'
+ retry: 0
+ timeout: 30
+ success: final_success
+ failure: final_failure
+ failure_timeout: final_failure_timeout
+ failure_retries: final_failure_retries
+ failure_exception: final_failure_exception
+ failure_guard: final_failure_guard