diff options
author | Benjamin, Max (mb388a) <mb388a@us.att.com> | 2018-07-30 15:56:09 -0400 |
---|---|---|
committer | Benjamin, Max (mb388a) <mb388a@us.att.com> | 2018-07-31 11:09:25 -0400 |
commit | 5a6a6de6f1a26a1897e4917a0df613e25a24eb70 (patch) | |
tree | 59a968f27b4b603aacc9d5e7b51fb598aeec5321 /bpmn/so-bpmn-infrastructure-flows/src/test/resources/__files/DoCreateVfModule | |
parent | b6dc38501f3b746426b42d9de4cc883d894149e8 (diff) |
Containerization feature of SO
Change-Id: I95381232eeefcd247a66a5cec370a8ce1c288e18
Issue-ID: SO-670
Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
Diffstat (limited to 'bpmn/so-bpmn-infrastructure-flows/src/test/resources/__files/DoCreateVfModule')
5 files changed, 443 insertions, 0 deletions
diff --git a/bpmn/so-bpmn-infrastructure-flows/src/test/resources/__files/DoCreateVfModule/DoCreateVfModuleRequest.xml b/bpmn/so-bpmn-infrastructure-flows/src/test/resources/__files/DoCreateVfModule/DoCreateVfModuleRequest.xml new file mode 100644 index 0000000000..4aaa56f79a --- /dev/null +++ b/bpmn/so-bpmn-infrastructure-flows/src/test/resources/__files/DoCreateVfModule/DoCreateVfModuleRequest.xml @@ -0,0 +1,31 @@ +<vnf-request xmlns="http://ecomp.att.com/mso/infra/vnf-request/v1"> + <request-info> + <request-id>test-VF-0011</request-id> + <action>CREATE_VF_MODULE</action> + <source>VID</source> + <service-instance-id>MIS/1604/0026/SW_INTERNET</service-instance-id> + </request-info> + <vnf-inputs> + <vnf-id>skask</vnf-id> + <vnf-name>STMTN5MMSC20</vnf-name> + <vnf-type>myvnftype</vnf-type> + <vf-module-name>PCRF::module-0-2</vf-module-name> + <vf-module-model-name>STMTN5MMSC21-MMSC::model-1-0</vf-module-model-name> + <persona-model-id>00000000-0000-0000-0000-000000000000</persona-model-id> + <persona-model-version>1.0</persona-model-version> + <service-id>00000000-0000-0000-0000-000000000000</service-id> + <aic-cloud-region>MDTWNJ21</aic-cloud-region> + <tenant-id>fba1bd1e195a404cacb9ce17a9b2b421</tenant-id> + <volume-group-id>78987</volume-group-id> + </vnf-inputs> + <vnf-params xmlns:tns="http://ecomp.att.com/mso/infra/vnf-request/v1"> + <param name="vnf_instance_name">STMTN5MMSC20</param> + <param name="tenant_id">vpe-tenant-123</param> + <param name="aic_cloud_region">MDTWNJ21</param> + <param name="is_avpn_service">false</param> + <param name="asn">asn-1234</param> + <param name="release_for_aero">release-for-aero-something</param> + <param name="aic_clli">MTJWNJA4LCP</param> + <param name="svc_provider_part_number">svc-provide-number-1234</param> + </vnf-params> +</vnf-request>
\ No newline at end of file diff --git a/bpmn/so-bpmn-infrastructure-flows/src/test/resources/__files/DoCreateVfModule/cloudRegion_AAIResponse_Success.xml b/bpmn/so-bpmn-infrastructure-flows/src/test/resources/__files/DoCreateVfModule/cloudRegion_AAIResponse_Success.xml new file mode 100644 index 0000000000..90c668c576 --- /dev/null +++ b/bpmn/so-bpmn-infrastructure-flows/src/test/resources/__files/DoCreateVfModule/cloudRegion_AAIResponse_Success.xml @@ -0,0 +1,20 @@ +<rest:RESTResponse xmlns:rest="http://schemas.activebpel.org/REST/2007/12/01/aeREST.xsd" + statusCode="200"> + <rest:headers> + <rest:header name="Transfer-Encoding" value="chunked"/> + <rest:header name="Date" value="Thu,10 Mar 2016 00:01:18 GMT"/> + <rest:header name="Expires" value="Thu,01 Jan 1970 00:00:00 UTC"/> + <rest:header name="X-AAI-TXID" value="mtcnjv9aaas03-20160310-00:01:18:502-132671"/> + <rest:header name="Content-Type" value="application/xml"/> + <rest:header name="Server" value="Apache-Coyote/1.1"/> + <rest:header name="Cache-Control" value="private"/> + </rest:headers> + <rest:payload contentType="text/xml"> + <l3-network xmlns="http://org.openecomp.aai.inventory/v8"> + <cloud-owner>att-aic</cloud-owner> + <cloud-region-id>RDM2WAGPLCP</cloud-region-id> + <cloud-region-version>2.5</cloud-region-version> + <complex-name>RDM2WAGPLCP</complex-name> + </l3-network> + </rest:payload> +</rest:RESTResponse> diff --git a/bpmn/so-bpmn-infrastructure-flows/src/test/resources/__files/DoCreateVfModule/createVnfARequest.xml b/bpmn/so-bpmn-infrastructure-flows/src/test/resources/__files/DoCreateVfModule/createVnfARequest.xml new file mode 100644 index 0000000000..f78d38f802 --- /dev/null +++ b/bpmn/so-bpmn-infrastructure-flows/src/test/resources/__files/DoCreateVfModule/createVnfARequest.xml @@ -0,0 +1,169 @@ +<createVfModuleRequest> + <cloudSiteId>RDM2WAGPLCP</cloudSiteId> + <tenantId>fba1bd1e195a404cacb9ce17a9b2b421</tenantId> + <vnfId>skask</vnfId> + <vnfName>skask-test</vnfName> + <vfModuleName>PCRF::module-0-2</vfModuleName> + <vfModuleId>cb510af0-5b21-4bc7-86d9-323cb396ce32</vfModuleId> + <vnfType>vRRaas</vnfType> + <vfModuleType>PCRF::module-0-2</vfModuleType> + <vnfVersion>1.0</vnfVersion> + <modelCustomizationUuid>cb510af0-5b21-4bc7-86d9-323cb396ced3</modelCustomizationUuid> + <requestType></requestType> + <volumeGroupId>12345</volumeGroupId> + <volumeGroupStackId>null</volumeGroupStackId> + <baseVfModuleId>null</baseVfModuleId> + <baseVfModuleStackId>12345</baseVfModuleStackId> + <skipAAI>true</skipAAI> + <backout>12345</backout> + <failIfExists>true</failIfExists> + <vfModuleParams> + <entry> + <key>vf_module_id</key> + <value>cb510af0-5b21-4bc7-86d9-323cb396ce32</value> + </entry> + <entry> + <key>vrra_Internal-Network1_ips</key> + <value>null</value> + </entry> + <entry> + <key>ADIG_SRIOV_2_subnet_id</key> + <value></value> + </entry> + <entry> + <key>vrra_ADIGOam.OAM_v6_ips</key> + <value>null</value> + </entry> + <entry> + <key>vnf_name</key> + <value>skask-test</value> + </entry> + <entry> + <key>ADIGOam.OAM_v6_subnet_id</key> + <value></value> + </entry> + <entry> + <key>workload_context</key> + <value>null</value> + </entry> + <entry> + <key>vf_module_name</key> + <value>PCRF::module-0-2</value> + </entry> + <entry> + <key>vnf_id</key> + <value>skask</value> + </entry> + <entry> + <key>ADIG_SRIOV_2_v6_subnet_id</key> + <value></value> + </entry> + <entry> + <key>vrra_ADIG_SRIOV_1_ips</key> + <value>null</value> + </entry> + <entry> + <key>ADIG_SRIOV_1_v6_subnet_id</key> + <value></value> + </entry> + <entry> + <key>ADIG_SRIOV_1_subnet_id</key> + <value></value> + </entry> + <entry> + <key>ADIG_SRIOV_2_net_name</key> + <value>ADIG_SRIOV_2</value> + </entry> + <entry> + <key>ADIGOam.OAM_subnet_id</key> + <value></value> + </entry> + <entry> + <key>ADIGOam.OAM_net_id</key> + <value>491c7cef-a3f4-4990-883e-b0af397466d0</value> + </entry> + <entry> + <key>environment_context</key> + <value>null</value> + </entry> + <entry> + <key>ADIG_SRIOV_1_net_fqdn</key> + <value></value> + </entry> + <entry> + <key>ADIGOam.OAM_net_name</key> + <value>ADIGOAM.OAM</value> + </entry> + <entry> + <key>vrra_name_0</key> + <value>frkdevRvrra24</value> + </entry> + <entry> + <key>vrra_ADIG_SRIOV_2_ips</key> + <value>null</value> + </entry> + <entry> + <key>ADIG_SRIOV_2_net_fqdn</key> + <value></value> + </entry> + <entry> + <key>vrra_Internal-Network2_ips</key> + <value>null</value> + </entry> + <entry> + <key>ADIG_SRIOV_1_net_name</key> + <value>ADIG_SRIOV_1</value> + </entry> + <entry> + <key>vrra_ADIG_SRIOV_1_v6_ips</key> + <value>null</value> + </entry> + <entry> + <key>vrra_ADIGOam.OAM_ips</key> + <value>null</value> + </entry> + <entry> + <key>vrra_Internal-Network1_v6_ips</key> + <value>null</value> + </entry> + <entry> + <key>ADIGOam.OAM_net_fqdn</key> + <value></value> + </entry> + <entry> + <key>vrra_names</key> + <value>frkdevRvrra24</value> + </entry> + <entry> + <key>ADIG_SRIOV_1_net_id</key> + <value>491c7cef-a3f4-4990-883e-b0af397466d0</value> + </entry> + <entry> + <key>vrra_Internal-Network2_v6_ips</key> + <value>null</value> + </entry> + <entry> + <key>vrra_ADIG_SRIOV_2_v6_ips</key> + <value>null</value> + </entry> + <entry> + <key>ADIG_SRIOV_2_net_id</key> + <value>491c7cef-a3f4-4990-883e-b0af397466d0</value> + </entry> + <entry> + <key>vf_module_index</key> + <value>index</value> + </entry> + <entry> + <key>availability_zone_0</key> + <value>frkde-esx-az01</value> + </entry> + + </vfModuleParams> + <msoRequest> + <requestId>testRequestId</requestId> + <serviceInstanceId>MIS/1604/0026/SW_INTERNET</serviceInstanceId> + </msoRequest> + <messageId>testRequestId-1503410089303-1513204371234</messageId> + <notificationUrl>http://localhost:28080/mso/WorkflowMesssage/VNFAResponse/testRequestId-1503410089303-1513204371234</notificationUrl> +</createVfModuleRequest>
\ No newline at end of file diff --git a/bpmn/so-bpmn-infrastructure-flows/src/test/resources/__files/DoCreateVfModule/getGenericVnfResponse.xml b/bpmn/so-bpmn-infrastructure-flows/src/test/resources/__files/DoCreateVfModule/getGenericVnfResponse.xml new file mode 100644 index 0000000000..be5130ead8 --- /dev/null +++ b/bpmn/so-bpmn-infrastructure-flows/src/test/resources/__files/DoCreateVfModule/getGenericVnfResponse.xml @@ -0,0 +1,28 @@ +<generic-vnf xmlns="http://com.att.aai.inventory/v10"> + <vnf-id>6d2e2469-8708-47c3-a0d4-73fa28a8a50b</vnf-id> + <vnf-name>STMTN5MMSC20</vnf-name> + <vnf-type>pcrf-capacity</vnf-type> + <service-id>SDN-MOBILITY</service-id> + <equipment-role>vPCRF</equipment-role> + <orchestration-status>created</orchestration-status> + <in-maint>false</in-maint> + <is-closed-loop-disabled>false</is-closed-loop-disabled> + <persona-model-id>introvert</persona-model-id> + <persona-model-version>2.0</persona-model-version> + <resource-version>0000020</resource-version> + <vf-modules> + <vf-module> + <vf-module-id>baseVfModuleId</vf-module-id> + <vf-module-name>PCRF::module-0-0</vf-module-name> + <persona-model-id>introvert</persona-model-id> + <persona-model-version>2.0</persona-model-version> + <is-base-vf-module>false</is-base-vf-module> + <heat-stack-id>baseVfModuleHeatStackId</heat-stack-id> + <orchestration-status>Created</orchestration-status> + <resource-version>0000074</resource-version> + </vf-module> + </vf-modules> + <relationship-list/> + <l-interfaces/> + <lag-interfaces/> +</generic-vnf>
\ No newline at end of file diff --git a/bpmn/so-bpmn-infrastructure-flows/src/test/resources/__files/DoCreateVfModule/sdncGetResponse.xml b/bpmn/so-bpmn-infrastructure-flows/src/test/resources/__files/DoCreateVfModule/sdncGetResponse.xml new file mode 100644 index 0000000000..20b5462729 --- /dev/null +++ b/bpmn/so-bpmn-infrastructure-flows/src/test/resources/__files/DoCreateVfModule/sdncGetResponse.xml @@ -0,0 +1,195 @@ +<response-data> + <tag0CallbackHeader> + <tag0RequestId>2681784d-118e-4485-929f-2ae3212f5c07-1507707098467</tag0RequestId> + <tag0ResponseCode>200</tag0ResponseCode> + <tag0ResponseMessage>OK</tag0ResponseMessage> + </tag0CallbackHeader> + <tag0RequestData> + <service-list> + <service-instance-id>vnfID-1712_26</service-instance-id> + <service-status> + <response-code>200</response-code> + <request-status>synccomplete</request-status> + <response-timestamp>2017-09-19T143942.327Z</response-timestamp> + <final-indicator>Y</final-indicator> + <rpc-name>activate-vnf-request</rpc-name> + </service-status> + <service-data> + <service-information> + <service-type>vRRaaS</service-type> + <service-instance-id>vnfID-1712_26</service-instance-id> + </service-information> + <request-information> + <request-id>ae322537-d081-4a01-95a5-c1448116d0c5</request-id> + </request-information> + <ipsec-tunnel-parameters/> + <vnf-topology-information> + <vnf-assignments> + <availability-zones> + <availability-zone>frkde-esx-az01</availability-zone> + </availability-zones> + <vnf-vms> + <vm-type>vrra</vm-type> + <vm-count>1</vm-count> + <vm-networks> + <network-role>ADIGOam.OAM</network-role> + <network-name>ADIGOAM.OAM</network-name> + <v4-assigned-ip-list> + <v4-ip-type>NMLAN</v4-ip-type> + <ipv4-gateway-prefix>10.66.132.113</ipv4-gateway-prefix> + <v4-ip-prefix>10.66.132.115</v4-ip-prefix> + <v4-ip-prefix-length>32</v4-ip-prefix-length> + <v4-ip-source>EIPAM</v4-ip-source> + </v4-assigned-ip-list> + <network-id>VPEADIG1d77c-1086-41ec-b7f3-94bb30936807</network-id> + </vm-networks> + <vm-networks> + <network-role>ADIG_SRIOV_1</network-role> + <network-name>ADIG_SRIOV_1</network-name> + <network-id>VPEADIG1d77c-1086-41ec-b7f3-94bb30936808</network-id> + <vlan-filter>[,]</vlan-filter> + </vm-networks> + <vm-networks> + <network-role>ADIG_SRIOV_2</network-role> + <network-name>ADIG_SRIOV_2</network-name> + <network-id>VPEADIG1d77c-1086-41ec-b7f3-94bb30936809</network-id> + <vlan-filter>[,]</vlan-filter> + </vm-networks> + <vm-networks> + <network-role>Internal-Network1</network-role> + <v4-assigned-ip-list> + <v4-ip-type>INTERNAL</v4-ip-type> + <v4-ip-prefix-length>24</v4-ip-prefix-length> + <v4-ip-source>OTHER</v4-ip-source> + <v4-ip-prefix>128.0.0.1</v4-ip-prefix> + <ipv4-prefix-block>128.0.0.0</ipv4-prefix-block> + </v4-assigned-ip-list> + <network-name>VRR-STMTN5MMSC20-INT1</network-name> + <network-forwarding>12</network-forwarding> + <network-id>VMX-INT1</network-id> + </vm-networks> + <vm-networks> + <network-role>Internal-Network2</network-role> + <v4-assigned-ip-list> + <v4-ip-type>INTERNAL</v4-ip-type> + <v4-ip-prefix-length>24</v4-ip-prefix-length> + <v4-ip-source>OTHER</v4-ip-source> + <v4-ip-prefix>128.0.0.1</v4-ip-prefix> + <ipv4-prefix-block>128.0.0.0</ipv4-prefix-block> + </v4-assigned-ip-list> + <network-name>VRR-STMTN5MMSC20-INT2</network-name> + <network-forwarding>12</network-forwarding> + <network-id>VMX-INT2</network-id> + </vm-networks> + <vm-names> + <vm-name>frkdevRvrra24</vm-name> + <vm-uuid>b05a42c3-28ea-4d18-8653-6515125acc1a</vm-uuid> + </vm-names> + </vnf-vms> + <vnf-status>Activated</vnf-status> + <vnf-networks> + <network-role>ADIGOam.OAM</network-role> + <network-name>ADIGOAM.OAM</network-name> + <neutron-id>491c7cef-a3f4-4990-883e-b0af397466d0</neutron-id> + <network-id>VPEADIG1d77c-1086-41ec-b7f3-94bb30936807</network-id> + </vnf-networks> + <vnf-networks> + <network-role>ADIG_SRIOV_2</network-role> + <network-name>ADIG_SRIOV_2</network-name> + <neutron-id>491c7cef-a3f4-4990-883e-b0af397466d0</neutron-id> + <network-id>VPEADIG1d77c-1086-41ec-b7f3-94bb30936809</network-id> + </vnf-networks> + <vnf-networks> + <network-role>ADIG_SRIOV_1</network-role> + <network-name>ADIG_SRIOV_1</network-name> + <neutron-id>491c7cef-a3f4-4990-883e-b0af397466d0</neutron-id> + <network-id>VPEADIG1d77c-1086-41ec-b7f3-94bb30936808</network-id> + </vnf-networks> + </vnf-assignments> + </vnf-topology-information> + <generic-vnf-service> + <cloud-region-id>FRN1</cloud-region-id> + <outer-vlan-tag>4027</outer-vlan-tag> + <cloud-owner>att-aic</cloud-owner> + <service-ecomp-model-information> + <model-uuid>b73c6911-be64-448a-bb4b-7b7a7006507a</model-uuid> + <model-version>5.0</model-version> + <model-name>MOW AVPN vMX AV vPE Service</model-name> + <model-invariant-uuid>d48764b1-043d-4783-89e3-8817602dc833</model-invariant-uuid> + </service-ecomp-model-information> + <as-number>65001</as-number> + <infra-service-instance-id>wl3900-1712-46db-99be-de9eb963a6cf26</infra-service-instance-id> + <country-code>DE</country-code> + <vnf-id>vnfID-1712_26</vnf-id> + <vnf-host-name>26VRR_mtrnj151rv2</vnf-host-name> + <vf-module-ecomp-model-information> + <vf-module-model-customization-uuid-list> + <vf-module-model-customization-uuid>778c2ed5-77a8-426e-94fe-51a4d40199c4 + </vf-module-model-customization-uuid> + </vf-module-model-customization-uuid-list> + <vf-module-model-customization-uuid-list> + <vf-module-model-customization-uuid>cb510af0-5b21-4bc7-86d9-323cb396ced4 + </vf-module-model-customization-uuid> + </vf-module-model-customization-uuid-list> + <model-uuid>c91330e5-8e1a-459b-95ee-d682046cbeca</model-uuid> + <model-version>3</model-version> + <model-name>MowAvpnVmxAvVpe..base_vRE_AV..module-0</model-name> + <model-invariant-uuid>f9f41064-cbe7-4e94-ac4c-93d9c54af317</model-invariant-uuid> + </vf-module-ecomp-model-information> + <orchestration-status>Activated</orchestration-status> + <vnf-type>RR</vnf-type> + <aic-clli>FRNKGEFF</aic-clli> + <prov-status>PROV</prov-status> + <v4-assigned-ip-list> + <v4-ip-type>NMLAN</v4-ip-type> + <ipv4-gateway-prefix>10.66.132.113</ipv4-gateway-prefix> + <v4-ip-prefix>10.66.132.115</v4-ip-prefix> + <v4-ip-prefix-length>32</v4-ip-prefix-length> + <v4-ip-source>EIPAM</v4-ip-source> + </v4-assigned-ip-list> + <vnf-ecomp-model-information> + <model-uuid>07bc0630-11d2-4c08-9c8f-75b036db1f4d</model-uuid> + <model-version>3.0</model-version> + <model-name>MOW AVPN vMX AV vPE</model-name> + <vnf-model-customization-uuid>31d077f6-356f-436e-b447-1997faff4c68 + </vnf-model-customization-uuid> + <model-invariant-uuid>31d077f6-356f-436e-b447-1997faff4c68</model-invariant-uuid> + </vnf-ecomp-model-information> + <vnf-networks> + <network-role>ADIGOam.OAM</network-role> + <network-name>ADIGOAM.OAM</network-name> + <neutron-id>491c7cef-a3f4-4990-883e-b0af397466d0</neutron-id> + <network-id>VPEADIG1d77c-1086-41ec-b7f3-94bb30936807</network-id> + </vnf-networks> + <vnf-networks> + <network-role>ADIG_SRIOV_2</network-role> + <network-name>ADIG_SRIOV_2</network-name> + <neutron-id>491c7cef-a3f4-4990-883e-b0af397466d0</neutron-id> + <network-id>VPEADIG1d77c-1086-41ec-b7f3-94bb30936809</network-id> + </vnf-networks> + <vnf-networks> + <network-role>ADIG_SRIOV_1</network-role> + <network-name>ADIG_SRIOV_1</network-name> + <neutron-id>491c7cef-a3f4-4990-883e-b0af397466d0</neutron-id> + <network-id>VPEADIG1d77c-1086-41ec-b7f3-94bb30936808</network-id> + </vnf-networks> + <tenant>1710vPEPROJECTS297135PROJECT</tenant> + <affinity>26VRR_mtrnj151rv2-affinity</affinity> + </generic-vnf-service> + <oper-status> + <order-status>Completed</order-status> + </oper-status> + <vnf-request-information> + <aic-cloud-region>VNN1CA52LCP</aic-cloud-region> + <vnf-name>skask</vnf-name> + <generic-vnf-id>afd0f02a-1ddb-43bb-aded-5113e46e82ae</generic-vnf-id> + <generic-vnf-type>ZVNN1MOGX01-SVC/ZVNN1MOGX01 - VF AUG 1 1</generic-vnf-type> + <generic-vnf-name>ZVNN1MOGX01</generic-vnf-name> + <tenant>33d209df14ac4c08ad60747185d2f3e0</tenant> + <vnf-id>bd1b3789-6474-4935-94b2-90b656e035d0</vnf-id> + <vnf-type>ZVNN1MOGX01 - VF AUG 1module-0</vnf-type> + </vnf-request-information> + </service-data> + </service-list> + </tag0RequestData> +</response-data> |