Example AAI update PUT command - using SO heatbridge code path

This shows the PUT command prepared and sent by the SO openstack adapter when it is performing the heatbridge update.



POST request to: https://aai.onap:8443/aai/v15/bulk/single-transaction

{ "operations": [ { "action": "put", "uri": "/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/ONAP-POD-01-Rail-06/tenants/tenant/709ba629fe194f8699b12f9d6ffd86a0/vservers/vserver/a1e88289-53f4-41f0-95c8-c26903beee40", "body": { "vserver-id": "a1e88289-53f4-41f0-95c8-c26903beee40", "vserver-name": "demofwl01pgn", "vserver-name2": "demofwl01pgn", "prov-status": "active", "vserver-selflink": "http://10.12.11.6:8774/v2.1/709ba629fe194f8699b12f9d6ffd86a0/servers/a1e88289-53f4-41f0-95c8-c26903beee40", "in-maint": false, "is-closed-loop-disabled": false, "relationship-list": { "relationship": [ { "related-to": "pserver", "relationship-data": [ { "relationship-key": "pserver.hostname", "relationship-value": "controller-0" } ] }, { "related-to": "vf-module", "relationship-data": [ { "relationship-key": "generic-vnf.vnf-id", "relationship-value": "aeb515bc-1954-4d4b-bab7-b5079886f54b" }, { "relationship-key": "vf-module.vf-module-id", "relationship-value": "f5ea62a9-2636-456b-8680-66ce146b1cb5" } ] }, { "related-to": "image", "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": "flavor", "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" } ] } ] } } }, { "action": "put", "uri": "/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/ONAP-POD-01-Rail-06/tenants/tenant/709ba629fe194f8699b12f9d6ffd86a0/vservers/vserver/1fb453f1-c2dc-43b3-8efa-a77777c0508f", "body": { "vserver-id": "1fb453f1-c2dc-43b3-8efa-a77777c0508f", "vserver-name": "demofwl01fwl", "vserver-name2": "demofwl01fwl", "prov-status": "active", "vserver-selflink": "http://10.12.11.6:8774/v2.1/709ba629fe194f8699b12f9d6ffd86a0/servers/1fb453f1-c2dc-43b3-8efa-a77777c0508f", "in-maint": false, "is-closed-loop-disabled": false, "relationship-list": { "relationship": [ { "related-to": "pserver", "relationship-data": [ { "relationship-key": "pserver.hostname", "relationship-value": "controller-0" } ] }, { "related-to": "vf-module", "relationship-data": [ { "relationship-key": "generic-vnf.vnf-id", "relationship-value": "aeb515bc-1954-4d4b-bab7-b5079886f54b" }, { "relationship-key": "vf-module.vf-module-id", "relationship-value": "f5ea62a9-2636-456b-8680-66ce146b1cb5" } ] }, { "related-to": "image", "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": "flavor", "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" } ] } ] } } }, { "action": "put", "uri": "/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/ONAP-POD-01-Rail-06/tenants/tenant/709ba629fe194f8699b12f9d6ffd86a0/vservers/vserver/c3c07905-aeca-4371-871c-a9cb7b4eee2d", "body": { "vserver-id": "c3c07905-aeca-4371-871c-a9cb7b4eee2d", "vserver-name": "demofwl01snk", "vserver-name2": "demofwl01snk", "prov-status": "active", "vserver-selflink": "http://10.12.11.6:8774/v2.1/709ba629fe194f8699b12f9d6ffd86a0/servers/c3c07905-aeca-4371-871c-a9cb7b4eee2d", "in-maint": false, "is-closed-loop-disabled": false, "relationship-list": { "relationship": [ { "related-to": "pserver", "relationship-data": [ { "relationship-key": "pserver.hostname", "relationship-value": "controller-0" } ] }, { "related-to": "vf-module", "relationship-data": [ { "relationship-key": "generic-vnf.vnf-id", "relationship-value": "aeb515bc-1954-4d4b-bab7-b5079886f54b" }, { "relationship-key": "vf-module.vf-module-id", "relationship-value": "f5ea62a9-2636-456b-8680-66ce146b1cb5" } ] }, { "related-to": "image", "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": "flavor", "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" } ] } ] } } }, { "action": "put", "uri": "/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/ONAP-POD-01-Rail-06/tenants/tenant/709ba629fe194f8699b12f9d6ffd86a0/vservers/vserver/c3c07905-aeca-4371-871c-a9cb7b4eee2d/l-interfaces/l-interface/vfw_vfmodule_instance-vsn_0_onap_private_port_0-aarv4gjzsjjw", "body": { "interface-name": "vfw_vfmodule_instance-vsn_0_onap_private_port_0-aarv4gjzsjjw", "interface-role": "normal", "interface-id": "94a950e0-f022-424d-8fd9-1232668e1570", "macaddr": "fa:16:3e:6e:e0:7d", "network-name": "oam_onap_vnf_test", "vlans": { "vlan": [ { "vlan-interface": "2025" } ] }, "l3-interface-ipv4-address-list": [ { "l3-interface-ipv4-address": "10.0.141.13", "l3-interface-ipv4-prefix-length": 32, "neutron-network-id": "92db8b3d-ca18-4629-90b2-c66e69c61ee0", "neutron-subnet-id": "19fc0548-ff70-42a2-b4ce-691344219cb5" } ] } }, { "action": "put", "uri": "/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/ONAP-POD-01-Rail-06/tenants/tenant/709ba629fe194f8699b12f9d6ffd86a0/vservers/vserver/1fb453f1-c2dc-43b3-8efa-a77777c0508f/l-interfaces/l-interface/vfw_vfmodule_instance-vfw_0_onap_private_port_0-2scjhin3yyki", "body": { "interface-name": "vfw_vfmodule_instance-vfw_0_onap_private_port_0-2scjhin3yyki", "interface-role": "normal", "interface-id": "e39f5036-64d5-41fa-9dec-2c39193c44b8", "macaddr": "fa:16:3e:39:c3:f8", "network-name": "oam_onap_vnf_test", "vlans": { "vlan": [ { "vlan-interface": "2025" } ] }, "l3-interface-ipv4-address-list": [ { "l3-interface-ipv4-address": "10.0.141.11", "l3-interface-ipv4-prefix-length": 32, "neutron-network-id": "92db8b3d-ca18-4629-90b2-c66e69c61ee0", "neutron-subnet-id": "19fc0548-ff70-42a2-b4ce-691344219cb5" } ] } }, { "action": "put", "uri": "/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/ONAP-POD-01-Rail-06/tenants/tenant/709ba629fe194f8699b12f9d6ffd86a0/vservers/vserver/a1e88289-53f4-41f0-95c8-c26903beee40/l-interfaces/l-interface/vfw_vfmodule_instance-vpg_0_int_unprotected_private_port_0-ouh6pn5fhokc", "body": { "interface-name": "vfw_vfmodule_instance-vpg_0_int_unprotected_private_port_0-ouh6pn5fhokc", "interface-role": "normal", "interface-id": "daaf6106-ecdc-4004-b7c2-ff2596ad8180", "macaddr": "fa:16:3e:f5:ea:79", "network-name": "vfw_vnf_instance_demofwl_unprotected", "vlans": { "vlan": [ { "vlan-interface": "2021" } ] }, "l3-interface-ipv4-address-list": [ { "l3-interface-ipv4-address": "192.168.110.200", "l3-interface-ipv4-prefix-length": 32, "neutron-network-id": "fcd9c09a-7dba-429d-8818-e3d736f395b5", "neutron-subnet-id": "899c07ed-7cc1-4d34-8345-b30d5efa6f4a" } ] } }, { "action": "put", "uri": "/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/ONAP-POD-01-Rail-06/tenants/tenant/709ba629fe194f8699b12f9d6ffd86a0/vservers/vserver/1fb453f1-c2dc-43b3-8efa-a77777c0508f/l-interfaces/l-interface/vfw_vfmodule_instance-vfw_0_int_unprotected_private_port_0-466zkvq7kjjq", "body": { "interface-name": "vfw_vfmodule_instance-vfw_0_int_unprotected_private_port_0-466zkvq7kjjq", "interface-role": "normal", "interface-id": "3965dde0-5fb6-4e6a-9a60-1d06f9167979", "macaddr": "fa:16:3e:c1:86:26", "network-name": "vfw_vnf_instance_demofwl_unprotected", "vlans": { "vlan": [ { "vlan-interface": "2021" } ] }, "l3-interface-ipv4-address-list": [ { "l3-interface-ipv4-address": "192.168.110.100", "l3-interface-ipv4-prefix-length": 32, "neutron-network-id": "fcd9c09a-7dba-429d-8818-e3d736f395b5", "neutron-subnet-id": "899c07ed-7cc1-4d34-8345-b30d5efa6f4a" } ] } }, { "action": "put", "uri": "/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/ONAP-POD-01-Rail-06/tenants/tenant/709ba629fe194f8699b12f9d6ffd86a0/vservers/vserver/c3c07905-aeca-4371-871c-a9cb7b4eee2d/l-interfaces/l-interface/vfw_vfmodule_instance-vsn_0_int_protected_private_port_0-hoion2nnygxy", "body": { "interface-name": "vfw_vfmodule_instance-vsn_0_int_protected_private_port_0-hoion2nnygxy", "interface-role": "normal", "interface-id": "a4d70c5c-78ee-4078-ae7c-c23bdab70eb9", "macaddr": "fa:16:3e:5a:b6:c7", "network-name": "vfw_vnf_instance_demofwl_protected", "vlans": { "vlan": [ { "vlan-interface": "2022" } ] }, "l3-interface-ipv4-address-list": [ { "l3-interface-ipv4-address": "192.168.120.250", "l3-interface-ipv4-prefix-length": 32, "neutron-network-id": "197e7778-bb47-4539-b42a-6a5ff54daf5c", "neutron-subnet-id": "09ba3c5d-2ae9-418b-a196-f2c40de81d99" } ] } }, { "action": "put", "uri": "/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/ONAP-POD-01-Rail-06/tenants/tenant/709ba629fe194f8699b12f9d6ffd86a0/vservers/vserver/1fb453f1-c2dc-43b3-8efa-a77777c0508f/l-interfaces/l-interface/vfw_vfmodule_instance-vfw_0_int_protected_private_port_0-lgwc3rubtf2n", "body": { "interface-name": "vfw_vfmodule_instance-vfw_0_int_protected_private_port_0-lgwc3rubtf2n", "interface-role": "normal", "interface-id": "035a56c7-cd9a-43d2-a98a-71b2574ddcc6", "macaddr": "fa:16:3e:c8:8b:a2", "network-name": "vfw_vnf_instance_demofwl_protected", "vlans": { "vlan": [ { "vlan-interface": "2022" } ] }, "l3-interface-ipv4-address-list": [ { "l3-interface-ipv4-address": "192.168.120.100", "l3-interface-ipv4-prefix-length": 32, "neutron-network-id": "197e7778-bb47-4539-b42a-6a5ff54daf5c", "neutron-subnet-id": "09ba3c5d-2ae9-418b-a196-f2c40de81d99" } ] } }, { "action": "put", "uri": "/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/ONAP-POD-01-Rail-06/tenants/tenant/709ba629fe194f8699b12f9d6ffd86a0/vservers/vserver/a1e88289-53f4-41f0-95c8-c26903beee40/l-interfaces/l-interface/vfw_vfmodule_instance-vpg_0_onap_private_port_0-rtr26lboephs", "body": { "interface-name": "vfw_vfmodule_instance-vpg_0_onap_private_port_0-rtr26lboephs", "interface-role": "normal", "interface-id": "96abbf4f-7bfe-4a9e-a14a-f0ca62936b53", "macaddr": "fa:16:3e:ea:5d:28", "network-name": "oam_onap_vnf_test", "vlans": { "vlan": [ { "vlan-interface": "2025" } ] }, "l3-interface-ipv4-address-list": [ { "l3-interface-ipv4-address": "10.0.141.12", "l3-interface-ipv4-prefix-length": 32, "neutron-network-id": "92db8b3d-ca18-4629-90b2-c66e69c61ee0", "neutron-subnet-id": "19fc0548-ff70-42a2-b4ce-691344219cb5" } ] } } ] }