Example of AAI update results - using SO based heatbridge method
This example was obtained by instantiating the vFW manually and observing what the SO openstack adapter did. The heatbridge python script was not executed in this example.
GET https://{{AAI1_PUB_IP}}:{{AAI1_PUB_PORT}}/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/ONAP-POD-01-Rail-06/tenants/tenant/709ba629fe194f8699b12f9d6ffd86a0/vservers/vserver/de740df8-70aa-4f9f-a4eb-fc4147db763b?depth=all
{
"vserver-id": "de740df8-70aa-4f9f-a4eb-fc4147db763b",
"vserver-name": "demofwl01fwl",
"vserver-name2": "demofwl01fwl",
"prov-status": "active",
"vserver-selflink": "http://10.12.11.6:8774/v2.1/709ba629fe194f8699b12f9d6ffd86a0/servers/de740df8-70aa-4f9f-a4eb-fc4147db763b",
"in-maint": false,
"is-closed-loop-disabled": false,
"resource-version": "1564432092531",
"relationship-list": {
"relationship": [
{
"related-to": "vf-module",
"relationship-label": "org.onap.relationships.inventory.Uses",
"related-link": "/aai/v14/network/generic-vnfs/generic-vnf/aeb515bc-1954-4d4b-bab7-b5079886f54b/vf-modules/vf-module/a33b5024-e58b-4dd5-a776-a85aedeb80fa",
"relationship-data": [
{
"relationship-key": "generic-vnf.vnf-id",
"relationship-value": "aeb515bc-1954-4d4b-bab7-b5079886f54b"
},
{
"relationship-key": "vf-module.vf-module-id",
"relationship-value": "a33b5024-e58b-4dd5-a776-a85aedeb80fa"
}
]
},
{
"related-to": "pserver",
"relationship-label": "tosca.relationships.HostedOn",
"related-link": "/aai/v14/cloud-infrastructure/pservers/pserver/controller-0",
"relationship-data": [
{
"relationship-key": "pserver.hostname",
"relationship-value": "controller-0"
}
],
"related-to-property": [
{
"property-key": "pserver.pserver-name2"
}
]
},
{
"related-to": "flavor",
"relationship-label": "org.onap.relationships.inventory.Uses",
"related-link": "/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/ONAP-POD-01-Rail-06/flavors/flavor/20",
"relationship-data": [
{
"relationship-key": "cloud-region.cloud-owner",
"relationship-value": "CloudOwner"
},
{
"relationship-key": "cloud-region.cloud-region-id",
"relationship-value": "ONAP-POD-01-Rail-06"
},
{
"relationship-key": "flavor.flavor-id",
"relationship-value": "20"
}
],
"related-to-property": [
{
"property-key": "flavor.flavor-name",
"property-value": "m1.medium"
}
]
},
{
"related-to": "image",
"relationship-label": "org.onap.relationships.inventory.Uses",
"related-link": "/aai/v14/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/ONAP-POD-01-Rail-06/images/image/01268f56-3aa0-4551-87bf-9ea32254d15f",
"relationship-data": [
{
"relationship-key": "cloud-region.cloud-owner",
"relationship-value": "CloudOwner"
},
{
"relationship-key": "cloud-region.cloud-region-id",
"relationship-value": "ONAP-POD-01-Rail-06"
},
{
"relationship-key": "image.image-id",
"relationship-value": "01268f56-3aa0-4551-87bf-9ea32254d15f"
}
],
"related-to-property": [
{
"property-key": "image.image-name",
"property-value": "ubuntu_14.04"
}
]
}
]
},
"l-interfaces": {
"l-interface": [
{
"interface-name": "vfw_vfmodule_instance-vfw_0_int_protected_private_port_0-wd5q7lihusog",
"interface-role": "normal",
"interface-id": "da852b56-1234-421d-a86d-b12df6895ff4",
"macaddr": "fa:16:3e:2a:82:05",
"network-name": "vfw_vnf_instance_demofwl_protected",
"is-port-mirrored": false,
"resource-version": "1564432092531",
"in-maint": false,
"is-ip-unnumbered": false,
"vlans": {
"vlan": [
{
"vlan-interface": "2022",
"resource-version": "1564432092531",
"in-maint": false,
"is-ip-unnumbered": false
}
]
},
"l3-interface-ipv4-address-list": [
{
"l3-interface-ipv4-address": "192.168.120.100",
"l3-interface-ipv4-prefix-length": 32,
"resource-version": "1564432092531",
"neutron-network-id": "2ba56b2b-0c06-4930-aed6-92ef6c6ac7cf",
"neutron-subnet-id": "e0b718ec-0a3a-4547-b619-a81eb195c73e"
}
]
},
{
"interface-name": "vfw_vfmodule_instance-vfw_0_int_unprotected_private_port_0-4vrqpwvyg6c2",
"interface-role": "normal",
"interface-id": "44b69143-4364-49ec-a462-36c55a470d44",
"macaddr": "fa:16:3e:23:07:6a",
"network-name": "vfw_vnf_instance_demofwl_unprotected",
"is-port-mirrored": false,
"resource-version": "1564432092531",
"in-maint": false,
"is-ip-unnumbered": false,
"vlans": {
"vlan": [
{
"vlan-interface": "2021",
"resource-version": "1564432092531",
"in-maint": false,
"is-ip-unnumbered": false
}
]
},
"l3-interface-ipv4-address-list": [
{
"l3-interface-ipv4-address": "192.168.110.100",
"l3-interface-ipv4-prefix-length": 32,
"resource-version": "1564432092531",
"neutron-network-id": "d4894358-d068-48c2-87b9-46aa67796283",
"neutron-subnet-id": "77343f67-a940-48ee-b5cd-33702620d7be"
}
]
},
{
"interface-name": "vfw_vfmodule_instance-vfw_0_onap_private_port_0-uwdnw3a6wsgj",
"interface-role": "normal",
"interface-id": "f088a4fd-f113-46a7-8c22-81a301502070",
"macaddr": "fa:16:3e:02:f9:cd",
"network-name": "oam_onap_vnf_test",
"is-port-mirrored": false,
"resource-version": "1564432092531",
"in-maint": false,
"is-ip-unnumbered": false,
"vlans": {
"vlan": [
{
"vlan-interface": "2025",
"resource-version": "1564432092531",
"in-maint": false,
"is-ip-unnumbered": false
}
]
},
"l3-interface-ipv4-address-list": [
{
"l3-interface-ipv4-address": "10.0.141.11",
"l3-interface-ipv4-prefix-length": 32,
"resource-version": "1564432092531",
"neutron-network-id": "92db8b3d-ca18-4629-90b2-c66e69c61ee0",
"neutron-subnet-id": "19fc0548-ff70-42a2-b4ce-691344219cb5"
}
]
}
]
}
}