From 5a6a6de6f1a26a1897e4917a0df613e25a24eb70 Mon Sep 17 00:00:00 2001 From: "Benjamin, Max (mb388a)" Date: Mon, 30 Jul 2018 15:56:09 -0400 Subject: Containerization feature of SO Change-Id: I95381232eeefcd247a66a5cec370a8ce1c288e18 Issue-ID: SO-670 Signed-off-by: Benjamin, Max (mb388a) --- packages/arquillian-unit-tests/pom.xml | 412 --- .../mso/filesearching/LogFileSearching.java | 132 - .../global_tests/ArquillianPackagerForITCases.java | 77 - .../mso/global_tests/IntegrationTestsSuite.java | 45 - .../mso/global_tests/asdc/ASDCITCase.java | 518 --- .../notif_emulator/DistributionClientEmulator.java | 200 -- .../asdc/notif_emulator/JsonArtifactInfo.java | 122 - .../JsonArtifactInfoDeserializer.java | 50 - .../asdc/notif_emulator/JsonNotificationData.java | 137 - .../asdc/notif_emulator/JsonResourceInfo.java | 105 - .../JsonResourceInfoDeserializer.java | 43 - .../asdc/notif_emulator/JsonVfModuleMetaData.java | 84 - .../mso/global_tests/jmeter/JMeterITCase.java | 166 - .../global_tests/logging/LogsCheckerITCase.java | 108 - .../mso/global_tests/soapui/SoapUiITCase.java | 348 -- .../src/test/resources/JMeter/MSO-Perf.jmx | 866 ----- .../SoapUI/Healthcheck-soapui-project.xml | 115 - .../SoapUI/Local-API-Handler-soapui-project.xml | 2097 ------------ .../resources/SoapUI/MSOConfig-soapui-project.xml | 3 - .../SoapUI/MSONetworkAdapter-soapui-project.xml | 596 ---- .../SoapUI/MSOTenantAdapter-soapui-project.xml | 422 --- .../SoapUI/MSOVnfAdapter-soapui-project.xml | 623 ---- .../SoapUI/MsoRequestDB-soapui-project.xml | 377 --- .../src/test/resources/SoapUI/soapui-settings.xml | 4 - .../src/test/resources/arquillian.xml | 102 - .../resources/docker/mariadb/conf1/mariadb1.cnf | 194 -- .../resources/docker/mariadb/conf2/mariadb2.cnf | 193 -- .../resources/docker/mariadb/conf3/mariadb3.cnf | 193 -- .../src/test/resources/docker/mso/mso-docker.json | 230 -- .../asdc/demo-dns-V1/artifacts/base_vlb.env | 20 - .../asdc/demo-dns-V1/artifacts/base_vlb.yaml | 188 -- .../asdc/demo-dns-V1/artifacts/dnsscaling.env | 16 - .../asdc/demo-dns-V1/artifacts/dnsscaling.yaml | 117 - .../demo-dns-V1/artifacts/vnf-module-artifact.json | 30 - .../asdc/demo-dns-V1/notif-structure.json | 95 - .../asdc/demo-vfw-V1/artifacts/base_vfw.env | 26 - .../asdc/demo-vfw-V1/artifacts/base_vfw.yaml | 298 -- .../demo-vfw-V1/artifacts/vnf-module-artifact.json | 16 - .../asdc/demo-vfw-V1/notif-structure.json | 66 - .../artifacts/cloud-nimbus.sh | 12 - .../artifacts/hot-nimbus-oam_v1.0.env | 18 - .../artifacts/hot-nimbus-oam_v1.0.yaml | 109 - .../artifacts/nested-oam_v1.0.yaml | 156 - .../notif-structure.json | 69 - .../resource-examples/asdc/resource_Extvl.csar | Bin 1580 -> 0 bytes .../asdc/service-ServiceFdnt-csar-0904-2.csar | Bin 42454 -> 0 bytes .../asdc/service-ServiceFdnt-with-allotted.csar | Bin 46811 -> 0 bytes .../asdc/service_Rg511NfmService.csar | Bin 59187 -> 0 bytes .../asdc/service_Rg516VmmscSrvc_csar.csar | Bin 274430 -> 0 bytes .../asdc/simpleNotif-V1/artifacts/cloud-nimbus.sh | 12 - .../artifacts/hot-nimbus-oam-volumes_v1.0.env | 6 - .../artifacts/hot-nimbus-oam-volumes_v1.0.yaml | 45 - .../artifacts/hot-nimbus-oam_v1.0.env | 18 - .../artifacts/hot-nimbus-oam_v1.0.yaml | 109 - .../artifacts/hot-nimbus-pcm-volumes_v1.0.env | 4 - .../artifacts/hot-nimbus-pcm-volumes_v1.0.yaml | 28 - .../artifacts/hot-nimbus-pcm_v1.0.env | 16 - .../artifacts/hot-nimbus-pcm_v1.0.yaml | 80 - .../artifacts/hot-nimbus-ppd_v1.0.yaml | 286 -- .../artifacts/hot-nimbus-ppd_v1.1.env | 35 - .../artifacts/hot-nimbus-pps_v1.0.env | 11 - .../artifacts/hot-nimbus-pps_v1.0.yaml | 121 - .../artifacts/hot-nimbus-psm_v1.0.env | 10 - .../artifacts/hot-nimbus-psm_v1.0.yaml | 199 -- .../artifacts/hot-nimbus-swift-container_v1.0.env | 3 - .../artifacts/hot-nimbus-swift-container_v1.0.yaml | 30 - .../simpleNotif-V1/artifacts/mount_iso_script.sh | 34 - .../simpleNotif-V1/artifacts/nested-oam_v1.0.yaml | 156 - .../simpleNotif-V1/artifacts/nested-pcm_v1.0.yaml | 150 - .../simpleNotif-V1/artifacts/nested-ppd_v1.0.yaml | 333 -- .../simpleNotif-V1/artifacts/nested-pps_v1.0.yaml | 99 - .../simpleNotif-V1/artifacts/nested-psm_v1.0.yaml | 99 - .../artifacts/vnf-module-artifact.json | 17 - .../asdc/simpleNotif-V1/notif-structure.json | 76 - .../asdc/simpleNotif-V2/artifacts/cloud-nimbus.sh | 12 - .../artifacts/hot-nimbus-oam-volumes_v1.0.env | 6 - .../artifacts/hot-nimbus-oam-volumes_v1.0.yaml | 45 - .../artifacts/hot-nimbus-oam_v1.0.env | 18 - .../artifacts/hot-nimbus-oam_v1.0.yaml | 109 - .../artifacts/hot-nimbus-pcm-volumes_v1.0.env | 4 - .../artifacts/hot-nimbus-pcm-volumes_v1.0.yaml | 28 - .../artifacts/hot-nimbus-pcm_v1.0.env | 16 - .../artifacts/hot-nimbus-pcm_v1.0.yaml | 80 - .../artifacts/hot-nimbus-ppd_v1.0.yaml | 286 -- .../artifacts/hot-nimbus-ppd_v1.1.env | 35 - .../artifacts/hot-nimbus-pps_v1.0.env | 11 - .../artifacts/hot-nimbus-pps_v1.0.yaml | 121 - .../artifacts/hot-nimbus-psm_v1.0.env | 10 - .../artifacts/hot-nimbus-psm_v1.0.yaml | 199 -- .../artifacts/hot-nimbus-swift-container_v1.0.env | 3 - .../artifacts/hot-nimbus-swift-container_v1.0.yaml | 30 - .../simpleNotif-V2/artifacts/mount_iso_script.sh | 34 - .../simpleNotif-V2/artifacts/nested-oam_v1.0.yaml | 156 - .../simpleNotif-V2/artifacts/nested-pcm_v1.0.yaml | 150 - .../simpleNotif-V2/artifacts/nested-ppd_v1.0.yaml | 333 -- .../simpleNotif-V2/artifacts/nested-pps_v1.0.yaml | 99 - .../simpleNotif-V2/artifacts/nested-psm_v1.0.yaml | 99 - .../artifacts/vnf-module-artifact.json | 17 - .../asdc/simpleNotif-V2/notif-structure.json | 79 - .../asdc/simpleNotif-V3/artifacts/cloud-nimbus.sh | 12 - .../artifacts/hot-nimbus-oam-volumes_v1.0.env | 6 - .../artifacts/hot-nimbus-oam-volumes_v1.0.yaml | 45 - .../artifacts/hot-nimbus-oam_v1.0.env | 18 - .../artifacts/hot-nimbus-oam_v1.0.yaml | 109 - .../artifacts/hot-nimbus-pcm-volumes_v1.0.env | 4 - .../artifacts/hot-nimbus-pcm-volumes_v1.0.yaml | 28 - .../artifacts/hot-nimbus-pcm_v1.0.env | 16 - .../artifacts/hot-nimbus-pcm_v1.0.yaml | 80 - .../artifacts/hot-nimbus-ppd_v1.0.yaml | 286 -- .../artifacts/hot-nimbus-ppd_v1.1.env | 35 - .../artifacts/hot-nimbus-pps_v1.0.env | 11 - .../artifacts/hot-nimbus-pps_v1.0.yaml | 121 - .../artifacts/hot-nimbus-psm_v1.0.env | 10 - .../artifacts/hot-nimbus-psm_v1.0.yaml | 199 -- .../artifacts/hot-nimbus-swift-container_v1.0.env | 3 - .../artifacts/hot-nimbus-swift-container_v1.0.yaml | 30 - .../simpleNotif-V3/artifacts/mount_iso_script.sh | 34 - .../simpleNotif-V3/artifacts/nested-oam_v1.0.yaml | 156 - .../simpleNotif-V3/artifacts/nested-pcm_v1.0.yaml | 150 - .../simpleNotif-V3/artifacts/nested-ppd_v1.0.yaml | 333 -- .../simpleNotif-V3/artifacts/nested-pps_v1.0.yaml | 99 - .../simpleNotif-V3/artifacts/nested-psm_v1.0.yaml | 99 - .../artifacts/vnf-module-artifact.json | 20 - .../asdc/simpleNotif-V3/notif-structure.json | 117 - .../asdc/simpleNotif-V4/artifacts/cloud-nimbus.sh | 12 - .../artifacts/hot-nimbus-oam-volumes_v1.0.env | 6 - .../artifacts/hot-nimbus-oam-volumes_v1.0.yaml | 45 - .../artifacts/hot-nimbus-oam_v1.0.env | 18 - .../artifacts/hot-nimbus-oam_v1.0.yaml | 109 - .../artifacts/hot-nimbus-pcm-volumes_v1.0.env | 4 - .../artifacts/hot-nimbus-pcm-volumes_v1.0.yaml | 28 - .../artifacts/hot-nimbus-pcm_v1.0.env | 16 - .../artifacts/hot-nimbus-pcm_v1.0.yaml | 80 - .../artifacts/hot-nimbus-ppd_v1.0.yaml | 286 -- .../artifacts/hot-nimbus-ppd_v1.1.env | 35 - .../artifacts/hot-nimbus-pps_v1.0.env | 11 - .../artifacts/hot-nimbus-pps_v1.0.yaml | 121 - .../artifacts/hot-nimbus-psm_v1.0.env | 10 - .../artifacts/hot-nimbus-psm_v1.0.yaml | 199 -- .../artifacts/hot-nimbus-swift-container_v1.0.env | 3 - .../artifacts/hot-nimbus-swift-container_v1.0.yaml | 30 - .../simpleNotif-V4/artifacts/mount_iso_script.sh | 34 - .../simpleNotif-V4/artifacts/nested-oam_v1.0.yaml | 156 - .../simpleNotif-V4/artifacts/nested-pcm_v1.0.yaml | 150 - .../simpleNotif-V4/artifacts/nested-ppd_v1.0.yaml | 333 -- .../simpleNotif-V4/artifacts/nested-pps_v1.0.yaml | 99 - .../simpleNotif-V4/artifacts/nested-psm_v1.0.yaml | 99 - .../artifacts/vnf-module-artifact.json | 20 - .../asdc/simpleNotif-V4/notif-structure.json | 117 - .../att_nimbus_vsaegw_ht_base_v13_0728v1.yaml | 3374 -------------------- .../asdc/simpleNotif-V5/artifacts/cloud-nimbus.sh | 12 - .../artifacts/hot-nimbus-oam-volumes_v1.0.env | 6 - .../artifacts/hot-nimbus-oam-volumes_v1.0.yaml | 45 - .../artifacts/hot-nimbus-oam_v1.0.env | 18 - .../artifacts/hot-nimbus-oam_v1.0.yaml | 109 - .../artifacts/hot-nimbus-pcm-volumes_v1.0.env | 4 - .../artifacts/hot-nimbus-pcm-volumes_v1.0.yaml | 28 - .../artifacts/hot-nimbus-pcm_v1.0.env | 16 - .../artifacts/hot-nimbus-pcm_v1.0.yaml | 80 - .../artifacts/hot-nimbus-ppd_v1.0.yaml | 286 -- .../artifacts/hot-nimbus-ppd_v1.1.env | 35 - .../artifacts/hot-nimbus-pps_v1.0.env | 11 - .../artifacts/hot-nimbus-pps_v1.0.yaml | 121 - .../artifacts/hot-nimbus-psm_v1.0.env | 10 - .../artifacts/hot-nimbus-psm_v1.0.yaml | 199 -- .../artifacts/hot-nimbus-swift-container_v1.0.env | 3 - .../artifacts/hot-nimbus-swift-container_v1.0.yaml | 30 - .../simpleNotif-V5/artifacts/mount_iso_script.sh | 34 - .../simpleNotif-V5/artifacts/nested-oam_v1.0.yaml | 156 - .../simpleNotif-V5/artifacts/nested-pcm_v1.0.yaml | 150 - .../simpleNotif-V5/artifacts/nested-ppd_v1.0.yaml | 333 -- .../simpleNotif-V5/artifacts/nested-pps_v1.0.yaml | 99 - .../simpleNotif-V5/artifacts/nested-psm_v1.0.yaml | 99 - .../artifacts/vnf-module-artifact.json | 35 - .../asdc/simpleNotif-V5/notif-structure.json | 156 - 175 files changed, 23246 deletions(-) delete mode 100644 packages/arquillian-unit-tests/pom.xml delete mode 100644 packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/filesearching/LogFileSearching.java delete mode 100644 packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/ArquillianPackagerForITCases.java delete mode 100644 packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/IntegrationTestsSuite.java delete mode 100644 packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/asdc/ASDCITCase.java delete mode 100644 packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/asdc/notif_emulator/DistributionClientEmulator.java delete mode 100644 packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/asdc/notif_emulator/JsonArtifactInfo.java delete mode 100644 packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/asdc/notif_emulator/JsonArtifactInfoDeserializer.java delete mode 100644 packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/asdc/notif_emulator/JsonNotificationData.java delete mode 100644 packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/asdc/notif_emulator/JsonResourceInfo.java delete mode 100644 packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/asdc/notif_emulator/JsonResourceInfoDeserializer.java delete mode 100644 packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/asdc/notif_emulator/JsonVfModuleMetaData.java delete mode 100644 packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/jmeter/JMeterITCase.java delete mode 100644 packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/logging/LogsCheckerITCase.java delete mode 100644 packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/soapui/SoapUiITCase.java delete mode 100644 packages/arquillian-unit-tests/src/test/resources/JMeter/MSO-Perf.jmx delete mode 100644 packages/arquillian-unit-tests/src/test/resources/SoapUI/Healthcheck-soapui-project.xml delete mode 100755 packages/arquillian-unit-tests/src/test/resources/SoapUI/Local-API-Handler-soapui-project.xml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/SoapUI/MSOConfig-soapui-project.xml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/SoapUI/MSONetworkAdapter-soapui-project.xml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/SoapUI/MSOTenantAdapter-soapui-project.xml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/SoapUI/MSOVnfAdapter-soapui-project.xml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/SoapUI/MsoRequestDB-soapui-project.xml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/SoapUI/soapui-settings.xml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/arquillian.xml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/docker/mariadb/conf1/mariadb1.cnf delete mode 100644 packages/arquillian-unit-tests/src/test/resources/docker/mariadb/conf2/mariadb2.cnf delete mode 100644 packages/arquillian-unit-tests/src/test/resources/docker/mariadb/conf3/mariadb3.cnf delete mode 100644 packages/arquillian-unit-tests/src/test/resources/docker/mso/mso-docker.json delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/demo-dns-V1/artifacts/base_vlb.env delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/demo-dns-V1/artifacts/base_vlb.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/demo-dns-V1/artifacts/dnsscaling.env delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/demo-dns-V1/artifacts/dnsscaling.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/demo-dns-V1/artifacts/vnf-module-artifact.json delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/demo-dns-V1/notif-structure.json delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/demo-vfw-V1/artifacts/base_vfw.env delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/demo-vfw-V1/artifacts/base_vfw.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/demo-vfw-V1/artifacts/vnf-module-artifact.json delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/demo-vfw-V1/notif-structure.json delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/notif-without-modules-metadata/artifacts/cloud-nimbus.sh delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/notif-without-modules-metadata/artifacts/hot-nimbus-oam_v1.0.env delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/notif-without-modules-metadata/artifacts/hot-nimbus-oam_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/notif-without-modules-metadata/artifacts/nested-oam_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/notif-without-modules-metadata/notif-structure.json delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/resource_Extvl.csar delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/service-ServiceFdnt-csar-0904-2.csar delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/service-ServiceFdnt-with-allotted.csar delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/service_Rg511NfmService.csar delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/service_Rg516VmmscSrvc_csar.csar delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/cloud-nimbus.sh delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-oam-volumes_v1.0.env delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-oam-volumes_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-oam_v1.0.env delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-oam_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-pcm-volumes_v1.0.env delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-pcm-volumes_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-pcm_v1.0.env delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-pcm_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-ppd_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-ppd_v1.1.env delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-pps_v1.0.env delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-pps_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-psm_v1.0.env delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-psm_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-swift-container_v1.0.env delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-swift-container_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/mount_iso_script.sh delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/nested-oam_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/nested-pcm_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/nested-ppd_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/nested-pps_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/nested-psm_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/vnf-module-artifact.json delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/notif-structure.json delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/cloud-nimbus.sh delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-oam-volumes_v1.0.env delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-oam-volumes_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-oam_v1.0.env delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-oam_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-pcm-volumes_v1.0.env delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-pcm-volumes_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-pcm_v1.0.env delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-pcm_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-ppd_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-ppd_v1.1.env delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-pps_v1.0.env delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-pps_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-psm_v1.0.env delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-psm_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-swift-container_v1.0.env delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-swift-container_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/mount_iso_script.sh delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/nested-oam_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/nested-pcm_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/nested-ppd_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/nested-pps_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/nested-psm_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/vnf-module-artifact.json delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/notif-structure.json delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/cloud-nimbus.sh delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-oam-volumes_v1.0.env delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-oam-volumes_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-oam_v1.0.env delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-oam_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-pcm-volumes_v1.0.env delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-pcm-volumes_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-pcm_v1.0.env delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-pcm_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-ppd_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-ppd_v1.1.env delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-pps_v1.0.env delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-pps_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-psm_v1.0.env delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-psm_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-swift-container_v1.0.env delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-swift-container_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/mount_iso_script.sh delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/nested-oam_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/nested-pcm_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/nested-ppd_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/nested-pps_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/nested-psm_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/vnf-module-artifact.json delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/notif-structure.json delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/cloud-nimbus.sh delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-oam-volumes_v1.0.env delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-oam-volumes_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-oam_v1.0.env delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-oam_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-pcm-volumes_v1.0.env delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-pcm-volumes_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-pcm_v1.0.env delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-pcm_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-ppd_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-ppd_v1.1.env delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-pps_v1.0.env delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-pps_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-psm_v1.0.env delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-psm_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-swift-container_v1.0.env delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-swift-container_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/mount_iso_script.sh delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/nested-oam_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/nested-pcm_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/nested-ppd_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/nested-pps_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/nested-psm_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/vnf-module-artifact.json delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/notif-structure.json delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/att_nimbus_vsaegw_ht_base_v13_0728v1.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/cloud-nimbus.sh delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-oam-volumes_v1.0.env delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-oam-volumes_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-oam_v1.0.env delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-oam_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-pcm-volumes_v1.0.env delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-pcm-volumes_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-pcm_v1.0.env delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-pcm_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-ppd_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-ppd_v1.1.env delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-pps_v1.0.env delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-pps_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-psm_v1.0.env delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-psm_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-swift-container_v1.0.env delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-swift-container_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/mount_iso_script.sh delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/nested-oam_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/nested-pcm_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/nested-ppd_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/nested-pps_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/nested-psm_v1.0.yaml delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/vnf-module-artifact.json delete mode 100644 packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/notif-structure.json (limited to 'packages/arquillian-unit-tests') diff --git a/packages/arquillian-unit-tests/pom.xml b/packages/arquillian-unit-tests/pom.xml deleted file mode 100644 index aac1ed0cfa..0000000000 --- a/packages/arquillian-unit-tests/pom.xml +++ /dev/null @@ -1,412 +0,0 @@ - - 4.0.0 - - org.onap.so - packages - 1.2.0-SNAPSHOT - - - org.onap.so.packages - Arquillian Unit Testing on MSO - arquillian-unit-tests - - jar - - - - default-tests - - true - - - **/IntegrationTestsSuite.java - jboss-as - ${project.version} - - - - - - - - - - org.jboss.arquillian - arquillian-bom - 1.1.13.Final - import - pom - - - - org.jboss.spec - jboss-javaee-6.0 - 3.0.2.Final - pom - import - - - - - - - - - - - - - org.jboss.marshalling - jboss-marshalling - 1.3.16.GA - test - - - - org.jboss.arquillian.junit - arquillian-junit-container - test - - - - - org.wildfly.arquillian - wildfly-arquillian-container-remote - 1.1.0.Final - test - - - - org.jboss.remoting - jboss-remoting - 4.0.9.Final - test - - - - org.jboss.logging - jboss-logging - 3.2.1.Final - test - - - - org.jboss.arquillian.protocol - arquillian-protocol-servlet - test - - - - org.jboss.shrinkwrap.resolver - shrinkwrap-resolver-impl-maven - 2.2.6 - test - - - - - org.arquillian.cube - arquillian-cube-docker - 1.9.0 - test - - - - - - - org.hibernate - hibernate-core - 4.2.7.SP1 - test - - - org.hibernate - hibernate-entitymanager - 4.2.7.SP1 - test - - - - javax.validation - validation-api - 1.0.0.GA - test - - - org.jboss.as - jboss-as-ejb3 - 7.2.0.Final - test - - - - - com.smartbear.soapui - soapui - 5.1.0 - jar - test - - - thoughtworks - xstream - - - gnu.cajo - cajo - - - - - - commons-codec - commons-codec - 1.4 - jar - test - - - - org.seleniumhq.selenium - selenium-java - 2.45.0 - test - - - org.seleniumhq.selenium - selenium-firefox-driver - 2.45.0 - test - - - org.seleniumhq.selenium - selenium-server - 2.45.0 - test - - - - org.apache.httpcomponents - httpclient - - - org.apache.httpcomponents - httpcore - - - - org.onap.so - asdc-controller - ${project.version} - test - classes - - - - org.onap.sdc.sdc-distribution-client - sdc-distribution-client - 1.3.0 - test - - - - org.onap.so - mso-catalog-db - ${project.version} - test - - - - org.apache.jmeter - ApacheJMeter_core - 2.13 - - test - - - commons-math3 - commons-math3 - - - commons-pool2 - commons-pool2 - - - - - - org.apache.jmeter - ApacheJMeter_http - 2.13 - - test - - - commons-math3 - commons-math3 - - - commons-pool2 - commons-pool2 - - - - - - org.apache.jmeter - ApacheJMeter_jdbc - 2.13 - - test - - - commons-math3 - commons-math3 - - - commons-pool2 - commons-pool2 - - - - - - - - - arquillian-tests - - - org.codehaus.groovy.maven - gmaven-plugin - 1.0 - - - generate-resources - - execute - - - - if ( project.properties['docker.host'] != null ) { - project.properties['docker.host.truncated']=project.properties['docker.host'].replaceFirst("^(http://|https://)",""); - int indexPort = project.properties['docker.host.truncated'].indexOf(":"); - project.properties['docker.host.truncated']=project.properties['docker.host.truncated'].substring(0,indexPort); - println 'docker.host.truncated:'+ project.properties['docker.host.truncated']; - } else { - project.properties['docker.host.truncated']="127.0.0.1"; - project.properties['docker.host']="unix:///var/run/docker.sock" - } - - if ( project.properties['mso.project.version'].endsWith("-SNAPSHOT") ) { - project.properties['mso.version']="latest"; - } else { - project.properties['mso.version']=project.properties['mso.project.version']; - } - - - - - - - - - - org.apache.maven.plugins - maven-failsafe-plugin - 2.16 - - - - - integration-test - verify - - - 1 - - - - - - - ${container-to-start} - ${project.build.directory} - ${docker.host} - ${docker.host.truncated} - ${mso.version} - - ${project.build.directory}/surefire-reports - true - - ${it-suite-to-execute} - - - - - - org.apache.maven.plugins - maven-surefire-plugin - - - true - - - - - - - - - org.eclipse.m2e - lifecycle-mapping - 1.0.0 - - - - - - - org.codehaus.groovy.maven - - - gmaven-plugin - - [1.0,) - - execute - - - - - - - - - - - - - - - diff --git a/packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/filesearching/LogFileSearching.java b/packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/filesearching/LogFileSearching.java deleted file mode 100644 index fba28ac0fd..0000000000 --- a/packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/filesearching/LogFileSearching.java +++ /dev/null @@ -1,132 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * ONAP - SO - * ================================================================================ - * Copyright (C) 2017 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.openecomp.mso.filesearching; - -import java.io.File; -import java.io.FileNotFoundException; -import java.io.FileOutputStream; -import java.io.FileWriter; -import java.io.IOException; -import java.io.PrintWriter; -import java.io.UnsupportedEncodingException; -import java.util.NoSuchElementException; -import java.util.Scanner; - -public class LogFileSearching { - - private static PrintWriter writer; - - public static void initFile(String filePath) { - if (writer == null) { - try { - // This is to reopen an existing file - writer = new PrintWriter(new FileOutputStream(filePath,true)); - } catch ( IOException e) { - System.out.println("Exception caught when trying to open the file /tmp/mso-log-checker.log to dump the result"); - e.printStackTrace(); - } - } - } - - public static void closeFile() { - if (writer != null) { - writer.close(); - writer = null; - } - } - - - public static boolean searchInFile(final String needle, final File file) throws FileNotFoundException { - Scanner logScanner = new Scanner(file); - try { - writer.println("Searching pattern " + needle + " in " + file.getAbsolutePath()); - //System.out.println("Searching pattern " + needle + " in " + file.getAbsolutePath()); - - String filedata = logScanner.useDelimiter("\\Z").next(); - - int occurrences = 0; - int index = 0; - - while (index < filedata.length() && (index = filedata.indexOf(needle, index)) >= 0) { - occurrences++; - - int separatorIndex = filedata.indexOf(System.getProperty("line.separator"), index); - if (separatorIndex >=0){ - writer.println("FOUND:" + filedata.substring(index, separatorIndex)); - //System.out.println("FOUND:" - // + filedata.substring(index, separatorIndex)); - } else { - writer.println("FOUND:" + filedata.substring(index, filedata.length()-1)); - //System.out.println("FOUND:" - // + filedata.substring(index, filedata.length()-1)); - } - index += needle.length(); - } - writer.println("TOTAL:" + occurrences + " FOUND"); - //System.out.println("TOTAL:" + occurrences + " FOUND"); - if (occurrences > 0) { - - return true; - } else { - - return false; - } - } catch (NoSuchElementException e) { - writer.println("TOTAL:0 FOUND"); - //System.out.println("TOTAL:0 FOUND"); - return false; - } finally { - logScanner.close(); - } - } - - public static boolean searchInDirectory(final String needle, final File directory) throws FileNotFoundException { - - boolean res = false; - String[] dirFiles = directory.list(); - - if (dirFiles != null) { - - for (String dir : dirFiles) { - res = res || searchInDirectory(needle, new File(directory.getAbsolutePath() + "/" + dir)); - } - - } else { - return LogFileSearching.searchInFile(needle, directory); - } - return res; - } - - public static boolean searchInDirectoryForCommonIssues(final String[] needles, final File directory) throws FileNotFoundException { - String[] defaultPatternsToUse = {"ClassNotFound","NullPointer","RuntimeException","IllegalStateException","FATAL"}; - - if (needles != null && needles.length>0) { - defaultPatternsToUse=needles; - } - - boolean returnValue=false; - for (String needle:defaultPatternsToUse) { - returnValue |= LogFileSearching.searchInDirectory(needle,directory); - } - - return returnValue; - } -} diff --git a/packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/ArquillianPackagerForITCases.java b/packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/ArquillianPackagerForITCases.java deleted file mode 100644 index 200e1d2621..0000000000 --- a/packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/ArquillianPackagerForITCases.java +++ /dev/null @@ -1,77 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * ONAP - SO - * ================================================================================ - * Copyright (C) 2017 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.openecomp.mso.global_tests; - -import java.io.File; -import java.io.IOException; -import java.nio.file.DirectoryStream; -import java.nio.file.Files; -import java.nio.file.Path; -import java.nio.file.Paths; -import java.util.Iterator; - -import org.jboss.shrinkwrap.api.Archive; -import org.jboss.shrinkwrap.api.ShrinkWrap; -import org.jboss.shrinkwrap.api.spec.EnterpriseArchive; -import org.jboss.shrinkwrap.api.spec.JavaArchive; -import org.jboss.shrinkwrap.api.spec.WebArchive; - -public class ArquillianPackagerForITCases { - - public static Archive createPackageFromExistingOne(String path, String globPattern, String newPackageName) { - Path dir = Paths.get(path); - - try (DirectoryStream stream = Files.newDirectoryStream(dir, globPattern)) { - Iterator it = stream.iterator(); - if (it.hasNext()) { - - if (newPackageName.endsWith(".war")) { - File archive = it.next().toFile(); - WebArchive webArchive = ShrinkWrap.create(WebArchive.class, newPackageName); - webArchive.merge((ShrinkWrap.createFromZipFile(WebArchive.class, archive))); - return webArchive; - } else if (newPackageName.endsWith(".jar")) { - File archive = it.next().toFile(); - JavaArchive javaArchive = ShrinkWrap.create(JavaArchive.class, newPackageName); - javaArchive.merge((ShrinkWrap.createFromZipFile(JavaArchive.class, archive))); - return javaArchive; - } else if (newPackageName.endsWith(".ear")) { - File archive = it.next().toFile(); - EnterpriseArchive earArchive = ShrinkWrap.create(EnterpriseArchive.class, newPackageName); - earArchive.merge((ShrinkWrap.createFromZipFile(EnterpriseArchive.class, archive))); - return earArchive; - } else { - return null; - } - - } else { - return null; - } - - } catch (IOException e) { - e.printStackTrace(); - return null; - } - - } - - -} diff --git a/packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/IntegrationTestsSuite.java b/packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/IntegrationTestsSuite.java deleted file mode 100644 index 24f6627ca0..0000000000 --- a/packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/IntegrationTestsSuite.java +++ /dev/null @@ -1,45 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * ONAP - SO - * ================================================================================ - * Copyright (C) 2017 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.openecomp.mso.global_tests; - -import org.junit.runner.RunWith; -import org.junit.runners.Suite; -import org.junit.runners.Suite.SuiteClasses; - -//import org.openecomp.mso.global_tests.appc.AppCAdapterITCase; -import org.openecomp.mso.global_tests.asdc.ASDCITCase; -import org.openecomp.mso.global_tests.logging.LogsCheckerITCase; -import org.openecomp.mso.global_tests.soapui.SoapUiITCase; - - -@RunWith(Suite.class) -@SuiteClasses({ - -// MSOUiITCase.class, -// AppCAdapterITCase.class, -// SoapUiITCase.class, -// ASDCITCase.class, -// LogsCheckerITCase.class - -}) -public class IntegrationTestsSuite { - -} diff --git a/packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/asdc/ASDCITCase.java b/packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/asdc/ASDCITCase.java deleted file mode 100644 index 17dc67d71d..0000000000 --- a/packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/asdc/ASDCITCase.java +++ /dev/null @@ -1,518 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * ONAP - SO - * ================================================================================ - * Copyright (C) 2017 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.openecomp.mso.global_tests.asdc; - -import static org.junit.Assert.*; - -import java.io.File; -import java.io.IOException; -import java.lang.reflect.Method; -import java.net.URISyntaxException; -import java.security.NoSuchAlgorithmException; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import java.util.LinkedList; - -import org.jboss.arquillian.container.test.api.Deployment; -import org.jboss.arquillian.container.test.api.OperateOnDeployment; -import org.jboss.arquillian.container.test.api.Testable; -import org.jboss.arquillian.junit.Arquillian; -import org.jboss.shrinkwrap.api.Archive; -import org.jboss.shrinkwrap.api.ShrinkWrap; -import org.jboss.shrinkwrap.api.spec.JavaArchive; -import org.jboss.shrinkwrap.api.spec.WebArchive; -import org.jboss.shrinkwrap.resolver.api.maven.Maven; -import org.junit.After; -import org.junit.Before; -import org.junit.BeforeClass; -import org.junit.AfterClass; -import org.junit.Test; -import org.junit.runner.RunWith; - -import org.onap.sdc.api.consumer.IDistributionStatusMessage; -import org.onap.sdc.api.notification.IArtifactInfo; -import org.onap.sdc.api.notification.IResourceInstance; -import org.openecomp.mso.asdc.installer.VfModuleMetaData; -import org.openecomp.mso.asdc.installer.IVfModuleData; -import org.onap.sdc.utils.DistributionStatusEnum; -import org.openecomp.mso.asdc.client.ASDCConfiguration; -import org.openecomp.mso.asdc.client.ASDCController; -import org.openecomp.mso.asdc.client.exceptions.ASDCControllerException; -import org.openecomp.mso.asdc.client.exceptions.ASDCParametersException; -import org.openecomp.mso.asdc.client.exceptions.ArtifactInstallerException; -import org.openecomp.mso.db.catalog.CatalogDatabase; -import org.openecomp.mso.db.catalog.beans.HeatEnvironment; -import org.openecomp.mso.db.catalog.beans.HeatFiles; -import org.openecomp.mso.db.catalog.beans.HeatTemplate; -import org.openecomp.mso.db.catalog.beans.Service; -import org.openecomp.mso.db.catalog.beans.VfModule; -import org.openecomp.mso.db.catalog.beans.VnfResource; -import org.openecomp.mso.global_tests.ArquillianPackagerForITCases; -import org.openecomp.mso.global_tests.asdc.notif_emulator.DistributionClientEmulator; -import org.openecomp.mso.global_tests.asdc.notif_emulator.JsonNotificationData; - -@RunWith(Arquillian.class) -public class ASDCITCase { - - /** - * Add the resources in the right folder of a jar - * @param jar The jarArchive - * @param dir The main dir containing things that must be added - * @throws Exception In case of issues with the files - */ - private static void addFiles(JavaArchive jar, File dir,String destFolder) throws Exception { - - if (!dir.isDirectory()) { - throw new Exception("not a directory"); - } - for (File f : dir.listFiles()) { - - - if (f.isFile()) { - jar.addAsResource(f, destFolder + "/" + f.getName()); - } else { - - addFiles(jar, f, destFolder+"/"+f.getName()); - } - } - } - - @Deployment(name="asdc-controller",testable=true) - public static Archive createAsdcControllerWarDeployment () throws Exception { - System.out.println("Deploying ASDC Controller WAR with additional resources on default server"); - - WebArchive warArchive = (WebArchive)ArquillianPackagerForITCases.createPackageFromExistingOne("../../asdc-controller/target/", "asdc-controller*.war", "asdc-controller.war"); - - // Add the current test class - JavaArchive testclasses = ShrinkWrap.create (JavaArchive.class, "testClasses.jar"); - - testclasses.addPackage("org.openecomp.mso.global_tests.asdc.notif_emulator"); - - addFiles(testclasses,new File(Thread.currentThread().getContextClassLoader().getResource("resource-examples/asdc").getFile()),"resource-examples/asdc"); - - System.out.println(testclasses.toString(true)); - warArchive.addAsLibraries(testclasses); - - - - // BE CAREFUL a settings.xml file must be located in ${home.user}/.m2/settings.xml - warArchive.addAsLibraries(Maven.resolver() - .resolve("org.mockito:mockito-all:1.10.19") - .withoutTransitivity () - .asFile ()); - - //warArchive.addPackage("org.openecomp.mso.global_tests.asdc.notif_emulator"); - //addFiles(warArchive,new File(ASDCITCase.class.getClassLoader().getResource("resource-examples").getPath()),"resource-examples"); - - // Take one war randomly to make arquilian happy - Testable.archiveToTest(warArchive); - - - System.out.println(warArchive.toString(true)); - - return warArchive; - } - - @BeforeClass - public static final void waitBeforeStart() throws InterruptedException, - IOException, - URISyntaxException, - NoSuchAlgorithmException { - System.out.println("Executing " + ASDCITCase.class.getName()); - } - - @AfterClass - public static final void waitAfterStart() throws InterruptedException, - IOException, - URISyntaxException, - NoSuchAlgorithmException { - System.out.println("Waiting 60000ms " + ASDCITCase.class.getName()); - Thread.sleep(60000); - } - - /** - * Be careful when using that notification fake structure, the UUID of notif artifacts MUST be different. - * There is a static Map behind the scene. - */ - private JsonNotificationData notifDataWithoutModuleInfo; - private DistributionClientEmulator distribClientWithoutModuleInfo; - - private JsonNotificationData notifDataV1, notifDataV2, notifDataV3, notifDataV4, notifDataV5,notifDataDNS,notifDataVFW; - private DistributionClientEmulator distribClientV1, distribClientV2, distribClientV3, distribClientV4, distribClientV5, distribClientV1ForSameNotif, distribClientDNS,distribClientVFW; - - - @Before - public final void beforeEachTest() throws IOException { - - distribClientV1= new DistributionClientEmulator("/resource-examples/asdc/simpleNotif-V1"); - distribClientV1ForSameNotif= new DistributionClientEmulator("/resource-examples/asdc/simpleNotif-V1"); - notifDataV1 = JsonNotificationData.instantiateNotifFromJsonFile("/resource-examples/asdc/simpleNotif-V1"); - - // This is a duplicate in version 2 of the version 1 - distribClientV2= new DistributionClientEmulator("/resource-examples/asdc/simpleNotif-V2"); - notifDataV2 = JsonNotificationData.instantiateNotifFromJsonFile("/resource-examples/asdc/simpleNotif-V2"); - - distribClientV3= new DistributionClientEmulator("/resource-examples/asdc/simpleNotif-V3"); - notifDataV3 = JsonNotificationData.instantiateNotifFromJsonFile("/resource-examples/asdc/simpleNotif-V3"); - - // This is a duplicate in version 4 of the version 3 - distribClientV4= new DistributionClientEmulator("/resource-examples/asdc/simpleNotif-V4"); - notifDataV4 = JsonNotificationData.instantiateNotifFromJsonFile("/resource-examples/asdc/simpleNotif-V4"); - - // This notification is to test the deployment of volume with nested + an artifact not used (should send notification with DEPLOY_ERROR - distribClientV5= new DistributionClientEmulator("/resource-examples/asdc/simpleNotif-V5"); - notifDataV5 = JsonNotificationData.instantiateNotifFromJsonFile("/resource-examples/asdc/simpleNotif-V5"); - - - distribClientWithoutModuleInfo= new DistributionClientEmulator("/resource-examples/asdc/notif-without-modules-metadata"); - notifDataWithoutModuleInfo = JsonNotificationData.instantiateNotifFromJsonFile("/resource-examples/asdc/notif-without-modules-metadata"); - - - distribClientDNS= new DistributionClientEmulator("/resource-examples/asdc/demo-dns-V1"); - notifDataDNS = JsonNotificationData.instantiateNotifFromJsonFile("/resource-examples/asdc/demo-dns-V1"); - - - distribClientVFW= new DistributionClientEmulator("/resource-examples/asdc/demo-vfw-V1"); - notifDataVFW = JsonNotificationData.instantiateNotifFromJsonFile("/resource-examples/asdc/demo-vfw-V1"); - - - } - - @Test - @OperateOnDeployment("asdc-controller") - public void testNotifWithoutModuleInfo () throws NoSuchAlgorithmException, - IOException, - URISyntaxException, - ArtifactInstallerException, ASDCControllerException, ASDCParametersException { - - - - ASDCController asdcController = new ASDCController("asdc-controller1", distribClientWithoutModuleInfo); - asdcController.initASDC(); - asdcController.treatNotification(notifDataWithoutModuleInfo); - - assertTrue(distribClientWithoutModuleInfo.getDistributionMessageReceived().size() > 0); - - int badDeployment=0; - for (IDistributionStatusMessage message:distribClientWithoutModuleInfo.getDistributionMessageReceived()) { - System.out.println("Message received, URL:"+message.getArtifactURL()+", Value:"+message.getStatus().name()); - if(message.getStatus().equals(DistributionStatusEnum.DEPLOY_ERROR)) { - badDeployment++; - } - } - assertTrue(badDeployment == 3); - - // Check if something has been recorder in DB, as it should not - CatalogDatabase catalogDB = CatalogDatabase.getInstance(); - - HeatTemplate heatTemplate = catalogDB.getHeatTemplate("Whot-nimbus-oam_v1.0.yaml", "1.0", "resourceName-1"); - assertNull(heatTemplate); - } - - private void validateVnfResource(JsonNotificationData inputNotification, List moduleList) { - - CatalogDatabase catalogDB = CatalogDatabase.getInstance(); - - - for (IResourceInstance resource:inputNotification.getResources()) { - VnfResource vnfResourceDB = catalogDB.getVnfResource(inputNotification.getServiceName()+"/"+resource.getResourceInstanceName(), inputNotification.getServiceVersion()); - assertNotNull(vnfResourceDB); - - //assertTrue(vnfResourceDB.getAsdcUuid().equals(resource.getResourceUUID())); - assertTrue(vnfResourceDB.getDescription().equals(inputNotification.getServiceDescription())); - assertTrue(vnfResourceDB.getModelInvariantUuid().equals(resource.getResourceInvariantUUID())); - assertTrue(vnfResourceDB.getModelVersion().equals(resource.getResourceVersion())); - assertTrue(vnfResourceDB.getOrchestrationMode().equals("HEAT")); - assertTrue(vnfResourceDB.getVersion().equals(inputNotification.getServiceVersion())); - //assertTrue(vnfResourceDB.getVnfType().equals(inputNotification.getServiceName()+"/"+resource.getResourceInstanceName())); - //assertTrue(vnfResourceDB.getModelCustomizationName().equals(resource.getResourceInstanceName())); - assertTrue(vnfResourceDB.getModelName().equals(resource.getResourceName())); - //assertTrue(vnfResourceDB.getServiceModelInvariantUUID().equals(inputNotification.getServiceInvariantUUID())); - - for (IVfModuleData module:moduleList) { - - VfModule vfModuleDB = catalogDB.getVfModuleModelName(module.getVfModuleModelName(),inputNotification.getServiceVersion()); - assertNotNull(vfModuleDB); - assertTrue(module.getVfModuleModelName().equals(vfModuleDB.getModelName())); - - // assertTrue((inputNotification.getServiceName()+"/"+resource.getResourceInstanceName()+"::"+vfModuleDB.getModelName()).equals(vfModuleDB.getType())); - // assertTrue(vnfResourceDB.getId()!=0); - //assertNotNull(vfModuleDB.getVnfResourceId()); - - // assertTrue(vnfResourceDB.getId()==vfModuleDB.getVnfResourceId().intValue()); - - for (String artifactUUID:module.getArtifacts()) { - IArtifactInfo artifact = null; - for (IArtifactInfo artifactTemp:resource.getArtifacts()) { - if (artifactTemp.getArtifactUUID().equals(artifactUUID)) { - artifact = artifactTemp; - break; - } - } - assertNotNull(artifact); - - switch (artifact.getArtifactType()) { - case ASDCConfiguration.HEAT: - HeatTemplate heatTemplateDB= catalogDB.getHeatTemplate(vfModuleDB.getHeatTemplateArtifactUUId()); - assertNotNull(heatTemplateDB); - //assertTrue(heatTemplateDB.getAsdcResourceName().equals(resource.getResourceName())); - assertTrue(heatTemplateDB.getAsdcUuid().equals(artifact.getArtifactUUID())); - assertTrue(heatTemplateDB.getDescription().equals(artifact.getArtifactDescription())); - assertTrue(heatTemplateDB.getTemplateBody() != null && !heatTemplateDB.getTemplateBody().isEmpty()); - assertTrue(heatTemplateDB.getParameters().size()>0); - - assertTrue(heatTemplateDB.getTemplateName().equals(artifact.getArtifactName())); - - if (artifact.getArtifactTimeout() != null) { - assertTrue(heatTemplateDB.getTimeoutMinutes()== artifact.getArtifactTimeout().intValue()); - } else { - assertTrue(heatTemplateDB.getTimeoutMinutes()== 240); - } - assertTrue(heatTemplateDB.getVersion().equals(artifact.getArtifactVersion())); - - assertFalse(heatTemplateDB.getTemplateBody().contains("file:///")); - break; - case ASDCConfiguration.HEAT_ENV: - - HeatEnvironment heatEnvironmentDB = catalogDB.getHeatEnvironment(artifact.getArtifactName(), artifact.getArtifactVersion(), inputNotification.getServiceName()+"/"+resource.getResourceInstanceName()); - - assertNotNull(heatEnvironmentDB); -// assertTrue((vfModuleDB.getVolEnvironmentId() != null && vfModuleDB.getVolEnvironmentId().intValue() == heatEnvironmentDB.getId()) -// || (vfModuleDB.getEnvironmentId() != null && vfModuleDB.getEnvironmentId() == heatEnvironmentDB.getId())); -// -// assertTrue(heatEnvironmentDB.getAsdcResourceName().equals(inputNotification.getServiceName()+"/"+resource.getResourceInstanceName())); -// -// assertTrue(heatEnvironmentDB.getAsdcUuid().equals(artifact.getArtifactUUID())); - assertTrue(heatEnvironmentDB.getDescription().equals(artifact.getArtifactDescription())); - assertTrue(heatEnvironmentDB.getVersion().equals(artifact.getArtifactVersion())); - assertTrue(heatEnvironmentDB.getName().equals(artifact.getArtifactName())); - assertTrue(heatEnvironmentDB.getEnvironment() != null); - assertFalse(heatEnvironmentDB.getEnvironment().contains("file:///")); - - break; - case ASDCConfiguration.HEAT_NESTED: - Map listNestedDBMainHeat=new HashMap(); - Map listNestedDBVolHeat=new HashMap(); - - if (vfModuleDB.getHeatTemplateArtifactUUId() != null) { - listNestedDBMainHeat = catalogDB.getNestedTemplates(vfModuleDB.getHeatTemplateArtifactUUId()); - } - if (vfModuleDB.getVolHeatTemplateArtifactUUId() != null) { - listNestedDBVolHeat = catalogDB.getNestedTemplates(vfModuleDB.getVolHeatTemplateArtifactUUId()); - } - - assertTrue(listNestedDBMainHeat.size() > 0 || listNestedDBVolHeat.size() > 0); - - - assertTrue(listNestedDBMainHeat.get(artifact.getArtifactName()) != null - || listNestedDBVolHeat.get(artifact.getArtifactName()) != null); - - HeatTemplate rightNestedTemplateDB = catalogDB.getHeatTemplate(artifact.getArtifactName(), artifact.getArtifactVersion(), resource.getResourceName()); - assertNotNull(rightNestedTemplateDB); - //assertTrue(catalogDB.getNestedHeatTemplate(vfModuleDB.getTemplateId(), rightNestedTemplateDB.getId()) != null || catalogDB.getNestedHeatTemplate(vfModuleDB.getVolTemplateId(), rightNestedTemplateDB.getId()) != null); - - //assertTrue(rightNestedTemplateDB.getAsdcResourceName().equals(resource.getResourceName())); - assertTrue(rightNestedTemplateDB.getAsdcUuid().equals(artifact.getArtifactUUID())); - assertTrue(rightNestedTemplateDB.getDescription().equals(artifact.getArtifactDescription())); - assertTrue(rightNestedTemplateDB.getTemplateBody() != null && !rightNestedTemplateDB.getTemplateBody().isEmpty()); - assertTrue(rightNestedTemplateDB.getTemplateName().equals(artifact.getArtifactName())); - - if (artifact.getArtifactTimeout() != null) { - assertTrue(rightNestedTemplateDB.getTimeoutMinutes()== artifact.getArtifactTimeout().intValue()); - } else { - assertTrue(rightNestedTemplateDB.getTimeoutMinutes()== 240); - } - assertTrue(rightNestedTemplateDB.getVersion().equals(artifact.getArtifactVersion())); - assertFalse(rightNestedTemplateDB.getTemplateBody().contains("file:///")); - - break; - case ASDCConfiguration.HEAT_VOL: - HeatTemplate heatTemplateVolDB = catalogDB.getHeatTemplate(vfModuleDB.getVolHeatTemplateArtifactUUId()); - assertNotNull(heatTemplateVolDB); - - //assertTrue(heatTemplateVolDB.getAsdcResourceName().equals(resource.getResourceName())); - assertTrue(heatTemplateVolDB.getAsdcUuid().equals(artifact.getArtifactUUID())); - assertTrue(heatTemplateVolDB.getDescription().equals(artifact.getArtifactDescription())); - assertTrue(heatTemplateVolDB.getTemplateBody() != null && !heatTemplateVolDB.getTemplateBody().isEmpty()); - assertTrue(heatTemplateVolDB.getTemplateName().equals(artifact.getArtifactName())); - - if (artifact.getArtifactTimeout() != null) { - assertTrue(heatTemplateVolDB.getTimeoutMinutes()== artifact.getArtifactTimeout().intValue()); - } else { - assertTrue(heatTemplateVolDB.getTimeoutMinutes()== 240); - } - assertTrue(heatTemplateVolDB.getVersion().equals(artifact.getArtifactVersion())); - assertFalse(heatTemplateVolDB.getTemplateBody().contains("file:///")); - - break; - case ASDCConfiguration.HEAT_ARTIFACT: - Map heatFilesDB= catalogDB.getHeatFilesForVfModule(vfModuleDB.getModelUUID()); - assertTrue(heatFilesDB.size()>0); - HeatFiles rightHeatFilesDB=heatFilesDB.get( artifact.getArtifactName()); - assertNotNull(rightHeatFilesDB); - - //assertTrue(rightHeatFilesDB.getAsdcResourceName().equals(resource.getResourceName())); - assertTrue(rightHeatFilesDB.getAsdcUuid().equals(artifact.getArtifactUUID())); - assertTrue(rightHeatFilesDB.getDescription().equals(artifact.getArtifactDescription())); - assertTrue(rightHeatFilesDB.getFileBody() != null && !rightHeatFilesDB.getFileBody().isEmpty()); - assertTrue(rightHeatFilesDB.getFileName().equals( artifact.getArtifactName())); - assertTrue(rightHeatFilesDB.getVersion().equals(artifact.getArtifactVersion())); - - break; - default: - break; - - } - } - - } - - } - - Service service = catalogDB.getServiceByModelUUID(inputNotification.getServiceUUID()); - assertNotNull(service); - assertTrue(service.getCreated() !=null && service.getCreated().getTime()>0); - assertTrue(service.getDescription().equals(inputNotification.getServiceDescription())); - assertTrue(service.getModelInvariantUUID().equals(inputNotification.getServiceInvariantUUID())); - assertTrue(service.getModelName().equals(inputNotification.getServiceName())); - assertTrue(service.getModelUUID().equals(inputNotification.getServiceUUID())); - assertTrue(service.getVersion().equals(inputNotification.getServiceVersion())); - - } - - @Test - @OperateOnDeployment("asdc-controller") - public void testNotifsDeployment () throws NoSuchAlgorithmException, - IOException, - URISyntaxException, - ArtifactInstallerException, ASDCControllerException, ASDCParametersException { - - - - ASDCController asdcControllerV1 = new ASDCController("asdc-controller1", distribClientV1); - asdcControllerV1.initASDC(); - asdcControllerV1.treatNotification(notifDataV1); - - assertTrue(distribClientV1.getDistributionMessageReceived().size() > 0); - for (IDistributionStatusMessage message:distribClientV1.getDistributionMessageReceived()) { - System.out.println("Message received, URL:"+message.getArtifactURL()+", Value:"+message.getStatus().name()); - assertTrue(message.getStatus().equals(DistributionStatusEnum.DEPLOY_OK) || message.getStatus().equals(DistributionStatusEnum.DOWNLOAD_OK)); - } - - this.validateVnfResource(notifDataV1,distribClientV1.getListVFModuleMetaData()); - - - - // Try again to load the same notif - ASDCController asdcControllerNewNotif = new ASDCController("asdc-controller1", distribClientV1ForSameNotif); - asdcControllerNewNotif.initASDC(); - asdcControllerNewNotif.treatNotification(notifDataV1); - - for (IDistributionStatusMessage message:distribClientV1ForSameNotif.getDistributionMessageReceived()) { - System.out.println("Message received, URL:"+message.getArtifactURL()+", Value:"+message.getStatus().name()); - assertTrue(message.getStatus().equals(DistributionStatusEnum.ALREADY_DEPLOYED) || message.getStatus().equals(DistributionStatusEnum.ALREADY_DOWNLOADED)); - } - - - // Try again to load same notif but in V2 - ASDCController asdcControllerV2 = new ASDCController("asdc-controller1", distribClientV2); - asdcControllerV2.initASDC(); - asdcControllerV2.treatNotification(notifDataV2); - - for (IDistributionStatusMessage message:distribClientV2.getDistributionMessageReceived()) { - System.out.println("Message received, URL:"+message.getArtifactURL()+", Value:"+message.getStatus().name()); - assertTrue(message.getStatus().equals(DistributionStatusEnum.DEPLOY_OK) || message.getStatus().equals(DistributionStatusEnum.DOWNLOAD_OK)); - } - - this.validateVnfResource(notifDataV2,distribClientV2.getListVFModuleMetaData()); - - - // Try again to load same notif + Script + Volume artifacts and in service V3 - ASDCController asdcControllerV3 = new ASDCController("asdc-controller1", distribClientV3); - asdcControllerV3.initASDC(); - asdcControllerV3.treatNotification(notifDataV3); - - for (IDistributionStatusMessage message:distribClientV3.getDistributionMessageReceived()) { - System.out.println("Message received, URL:"+message.getArtifactURL()+", Value:"+message.getStatus().name()); - assertTrue(message.getStatus().equals(DistributionStatusEnum.DEPLOY_OK) || message.getStatus().equals(DistributionStatusEnum.DOWNLOAD_OK)); - } - - this.validateVnfResource(notifDataV3,distribClientV3.getListVFModuleMetaData()); - - // Try again to load same notif + Script + Volume artifacts and in service V4 - ASDCController asdcControllerV4 = new ASDCController("asdc-controller1", distribClientV4); - asdcControllerV4.initASDC(); - asdcControllerV4.treatNotification(notifDataV4); - - for (IDistributionStatusMessage message:distribClientV4.getDistributionMessageReceived()) { - System.out.println("Message received, URL:"+message.getArtifactURL()+", Value:"+message.getStatus().name()); - assertTrue(message.getStatus().equals(DistributionStatusEnum.DEPLOY_OK) || message.getStatus().equals(DistributionStatusEnum.DOWNLOAD_OK)); - } - - this.validateVnfResource(notifDataV4,distribClientV4.getListVFModuleMetaData()); - - - // Try again with service V5 (Nested template attached to Volume + HEat artifact not used by module), - //this should force the notification DEPLOY_ERROR to be sent for this artifact - ASDCController asdcControllerV5 = new ASDCController("asdc-controller1", distribClientV5); - asdcControllerV5.initASDC(); - asdcControllerV5.treatNotification(notifDataV5); - - for (IDistributionStatusMessage message:distribClientV5.getDistributionMessageReceived()) { - System.out.println("Message received, URL:"+message.getArtifactURL()+", Value:"+message.getStatus().name()); - if ("cloud-nimbus.sh".equals(message.getArtifactURL())) { - assertTrue(message.getStatus().equals(DistributionStatusEnum.DEPLOY_ERROR) || message.getStatus().equals(DistributionStatusEnum.DOWNLOAD_OK)); - } else { - assertTrue(message.getStatus().equals(DistributionStatusEnum.DEPLOY_OK) || message.getStatus().equals(DistributionStatusEnum.DOWNLOAD_OK)); - } - } - - this.validateVnfResource(notifDataV5,distribClientV5.getListVFModuleMetaData()); - - - // Try again with demo DNS - ASDCController asdcControllerDNS = new ASDCController("asdc-controller1", distribClientDNS); - asdcControllerDNS.initASDC(); - asdcControllerDNS.treatNotification(notifDataDNS); - - for (IDistributionStatusMessage message:distribClientDNS.getDistributionMessageReceived()) { - System.out.println("Message received, URL:"+message.getArtifactURL()+", Value:"+message.getStatus().name()); - assertTrue(message.getStatus().equals(DistributionStatusEnum.DEPLOY_OK) || message.getStatus().equals(DistributionStatusEnum.DOWNLOAD_OK)); - } - - this.validateVnfResource(notifDataDNS,distribClientDNS.getListVFModuleMetaData()); - - // Try again with demo VFW - ASDCController asdcControllerVFW = new ASDCController("asdc-controller1", distribClientVFW); - asdcControllerVFW.initASDC(); - asdcControllerVFW.treatNotification(notifDataVFW); - - for (IDistributionStatusMessage message : distribClientVFW.getDistributionMessageReceived()) { - System.out.println("Message received, URL:" + message.getArtifactURL() + ", Value:" + message.getStatus().name()); - assertTrue(message.getStatus().equals(DistributionStatusEnum.DEPLOY_OK) - || message.getStatus().equals(DistributionStatusEnum.DOWNLOAD_OK)); - } - - this.validateVnfResource(notifDataVFW, distribClientVFW.getListVFModuleMetaData()); - - } -} diff --git a/packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/asdc/notif_emulator/DistributionClientEmulator.java b/packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/asdc/notif_emulator/DistributionClientEmulator.java deleted file mode 100644 index b7c506d40b..0000000000 --- a/packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/asdc/notif_emulator/DistributionClientEmulator.java +++ /dev/null @@ -1,200 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * ONAP - SO - * ================================================================================ - * Copyright (C) 2017 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.openecomp.mso.global_tests.asdc.notif_emulator; - -import java.io.File; -import java.io.FileInputStream; -import java.io.IOException; -import java.io.InputStream; -import java.util.LinkedList; -import java.util.List; - -import org.apache.commons.io.IOUtils; -import org.openecomp.mso.asdc.installer.IVfModuleData; -import org.onap.sdc.api.IDistributionClient; -import org.onap.sdc.api.consumer.IComponentDoneStatusMessage; -import org.onap.sdc.api.consumer.IConfiguration; -import org.onap.sdc.api.consumer.IDistributionStatusMessage; -import org.onap.sdc.api.consumer.IFinalDistrStatusMessage; -import org.onap.sdc.api.consumer.INotificationCallback; -import org.onap.sdc.api.consumer.IStatusCallback; -import org.onap.sdc.api.notification.IArtifactInfo; -import org.onap.sdc.api.notification.IVfModuleMetadata; -import org.onap.sdc.api.results.IDistributionClientDownloadResult; -import org.onap.sdc.api.results.IDistributionClientResult; -import org.onap.sdc.impl.DistributionClientDownloadResultImpl; -import org.onap.sdc.impl.DistributionClientResultImpl; -import org.onap.sdc.utils.DistributionActionResultEnum; - -public class DistributionClientEmulator implements IDistributionClient { - - private String resourcePath; - - private List listVFModuleMetaData; - - private List distributionMessageReceived = new LinkedList<>(); - - public DistributionClientEmulator(String notifFolderInResource) { - - resourcePath = notifFolderInResource; - } - - public List getDistributionMessageReceived() { - return distributionMessageReceived; - } - - @Override - public List decodeVfModuleArtifact(byte[] arg0) { - return null; - } - - /* @Override - public List decodeVfModuleArtifact(byte[] arg0) { - try { - listVFModuleMetaData = new ObjectMapper().readValue(arg0, new TypeReference>(){}); - return listVFModuleMetaData; - - } catch (JsonParseException e) { - e.printStackTrace(); - } catch (JsonMappingException e) { - e.printStackTrace(); - } catch (IOException e) { - e.printStackTrace(); - } - return null; - } */ - - public List getListVFModuleMetaData() { - return listVFModuleMetaData; - } - - @Override - public IDistributionClientDownloadResult download (IArtifactInfo arg0) { - - - //String filename = resourcePath+"/artifacts/"+arg0.getArtifactURL(); - String filename = arg0.getArtifactURL(); - System.out.println("Emulating the download from resources files:"+filename); - - InputStream inputStream = null; - - if(arg0.getArtifactName().equals("service_Rg516VmmscSrvc_csar.csar")){ - try{ - inputStream = new FileInputStream(System.getProperty("java.io.tmpdir") + File.separator + "service_Rg516VmmscSrvc_csar.csar"); - }catch(Exception e){ - System.out.println("Error " + e.getMessage()); - } - }else{ - - inputStream = Thread.currentThread().getContextClassLoader().getResourceAsStream(resourcePath + filename); - } - - if (inputStream == null) { - System.out.println("InputStream is NULL for:"+filename); - } - try { - return new DistributionClientDownloadResultImpl(DistributionActionResultEnum.SUCCESS, DistributionActionResultEnum.SUCCESS.name(),arg0.getArtifactName(),IOUtils.toByteArray(inputStream)); - } catch (IOException e) { - - e.printStackTrace(); - } - return null; - } - - @Override - public IConfiguration getConfiguration() { - return null; - } - - @Override - public IDistributionClientResult init(IConfiguration arg0, INotificationCallback arg1) { - return new DistributionClientResultImpl(DistributionActionResultEnum.SUCCESS,DistributionActionResultEnum.SUCCESS.name()); - } - - @Override - public IDistributionClientResult init(IConfiguration arg0, INotificationCallback arg1, IStatusCallback arg2) { - return new DistributionClientResultImpl(DistributionActionResultEnum.SUCCESS,DistributionActionResultEnum.SUCCESS.name()); - } - - @Override - public IDistributionClientResult sendDeploymentStatus(IDistributionStatusMessage arg0) { - this.distributionMessageReceived.add(arg0); - return new DistributionClientResultImpl(DistributionActionResultEnum.SUCCESS,DistributionActionResultEnum.SUCCESS.name()); - } - - @Override - public IDistributionClientResult sendDeploymentStatus(IDistributionStatusMessage arg0, String arg1) { - this.distributionMessageReceived.add(arg0); - return new DistributionClientResultImpl(DistributionActionResultEnum.SUCCESS,DistributionActionResultEnum.SUCCESS.name()); - } - - @Override - public IDistributionClientResult sendDownloadStatus(IDistributionStatusMessage arg0) { - this.distributionMessageReceived.add(arg0); - return new DistributionClientResultImpl(DistributionActionResultEnum.SUCCESS,DistributionActionResultEnum.SUCCESS.name()); - } - - @Override - public IDistributionClientResult sendDownloadStatus(IDistributionStatusMessage arg0, String arg1) { - this.distributionMessageReceived.add(arg0); - return new DistributionClientResultImpl(DistributionActionResultEnum.SUCCESS,DistributionActionResultEnum.SUCCESS.name()); - } - - @Override - public IDistributionClientResult start() { - return new DistributionClientResultImpl(DistributionActionResultEnum.SUCCESS,DistributionActionResultEnum.SUCCESS.name()); - } - - @Override - public IDistributionClientResult stop() { - return new DistributionClientResultImpl(DistributionActionResultEnum.SUCCESS,DistributionActionResultEnum.SUCCESS.name()); - - } - - @Override - public IDistributionClientResult updateConfiguration(IConfiguration arg0) { - return new DistributionClientResultImpl(DistributionActionResultEnum.SUCCESS,DistributionActionResultEnum.SUCCESS.name()); - } - - @Override - public IDistributionClientResult sendComponentDoneStatus(IComponentDoneStatusMessage arg0) { - // TODO Auto-generated method stub - return null; - } - - @Override - public IDistributionClientResult sendComponentDoneStatus(IComponentDoneStatusMessage arg0, String arg1) { - // TODO Auto-generated method stub - return null; - } - - @Override - public IDistributionClientResult sendFinalDistrStatus(IFinalDistrStatusMessage arg0) { - // TODO Auto-generated method stub - return null; - } - - @Override - public IDistributionClientResult sendFinalDistrStatus(IFinalDistrStatusMessage arg0, String arg1) { - // TODO Auto-generated method stub - return null; - } -} diff --git a/packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/asdc/notif_emulator/JsonArtifactInfo.java b/packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/asdc/notif_emulator/JsonArtifactInfo.java deleted file mode 100644 index da8988dab6..0000000000 --- a/packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/asdc/notif_emulator/JsonArtifactInfo.java +++ /dev/null @@ -1,122 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * ONAP - SO - * ================================================================================ - * Copyright (C) 2017 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.openecomp.mso.global_tests.asdc.notif_emulator; -import java.util.HashMap; -import java.util.LinkedList; -import java.util.List; -import java.util.Map; - -import org.onap.sdc.api.notification.IArtifactInfo; - -import com.fasterxml.jackson.annotation.JsonAnySetter; -import com.fasterxml.jackson.annotation.JsonIgnore; - -public class JsonArtifactInfo implements IArtifactInfo { - - @JsonIgnore - private Map artifactsMapByUUID = new HashMap<>(); - - @JsonIgnore - private Map attributesMap = new HashMap<>(); - - public JsonArtifactInfo() { - - } - - public synchronized void addArtifactToUUIDMap (List artifactList) { - for (JsonArtifactInfo artifact:artifactList) { - artifactsMapByUUID.put(artifact.getArtifactUUID(), artifact); - } - - } - - @SuppressWarnings("unused") - @JsonAnySetter - public final void setAttribute(String attrName, Object attrValue) { - if ((null != attrName) && (!attrName.isEmpty()) && (null != attrValue) && (null != attrValue.toString())) { - this.attributesMap.put(attrName,attrValue); - } - } - - - - public Map getArtifactsMapByUUID() { - return artifactsMapByUUID; - } - - @Override - public String getArtifactChecksum() { - return (String)attributesMap.get("artifactCheckSum"); - } - - @Override - public String getArtifactDescription() { - return (String)attributesMap.get("artifactDescription"); - } - - @Override - public String getArtifactName() { - return (String)attributesMap.get("artifactName"); - } - - @Override - public Integer getArtifactTimeout() { - return (Integer)attributesMap.get("artifactTimeout"); - } - - @Override - public String getArtifactType() { - return (String)attributesMap.get("artifactType"); - } - - @Override - public String getArtifactURL() { - return (String)attributesMap.get("artifactURL"); - } - - @Override - public String getArtifactUUID() { - return (String)attributesMap.get("artifactUUID"); - } - - @Override - public String getArtifactVersion() { - return (String)attributesMap.get("artifactVersion"); - } - - @Override - public IArtifactInfo getGeneratedArtifact () { - return artifactsMapByUUID.get(attributesMap.get("generatedArtifact")); - } - - @Override - public List getRelatedArtifacts() { - List listArtifacts = new LinkedList<>(); - List uuidList = (List)attributesMap.get("relatedArtifact"); - if (uuidList != null) { - for(String uuid:uuidList) { - listArtifacts.add(artifactsMapByUUID.get(uuid)); - } - } - return listArtifacts; - } - -} diff --git a/packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/asdc/notif_emulator/JsonArtifactInfoDeserializer.java b/packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/asdc/notif_emulator/JsonArtifactInfoDeserializer.java deleted file mode 100644 index 901c1fcdaa..0000000000 --- a/packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/asdc/notif_emulator/JsonArtifactInfoDeserializer.java +++ /dev/null @@ -1,50 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * ONAP - SO - * ================================================================================ - * Copyright (C) 2017 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.openecomp.mso.global_tests.asdc.notif_emulator; - -import java.io.IOException; -import java.util.List; - -import com.fasterxml.jackson.core.JsonParser; -import com.fasterxml.jackson.core.JsonProcessingException; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.DeserializationContext; -import com.fasterxml.jackson.databind.JsonDeserializer; -import com.fasterxml.jackson.databind.ObjectMapper; - - - -public class JsonArtifactInfoDeserializer extends JsonDeserializer>{ - - @Override - public List deserialize(JsonParser jp, DeserializationContext ctxt) - throws IOException, JsonProcessingException { - List jsonArtifactInfoList = new ObjectMapper().readValue(jp, new TypeReference>(){}); - - // For each artifact add the list of artifact retrieved - // This could be used later to index by UUID - for (JsonArtifactInfo artifactInfo:jsonArtifactInfoList) { - artifactInfo.addArtifactToUUIDMap(jsonArtifactInfoList); - } - return jsonArtifactInfoList; - } - -} diff --git a/packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/asdc/notif_emulator/JsonNotificationData.java b/packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/asdc/notif_emulator/JsonNotificationData.java deleted file mode 100644 index 06ecfda5c0..0000000000 --- a/packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/asdc/notif_emulator/JsonNotificationData.java +++ /dev/null @@ -1,137 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * ONAP - SO - * ================================================================================ - * Copyright (C) 2017 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.openecomp.mso.global_tests.asdc.notif_emulator; - -import java.io.IOException; -import java.io.InputStream; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import org.jboss.shrinkwrap.api.exporter.FileExistsException; -import org.onap.sdc.api.notification.IArtifactInfo; -import org.onap.sdc.api.notification.INotificationData; -import org.onap.sdc.api.notification.IResourceInstance; - -import com.fasterxml.jackson.annotation.JsonAnySetter; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.databind.ObjectMapper; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; - - -public class JsonNotificationData implements INotificationData { - - @JsonIgnore - private Map attributesMap = new HashMap<>(); - - @JsonProperty("serviceArtifacts") - @JsonDeserialize(using=JsonArtifactInfoDeserializer.class) - private List serviceArtifacts; - - @JsonProperty("resources") - @JsonDeserialize(using=JsonResourceInfoDeserializer.class) - private List resourcesList; - - public JsonNotificationData() { - - } - - /** - * Method instantiate a INotificationData implementation from a JSON file. - * - * @param notifFilePath The file path in String - * @return A JsonNotificationData instance - * @throws IOException in case of the file is not readable or not accessible - */ - public static JsonNotificationData instantiateNotifFromJsonFile(String notifFilePath) throws IOException { - - InputStream is = Thread.currentThread().getContextClassLoader().getResourceAsStream(notifFilePath+"/notif-structure.json"); - - if (is == null) { - throw new FileExistsException("Resource Path does not exist: "+notifFilePath); - } - ObjectMapper mapper = new ObjectMapper(); - return mapper.readValue(is, JsonNotificationData.class); - } - - @SuppressWarnings("unused") - @JsonAnySetter - public final void setAttribute(String attrName, Object attrValue) { - if ((null != attrName) && (!attrName.isEmpty()) && (null != attrValue) && (null != attrValue.toString())) { - this.attributesMap.put(attrName,attrValue); - } - } - - @Override - public IArtifactInfo getArtifactMetadataByUUID(String arg0) { - return null; - } - - @Override - public String getDistributionID() { - return (String)this.attributesMap.get("distributionID"); - } - - @Override - public List getResources() { - return resourcesList; - } - - @Override - public List getServiceArtifacts() { - return this.serviceArtifacts; - } - - @Override - public String getServiceDescription() { - return (String)this.attributesMap.get("serviceDescription"); - } - - @Override - public String getServiceInvariantUUID() { - return (String)this.attributesMap.get("serviceInvariantUUID"); - } - - @Override - public String getServiceName() { - return (String)this.attributesMap.get("serviceName"); - } - - @Override - public String getServiceUUID() { - return (String)this.attributesMap.get("serviceUUID"); - } - - @Override - public String getServiceVersion() { - return (String)this.attributesMap.get("serviceVersion"); - } - - @Override - public String getWorkloadContext() { - return (String)this.attributesMap.get("workloadContext"); - } - - @Override - public void setWorkloadContext(String arg0) { - } -} diff --git a/packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/asdc/notif_emulator/JsonResourceInfo.java b/packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/asdc/notif_emulator/JsonResourceInfo.java deleted file mode 100644 index 0bb15f5d8f..0000000000 --- a/packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/asdc/notif_emulator/JsonResourceInfo.java +++ /dev/null @@ -1,105 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * ONAP - SO - * ================================================================================ - * Copyright (C) 2017 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.openecomp.mso.global_tests.asdc.notif_emulator; - -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import org.onap.sdc.api.notification.IArtifactInfo; -import org.onap.sdc.api.notification.IResourceInstance; - -import com.fasterxml.jackson.annotation.JsonAnySetter; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; - -public class JsonResourceInfo implements IResourceInstance { - - @JsonIgnore - private Map attributesMap = new HashMap<>(); - - @JsonProperty("artifacts") - @JsonDeserialize(using=JsonArtifactInfoDeserializer.class) - private List artifacts; - - public JsonResourceInfo() { - - } - - @Override - public List getArtifacts() { - return artifacts; - } - - @Override - public String getResourceInstanceName() { - return (String)attributesMap.get("resourceInstanceName"); - } - - @Override - public String getResourceInvariantUUID() { - return (String)attributesMap.get("resourceInvariantUUID"); - } - - @Override - public String getResourceName() { - return (String)attributesMap.get("resourceName"); - } - - @Override - public String getResourceType() { - return (String)attributesMap.get("resourceType"); - } - - @Override - public String getResourceUUID() { - return (String)attributesMap.get("resourceUUID"); - } - - @Override - public String getResourceVersion() { - return (String)attributesMap.get("resourceVersion"); - } - - @Override - public String getResourceCustomizationUUID() { - return (String)attributesMap.get("resourceCustomizationUUID"); - } - - @Override - public String getSubcategory() { - return (String)attributesMap.get("subCategory"); - } - - @Override - public String getCategory() { - return (String)attributesMap.get("category"); - } - - @SuppressWarnings("unused") - @JsonAnySetter - public final void setAttribute(String attrName, Object attrValue) { - if ((null != attrName) && (!attrName.isEmpty()) && (null != attrValue) && (null != attrValue.toString())) { - this.attributesMap.put(attrName,attrValue); - } - } -} diff --git a/packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/asdc/notif_emulator/JsonResourceInfoDeserializer.java b/packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/asdc/notif_emulator/JsonResourceInfoDeserializer.java deleted file mode 100644 index e3db9de197..0000000000 --- a/packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/asdc/notif_emulator/JsonResourceInfoDeserializer.java +++ /dev/null @@ -1,43 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * ONAP - SO - * ================================================================================ - * Copyright (C) 2017 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.openecomp.mso.global_tests.asdc.notif_emulator; - -import java.io.IOException; -import java.util.List; - -import com.fasterxml.jackson.core.JsonParser; -import com.fasterxml.jackson.core.JsonProcessingException; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.DeserializationContext; -import com.fasterxml.jackson.databind.JsonDeserializer; -import com.fasterxml.jackson.databind.ObjectMapper; - -public class JsonResourceInfoDeserializer extends JsonDeserializer>{ - - @Override - public List deserialize(JsonParser jp, DeserializationContext ctxt) - throws IOException, JsonProcessingException { - List jsonResourceInfoList = new ObjectMapper().readValue(jp, new TypeReference>(){}); - - return jsonResourceInfoList; - } - -} diff --git a/packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/asdc/notif_emulator/JsonVfModuleMetaData.java b/packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/asdc/notif_emulator/JsonVfModuleMetaData.java deleted file mode 100644 index 239324665c..0000000000 --- a/packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/asdc/notif_emulator/JsonVfModuleMetaData.java +++ /dev/null @@ -1,84 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * ONAP - SO - * ================================================================================ - * Copyright (C) 2017 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.openecomp.mso.global_tests.asdc.notif_emulator; - -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import org.onap.sdc.api.notification.IVfModuleMetadata; - -import com.fasterxml.jackson.annotation.JsonAnySetter; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonProperty; - -public class JsonVfModuleMetaData implements IVfModuleMetadata { - - @JsonProperty("artifacts") - private List artifacts; - - @JsonIgnore - private Map attributesMap = new HashMap<>(); - - @Override - public List getArtifacts() { - return artifacts; - } - - @Override - public String getVfModuleModelDescription() { - return (String)attributesMap.get("vfModuleModelDescription"); - } - - @Override - public String getVfModuleModelInvariantUUID() { - return (String)attributesMap.get("vfModuleModelInvariantUUID"); - } - - @Override - public String getVfModuleModelName() { - return (String)attributesMap.get("vfModuleModelName"); - } - - @Override - public String getVfModuleModelUUID() { - return (String)attributesMap.get("vfModuleModelUUID"); - } - - @Override - public String getVfModuleModelVersion() { - return (String)attributesMap.get("vfModuleModelVersion"); - } - - @Override - public boolean isBase() { - return (boolean)attributesMap.get("isBase"); - } - - @SuppressWarnings("unused") - @JsonAnySetter - public final void setAttribute(String attrName, Object attrValue) { - if ((null != attrName) && (!attrName.isEmpty()) && (null != attrValue) && (null != attrValue.toString())) { - this.attributesMap.put(attrName,attrValue); - } - } - -} diff --git a/packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/jmeter/JMeterITCase.java b/packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/jmeter/JMeterITCase.java deleted file mode 100644 index 0bf9eac915..0000000000 --- a/packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/jmeter/JMeterITCase.java +++ /dev/null @@ -1,166 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * ONAP - SO - * ================================================================================ - * Copyright (C) 2017 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.openecomp.mso.global_tests.jmeter; - -import java.io.FileInputStream; -import java.io.IOException; -import java.lang.reflect.Method; -import java.nio.file.Files; -import java.nio.file.Paths; -import java.nio.file.StandardCopyOption; - -import org.apache.jmeter.engine.StandardJMeterEngine; -import org.apache.jmeter.save.SaveService; -import org.apache.jmeter.util.JMeterUtils; -import org.apache.jorphan.collections.HashTree; -import org.jboss.arquillian.container.test.api.Deployment; -import org.jboss.arquillian.container.test.api.RunAsClient; -import org.jboss.arquillian.container.test.api.Testable; -import org.jboss.arquillian.junit.Arquillian; -import org.jboss.shrinkwrap.api.Archive; -import org.jboss.shrinkwrap.api.ShrinkWrap; -import org.jboss.shrinkwrap.api.spec.JavaArchive; -import org.jboss.shrinkwrap.api.spec.WebArchive; -import org.jboss.shrinkwrap.resolver.api.maven.Maven; -import org.junit.After; -import org.junit.AfterClass; -import org.junit.BeforeClass; -import org.junit.Test; -import org.junit.runner.RunWith; - -import org.openecomp.mso.global_tests.ArquillianPackagerForITCases; - -@RunWith(Arquillian.class) -public class JMeterITCase { - - @Deployment(name="mso-api-handler-infra",testable=false) - public static Archive createMsoApiHandlerInfraWarDeployment () { - System.out.println("Deploying ApiHandler Infra WAR on default server"); - return ArquillianPackagerForITCases.createPackageFromExistingOne("../../mso-api-handlers/mso-api-handler-infra/target/", "mso-api-handler-infra*.war", "mso-api-handler-infra.war"); - } - - @Deployment(name="mso-vnf-adapter",testable=false) - public static Archive createMsoVnfAdapterWarDeployment () { - System.out.println("Deploying VNF Adapter WAR on default server"); - return ArquillianPackagerForITCases.createPackageFromExistingOne("../../adapters/mso-vnf-adapter/target/", "mso-vnf-adapter*.war", "mso-vnf-adapter.war"); - } - - @Deployment(name="mso-tenant-adapter",testable=false) - public static Archive createMsoTenantAdapterWarDeployment () { - System.out.println("Deploying Tenant Adapter WAR on default server"); - return ArquillianPackagerForITCases.createPackageFromExistingOne("../../adapters/mso-tenant-adapter/target/", "mso-tenant-adapter*.war", "mso-tenant-adapter.war"); - } - - @Deployment(name="mso-sdnc-adapter",testable=false) - public static Archive createMsoSdncAdapterWarDeployment () { - System.out.println("Deploying SDNC Adapter WAR on default server"); - return ArquillianPackagerForITCases.createPackageFromExistingOne("../../adapters/mso-sdnc-adapter/target/", "mso-sdnc-adapter*.war", "mso-sdnc-adapter.war"); - } - - @Deployment(name="mso-network-adapter",testable=false) - public static Archive createMsoNetworkAdapterWarDeployment () { - System.out.println("Deploying Network Adapter WAR on default server"); - return ArquillianPackagerForITCases.createPackageFromExistingOne("../../adapters/mso-network-adapter/target/", "mso-network-adapter*.war", "mso-network-adapter.war"); - } - - @Deployment(name="mso-requests-db-adapter",testable=false) - public static Archive createMsoRequestsDbAdapterWarDeployment () { - System.out.println("Deploying Requests DB Adapter WAR on default server"); - return ArquillianPackagerForITCases.createPackageFromExistingOne("../../adapters/mso-requests-db-adapter/target/", "mso-requests-db-adapter*.war", "mso-requests-db-adapter.war"); - } - - @Deployment(name="asdc-controller",testable=true) - public static Archive createAsdcControllerWarDeployment () { - System.out.println("Deploying ASDC Controller WAR with additional resources on default server"); - - WebArchive warArchive = (WebArchive)ArquillianPackagerForITCases.createPackageFromExistingOne("../../asdc-controller/target/", "asdc-controller*.war", "asdc-controller.war"); - - // Add the current test class - JavaArchive testclasses = ShrinkWrap.create (JavaArchive.class, "testClasses.jar"); - testclasses.addClasses(JMeterITCase.class); - - warArchive.addAsLibraries(testclasses); - - // BE CAREFUL a settings.xml file must be located in ${home.user}/.m2/settings.xml - warArchive.addAsLibraries(Maven.resolver() - .resolve("org.mockito:mockito-all:1.10.19") - .withoutTransitivity () - .asFile ()); - - // Take one war randomly to make arquilian happy - - Testable.archiveToTest(warArchive); - - - return warArchive; - } - - - @BeforeClass - public static void waitBeforeStart () throws InterruptedException { - System.out.println ("Executing " + JMeterITCase.class.getName ()); - - } - - @Test - @RunAsClient() - public void testJMeter() throws IOException { - // JMeter Engine - StandardJMeterEngine jmeter = new StandardJMeterEngine(); - - - // Initialize Properties, logging, locale, etc. - JMeterUtils.loadJMeterProperties("/tmp/apache-jmeter-2.13/bin/jmeter.properties"); - JMeterUtils.setJMeterHome("/tmp/apache-jmeter-2.13"); - JMeterUtils.initLogging();// you can comment this line out to see extra log messages of i.e. DEBUG level - JMeterUtils.initLocale(); - - // Initialize JMeter SaveService - SaveService.loadProperties(); - - // Load existing .jmx Test Plan - - FileInputStream in = new FileInputStream("./src/test/resources/JMeter/MSO-Perf.jmx"); - HashTree testPlanTree = SaveService.loadTree(in); - testPlanTree.getTree("test variables"); - in.close(); - - // Run JMeter Test - jmeter.configure(testPlanTree); - jmeter.run(); - } - - @AfterClass - public static void afterArquillianTest() { - try { - Files.move (Paths.get ("./jmeter.log"), - Paths.get ("./target/surefire-reports/jmeter.log"), - StandardCopyOption.REPLACE_EXISTING); - - /* Files.move (Paths.get ("./mso-perf.jtl"), - Paths.get ("./target/surefire-reports/mso-perf.log"), - StandardCopyOption.REPLACE_EXISTING);*/ - - } catch (IOException e) { - e.printStackTrace(); - } - } -} diff --git a/packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/logging/LogsCheckerITCase.java b/packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/logging/LogsCheckerITCase.java deleted file mode 100644 index bae9af5cc1..0000000000 --- a/packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/logging/LogsCheckerITCase.java +++ /dev/null @@ -1,108 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * ONAP - SO - * ================================================================================ - * Copyright (C) 2017 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.openecomp.mso.global_tests.logging; - -import static org.junit.Assert.*; - -import java.io.File; -import java.io.IOException; - - -import org.jboss.arquillian.container.test.api.Deployment; -import org.jboss.arquillian.container.test.api.OperateOnDeployment; -import org.jboss.arquillian.container.test.api.RunAsClient; -import org.jboss.arquillian.container.test.api.Testable; -import org.jboss.arquillian.junit.Arquillian; -import org.jboss.shrinkwrap.api.Archive; -import org.jboss.shrinkwrap.api.ShrinkWrap; -import org.jboss.shrinkwrap.api.spec.JavaArchive; -import org.jboss.shrinkwrap.api.spec.WebArchive; -import org.junit.After; -import org.junit.Before; -import org.junit.BeforeClass; -import org.junit.Test; -import org.junit.runner.RunWith; - -import org.openecomp.mso.filesearching.LogFileSearching; -import org.openecomp.mso.global_tests.ArquillianPackagerForITCases; - -@RunWith(Arquillian.class) -public class LogsCheckerITCase { - - - @BeforeClass - public static void waitBeforeStart () throws InterruptedException { - System.out.println ("Executing " + LogsCheckerITCase.class.getName ()); - - } - - @Deployment(name="log-check",testable=true) - public static Archive createAsdcControllerWarDeployment () throws Exception { - // Any war could be used here, we just take that one randomly - // Be careful some WAR does not work when being injected in JBOSS, probably due to Servlet conflict - System.out.println("Deploying ASDC Controller WAR for log checker"); - WebArchive warArchive = (WebArchive)ArquillianPackagerForITCases.createPackageFromExistingOne("../../asdc-controller/target/", "asdc-controller*.war", "asdc-controller.war"); - - JavaArchive testclasses = ShrinkWrap.create (JavaArchive.class, "testClasses.jar"); - - testclasses.addPackage("org.openecomp.mso.filesearching"); - - warArchive.addAsLibraries(testclasses); - - Testable.archiveToTest(warArchive); - return warArchive; - } - - @Before - public void beforeEachTest() { - LogFileSearching.initFile("/tmp/mso-log-checker.log"); - } - - @After - public void afterEachTest() { - LogFileSearching.closeFile(); - } - - @Test - @OperateOnDeployment("log-check") - public void testJbossServerLog() throws IOException { - - File serverLogs = new File("/opt/jboss/standalone/log"); - //File serverLogs = new File("/tmp/jbosslogs/server.log"); - - assertFalse(LogFileSearching.searchInDirectoryForCommonIssues(null, serverLogs)); - - } - - @Test - @OperateOnDeployment("log-check") - public void testMSOLog() throws IOException { - //File serverLogs = new File("/opt/app/mso/jboss-eap-6.2/standalone/log/server.log"); - File msoLogs = new File("/var/log/ecomp/MSO"); - - assertFalse(LogFileSearching.searchInDirectoryForCommonIssues(null, msoLogs)); - - } - - - - -} diff --git a/packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/soapui/SoapUiITCase.java b/packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/soapui/SoapUiITCase.java deleted file mode 100644 index 868de8d089..0000000000 --- a/packages/arquillian-unit-tests/src/test/java/org/openecomp/mso/global_tests/soapui/SoapUiITCase.java +++ /dev/null @@ -1,348 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * ONAP - SO - * ================================================================================ - * Copyright (C) 2017 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.openecomp.mso.global_tests.soapui; - -import static org.junit.Assert.*; - -import java.io.File; -import java.io.IOException; -import java.lang.reflect.Method; -import java.nio.file.Files; -import java.nio.file.Paths; -import java.nio.file.StandardCopyOption; -import java.util.Map; - -import org.jboss.arquillian.container.test.api.Deployment; -import org.jboss.arquillian.container.test.api.RunAsClient; -import org.jboss.arquillian.junit.Arquillian; -import org.jboss.shrinkwrap.api.Archive; -import org.jboss.shrinkwrap.api.ShrinkWrap; -import org.jboss.shrinkwrap.api.spec.WebArchive; -import org.junit.After; -import org.junit.AfterClass; -import org.junit.BeforeClass; -import org.junit.FixMethodOrder; -import org.junit.runners.MethodSorters; -import org.junit.Test; -import org.junit.runner.RunWith; - -import org.openecomp.mso.global_tests.ArquillianPackagerForITCases; -import com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStepResult; -import com.eviware.soapui.model.testsuite.TestAssertion; -import com.eviware.soapui.model.testsuite.TestStepResult.TestStepStatus; -import com.eviware.soapui.tools.SoapUITestCaseRunner; - -@RunWith(Arquillian.class) -@FixMethodOrder(MethodSorters.NAME_ASCENDING) -public class SoapUiITCase { - - private static String jbossHost=System.getProperty("docker.hostname"); - private static String jbossPort="18080"; - - @Deployment(name="mso-api-handler-infra",testable=false) - public static Archive createMsoApiHandlerInfraWarDeployment () { - System.out.println("Deploying ApiHandler Infra WAR on default server"); - return ArquillianPackagerForITCases.createPackageFromExistingOne("../../mso-api-handlers/mso-api-handler-infra/target/", "mso-api-handler-infra*.war", "mso-api-handler-infra.war"); - } - - @Deployment(name="mso-vnf-adapter",testable=false) - public static Archive createMsoVnfAdapterWarDeployment () { - System.out.println("Deploying VNF Adapter WAR on default server"); - return ArquillianPackagerForITCases.createPackageFromExistingOne("../../adapters/mso-vnf-adapter/target/", "mso-vnf-adapter*.war", "mso-vnf-adapter.war"); - } - - @Deployment(name="mso-tenant-adapter",testable=false) - public static Archive createMsoTenantAdapterWarDeployment () { - System.out.println("Deploying Tenant Adapter WAR on default server"); - return ArquillianPackagerForITCases.createPackageFromExistingOne("../../adapters/mso-tenant-adapter/target/", "mso-tenant-adapter*.war", "mso-tenant-adapter.war"); - } - - @Deployment(name="mso-sdnc-adapter",testable=false) - public static Archive createMsoSdncAdapterWarDeployment () { - System.out.println("Deploying SDNC Adapter WAR on default server"); - return ArquillianPackagerForITCases.createPackageFromExistingOne("../../adapters/mso-sdnc-adapter/target/", "mso-sdnc-adapter*.war", "mso-sdnc-adapter.war"); - } - - @Deployment(name="mso-network-adapter",testable=false) - public static Archive createMsoNetworkAdapterWarDeployment () { - System.out.println("Deploying Network Adapter WAR on default server"); - return ArquillianPackagerForITCases.createPackageFromExistingOne("../../adapters/mso-network-adapter/target/", "mso-network-adapter*.war", "mso-network-adapter.war"); - } - - @Deployment(name="mso-requests-db-adapter",testable=false) - public static Archive createMsoRequestsDbAdapterWarDeployment () { - System.out.println("Deploying Requests DB Adapter WAR on default server"); - return ArquillianPackagerForITCases.createPackageFromExistingOne("../../adapters/mso-requests-db-adapter/target/", "mso-requests-db-adapter*.war", "mso-requests-db-adapter.war"); - } - - @Deployment(name="asdc-controller",testable=true) - public static Archive createAsdcControllerWarDeployment () { - System.out.println("Deploying ASDC Controller WAR with additional resources on default server"); - - WebArchive warArchive = (WebArchive)ArquillianPackagerForITCases.createPackageFromExistingOne("../../asdc-controller/target/", "asdc-controller*.war", "asdc-controller.war"); - - // Take one war randomly to make arquilian happy - - - return warArchive; - } - - @Deployment(name = "infrastructure-bpmn", testable = false) - public static Archive createInfraBPMNDeployment() { - System.out.println("Deploying Infrastructure BPMN WAR on default server"); - return ArquillianPackagerForITCases.createPackageFromExistingOne("../../bpmn/MSOInfrastructureBPMN/target/", - "MSOInfrastructureBPMN*.war", "MSOInfrastructureBPMN.war"); - } -/* - @Deployment(name = "SoapUIMocks", testable = false) - public static Archive createSoapUIMocksWarDeployment () { - - File file = new File ("src/test/resources/SoapUIMocks.war"); - - WebArchive archive = ShrinkWrap.create (WebArchive.class, "SoapUIMocks.war"); - - archive.merge ((ShrinkWrap.createFromZipFile (WebArchive.class, file))); - - return archive; - }*/ - - @BeforeClass - public static void waitBeforeStart () throws InterruptedException { - Thread.currentThread().sleep(10000); - System.out.println ("Executing " + SoapUiITCase.class.getName ()); - - } - - @Test - @RunAsClient - public void test01Healthcheck () { - SoapUITestCaseRunner runner = new SoapUITestCaseRunner (); - runner.setSettingsFile("./src/test/resources/SoapUI/soapui-settings.xml"); - runner.setJUnitReport(true); - runner.setProjectFile ("./src/test/resources/SoapUI/Healthcheck-soapui-project.xml"); - runner.setOutputFolder ("./target/surefire-reports"); - String[] properties = new String[7]; - properties[0] = "apihhost="+jbossHost+":"+jbossPort; - properties[1] = "jrahost="+jbossHost+":"+jbossPort; - properties[2] = "userlogin=sitecontrol"; - properties[3] = "userpassword=Domain2.0!"; - properties[4] = "bpmnhost="+jbossHost+":"+jbossPort; - properties[5] = "sitename=mso-docker"; - properties[6] = "enableBpmn=false"; - runner.setProjectProperties (properties); - - try { - runner.setTestSuite ("Healthcheck TestSuite"); - runner.run (); - Map mapResult= runner.getAssertionResults(); - for(Map.Entry entry : mapResult.entrySet()) { - assertTrue(entry.getValue().getStatus().equals(TestStepStatus.OK)); - } - assertTrue (runner.getFailedTests ().size () == 0); - - } catch (Exception e) { - e.printStackTrace (); - fail("Failure in SOAPUI Healthcheck"); - } - } - - @Test - @RunAsClient - public void test02ApiHandlerInfra () { - SoapUITestCaseRunner runner = new SoapUITestCaseRunner (); - runner.setSettingsFile("./src/test/resources/SoapUI/soapui-settings.xml"); - runner.setJUnitReport(true); - runner.setProjectFile ("./src/test/resources/SoapUI/Local-API-Handler-soapui-project.xml"); - runner.setOutputFolder ("./target/surefire-reports"); - String[] properties = new String[3]; - properties[0] = "host="+jbossHost+":"+jbossPort; - properties[1] = "user-infraportal=InfraPortalClient"; - properties[2] = "password-infraportal=password1$"; - - runner.setProjectProperties (properties); - - try { - runner.setTestSuite ("simple_tests_endpoints"); - runner.run (); - Map mapResult= runner.getAssertionResults(); - for(Map.Entry entry : mapResult.entrySet()) { - assertTrue(entry.getValue().getStatus().equals(TestStepStatus.OK)); - } - assertTrue (runner.getFailedTests ().size () == 0); - - } catch (Exception e) { - e.printStackTrace (); - fail("Failure in SOAPUI ApiHandler Infra"); - } - } - - @Test - @RunAsClient - public void test03StartNetworkAdapter () { - SoapUITestCaseRunner runner = new SoapUITestCaseRunner (); - runner.setSettingsFile("./src/test/resources/SoapUI/soapui-settings.xml"); - runner.setJUnitReport(true); - runner.setProjectFile ("./src/test/resources/SoapUI/MSONetworkAdapter-soapui-project.xml"); - runner.setOutputFolder ("./target/surefire-reports"); - String[] properties = new String[1]; - properties[0] = "host="+jbossHost+":"+jbossPort; - runner.setProjectProperties (properties); - - - try { - runner.setTestSuite ("MsoNetworkAdapter TestSuite"); - runner.run (); - - Map mapResult= runner.getAssertionResults(); - for(Map.Entry entry : mapResult.entrySet()) { - assertTrue(entry.getValue().getStatus().equals(TestStepStatus.OK)); - } - assertTrue (runner.getFailedTests ().size () == 0); - - } catch (Exception e) { - e.printStackTrace (); - fail("Failure in SOAPUI NetworkAdapter"); - } - } - - - @Test - @RunAsClient - public void test04StartVnfAdapter () { - SoapUITestCaseRunner runner = new SoapUITestCaseRunner (); - runner.setSettingsFile("./src/test/resources/SoapUI/soapui-settings.xml"); - runner.setJUnitReport(true); - runner.setProjectFile ("./src/test/resources/SoapUI/MSOVnfAdapter-soapui-project.xml"); - runner.setOutputFolder ("./target/surefire-reports"); - String[] properties = new String[1]; - properties[0] = "host="+jbossHost+":"+jbossPort; - runner.setProjectProperties (properties); - - try { - runner.setTestSuite ("MsoVnfAdapter TestSuite"); - runner.run (); - - Map mapResult= runner.getAssertionResults(); - for(Map.Entry entry : mapResult.entrySet()) { - assertTrue(entry.getValue().getStatus().equals(TestStepStatus.OK)); - } - assertTrue (runner.getFailedTests ().size () == 0); - - } catch (Exception e) { - e.printStackTrace (); - fail("Failure in SOAPUI VnfAdapter"); - } - } - - - @Test - @RunAsClient - public void test05StartTenantAdapter () { - SoapUITestCaseRunner runner = new SoapUITestCaseRunner (); - runner.setSettingsFile("./src/test/resources/SoapUI/soapui-settings.xml"); - runner.setJUnitReport(true); - runner.setProjectFile ("./src/test/resources/SoapUI/MSOTenantAdapter-soapui-project.xml"); - runner.setOutputFolder ("./target/surefire-reports"); - String[] properties = new String[3]; - properties[0] = "host="+jbossHost+":"+jbossPort; - properties[1] = "user-bpel=BPELClient"; - properties[2] = "password-bpel=password1$"; - runner.setProjectProperties (properties); - - try { - runner.setTestSuite ("MsoTenantAdapter TestSuite"); - runner.run (); - - Map mapResult= runner.getAssertionResults(); - for(Map.Entry entry : mapResult.entrySet()) { - assertTrue(entry.getValue().getStatus().equals(TestStepStatus.OK)); - } - assertTrue (runner.getFailedTests ().size () == 0); - - } catch (Exception e) { - e.printStackTrace (); - fail("Failure in SOAPUI TenantAdapter"); - } - } - - - @Test - @RunAsClient - public void test06StartRequestDBAdapter () { - SoapUITestCaseRunner runner = new SoapUITestCaseRunner (); - runner.setSettingsFile("./src/test/resources/SoapUI/soapui-settings.xml"); - runner.setJUnitReport(true); - runner.setProjectFile ("./src/test/resources/SoapUI/MsoRequestDB-soapui-project.xml"); - runner.setOutputFolder ("./target/surefire-reports"); - String[] properties = new String[3]; - properties[0] = "host="+jbossHost+":"+jbossPort; - properties[1] = "user-infraportal=InfraPortalClient"; - properties[2] = "password-infraportal=password1$"; - runner.setProjectProperties (properties); - - - try { - runner.setTestSuite ("MsoRequestsDbAdapterImplPortBinding TestSuite"); - runner.run (); - - Map mapResult= runner.getAssertionResults(); - for(Map.Entry entry : mapResult.entrySet()) { - assertTrue(entry.getValue().getStatus().equals(TestStepStatus.OK)); - } - assertTrue (runner.getFailedTests ().size () == 0); - - } catch (Exception e) { - e.printStackTrace (); - fail("Failure in SOAPUI RequestDB adapter"); - } - } - - @Test - @RunAsClient - public void test07MsoConfigEndpoints () { - SoapUITestCaseRunner runner = new SoapUITestCaseRunner (); - runner.setSettingsFile("./src/test/resources/SoapUI/soapui-settings.xml"); - runner.setJUnitReport(true); - runner.setProjectFile ("./src/test/resources/SoapUI/MSOConfig-soapui-project.xml"); - runner.setOutputFolder ("./target/surefire-reports"); - String[] properties = new String[3]; - properties[0] = "host="+jbossHost+":"+jbossPort; - properties[1] = "user-infraportal=InfraPortalClient"; - properties[2] = "password-infraportal=password1$"; - runner.setProjectProperties (properties); - - - try { - runner.setTestSuite ("test_config_endpoints TestSuite"); - runner.run (); - - Map mapResult= runner.getAssertionResults(); - for(Map.Entry entry : mapResult.entrySet()) { - assertTrue(entry.getValue().getStatus().equals(TestStepStatus.OK)); - } - assertTrue (runner.getFailedTests ().size () == 0); - - } catch (Exception e) { - e.printStackTrace (); - fail("Failure in SOAPUI MSOConfig Endpoints"); - } - } -} diff --git a/packages/arquillian-unit-tests/src/test/resources/JMeter/MSO-Perf.jmx b/packages/arquillian-unit-tests/src/test/resources/JMeter/MSO-Perf.jmx deleted file mode 100644 index 5f9325838e..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/JMeter/MSO-Perf.jmx +++ /dev/null @@ -1,866 +0,0 @@ - - - - - - false - false - - - - - - - - - - MSO_HOST - localhost - The host/ip where to send the MSO queries - = - - - MSO_PORT - 18080 - The port where to send the mso queries - = - - - USER_CSI - CSIClient - The csi queriy user to use - = - - - PASSWORD_CSI - password1$ - The csi query password to use - = - - - USER_GUI - GUIClient - The gui queriy user to use - = - - - PASSWORD_GUI - password1$ - The gui query password to use - = - - - - - - - - http://${MSO_HOST}:${MSO_PORT}/ecomp/mso/v1/services/ - ${USER_CSI} - ${PASSWORD_CSI} - - - - - http://${MSO_HOST}:${MSO_PORT}/ecomp/mso/v2/services/features/ - ${USER_GUI} - ${PASSWORD_GUI} - - - - - http://${MSO_HOST}:${MSO_PORT}/ecomp/mso/v1/requests/services/ - ${USER_GUI} - ${PASSWORD_GUI} - - - - - http://${MSO_HOST}:${MSO_PORT}/ecomp/mso/v1/requests/services/features - ${USER_GUI} - ${PASSWORD_GUI} - - - - - http://${MSO_HOST}:${MSO_PORT}/ecomp/mso/v1/requests/ - ${USER_GUI} - ${PASSWORD_GUI} - - - - - - - - continue - - false - 1000 - - 1 - 60 - 1448375429000 - 1448375429000 - false - - - - - - 0 - - 1 - REQUEST_ID - - false - - - - 0 - - 1 - SERVICE_ID - - false - - - - 0 - - 1 - FEATURE_ID - - false - - - - true - - - - false - <service-request xmlns="http://org.openecomp/mso/request/layer3serviceactivate/schema/v1" xmlns:msolayer3="http://org.openecomp/mso/request/layer3/schema/v1" xmlns:msoservtypes="http://org.openecomp/mso/request/types/v1"> -<msoservtypes:request-information> -<msoservtypes:request-id>test${REQUEST_ID}-service</msoservtypes:request-id> -<msoservtypes:request-action>Layer3ServiceActivateRequest</msoservtypes:request-action> -<msoservtypes:source>OMX</msoservtypes:source> -<msoservtypes:notification-url>https://localhost:22443/Services/com/cingular/csi/sdn/SendManagedNetworkStatusNotification.jws</msoservtypes:notification-url> -<msoservtypes:order-number>5051560</msoservtypes:order-number> -<msoservtypes:order-version>1</msoservtypes:order-version> -</msoservtypes:request-information> -<msoservtypes:service-information> -<msoservtypes:service-type>SDN-ETHERNET-INTERNET</msoservtypes:service-type> -<msoservtypes:service-instance-id>serv-id${SERVICE_ID}</msoservtypes:service-instance-id> -<msoservtypes:subscriber-name>ST E2E Test50565_13000050565</msoservtypes:subscriber-name> -</msoservtypes:service-information> -<service-parameters> -<msolayer3:l2-homing-information> -<msolayer3:evc-name>AS/VLXM/003717//SW</msolayer3:evc-name> -<msolayer3:topology>MultiPoint</msolayer3:topology> -<msolayer3:preferred-aic-clli>MTSNJA4LCP1</msolayer3:preferred-aic-clli> -</msolayer3:l2-homing-information> -<msolayer3:internet-service-information> -<msolayer3:internet-evc-access-information> -<msolayer3:internet-evc-speed-value>8</msolayer3:internet-evc-speed-value> -<msolayer3:internet-evc-speed-units>Mbps</msolayer3:internet-evc-speed-units> -<msolayer3:ip-version>ds</msolayer3:ip-version> -</msolayer3:internet-evc-access-information> -<msolayer3:vr-lan> -<msolayer3:routing-protocol>none</msolayer3:routing-protocol> -<msolayer3:vr-lan-interface> -<msolayer3:vr-designation>primary</msolayer3:vr-designation> -<msolayer3:v4-vr-lan-prefix>10.172.125.0</msolayer3:v4-vr-lan-prefix> -<msolayer3:v4-vr-lan-prefix-length>28</msolayer3:v4-vr-lan-prefix-length> -<msolayer3:v6-vr-lan-prefix>2001:112a:86c6:0045:1007:8a5d:0412:9179</msolayer3:v6-vr-lan-prefix> -<msolayer3:v6-vr-lan-prefix-length>64</msolayer3:v6-vr-lan-prefix-length> -<msolayer3:v4-public-lan-prefixes> -<msolayer3:t-provided-v4-lan-public-prefixes> -<msolayer3:request-index>1</msolayer3:request-index> -<msolayer3:v4-lan-public-prefix>18.181.120.12</msolayer3:v4-lan-public-prefix> -<msolayer3:v4-lan-public-prefix-length>28</msolayer3:v4-lan-public-prefix-length> -</msolayer3:t-provided-v4-lan-public-prefixes> -</msolayer3:v4-public-lan-prefixes> -<msolayer3:v6-public-lan-prefixes> -<msolayer3:t-provided-v6-lan-public-prefixes> -<msolayer3:request-index>1</msolayer3:request-index> -<msolayer3:v6-lan-public-prefix>2022:0cf7:87a6:0048:1008:8a4c:0373:1048</msolayer3:v6-lan-public-prefix> -<msolayer3:v6-lan-public-prefix-length>64</msolayer3:v6-lan-public-prefix-length> -</msolayer3:t-provided-v6-lan-public-prefixes> -</msolayer3:v6-public-lan-prefixes> - -<msolayer3:dhcp> -<msolayer3:v4-dhcp-server-enabled>Y</msolayer3:v4-dhcp-server-enabled> -<msolayer3:v6-dhcp-server-enabled>Y</msolayer3:v6-dhcp-server-enabled> -<msolayer3:use-v4-default-pool>N</msolayer3:use-v4-default-pool> -<msolayer3:use-v6-default-pool>N</msolayer3:use-v6-default-pool> -</msolayer3:dhcp> -<msolayer3:pat> -<msolayer3:v4-pat-enabled>Y</msolayer3:v4-pat-enabled> -<msolayer3:use-v4-default-pool>N</msolayer3:use-v4-default-pool> -</msolayer3:pat> -<msolayer3:firewall-lite> -<msolayer3:stateful-firewall-lite-v4-enabled>Y</msolayer3:stateful-firewall-lite-v4-enabled> -<msolayer3:stateful-firewall-lite-v6-enabled>Y</msolayer3:stateful-firewall-lite-v6-enabled> -</msolayer3:firewall-lite> -</msolayer3:vr-lan-interface> -</msolayer3:vr-lan> -</msolayer3:internet-service-information> -</service-parameters> -</service-request> - = - - - - ${MSO_HOST} - ${MSO_PORT} - 10000 - 30000 - - UTF-8 - /ecomp/mso/v1/services/ - POST - false - false - true - false - HttpClient4 - false - - - - - - - false - if (prev.getResponseCode().equals("500") == true) { - prev.setResponseOK(); - - /* the same is - prev.setSuccessful(true); - prev.setResponseCodeOK(); - prev.setResponseMessageOK(); - */ -} - - - - - true - - - - false - <feature-request - xmlns="http://org.openecomp/mso/request/layer3serviceactivate/schema/v1" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:msolayer3="http://org.openecomp/mso/request/layer3/schema/v1" - xmlns:msoservtypes="http://org.openecomp/mso/request/types/v1"> - <msoservtypes:request-information> - <msoservtypes:request-id>test${REQUEST_ID}-feature</msoservtypes:request-id> - <msoservtypes:request-action>ChangeFeatureActivateRequest</msoservtypes:request-action> - <msoservtypes:source>OMX</msoservtypes:source> - <msoservtypes:notification-url>https://localhost:22443/Services/com/cingular/csi/sdn/SendManagedNetworkStatusNotification.jws</msoservtypes:notification-url> - <msoservtypes:order-number>5051560</msoservtypes:order-number> - <msoservtypes:order-version>1</msoservtypes:order-version> - </msoservtypes:request-information> - <msoservtypes:service-information> - <msoservtypes:service-type>SDN-ETHERNET-INTERNET</msoservtypes:service-type> - <msoservtypes:service-instance-id>serv-id${SERVICE_ID}</msoservtypes:service-instance-id> - <msoservtypes:subscriber-name>ST E2E Test50565_13000050565</msoservtypes:subscriber-name> - </msoservtypes:service-information> - <msoservtypes:feature-information> - <msoservtypes:feature-type>FIREWALL-LITE</msoservtypes:feature-type> - <msoservtypes:feature-instance-id>feature-id${FEATURE_ID}</msoservtypes:feature-instance-id> - <msoservtypes:feature-yang-model>ST E2E Test50565_13000050565</msoservtypes:feature-yang-model> - </msoservtypes:feature-information> - </feature-request> - - = - - - - ${MSO_HOST} - ${MSO_PORT} - 10000 - 30000 - - UTF-8 - /ecomp/mso/v2/services/features/ - POST - false - false - true - false - HttpClient4 - false - - - - - - - false - if (prev.getResponseCode().equals("500") == true) { - prev.setResponseOK(); - - /* the same is - prev.setSuccessful(true); - prev.setResponseCodeOK(); - prev.setResponseMessageOK(); - */ -} - - - - - - - - ${MSO_HOST} - ${MSO_PORT} - 10000 - 30000 - - UTF-8 - /ecomp/mso/v1/requests/test${REQUEST_ID}-service - GET - false - false - true - false - HttpClient4 - false - - - - - - - - ${MSO_HOST} - ${MSO_PORT} - 10000 - 30000 - - UTF-8 - /ecomp/mso/v1/requests/test${REQUEST_ID}-feature - GET - false - false - true - false - HttpClient4 - false - - - - - - - - ${MSO_HOST} - ${MSO_PORT} - 10000 - 30000 - - UTF-8 - /ecomp/mso/v1/requests/services/serv-id${SERVICE_ID} - GET - false - false - true - false - HttpClient4 - false - - - - - - - - ${MSO_HOST} - ${MSO_PORT} - 10000 - 30000 - - UTF-8 - /ecomp/mso/v1/requests/services/features/feature-id${FEATURE_ID} - GET - false - false - true - false - HttpClient4 - false - - - - - false - - saveConfig - - - true - true - true - - true - true - true - true - false - true - true - false - false - false - false - false - false - false - false - 0 - true - true - - - - true - - - - false - - saveConfig - - - true - true - true - - true - true - true - true - false - true - true - false - false - true - false - false - false - false - false - 0 - true - true - - - /tmp/mso-perf.jtl - true - - - - - continue - - false - 1 - - 1 - 60 - 1448375429000 - 1448375429000 - false - - - - - - 0 - - 1 - SERVICE_ID - - false - - - - true - - - - false - <service-request xmlns="http://org.openecomp/mso/request/layer3serviceactivate/schema/v1" xmlns:msolayer3="http://org.openecomp/mso/request/layer3/schema/v1" xmlns:msoservtypes="http://org.openecomp/mso/request/types/v1"> -<msoservtypes:request-information> -<msoservtypes:request-id>test${SERVICE_ID}-service</msoservtypes:request-id> -<msoservtypes:request-action>Layer3ServiceActivateRequest</msoservtypes:request-action> -<msoservtypes:source>OMX</msoservtypes:source> -<msoservtypes:notification-url>https://localhost:22443/Services/com/cingular/csi/sdn/SendManagedNetworkStatusNotification.jws</msoservtypes:notification-url> -<msoservtypes:order-number>5051560</msoservtypes:order-number> -<msoservtypes:order-version>1</msoservtypes:order-version> -</msoservtypes:request-information> -<msoservtypes:service-information> -<msoservtypes:service-type>SDN-ETHERNET-INTERNET</msoservtypes:service-type> -<msoservtypes:service-instance-id>serv-id0</msoservtypes:service-instance-id> -<msoservtypes:subscriber-name>ST E2E Test50565_13000050565</msoservtypes:subscriber-name> -</msoservtypes:service-information> -<service-parameters> -<msolayer3:l2-homing-information> -<msolayer3:evc-name>AS/VLXM/003717//SW</msolayer3:evc-name> -<msolayer3:topology>MultiPoint</msolayer3:topology> -<msolayer3:preferred-aic-clli>MTSNJA4LCP1</msolayer3:preferred-aic-clli> -</msolayer3:l2-homing-information> -<msolayer3:internet-service-information> -<msolayer3:internet-evc-access-information> -<msolayer3:internet-evc-speed-value>8</msolayer3:internet-evc-speed-value> -<msolayer3:internet-evc-speed-units>Mbps</msolayer3:internet-evc-speed-units> -<msolayer3:ip-version>ds</msolayer3:ip-version> -</msolayer3:internet-evc-access-information> -<msolayer3:vr-lan> -<msolayer3:routing-protocol>none</msolayer3:routing-protocol> -<msolayer3:vr-lan-interface> -<msolayer3:vr-designation>primary</msolayer3:vr-designation> -<msolayer3:v4-vr-lan-prefix>10.172.125.0</msolayer3:v4-vr-lan-prefix> -<msolayer3:v4-vr-lan-prefix-length>28</msolayer3:v4-vr-lan-prefix-length> -<msolayer3:v6-vr-lan-prefix>2001:112a:86c6:0045:1007:8a5d:0412:9179</msolayer3:v6-vr-lan-prefix> -<msolayer3:v6-vr-lan-prefix-length>64</msolayer3:v6-vr-lan-prefix-length> -<msolayer3:v4-public-lan-prefixes> -<msolayer3:t-provided-v4-lan-public-prefixes> -<msolayer3:request-index>1</msolayer3:request-index> -<msolayer3:v4-lan-public-prefix>18.181.120.12</msolayer3:v4-lan-public-prefix> -<msolayer3:v4-lan-public-prefix-length>28</msolayer3:v4-lan-public-prefix-length> -</msolayer3:t-provided-v4-lan-public-prefixes> -</msolayer3:v4-public-lan-prefixes> -<msolayer3:v6-public-lan-prefixes> -<msolayer3:t-provided-v6-lan-public-prefixes> -<msolayer3:request-index>1</msolayer3:request-index> -<msolayer3:v6-lan-public-prefix>2022:0cf7:87a6:0048:1008:8a4c:0373:1048</msolayer3:v6-lan-public-prefix> -<msolayer3:v6-lan-public-prefix-length>64</msolayer3:v6-lan-public-prefix-length> -</msolayer3:t-provided-v6-lan-public-prefixes> -</msolayer3:v6-public-lan-prefixes> - -<msolayer3:dhcp> -<msolayer3:v4-dhcp-server-enabled>Y</msolayer3:v4-dhcp-server-enabled> -<msolayer3:v6-dhcp-server-enabled>Y</msolayer3:v6-dhcp-server-enabled> -<msolayer3:use-v4-default-pool>N</msolayer3:use-v4-default-pool> -<msolayer3:use-v6-default-pool>N</msolayer3:use-v6-default-pool> -</msolayer3:dhcp> -<msolayer3:pat> -<msolayer3:v4-pat-enabled>Y</msolayer3:v4-pat-enabled> -<msolayer3:use-v4-default-pool>N</msolayer3:use-v4-default-pool> -</msolayer3:pat> -<msolayer3:firewall-lite> -<msolayer3:stateful-firewall-lite-v4-enabled>Y</msolayer3:stateful-firewall-lite-v4-enabled> -<msolayer3:stateful-firewall-lite-v6-enabled>Y</msolayer3:stateful-firewall-lite-v6-enabled> -</msolayer3:firewall-lite> -</msolayer3:vr-lan-interface> -</msolayer3:vr-lan> -</msolayer3:internet-service-information> -</service-parameters> -</service-request> - = - - - - ${MSO_HOST} - ${MSO_PORT} - 10000 - 30000 - - UTF-8 - /ecomp/mso/v1/services/ - POST - false - false - true - false - HttpClient4 - false - - - - - true - - saveConfig - - - true - true - true - - true - true - true - true - false - true - true - false - false - false - false - false - false - false - false - 0 - true - true - - - - - - - false - - saveConfig - - - true - true - true - - true - true - true - true - false - true - true - false - false - false - false - false - false - false - false - 0 - true - true - - - - - - - - - - - - Select Statement - Store as String - - - - - - - continue - - false - 1 - - 1 - 60 - 1448375429000 - 1448375429000 - false - - - - - - 0 - - 1 - SERVICE_ID - - false - - - - true - - - - false - <service-request xmlns="http://org.openecomp/mso/request/layer3serviceactivate/schema/v1" xmlns:msolayer3="http://org.openecomp/mso/request/layer3/schema/v1" xmlns:msoservtypes="http://org.openecomp/mso/request/types/v1"> -<msoservtypes:request-information> -<msoservtypes:request-id>test${SERVICE_ID}-service</msoservtypes:request-id> -<msoservtypes:request-action>Layer3ServiceActivateRequest</msoservtypes:request-action> -<msoservtypes:source>OMX</msoservtypes:source> -<msoservtypes:notification-url>https://localhost:22443/Services/com/cingular/csi/sdn/SendManagedNetworkStatusNotification.jws</msoservtypes:notification-url> -<msoservtypes:order-number>5051560</msoservtypes:order-number> -<msoservtypes:order-version>1</msoservtypes:order-version> -</msoservtypes:request-information> -<msoservtypes:service-information> -<msoservtypes:service-type>SDN-ETHERNET-INTERNET</msoservtypes:service-type> -<msoservtypes:service-instance-id>serv-id0</msoservtypes:service-instance-id> -<msoservtypes:subscriber-name>ST E2E Test50565_13000050565</msoservtypes:subscriber-name> -</msoservtypes:service-information> -<service-parameters> -<msolayer3:l2-homing-information> -<msolayer3:evc-name>AS/VLXM/003717//SW</msolayer3:evc-name> -<msolayer3:topology>MultiPoint</msolayer3:topology> -<msolayer3:preferred-aic-clli>MTSNJA4LCP1</msolayer3:preferred-aic-clli> -</msolayer3:l2-homing-information> -<msolayer3:internet-service-information> -<msolayer3:internet-evc-access-information> -<msolayer3:internet-evc-speed-value>8</msolayer3:internet-evc-speed-value> -<msolayer3:internet-evc-speed-units>Mbps</msolayer3:internet-evc-speed-units> -<msolayer3:ip-version>ds</msolayer3:ip-version> -</msolayer3:internet-evc-access-information> -<msolayer3:vr-lan> -<msolayer3:routing-protocol>none</msolayer3:routing-protocol> -<msolayer3:vr-lan-interface> -<msolayer3:vr-designation>primary</msolayer3:vr-designation> -<msolayer3:v4-vr-lan-prefix>10.172.125.0</msolayer3:v4-vr-lan-prefix> -<msolayer3:v4-vr-lan-prefix-length>28</msolayer3:v4-vr-lan-prefix-length> -<msolayer3:v6-vr-lan-prefix>2001:112a:86c6:0045:1007:8a5d:0412:9179</msolayer3:v6-vr-lan-prefix> -<msolayer3:v6-vr-lan-prefix-length>64</msolayer3:v6-vr-lan-prefix-length> -<msolayer3:v4-public-lan-prefixes> -<msolayer3:t-provided-v4-lan-public-prefixes> -<msolayer3:request-index>1</msolayer3:request-index> -<msolayer3:v4-lan-public-prefix>18.181.120.12</msolayer3:v4-lan-public-prefix> -<msolayer3:v4-lan-public-prefix-length>28</msolayer3:v4-lan-public-prefix-length> -</msolayer3:t-provided-v4-lan-public-prefixes> -</msolayer3:v4-public-lan-prefixes> -<msolayer3:v6-public-lan-prefixes> -<msolayer3:t-provided-v6-lan-public-prefixes> -<msolayer3:request-index>1</msolayer3:request-index> -<msolayer3:v6-lan-public-prefix>2022:0cf7:87a6:0048:1008:8a4c:0373:1048</msolayer3:v6-lan-public-prefix> -<msolayer3:v6-lan-public-prefix-length>64</msolayer3:v6-lan-public-prefix-length> -</msolayer3:t-provided-v6-lan-public-prefixes> -</msolayer3:v6-public-lan-prefixes> - -<msolayer3:dhcp> -<msolayer3:v4-dhcp-server-enabled>Y</msolayer3:v4-dhcp-server-enabled> -<msolayer3:v6-dhcp-server-enabled>Y</msolayer3:v6-dhcp-server-enabled> -<msolayer3:use-v4-default-pool>N</msolayer3:use-v4-default-pool> -<msolayer3:use-v6-default-pool>N</msolayer3:use-v6-default-pool> -</msolayer3:dhcp> -<msolayer3:pat> -<msolayer3:v4-pat-enabled>Y</msolayer3:v4-pat-enabled> -<msolayer3:use-v4-default-pool>N</msolayer3:use-v4-default-pool> -</msolayer3:pat> -<msolayer3:firewall-lite> -<msolayer3:stateful-firewall-lite-v4-enabled>Y</msolayer3:stateful-firewall-lite-v4-enabled> -<msolayer3:stateful-firewall-lite-v6-enabled>Y</msolayer3:stateful-firewall-lite-v6-enabled> -</msolayer3:firewall-lite> -</msolayer3:vr-lan-interface> -</msolayer3:vr-lan> -</msolayer3:internet-service-information> -</service-parameters> -</service-request> - = - - - - ${MSO_HOST} - ${MSO_PORT} - 10000 - 30000 - - UTF-8 - /ecomp/mso/v1/services/ - POST - false - false - true - false - HttpClient4 - false - - - - - true - - saveConfig - - - true - true - true - - true - true - true - true - false - true - true - false - false - false - false - false - false - false - false - 0 - true - true - - - - - - - false - - saveConfig - - - true - true - true - - true - true - true - true - false - true - true - false - false - false - false - false - false - false - false - 0 - true - true - - - - - - - - - - - - Select Statement - Store as String - - - - - - - - diff --git a/packages/arquillian-unit-tests/src/test/resources/SoapUI/Healthcheck-soapui-project.xml b/packages/arquillian-unit-tests/src/test/resources/SoapUI/Healthcheck-soapui-project.xml deleted file mode 100644 index 6215d0c5ea..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/SoapUI/Healthcheck-soapui-project.xml +++ /dev/null @@ -1,115 +0,0 @@ - -http://localhost:8080enabletrueQUERYtruesiteName${#Project#sitename}TEMPLATE${#Project#sitename}text/html;charset=utf-8405 401 404htmltext/plain200dataapplication/jsontext/plain500datatext/html200html<xml-fragment/>http://${#Project#apihhost}http://localhost/ecomp/mso/infra/setStatus${#Project#userlogin}${#Project#userpassword}No AuthorizationenablesiteNameenabletrueQUERYtruesiteName${#Project#sitename}TEMPLATE${#Project#sitename}text/html;charset=utf-8405 401htmltext/plain200dataapplication/jsontext/plain500data0data<xml-fragment/>http://${#Project#apihhost}http://localhost/ecomp/mso/infra/setStatus${#Project#userlogin}${#Project#userpassword}No AuthorizationenablesiteNameenabletrueQUERYtruesiteName${#Project#sitename}TEMPLATE${#Project#sitename}text/html;charset=utf-8405 401 403htmltext/plain200dataapplication/json0data0data<xml-fragment/>http://${#Project#apihhost}http://localhost/ecomp/mso/infra/setStatus${#Project#userlogin}${#Project#userpassword}BasicBasicGlobal HTTP SettingsenablesiteNameenabletrueQUERYtruesiteName${#Project#sitename}TEMPLATE${#Project#sitename}text/html;charset=utf-8405 401 403htmltext/plain200dataapplication/json0datatext/plain500data<xml-fragment/>http://${#Project#apihhost}http://localhost/ecomp/mso/infra/setStatus${#Project#userlogin}${#Project#userpassword}BasicBasicGlobal HTTP SettingsenablesiteNameenabletrueQUERYtruesiteName${#Project#sitename}TEMPLATE${#Project#sitename}text/html;charset=utf-8405 404 401htmltext/plain200dataapplication/json<xml-fragment/>http://${#Project#jrahost}http://localhost/ecomp/mso/infra/setStatus${#Project#userlogin}${#Project#userpassword}BasicBasicGlobal HTTP SettingsenablesiteNameenabletrueQUERYtruesiteName${#Project#sitename}TEMPLATE${#Project#sitename}text/html;charset=utf-8405 404htmltext/plain200dataapplication/json<xml-fragment/>http://${#Project#jrahost}http://localhost/ecomp/mso/infra/setStatus${#Project#userlogin}${#Project#userpassword}BasicBasicGlobal HTTP SettingsenablesiteNameenabletrueQUERYtruesiteName${#Project#sitename}TEMPLATE${#Project#sitename}text/html;charset=utf-8405 404 401htmltext/plain200dataapplication/json<xml-fragment/>http://${#Project#jrahost}http://localhost/ecomp/mso/infra/setStatus${#Project#userlogin}${#Project#userpassword}BasicBasicGlobal HTTP SettingsenablesiteNameenabletrueQUERYtruesiteName${#Project#sitename}TEMPLATE${#Project#sitename}text/html;charset=utf-8405 404 401htmltext/plain200dataapplication/json<xml-fragment/>http://${#Project#jrahost}http://localhost/ecomp/mso/infra/setStatus${#Project#userlogin}${#Project#userpassword}BasicBasicGlobal HTTP SettingsenablesiteNameenabletrueQUERYtruesiteName${#Project#sitename}TEMPLATE${#Project#sitename}text/html;charset=utf-8405 404 401htmltext/plain200dataapplication/json<xml-fragment/>http://${#Project#jrahost}http://localhost/ecomp/mso/infra/setStatus${#Project#userlogin}${#Project#userpassword}BasicBasicGlobal HTTP SettingsenablesiteNameenabletrueQUERYtruesiteName${#Project#sitename}TEMPLATE${#Project#sitename}text/html;charset=utf-8405 404htmltext/plain200dataapplication/json<xml-fragment/>http://${#Project#jrahost}http://localhost/ecomp/mso/infra/setStatus${#Project#userlogin}${#Project#userpassword}BasicBasicGlobal HTTP SettingsenablesiteNameenabletrueQUERYtruesiteName${#Project#sitename}TEMPLATE${#Project#sitename}text/html;charset=utf-8405 404htmltext/plain200dataapplication/json<xml-fragment/>http://${#Project#jrahost}http://localhost/ecomp/mso/infra/setStatus${#Project#userlogin}${#Project#userpassword}BasicBasicGlobal HTTP SettingsenablesiteNameenabletrueQUERYtruesiteName${#Project#sitename}TEMPLATE${#Project#sitename}text/html;charset=utf-8405 404 403htmltext/plain200dataapplication/jsontext/plain500data0data<xml-fragment/>http://${#Project#jrahost}http://localhost/ecomp/mso/infra/setStatus${#Project#userlogin}${#Project#userpassword}BasicBasicGlobal HTTP SettingsenablesiteNamehttp://localhost:8080enableBpmnQUERY0datatext/html200htmltext/html503html<xml-fragment/>http://${#Project#apihhost}http://localhost/ecomp/mso/infra/globalhealthcheckNo AuthorizationenableBpmnenableBpmnQUERY0data0data0datatext/html503htmltext/html200html<xml-fragment/>http://${#Project#jrahost}http://localhost/adapters/rest/globalhealthcheckNo AuthorizationenableBpmnhttp://${#Project#jrahost}text/html200htmltext/html503html0data0data0data0datatext/html;charset=utf-8500html<xml-fragment/>http://${#Project#jrahost}http://localhost/networks/admin/healthcheckNo Authorizationtext/html200htmltext/html503html<xml-fragment/>truehttp://${#Project#jrahost}http://localhost/adapters/rest/healthcheckNo Authorizationtext/html200htmltext/html503html0datatext/html;charset=utf-8500 404html<xml-fragment/>http://${#Project#jrahost}http://localhost/vnfs/rest/healthcheckNo Authorization0data0datatext/html200htmltext/html503html<xml-fragment/>http://${#Project#jrahost}http://localhost/tenants/admin/healthcheckNo Authorizationtext/html200htmltext/html503html0datatext/html;charset=utf-8404html<xml-fragment/>http://${#Project#apihhost}http://localhost/ecomp/mso/infra/healthcheckNo Authorizationtext/html200htmltext/html503html0data<xml-fragment/>http://${#Project#apihhost}http://localhost/asdc/healthcheckNo Authorizationnot used in Arquilian as not same repoapplication/jsonapplication/json500 503heal:Faulttext/html;charset=utf-8400 404 405htmlapplication/json200heal:Response0data0data0datatext/html200htmltext/html404html<xml-fragment/>http://${#Project#bpmnhost}{"variables":{}}localhost/mso/async/services/HealthCheckNo Authorizationtext/html200htmltext/html503html0data0data0data0data200data200data200data200data0data0data0data0data0data<xml-fragment/>http://${#Project#apihhost}http://localhost/ecomp/mso/healthcheckNo Authorizationnot used in Arquilian as not same repoapplication/jsonapplication/json500 503heal:Faulttext/html;charset=utf-8400 404htmlapplication/json200heal:Response0data0data0data<xml-fragment/>http://${#Project#bpmnhost}{"variables":{"requestId":{"value":"test","type":"String"}}}localhost/mso/async/services/HealthCheckNo Authorizationtext/html200htmlhttp://${#Project#jrahost}No Authorizationhttp://192.168.126.130:8080text/xml;charset=ISO-8859-1200soapenv:Envelopeapplication/xmlsoapenv:Envelopetext/xml;charset=ISO-8859-1500soapenv:Envelopetext/html;charset=utf-8404html<xml-fragment/>http://${#Project#apihhost} - - - -${#Project#sitename} - - -]]>http://localhost/dbadapters/RequestsDbAdapterNo Authorizationhttp://localhost:8080text/html200html<xml-fragment/>http://${#Project#jrahost}http://localhost/adapters/rest/nodehealthcheckNo Authorizationtext/html200htmltext/html;charset=utf-8401htmltext/html503html<xml-fragment/>http://${#Project#apihhost}http://localhost/adapters/rest/nodehealthcheckNo Authorization0datatext/html200htmlhttp://localhost:8080No AuthorizationenableQUERYhttp://${#Project#jrahost}No AuthorizationenableenableQUERYtext/plain200datahttp://${#Project#jrahost}No AuthorizationenableenableQUERYhttp://${#Project#jrahost}No AuthorizationenableenableQUERYhttp://${#Project#jrahost}No AuthorizationenableenableQUERYhttp://${#Project#apihhost}No AuthorizationenableenableQUERYhttp://${#Project#apihhost}No AuthorizationenableenableQUERYhttp://${#Project#apihhost}No AuthorizationenableenableQUERY<xml-fragment/>http://${#Project#bpmnhost}No AuthorizationenableSEQUENTIAL<xml-fragment/>http://${#Project#apihhost}http://localhost/dbadapters/logging/debug200${#Project#msoclient}${#Project#msoclientpassword}BasicBasicGlobal HTTP Settingsenable<xml-fragment/>http://${#Project#apihhost}http://localhost/asdc/logging/debug200${#Project#msoclient}${#Project#msoclientpassword}BasicBasicGlobal HTTP Settingsenable<xml-fragment/>UTF-8http://${#Project#jrahost}http://localhost/networks/rest/logging/debug200${#Project#msoclient}${#Project#msoclientpassword}BasicBasicGlobal HTTP Settings<xml-fragment/>UTF-8http://${#Project#jrahost}http://localhost/tenantss/rest/logging/debug200${#Project#msoclient}${#Project#msoclientpassword}BasicBasicGlobal HTTP Settings<xml-fragment/>http://${#Project#jrahost}http://localhost/vnfs/rest/logging/debug200${#Project#msoclient}${#Project#msoclientpassword}BasicBasicGlobal HTTP Settingsenable<xml-fragment/>http://${#Project#jrahost}http://localhost/adapters/rest/logging/debug200 -${#Project#msoclient}${#Project#msoclientpassword}BasicBasicGlobal HTTP Settingsenable<xml-fragment/>http://${#Project#apihhost}http://localhost/ecomp/mso/infra/logging/debug200${#Project#msoclient}${#Project#msoclientpassword}BasicBasicGlobal HTTP Settingsenable<xml-fragment/>http://${#Project#apihhost}http://localhost/ecomp/mso/infra/logging/debug200${#Project#msoclient}${#Project#msoclientpassword}BasicBasicGlobal HTTP Settingsenable<xml-fragment/>http://${#Project#apihhost} - - - -${#Project#sitename} - - -]]>http://localhost/dbadapters/RequestsDbAdapter<return>true</return>falsefalse${#Project#dbadapteruser}${#Project#dbadapterpassword}BasicBasicGlobal HTTP Settings<xml-fragment/>http://${#Project#apihhost}http://localhost/adapters/rest/nodehealthcheck200No Authorization<xml-fragment/>http://${#Project#jrahost}http://localhost/adapters/rest/nodehealthcheck200No Authorization<xml-fragment/>UTF-8http://${#Project#jrahost}http://http//$%7B200No Authorization<xml-fragment/>http://${#Project#apihhost}http://localhost/ecomp/mso/infra/globalhealthcheck200No AuthorizationenableBpmn<xml-fragment/>http://${#Project#jrahost}http://localhost/networks/admin/healthcheck200No Authorization<xml-fragment/>http://${#Project#apihhost}http://localhost/ecomp/mso/healthcheck200No Authorization<xml-fragment/>http://${#Project#bpmnhost}{"variables":{}}localhost/mso/async/services/HealthCheck200No Authorization<xml-fragment/>UTF-8http://${#Project#jrahost}http://localhost/mso/common/healthcheck200No Authorization<xml-fragment/>http://${#Project#jrahost}http://localhost/ecomp/mso/infra/setStatus200${#Project#userlogin}${#Project#userpassword}BasicBasicGlobal HTTP SettingsenablesiteName<xml-fragment/>http://${#Project#apihhost} - - - -${#Project#sitename} - - -]]>http://localhost/dbadapters/RequestsDbAdapter<return>true</return>falsefalse${#Project#dbadapteruser}${#Project#dbadapterpassword}BasicBasicGlobal HTTP Settings<xml-fragment/>http://${#Project#jrahost}http://localhost/adapters/rest/nodehealthcheck200No Authorization<xml-fragment/>http://${#Project#apihhost}http://localhost/ecomp/mso/infra/globalhealthcheck200No AuthorizationenableBpmn<xml-fragment/>http://${#Project#jrahost}http://localhost/adapters/rest/globalhealthcheck200No AuthorizationenableBpmn<xml-fragment/>http://${#Project#jrahost}http://localhost/networks/admin/healthcheck200No Authorization<xml-fragment/>http://${#Project#jrahost}http://localhost/adapters/rest/healthcheck200No Authorization<xml-fragment/>http://${#Project#jrahost}http://localhost/vnfs/admin/healthcheck200No Authorization<xml-fragment/>http://${#Project#jrahost}http://localhost/tenants/admin/healthcheck200No Authorization<xml-fragment/>http://${#Project#apihhost}http://localhost/ecomp/mso/infra/healthcheck200No Authorization<xml-fragment/>http://${#Project#apihhost}http://localhost/asdc/healthcheck200No Authorization<xml-fragment/>http://${#Project#apihhost}http://localhost/ecomp/mso/infra/setStatus200${#Project#userlogin}${#Project#userpassword}No AuthorizationenablesiteName<xml-fragment/>http://${#Project#apihhost}http://localhost/adapters/rest/nodehealthcheck503No Authorization<xml-fragment/>http://${#Project#jrahost}http://localhost/adapters/rest/nodehealthcheck503No Authorization<xml-fragment/>UTF-8http://${#Project#jrahost}http://http//$%7B503No Authorization<xml-fragment/>http://${#Project#apihhost} - - - -${#Project#sitename} - - -]]>http://localhost/dbadapters/RequestsDbAdapter<return>false</return>falsefalse${#Project#dbadapteruser}${#Project#dbadapterpassword}BasicBasicGlobal HTTP Settings<xml-fragment/>http://${#Project#apihhost}http://localhost/ecomp/mso/infra/globalhealthcheck503No Authorization<xml-fragment/>http://${#Project#apihhost}http://localhost/ecomp/mso/healthcheck503No Authorization<xml-fragment/>http://${#Project#jrahost}http://localhost/adapters/rest/globalhealthcheck503No AuthorizationenableBpmn<xml-fragment/>http://${#Project#apihhost}http://localhost/ecomp/mso/infra/setStatus200${#Project#userlogin}${#Project#userpassword}No AuthorizationenablesiteName<xml-fragment/>http://${#Project#apihhost} - - - -${#Project#sitename} - - -]]>http://localhost/dbadapters/RequestsDbAdapter<return>true</return>falsefalse${#Project#dbadapteruser}${#Project#dbadapterpassword}BasicBasicGlobal HTTP Settings<xml-fragment/>http://${#Project#apihhost}http://localhost/ecomp/mso/infra/setStatus200${#Project#userlogin}${#Project#userpassword}BasicBasicGlobal HTTP SettingsenablesiteName<xml-fragment/>http://${#Project#bpmnhost}{"variables":{}}localhost/mso/async/services/HealthCheck503No Authorization<xml-fragment/>http://${#Project#apihhost} - - - -${#Project#sitename} - - -]]>http://localhost/dbadapters/RequestsDbAdapter<return>false</return>falsefalse${#Project#dbadapteruser}${#Project#dbadapterpassword}BasicBasicGlobal HTTP Settings<xml-fragment/>http://${#Project#apihhost}http://localhost/ecomp/mso/infra/setStatus200${#Project#userlogin}${#Project#userpassword}BasicBasicGlobal HTTP SettingsenablesiteName<xml-fragment/>http://${#Project#apihhost} - - - -${#Project#sitename} - - -]]>http://localhost/dbadapters/RequestsDbAdapter<return>true</return>falsefalse${#Project#dbadapteruser}${#Project#dbadapterpassword}BasicBasicGlobal HTTP Settings<xml-fragment/>http://${#Project#jrahost}http://localhost/ecomp/mso/infra/setStatus200${#Project#userlogin}${#Project#userpassword}BasicBasicGlobal HTTP SettingsenablesiteName<xml-fragment/>http://${#Project#apihhost} - - - -${#Project#sitename} - - -]]>http://localhost/dbadapters/RequestsDbAdapter<return>false</return>falsefalse${#Project#dbadapteruser}${#Project#dbadapterpassword}BasicBasicGlobal HTTP Settings<xml-fragment/>http://${#Project#jrahost}http://localhost/ecomp/mso/infra/setStatus200${#Project#userlogin}${#Project#userpassword}BasicBasicGlobal HTTP SettingsenablesiteName<xml-fragment/>http://${#Project#apihhost} - - - -${#Project#sitename} - - -]]>http://localhost/dbadapters/RequestsDbAdapter<return>true</return>falsefalse${#Project#dbadapteruser}${#Project#dbadapterpassword}BasicBasicGlobal HTTP Settings<xml-fragment/>http://${#Project#jrahost}http://localhost/ecomp/mso/infra/setStatus200${#Project#userlogin}${#Project#userpassword}BasicBasicGlobal HTTP SettingsenablesiteName<xml-fragment/>http://${#Project#apihhost} - - - -${#Project#sitename} - - -]]>http://localhost/dbadapters/RequestsDbAdapter<return>false</return>falsefalse${#Project#dbadapteruser}${#Project#dbadapterpassword}BasicBasicGlobal HTTP Settings<xml-fragment/>http://${#Project#jrahost}http://localhost/ecomp/mso/infra/setStatus200${#Project#userlogin}${#Project#userpassword}BasicBasicGlobal HTTP SettingsenablesiteName<xml-fragment/>http://${#Project#apihhost} - - - -${#Project#sitename} - - -]]>http://localhost/dbadapters/RequestsDbAdapter<return>true</return>falsefalse${#Project#dbadapteruser}${#Project#dbadapterpassword}BasicBasicGlobal HTTP Settings<xml-fragment/>http://${#Project#jrahost}http://localhost/ecomp/mso/infra/setStatus200${#Project#userlogin}${#Project#userpassword}BasicBasicGlobal HTTP SettingsenablesiteName<xml-fragment/>http://${#Project#apihhost} - - - -${#Project#sitename} - - -]]>http://localhost/dbadapters/RequestsDbAdapter<return>false</return>falsefalse${#Project#dbadapteruser}${#Project#dbadapterpassword}BasicBasicGlobal HTTP Settings<xml-fragment/>http://${#Project#jrahost}http://localhost/ecomp/mso/infra/setStatus200${#Project#userlogin}${#Project#userpassword}BasicBasicGlobal HTTP SettingsenablesiteName<xml-fragment/>http://${#Project#apihhost} - - - -${#Project#sitename} - - -]]>http://localhost/dbadapters/RequestsDbAdapter<return>true</return>falsefalse${#Project#dbadapteruser}${#Project#dbadapterpassword}BasicBasicGlobal HTTP Settings<xml-fragment/>http://${#Project#jrahost}http://localhost/ecomp/mso/infra/setStatus200${#Project#userlogin}${#Project#userpassword}BasicBasicGlobal HTTP SettingsenablesiteName<xml-fragment/>http://${#Project#apihhost} - - - -${#Project#sitename} - - -]]>http://localhost/dbadapters/RequestsDbAdapter<return>true</return>falsefalse${#Project#dbadapteruser}${#Project#dbadapterpassword}BasicBasicGlobal HTTP Settings<xml-fragment/>http://${#Project#jrahost}http://localhost/ecomp/mso/infra/setStatus200${#Project#userlogin}${#Project#userpassword}BasicBasicGlobal HTTP SettingsenablesiteName<xml-fragment/>http://${#Project#apihhost} - - - -${#Project#sitename} - - -]]>http://localhost/dbadapters/RequestsDbAdapter<return>false</return>falsefalse${#Project#dbadapteruser}${#Project#dbadapterpassword}BasicBasicGlobal HTTP Settingshttp://${#Project#jrahost}http://localhost/adapters/rest/globalhealthcheck503No AuthorizationenableBpmnhttp://${#Project#jrahost}http://localhost/networks/admin/healthcheck503No Authorization<xml-fragment/>http://${#Project#jrahost}http://localhost/adapters/rest/healthcheck503No Authorization<xml-fragment/>http://${#Project#jrahost}http://localhost/vnfs/admin/healthcheck503No Authorization<xml-fragment/>http://${#Project#jrahost}http://localhost/tenants/admin/healthcheck503No Authorization<xml-fragment/>http://${#Project#apihhost}http://localhost/ecomp/mso/infra/healthcheck503No Authorization<xml-fragment/>http://${#Project#apihhost}http://localhost/asdc/healthcheck503No Authorization<xml-fragment/>http://${#Project#jrahost}http://localhost/ecomp/mso/infra/setStatus200${#Project#userlogin}${#Project#userpassword}BasicBasicGlobal HTTP SettingsenablesiteName<xml-fragment/>http://${#Project#apihhost} - - - -${#Project#sitename} - - -]]>http://localhost/dbadapters/RequestsDbAdapter<return>true</return>falsefalse${#Project#dbadapteruser}${#Project#dbadapterpassword}BasicBasicGlobal HTTP Settings<xml-fragment/>http://${#Project#apihhost}http://localhost/adapters/rest/nodehealthcheck200No Authorization<xml-fragment/>http://${#Project#jrahost}http://localhost/adapters/rest/globalhealthcheck200No AuthorizationenableBpmnhttp://${#Project#jrahost}http://localhost/tenants/admin/healthcheck200No Authorization<xml-fragment/>http://${#Project#apihhost}http://localhost/asdc/healthcheck200No Authorizationapihhostlocalhost:8080jrahostlocalhost:8080userloginsitecontroluserpasswordDomain2.0!bpmnhostlocalhost:8080sitenamemso-dockerenableBpmndbadapteruserBPELClientdbadapterpasswordpassword1$msoclientMSOClientmsoclientpasswordpassword1$ \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/SoapUI/Local-API-Handler-soapui-project.xml b/packages/arquillian-unit-tests/src/test/resources/SoapUI/Local-API-Handler-soapui-project.xml deleted file mode 100755 index 76fc567891..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/SoapUI/Local-API-Handler-soapui-project.xml +++ /dev/null @@ -1,2097 +0,0 @@ - -http://localhost:8080application/xmlv1:service-requesttext/html500htmlapplication/xml500 400 503 404 502 409v1:service-responseapplication/xml202v1:service-responsetext/html;charset=utf-8401 404 403 405 500html0data0data0data0data0data0data0data0data0data0data0data0data0data0data0data<xml-fragment/>http://${#Project#host} - -155415ab-b4a7-4382-b4c6-d17d950565 -Layer3ServiceActivateRequest -OMX -https://localhost:22443/Services/com/cingular/csi/sdn/SendManagedNetworkStatusNotification.jws -5051560 -1 - - -SDN-ETHERNET-INTERNET -HI/VLXM/003717//SW_INTERNET -ST E2E Test50565_13000050565 - - - -AS/VLXM/003717//SW -MultiPoint -MTSNJA4LCP1 - - - -8 -Mbps -ds - - -none - -primary -10.172.125.0 -28 -2001:112a:86c6:0045:1007:8a5d:0412:9179 -64 - - -1 -18.181.120.12 -28 - - - - -1 -2022:0cf7:87a6:0048:1008:8a4c:0373:1048 -64 - - - - -Y -Y -N -N - - -Y -N - - -Y -Y - - - - - -]]>http://localhost/ecomp/mso/v1/services${#Project#user-csi}${#Project#password-csi}BasicBasicGlobal HTTP Settings<xml-fragment/>http://${#Project#host} - - ChgActsm519-501 - ChangeLayer3ServiceActivateRequest - OMX - https://localhost:22443/Services/com/cingular/csi/sdn/SendManagedNetworkStatusNot -ification.jws - 051815-1005 - 2 - - - SDN-ETHERNET-INTERNET - TL/VLXM/003717//SW_INTERNET - Gamma Gamma E2E Test_051815_50 - - - - - 20 - Mbps - ds - - - none - - primary - 10.192.70.254 - 24 - 2620:0:10d0:0:ffff:ffff:ffff:fffe - 64 - 12.189.96.168 - 2001:1890:12e3:2cb:: - - - 1 - 10.192.70.252 - 223.233.247.1 - 32 - - - - - 1 - 2620:0:10d0:0:ffff:ffff:ffff:fffc - 2057:0eb4:85a5:0047:1002:8a8e:0371:7331 - 48 - - - - - Y - Y - Y - 10.192.70.254 - 24 - - 10.192.70.252 - - - Y - 2620:0:10d0:0:ffff:ffff:ffff:fffe - 64 - - 2620:0:10d0:0:ffff:ffff:ffff:fffd - - - - - Y - N - - - Y - Y - - - - 223.233.247.1 - 32 - 10.192.70.252 - - - 223.234.242.1 - 32 - 10.192.70.253 - - - 2057:0eb4:85a5:0047:1002:8a8e:0371:7331 - 48 - 2620:0:10d0:0:ffff:ffff:ffff:fffc - - - 2057:0eb4:85a5:0047:1002:8a8e:0371:7332 - 48 - 2620:0:10d0:0:ffff:ffff:ffff:fffd - - - - - - - - ]]>http://localhost/ecomp/mso/v1/services/${#Project#user-csi}${#Project#password-csi}BasicBasicGlobal HTTP Settingsapplication/xmlv1:service-requesttext/html500htmlapplication/xml500 400 503 404 502v1:service-responseapplication/xml202v1:service-responsetext/html;charset=utf-8401 404 403 405 500html0data0data0data0data0data0data0data0data0data0data0data0data0data0data0data<xml-fragment/>http://${#Project#host} - - 155415ab-b4a7-4382-b4c6-d17d950565 - FeatureChangeActivateRequest - OMX - https://localhost:22443/Services/com/cingular/csi/sdn/SendManagedNetworkStatusNotification.jws - 5051560 - 1 - - - SDN-ETHERNET-INTERNET - HI/VLXM/003717//SW_INTERNET - ST E2E Test50565_13000050565 - - - FIREWALL-LITE - HI/VLXM/003717//SW_INTERNET - ST E2E Test50565_13000050565 - - -]]>http://localhost/ecomp/mso/v1/services/feature${#Project#user-gui}${#Project#password-gui}BasicBasicGlobal HTTP Settings<xml-fragment/>http://${#Project#host} - - requestid12392 - ChangeFeatureActivateRequest - OMX - http://localhost:9096/CSINotify - 123123 - 1 - - - SDN-ETHERNET-INTERNET - AS/VLXM/000212//SB_INTERNET - StevesPizzaPlace15 - - - FIREWALL-LITE - i chi - http://com/att/svc/mis/firewall-lite-gui - 2015-05-15 - - - - test - Y - - - -]]>http://localhost/ecomp/mso/v1/services/feature${#Project#user-gui}${#Project#password-gui}BasicBasicGlobal HTTP Settingsrequest-idTEMPLATEapplication/xmlv1:service-requesttext/html500htmlapplication/xml500 400 503 404v1:service-responseapplication/xml202v1:service-responsetext/html;charset=utf-8401 404 403 405 500html0data0data0data0data0data0data0data0data0data0data0data0data0data0data0data*/*200v1:query-response<xml-fragment/>http://${#Project#host} - - 155415ab-b4a7-4382-b4c6-d17d950565 - FeatureChangeActivateRequest - OMX - https://localhost:22443/Services/com/cingular/csi/sdn/SendManagedNetworkStatusNotification.jws - 5051560 - 1 - - - SDN-ETHERNET-INTERNET - HI/VLXM/003717//SW_INTERNET - ST E2E Test50565_13000050565 - - - FIREWALL-LITE - HI/VLXM/003717//SW_INTERNET - ST E2E Test50565_13000050565 - - -]]>http://localhost/ecomp/mso/v1/services/feature${#Project#user-csi}${#Project#password-csi}BasicBasicGlobal HTTP Settingsrequest-idfeature-instance-idTEMPLATEapplication/xmlv1:service-requesttext/html500htmlapplication/xml500 400 503 404v1:service-responseapplication/xml202v1:service-responsetext/html;charset=utf-8401 404 403 405 500html0data0data0data0data0data0data0data0data0data0data0data0data0data0data0data*/*200v1:query-responses<xml-fragment/>http://${#Project#host} - - 155415ab-b4a7-4382-b4c6-d17d950565 - FeatureChangeActivateRequest - OMX - https://localhost:22443/Services/com/cingular/csi/sdn/SendManagedNetworkStatusNotification.jws - 5051560 - 1 - - - SDN-ETHERNET-INTERNET - HI/VLXM/003717//SW_INTERNET - ST E2E Test50565_13000050565 - - - FIREWALL-LITE - HI/VLXM/003717//SW_INTERNET - ST E2E Test50565_13000050565 - - -]]>http://localhost/ecomp/mso/v1/services/feature${#Project#user-gui}${#Project#password-gui}BasicBasicGlobal HTTP Settingsfeature-instance-idservice-instance-idTEMPLATEapplication/xmlv1:service-requesttext/html500htmlapplication/xml500 400 503 404v1:service-responseapplication/xml202v1:service-responsetext/html;charset=utf-8401 404 403 405 500html0data0data0data0data0data0data0data0data0data0data0data0data0data0data0data400data*/*200v1:query-responses<xml-fragment/>http://${#Project#host} - - 155415ab-b4a7-4382-b4c6-d17d950565 - FeatureChangeActivateRequest - OMX - https://localhost:22443/Services/com/cingular/csi/sdn/SendManagedNetworkStatusNotification.jws - 5051560 - 1 - - - SDN-ETHERNET-INTERNET - HI/VLXM/003717//SW_INTERNET - ST E2E Test50565_13000050565 - - - FIREWALL-LITE - HI/VLXM/003717//SW_INTERNET - ST E2E Test50565_13000050565 - - -]]>http://localhost/ecomp/mso/v1/services/feature${#Project#user-csi}${#Project#password-csi}BasicBasicGlobal HTTP Settingsservice-instance-idservice-instance-idQUERYfeature-instance-idQUERYapplication/xmlv1:service-requesttext/html500htmlapplication/xml500 400 503 404v1:service-responseapplication/xml202v1:service-responsetext/html;charset=utf-8401 404 403 405 500html0data0data0data0data0data0data0data0data0data0data0data0data0data0data0data*/*200v1:query-responses<xml-fragment/>http://${#Project#host} - - 155415ab-b4a7-4382-b4c6-d17d950565 - FeatureChangeActivateRequest - OMX - https://localhost:22443/Services/com/cingular/csi/sdn/SendManagedNetworkStatusNotification.jws - 5051560 - 1 - - - SDN-ETHERNET-INTERNET - HI/VLXM/003717//SW_INTERNET - ST E2E Test50565_13000050565 - - - FIREWALL-LITE - HI/VLXM/003717//SW_INTERNET - ST E2E Test50565_13000050565 - - -]]>http://localhost/ecomp/mso/v1/services/feature${#Project#user-gui}${#Project#password-gui}BasicBasicGlobal HTTP Settingsservice-instance-idfeature-instance-idapplication/xmlv1:service-requesttext/html500htmlapplication/xml500 400 503 404 502v1:service-responseapplication/xml202v1:service-responsetext/html;charset=utf-8401 404 403 405 500html0data0data0data0data0data0data0data0data0data0data0data0data0data<xml-fragment/>http://${#Project#host} - - - tns:request-id - GetAicNodesRequest - tns:source - 0 - - - SDN-ETHERNET-INTERNET - tns:global-customer-id - - 0 - 0.0 - 0.0 - - - - 0 - Mbps - -]]>http://localhost/ecomp/mso/v1/services${#Project#user-csi}${#Project#password-csi}BasicBasicGlobal HTTP Settingsapplication/xmlv1:service-requesttext/html500htmlapplication/xml500 400 503 404 502 409v1:service-responseapplication/xml202v1:service-responsetext/html;charset=utf-8401 404 403 405 500html0data0data0data0data0data0data0data0data0data0data0data0data0data0data0data0data0data0data0data0data0data0data0data0data0data0data0data0data0data0data0data0data<xml-fragment/>http://${#Project#host} - - 3d878a8e-51fa-44aa-8cb5-a56ae9352252 - CREATE - PORTAL - - - yjvnfvmsc - VPE - SDN-ETHERNET-INTERNET - AUSTXAALCP1 - 276b95b6d2b04e2e830c976eb70c9405 - - - -]]>http://localhost/ecomp/mso/v1/services${#Project#user-csi}${#Project#password-csi}BasicBasicGlobal HTTP Settingsvnf-typeQUERYservice-typeQUERYaic-node-clliQUERYtenant-idQUERYvolume-group-idQUERYvolume-group-nameQUERY*/*200v1:vnf-requeststext/html;charset=utf-8405htmlhttp://localhost:8080No Authorizationvnf-typeservice-typeaic-node-cllitenant-idvolume-group-idvolume-group-namevnf-roleQUERYtext/html;charset=utf-8401 403 404 500html*/*200v1:vnf-types<xml-fragment/>http://${#Project#host}http://localhost/ecomp/mso/infra/V1/vnf-types${#Project#user-infraportal}${#Project#password-infraportal}BasicBasicGlobal HTTP Settingsvnf-rolenetwork-typeQUERYtenant-idQUERYservice-typeQUERYaic-node-clliQUERYtext/html;charset=utf-8401 403 404 500html*/*200v1:vnf-types<xml-fragment/>http://${#Project#host}http://localhost/ecomp/mso/infra/V1/vnf-types${#Project#user-infraportal}${#Project#password-infraportal}BasicBasicGlobal HTTP Settingsnetwork-typetenant-idservice-typeaic-node-clliapplication/xml400 500 409v1:network-requestapplication/json0data0dataapplication/xmlv1:network-requestapplication/xml202v1:network-request<xml-fragment/>http://localhost:8080 - CREATE - init-status-string - 1 - 100 - 999 - PORTAL - - - 84fb3c78-7d4a-4297-9892-c4519fcc0552 - Cricket_OCS_protected_net_0 - vlan - 0 - RDM2WAGPLCP - ccd3946adf8e46ccb516fbb0a35db9e2 - str1234 - - - 0 - - - - 0 - - -]]>No Authorizationtext/html;charset=utf-8401 403 404 500html*/*200v1:vnf-types<xml-fragment/>http://${#Project#host}http://.21.125.49/ecomp/mso/infra/V1/vnf-types${#Project#user-infraportal}${#Project#password-infraportal}BasicBasicGlobal HTTP Settingsrequest-idTEMPLATE*/*200v1:network-request<xml-fragment/>http://localhost:8080No Authorizationrequest-idTEMPLATE*/*200v1:vnf-requesttext/html;charset=utf-8404 400htmlapplication/octet-stream200v1:vnf-requesthttp://localhost:8080No AuthorizationtenantIdQUERYvnf-typeQUERY*/*200v1:network-requestapplication/jsonv1:volume-requesttext/html;charset=utf-8401 403htmlapplication/xmlv1:volume-requestapplication/xml400 501v1:volume-requestapplication/xml202v1:volume-request<xml-fragment/>http://localhost:8080 - - - cfbca420-14d5-4e68-ad84-b56715c946f4 - DELETE_VF_MODULE_VOL - PORTAL - - - Nimbus_LU2_PXTC_Svc/PXTC_v5 1 - PXTC_v5::module-1 - true - a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb - rdm3 - eecd15e8e7ee46c3bbc2096f0924f4c4 - da9e0bdf-7d88-4111-bcad-8b72e3a5e601 - - -]]>${#Project#user-csi}${#Project#user-csi}BasicBasicGlobal HTTP Settingstext/html;charset=utf-8404 405html*/*200v1:volume-requestshttp://localhost:8080No AuthorizationtenantIdvnf-typeapplication/jsonapplication/json400 409 500v2:Faultapplication/json202v2:Response0datatext/html;charset=UTF-8401html0data0data0data0data0data0data0data0data0data0data0data<xml-fragment/>http://${#Project#host}{ - "requestDetails": { - "modelInfo": { - "modelType": "service", - "modelInvariantId": "ff3514e3-5a33-55df-13ab-12abad84e7ff", - "modelNameVersionId": "fe6985cd-ea33-3346-ac12-ab121484a3fe", - "modelName": "dns-service", - "modelVersion": "1.0" - }, - "subscriberInfo": { - "globalSubscriberId": "subscriber-1", - "subscriberName": "testSubscriber" - }, - "requestInfo": { - "instanceName": "DNS_TEST", - "source": "VID", - "suppressRollback": true - }, - "requestParameters": { - "subscriptionServiceType": "MOG", - "userParams": [ - { - "name": "someUserParam", - "value": "someValue" - } - ] - } - } - }http://localhost/ecomp/mso/infra/serviceInstances/v2${#Project#user-infraportal}${#Project#password-infraportal}BasicBasicGlobal HTTP SettingsserviceInstanceIdTEMPLATEvnfInstanceIdTEMPLATEapplication/jsontext/html;charset=UTF-8401htmlapplication/json400 404 409vfm:Faultapplication/json202vfm:Response0data0data0data<xml-fragment/>http://${#Project#host}{ "requestDetails": { - "modelInfo": { - "modelType": "vfModule", - "modelInvariantId": "585822c7-4027-4f84-ba50-e9248606f132", - "modelNameVersionId": "fe6478e5-ea33-3346-ac12-ab121484a3fe", - "modelName": "VF_RI1_DNS::module-1", - "modelVersion": "1.0" - }, - "cloudConfiguration": { - "lcpCloudRegionId": "MT", - "tenantId": "88a6ca3ee0394ade9403f075db23167e" - }, - "requestInfo": { - "instanceName": "VF_RI1_DNS-base-module-1", - "source": "VID", - "suppressRollback": true - }, - "relatedInstanceList": [ - { - "relatedInstance": { - "instanceId": "9f3e7072-4cf2-4536-addb-7eed2fef8f39", - "modelInfo": { - "modelType": "service", - "modelInvariantId": "585822c8-4027-4f84-ba50-e9248606f111", - "modelNameVersionId": "1e34774e-715e-4fd6-bd09-7b654622f35i", - "modelName": "dns-service", - "modelVersion": "1.0" - } - } - } - - ], - - - "requestParameters": { - "userParams": [] - } - } - } -${#Project#user-infraportal}${#Project#user-infraportal}BasicBasicGlobal HTTP SettingsserviceInstanceIdvnfInstanceIdserviceInstanceIdserviceInstanceIdTEMPLATEserviceInstanceIdapplication/json502 400 404vnfs:Faultapplication/jsonapplication/json202vnfs:Response0data0data<xml-fragment/>http://${#Project#host}{ - "requestDetails": { - "modelInfo": { - "modelType": "vnf", - "modelInvariantId": "ff5256d1-5a33-55df-13ab-12abad84e7ff", - "modelNameVersionId": "fe6478e4-ea33-3346-ac12-ab121484a3fe", - "modelName": "vSAMP12", - "modelVersion": "1.0", - "modelCustomizationName": "vSAMP12 1" - }, - "cloudConfiguration": { - "lcpCloudRegionId": "mdt1", - "tenantId": "88a6ca3ee0394ade9403f075db23167e" - }, - "requestInfo": { - "instanceName": "MSOTEST103a", - "productFamilyId": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb", - "source": "VID", - "suppressRollback": false - }, - "relatedInstanceList": [ - { - "relatedInstance": { - "instanceId": "${serviceInstanceId}", - "modelInfo": { - "modelType": "service", - "modelInvariantId": "ff3514e3-5a33-55df-13ab-12abad84e7ff", - "modelNameVersionId": "fe6985cd-ea33-3346-ac12-ab121484a3fe", - "modelName": "{parent service model name}", - "modelVersion": "1.0" - } - } - } - ], - "requestParameters": { - } - } - } -${#Project#user-infraportal}${#Project#password-infraportal}BasicBasicGlobal HTTP SettingsserviceInstanceIdTEMPLATEapplication/jsonapplication/json400 404v2:Faultapplication/json202v2:Response0datatext/html;charset=UTF-8401html0data0data0data0data0data0data<xml-fragment/>http://${#Project#host}{ - "requestDetails": { - "modelInfo": { - "modelType": "service", - "modelInvariantId": "ff3514e3-5a33-55df-13ab-12abad84e7ff", - "modelNameVersionId": "fe6985cd-ea33-3346-ac12-ab121484a3fe", - "modelName": "dns-service", - "modelVersion": "1.0" - }, - "subscriberInfo": { - "globalSubscriberId": "subscriber-1", - "subscriberName": "testSubscriber" - }, - "requestInfo": { - "instanceName": "DNS_TEST", - "source": "VID", - "suppressRollback": true - }, - "requestParameters": { - "subscriptionServiceType": "MOG", - "userParams": [ - { - "name": "someUserParam", - "value": "someValue" - } - ] - } - } - }http://localhost/ecomp/mso/infra/serviceInstances/v2${#Project#user-infraportal}${#Project#password-infraportal}BasicBasicGlobal HTTP SettingsserviceInstanceIdserviceInstanceIdTEMPLATEvnfInstanceIdTEMPLATEvfModuleInstanceIdTEMPLATEapplication/jsontext/html;charset=UTF-8401htmlapplication/json400 404 409vfm:Faultapplication/json202vfm:Response0data0data404data<xml-fragment/>http://${#Project#host}{ "requestDetails": { - "modelInfo": { - "modelType": "vfModule", - "modelInvariantId": "585822c7-4027-4f84-ba50-e9248606f132", - "modelNameVersionId": "fe6478e5-ea33-3346-ac12-ab121484a3fe", - "modelName": "VF_RI1_DNS::module-1", - "modelVersion": "1.0" - }, - "cloudConfiguration": { - "lcpCloudRegionId": "MT", - "tenantId": "88a6ca3ee0394ade9403f075db23167e" - }, - "requestInfo": { - "instanceName": "VF_RI1_DNS-base-module-1", - "source": "VID", - "suppressRollback": true - }, - "relatedInstanceList": [ - { - "relatedInstance": { - "instanceId": "9f3e7072-4cf2-4536-addb-7eed2fef8f39", - "modelInfo": { - "modelType": "service", - "modelInvariantId": "585822c8-4027-4f84-ba50-e9248606f111", - "modelNameVersionId": "1e34774e-715e-4fd6-bd09-7b654622f35i", - "modelName": "dns-service", - "modelVersion": "1.0" - } - } - } - - ], - - - "requestParameters": { - "userParams": [] - } - } - } -${#Project#user-infraportal}${#Project#user-infraportal}BasicBasicGlobal HTTP SettingsserviceInstanceIdvnfInstanceIdvfModuleInstanceIdserviceInstanceIdTEMPLATEvnfInstanceIdTEMPLATEvfModuleInstanceIdTEMPLATEapplication/jsontext/html;charset=UTF-8401htmlapplication/json400 404 409vfm:Faultapplication/json202vfm:Response0data0data404data<xml-fragment/>http://${#Project#host}{ "requestDetails": { - "modelInfo": { - "modelType": "vfModule", - "modelInvariantId": "585822c7-4027-4f84-ba50-e9248606f132", - "modelNameVersionId": "fe6478e5-ea33-3346-ac12-ab121484a3fe", - "modelName": "VF_RI1_DNS::module-1", - "modelVersion": "1.0" - }, - "cloudConfiguration": { - "lcpCloudRegionId": "MT", - "tenantId": "88a6ca3ee0394ade9403f075db23167e" - }, - "requestInfo": { - "instanceName": "VF_RI1_DNS-base-module-1", - "source": "VID", - "suppressRollback": true - }, - "relatedInstanceList": [ - { - "relatedInstance": { - "instanceId": "9f3e7072-4cf2-4536-addb-7eed2fef8f39", - "modelInfo": { - "modelType": "service", - "modelInvariantId": "585822c8-4027-4f84-ba50-e9248606f111", - "modelNameVersionId": "1e34774e-715e-4fd6-bd09-7b654622f35i", - "modelName": "dns-service", - "modelVersion": "1.0" - } - } - } - - ], - - - "requestParameters": { - "userParams": [] - } - } - } -${#Project#user-infraportal}${#Project#user-infraportal}BasicBasicGlobal HTTP SettingsserviceInstanceIdvnfInstanceIdvfModuleInstanceIdserviceInstanceIdserviceInstanceIdTEMPLATEserviceInstanceIdvnfInstanceIdTEMPLATEapplication/json502 400 409vnfs:Faultapplication/jsonapplication/json202vnfs:Response0data<xml-fragment/>http://${#Project#host}{ - "requestDetails": { - "modelInfo": { - "modelType": "vnf", - "modelInvariantId": "ff5256d1-5a33-55df-13ab-12abad84e7ff", - "modelNameVersionId": "fe6478e4-ea33-3346-ac12-ab121484a3fe", - "modelName": "vSAMP12", - "modelVersion": "1.0", - "modelCustomizationName": "vSAMP12 1" - }, - "cloudConfiguration": { - "lcpCloudRegionId": "mdt1", - "tenantId": "88a6ca3ee0394ade9403f075db23167e" - }, - "requestInfo": { - "instanceName": "MSOTEST103a", - "productFamilyId": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb", - "source": "VID", - "suppressRollback": false - }, - "relatedInstanceList": [ - { - "relatedInstance": { - "instanceId": "${serviceInstanceId}", - "modelInfo": { - "modelType": "service", - "modelInvariantId": "ff3514e3-5a33-55df-13ab-12abad84e7ff", - "modelNameVersionId": "fe6985cd-ea33-3346-ac12-ab121484a3fe", - "modelName": "{parent service model name}", - "modelVersion": "1.0" - } - } - } - ], - "requestParameters": { - } - } - } -${#Project#user-infraportal}${#Project#password-infraportal}BasicBasicGlobal HTTP SettingsserviceInstanceIdvnfInstanceIdserviceInstanceIdTEMPLATEvnfInstanceIdTEMPLATEapplication/jsontext/html;charset=UTF-8401htmlapplication/json400 404 409 501vfm:Faultapplication/json202vfm:Response0data0data0data0data0data0data0data<xml-fragment/>http://${#Project#host}{ "requestDetails": { - "modelInfo": { - "modelType": "vfModule", - "modelInvariantId": "585822c7-4027-4f84-ba50-e9248606f132", - "modelNameVersionId": "fe6478e5-ea33-3346-ac12-ab121484a3fe", - "modelName": "VF_RI1_DNS::module-1", - "modelVersion": "1.0" - }, - "cloudConfiguration": { - "lcpCloudRegionId": "MT", - "tenantId": "88a6ca3ee0394ade9403f075db23167e" - }, - "requestInfo": { - "instanceName": "VF_RI1_DNS-base-module-1", - "source": "VID", - "suppressRollback": true - }, - "relatedInstanceList": [ - { - "relatedInstance": { - "instanceId": "9f3e7072-4cf2-4536-addb-7eed2fef8f39", - "modelInfo": { - "modelType": "service", - "modelInvariantId": "585822c8-4027-4f84-ba50-e9248606f111", - "modelNameVersionId": "1e34774e-715e-4fd6-bd09-7b654622f35i", - "modelName": "dns-service", - "modelVersion": "1.0" - } - } - } - - ], - - - "requestParameters": { - "userParams": [] - } - } - } -${#Project#user-infraportal}${#Project#user-infraportal}BasicBasicGlobal HTTP SettingsserviceInstanceIdvnfInstanceIdserviceInstanceIdTEMPLATEvnfInstanceIdTEMPLATEvolumeGroupInstanceIdTEMPLATEapplication/jsontext/html;charset=UTF-8401htmlapplication/json400 404 409vfm:Faultapplication/json202vfm:Response0data0data404data405data405data405data405data<xml-fragment/>http://${#Project#host}{ "requestDetails": { - "modelInfo": { - "modelType": "vfModule", - "modelInvariantId": "585822c7-4027-4f84-ba50-e9248606f132", - "modelNameVersionId": "fe6478e5-ea33-3346-ac12-ab121484a3fe", - "modelName": "VF_RI1_DNS::module-1", - "modelVersion": "1.0" - }, - "cloudConfiguration": { - "lcpCloudRegionId": "MT", - "tenantId": "88a6ca3ee0394ade9403f075db23167e" - }, - "requestInfo": { - "instanceName": "VF_RI1_DNS-base-module-1", - "source": "VID", - "suppressRollback": true - }, - "relatedInstanceList": [ - { - "relatedInstance": { - "instanceId": "9f3e7072-4cf2-4536-addb-7eed2fef8f39", - "modelInfo": { - "modelType": "service", - "modelInvariantId": "585822c8-4027-4f84-ba50-e9248606f111", - "modelNameVersionId": "1e34774e-715e-4fd6-bd09-7b654622f35i", - "modelName": "dns-service", - "modelVersion": "1.0" - } - } - } - - ], - - - "requestParameters": { - "userParams": [] - } - } - } -${#Project#user-infraportal}${#Project#user-infraportal}BasicBasicGlobal HTTP SettingsserviceInstanceIdvnfInstanceIdvolumeGroupInstanceIdserviceInstanceIdTEMPLATEvnfInstanceIdTEMPLATEvolumeGroupInstanceIdTEMPLATEapplication/jsontext/html;charset=UTF-8401htmlapplication/json400 404 409vfm:Faultapplication/json202vfm:Response0data0data404data<xml-fragment/>http://${#Project#host}{ "requestDetails": { - "modelInfo": { - "modelType": "vfModule", - "modelInvariantId": "585822c7-4027-4f84-ba50-e9248606f132", - "modelNameVersionId": "fe6478e5-ea33-3346-ac12-ab121484a3fe", - "modelName": "VF_RI1_DNS::module-1", - "modelVersion": "1.0" - }, - "cloudConfiguration": { - "lcpCloudRegionId": "MT", - "tenantId": "88a6ca3ee0394ade9403f075db23167e" - }, - "requestInfo": { - "instanceName": "VF_RI1_DNS-base-module-1", - "source": "VID", - "suppressRollback": true - }, - "relatedInstanceList": [ - { - "relatedInstance": { - "instanceId": "9f3e7072-4cf2-4536-addb-7eed2fef8f39", - "modelInfo": { - "modelType": "service", - "modelInvariantId": "585822c8-4027-4f84-ba50-e9248606f111", - "modelNameVersionId": "1e34774e-715e-4fd6-bd09-7b654622f35i", - "modelName": "dns-service", - "modelVersion": "1.0" - } - } - } - - ], - - - "requestParameters": { - "userParams": [] - } - } - } -${#Project#user-infraportal}${#Project#user-infraportal}BasicBasicGlobal HTTP SettingsserviceInstanceIdvnfInstanceIdvolumeGroupInstanceIdserviceInstanceIdserviceInstanceIdTEMPLATEserviceInstanceIdapplication/json502 400 404vnfs:Faultapplication/jsonapplication/json202vnfs:Responsetext/html;charset=UTF-8401html415dataapplication/xmlv1:network-request0data<xml-fragment/>http://${#Project#host}{ - "requestDetails": { - "modelInfo": { - "modelType": "vnf", - "modelInvariantId": "ff5256d1-5a33-55df-13ab-12abad84e7ff", - "modelNameVersionId": "fe6478e4-ea33-3346-ac12-ab121484a3fe", - "modelName": "vSAMP12", - "modelVersion": "1.0", - "modelCustomizationName": "vSAMP12 1" - }, - "cloudConfiguration": { - "lcpCloudRegionId": "mdt1", - "tenantId": "88a6ca3ee0394ade9403f075db23167e" - }, - "requestInfo": { - "instanceName": "MSOTEST103a", - "productFamilyId": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb", - "source": "VID", - "suppressRollback": false - }, - "relatedInstanceList": [ - { - "relatedInstance": { - "instanceId": "${serviceInstanceId}", - "modelInfo": { - "modelType": "service", - "modelInvariantId": "ff3514e3-5a33-55df-13ab-12abad84e7ff", - "modelNameVersionId": "fe6985cd-ea33-3346-ac12-ab121484a3fe", - "modelName": "{parent service model name}", - "modelVersion": "1.0" - } - } - } - ], - "requestParameters": { - } - } - } -${#Project#user-infraportal}${#Project#password-infraportal}BasicBasicGlobal HTTP SettingsserviceInstanceIdserviceInstanceIdTEMPLATEserviceInstanceIdnetworkInstanceIdTEMPLATEapplication/json502 400vnfs:Faultapplication/jsonapplication/json202vnfs:Response0data0data0data<xml-fragment/>http://${#Project#host}{ - "requestDetails": { - "modelInfo": { - "modelType": "vnf", - "modelInvariantId": "ff5256d1-5a33-55df-13ab-12abad84e7ff", - "modelNameVersionId": "fe6478e4-ea33-3346-ac12-ab121484a3fe", - "modelName": "vSAMP12", - "modelVersion": "1.0", - "modelCustomizationName": "vSAMP12 1" - }, - "cloudConfiguration": { - "lcpCloudRegionId": "mdt1", - "tenantId": "88a6ca3ee0394ade9403f075db23167e" - }, - "requestInfo": { - "instanceName": "MSOTEST103a", - "productFamilyId": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb", - "source": "VID", - "suppressRollback": false - }, - "relatedInstanceList": [ - { - "relatedInstance": { - "instanceId": "${serviceInstanceId}", - "modelInfo": { - "modelType": "service", - "modelInvariantId": "ff3514e3-5a33-55df-13ab-12abad84e7ff", - "modelNameVersionId": "fe6985cd-ea33-3346-ac12-ab121484a3fe", - "modelName": "{parent service model name}", - "modelVersion": "1.0" - } - } - } - ], - "requestParameters": { - } - } - } -${#Project#user-infraportal}${#Project#password-infraportal}BasicBasicGlobal HTTP SettingsserviceInstanceIdnetworkInstanceIdserviceInstanceIdserviceInstanceIdTEMPLATEserviceInstanceIdnetworkInstanceIdTEMPLATEapplication/json502 400vnfs:Faultapplication/jsonapplication/json202vnfs:Response405data<xml-fragment/>http://${#Project#host}{ - "requestDetails": { - "modelInfo": { - "modelType": "vnf", - "modelInvariantId": "ff5256d1-5a33-55df-13ab-12abad84e7ff", - "modelNameVersionId": "fe6478e4-ea33-3346-ac12-ab121484a3fe", - "modelName": "vSAMP12", - "modelVersion": "1.0", - "modelCustomizationName": "vSAMP12 1" - }, - "cloudConfiguration": { - "lcpCloudRegionId": "mdt1", - "tenantId": "88a6ca3ee0394ade9403f075db23167e" - }, - "requestInfo": { - "instanceName": "MSOTEST103a", - "productFamilyId": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb", - "source": "VID", - "suppressRollback": false - }, - "relatedInstanceList": [ - { - "relatedInstance": { - "instanceId": "${serviceInstanceId}", - "modelInfo": { - "modelType": "service", - "modelInvariantId": "ff3514e3-5a33-55df-13ab-12abad84e7ff", - "modelNameVersionId": "fe6985cd-ea33-3346-ac12-ab121484a3fe", - "modelName": "{parent service model name}", - "modelVersion": "1.0" - } - } - } - ], - "requestParameters": { - } - } - } -${#Project#user-infraportal}${#Project#password-infraportal}BasicBasicGlobal HTTP SettingsserviceInstanceIdnetworkInstanceIdrequestIdrequestIdTEMPLATErequestIdtext/html;charset=UTF-8401htmlapplication/json200d28:Response204data204data204datahttp://localhost:8080No AuthorizationfilterQUERY0datatext/html404htmltext/html;charset=UTF-8401htmlapplication/json200v2:Response0data<xml-fragment/>http://localhost:8080http://localhost/orchestrationRequests/v2No Authorizationfilterfile:/RequestsDbAdapter.wsdl - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -]]>http://schemas.xmlsoap.org/wsdl/REPLACE_WITH_ACTUAL_URLUTF-8REPLACE_WITH_ACTUAL_URL\r - \r - \r - \r - ?\r - \r - \r -]]>UTF-8REPLACE_WITH_ACTUAL_URL\r - \r - \r - \r - ?\r - ?\r - \r - ?\r - \r - ?\r - \r - ?\r - \r - ?\r - \r - ?\r - \r - \r -]]>UTF-8REPLACE_WITH_ACTUAL_URL - - - - ? - - -]]>SEQUENTIAL<xml-fragment/>http://${#Project#host} - - - 3d878a8e-51fa-44aa-8cb5-a56ae9352262 - CREATE_VF_MODUL - PORTAL - - - f7949288-876d-47c2-9a8c-aed107e7e016 - a9f67f55-7424-43e2-b000-f97663194976 - zrdm3ssdr02 - zrdm3ssdr02_mod_1 - Nimbus_LU2_SSDnoLM_Svc/SSDR_wo_LM_v10 2 - SSDR_wo_LM_v10::module-0 - a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb - a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb - a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb - rdm3 - eecd15e8e7ee46c3bbc2096f0924f4c4 - - -]]>http://localhost/ecomp/mso/v1/services400 - -No valid actionfalsefalse${#Project#user-infraportal}${#Project#password-infraportal}BasicBasicGlobal HTTP Settings<xml-fragment/>http://${#Project#host} - - - 3d878a8e-51fa-44aa-8cb5-a56ae9352262 - CREATE_VF_MODULE - PORTAL - - - f7949288-876d-47c2-9a8c-aed107e7e016 - a9f67f55-7424-43e2-b000-f97663194976 - zrdm3ssdr02 - zrdm3ssdr02_mod_1 - Nimbus_LU2_SSDnoLM_Svc/SSDR_wo_LM_v10 2 - SSDR_wo_LM_v10::module-0 - a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb - a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb - a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb - rdm3 - eecd15e8e7ee46c3bbc2096f0924f4c4 - - -]]>http://localhost/ecomp/mso/v1/services202 - <request-status>IN_PROGRESS</request-status>falsefalse<vnf-name>zrdm3ssdr02</vnf-name>falsefalse${#Project#user-infraportal}${#Project#password-infraportal}BasicBasicGlobal HTTP Settingsrequest-idResponsePOST VNF request//*:request-idrequest-idGET VNF Request by requestIDtrue<xml-fragment/>http://${#Project#host} - - - 3d878a8e-51fa-44aa-8cb5-a56ae9352262 - CREATE_VF_MODULE - PORTAL - - - f7949288-876d-47c2-9a8c-aed107e7e016 - a9f67f55-7424-43e2-b000-f97663194976 - zrdm3ssdr02 - zrdm3ssdr02_mod_1 - Nimbus_LU2_SSDnoLM_Svc/SSDR_wo_LM_v10 2 - SSDR_wo_LM_v10::module-0 - a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb - a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb - a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb - rdm3 - eecd15e8e7ee46c3bbc2096f0924f4c4 - - -]]>http://localhost/ecomp/mso/v1/services409 -<request-status>FAILED</request-status>falsefalsevnf-id (f7949288-876d-47c2-9a8c-aed107e7e016) is lockedfalsefalse${#Project#user-infraportal}${#Project#password-infraportal}BasicBasicGlobal HTTP Settings<xml-fragment/>http://${#Project#host} - - - 3d878a8e-51fa-44aa-8cb5-a56ae9352263 - CREATE_VF_MODULE - PORTAL - - - - zrdm3ssdr02 - Nimbus_LU2_SSDnoLM_Svc/SSDR_wo_LM_v10 2 - SSDR_wo_LM_v10::module-0 - a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb - a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb - - rdm3 - eecd15e8e7ee46c3bbc2096f0924f4c4 - - -]]>http://localhost/ecomp/mso/v1/services400 -<request-status>FAILED</request-status>falsefalse<status-message>Service request FAILED schema validation.falsefalseNo valid vf-module-name isfalsefalse${#Project#user-infraportal}${#Project#password-infraportal}BasicBasicGlobal HTTP Settings<xml-fragment/>http://${#Project#host} - - - 3d878a8e-51fa-44aa-8cb5-a56ae9352263 - DELETE_VF_MODULE - PORTAL - - - f7949288-876d-47c2-9a8c-aed107e7e016 - zrdm3ssdr02 - zrdm3ssdr02_mod_1 - Nimbus_LU2_SSDnoLM_Svc/SSDR_wo_LM_v10 2 - SSDR_wo_LM_v10::module-0 - a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb - a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb - a9f67f55-7424-43e2-b000-f97663194976 - rdm3 - eecd15e8e7ee46c3bbc2096f0924f4c4 - - -]]>http://localhost/ecomp/mso/v1/services202<request-status>IN_PROGRESS</request-status>falsefalse<vnf-name>zrdm3ssdr02</vnf-name>falsefalse${#Project#user-infraportal}${#Project#password-infraportal}BasicBasicGlobal HTTP Settings<xml-fragment/>http://${#Project#host}http://localhost/ecomp/mso/infra/v1/vnf-request/01bef4ef-fa1b-4fd4-b46d-12ada0d4d7e1 <request-status>IN_PROGRESS</request-status>falsefalse200${#Project#user-infraportal}${#Project#password-infraportal}BasicBasicGlobal HTTP Settings - - -vnf-typeservice-typeaic-node-cllitenantId<xml-fragment/>http://${#Project#host}http://localhost/ecomp/mso/infra/V1/vnf-types200 -<vnf-types xmlns="http://org.openecomp/mso/infra/vnf-request/v1"/>falsefalse${#Project#user-infraportal}${#Project#password-infraportal}BasicBasicGlobal HTTP Settingsvnf-role<xml-fragment/>http://${#Project#host} - - - f9d87288-b726-4b23-a207-8eb845a7b8d9 - CREATE - PORTAL - - - Mobisupport-25193-T-Willows2_cor_pcrf_sy_net_1 - CONTRAIL30_BASIC - 868d854d-b145-4929-b476-f0f9dc01d0ab - true - a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb - rdm3 - e5225256ffcc4e22928a432f2bcee195 - - -]]>http://localhost/ecomp/mso/infra/v1/network-requestIN_PROGRESSfalsefalse202 -<network-name>Mobisupport-25193-T-Willows2_cor_pcrf_sy_net_1</network-name>falsefalse${#Project#user-infraportal}${#Project#password-infraportal}BasicBasicGlobal HTTP Settings<xml-fragment/>http://${#Project#host} - - - f9d87288-b726-4b23-a207-8eb845a7b8d9 - CREATE - PORTAL - - - Mobisupport-25193-T-Willows2_cor_pcrf_sy_net_1 - CONTRAIL30_BASIC - 868d854d-b145-4929-b476-f0f9dc01d0ab - true - a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb - rdm3 - e5225256ffcc4e22928a432f2bcee195 - - -]]>http://localhost/ecomp/mso/infra/v1/network-requestIN_PROGRESSfalsefalse409<network-name>Mobisupport-25193-T-Willows2_cor_pcrf_sy_net_1</network-name>falsefalseis lockedfalsefalse${#Project#user-infraportal}${#Project#password-infraportal}BasicBasicGlobal HTTP Settingsrequest-idResponsePOST Network Request CREATE//*:request-idrequest-idGET NEtwork Request by request IDtrue<xml-fragment/>http://${#Project#host}http://localhost/ecomp/mso/infra/V1/vnf-typese5225256ffcc4e22928a432f2bcee195falsefalse200 -${#Project#user-infraportal}${#Project#password-infraportal}BasicBasicGlobal HTTP Settingsnetwork-typetenant-idservice-typeaic-node-clli<xml-fragment/>http://${#Project#host}http://localhost/ecomp/mso/infra/V1/vnf-typesMobisupport-25193-T-Willows2_cor_pcrf_sy_net_1falsefalse200 -${#Project#user-infraportal}${#Project#password-infraportal}BasicBasicGlobal HTTP Settings - - -network-typetenantIdservice-typeaic-node-clli<xml-fragment/>http://${#Project#host}http://localhost/ecomp/mso/infra/V1/vnf-types200vlanfalsefalse <description>Cool network</description> -falsefalse${#Project#user-infraportal}${#Project#password-infraportal}BasicBasicGlobal HTTP Settings<xml-fragment/>http://${#Project#host} - - - cfbca420-14d5-4e68-ad84-b56715c946f4 - CREATE_VF_MODULE_VOL - PORTAL - - - test - Nimbus_LU2_PXTC_Svc/PXTC_v5 1 - PXTC_v5::module-1 - true - a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb - test - rdm3 - eecd15e8e7ee46c3bbc2096f0924f4c4 - da9e0bdf-7d88-4111-bcad-8b72e3a5e601 - test - - -]]>http://localhost/ecomp/mso/infra/v3/volume-request202 -<request-status>IN_PROGRESS</request-status>falsefalse${#Project#user-infraportal}${#Project#password-infraportal}BasicBasicGlobal HTTP Settings<xml-fragment/>http://${#Project#host}http://localhost/ecomp/mso/infra/v3/volume-request<tenant-id>eecd15e8e7ee46c3bbc2096f0924f4c4</tenant-id>falsefalse200 - -${#Project#user-infraportal}${#Project#password-infraportal}BasicBasicGlobal HTTP SettingstenantIdvnf-type<xml-fragment/>http://${#Project#host}{ - "requestDetails": { - "modelInfo": { - "modelType": "service", - "modelInvariantId": "ff3514e3-5a33-55df-13ab-12abad84e7ff", - "modelNameVersionId": "fe6985cd-ea33-3346-ac12-ab121484a3fe", - "modelName": "dns-servicetest", - "modelVersion": "1.0" - }, - "subscriberInfo": { - "globalSubscriberId": "subscriber-1", - "subscriberName": "testSubscriber" - }, - "requestInfo": { - "instanceName": "DNS_TEST", - "source": "VID", - "suppressRollback": true - }, - "requestParameters": { - "subscriptionServiceType": "MOG", - "userParams": [ - { - "name": "someUserParam", - "value": "someValue" - } - ] - } - } - }http://localhost/ecomp/mso/infra/serviceInstances/v2202 -${#Project#user-infraportal}${#Project#password-infraportal}BasicBasicGlobal HTTP Settingstransfer-to-create-vnf-requestResponseCreate Service$.requestReferences.instanceIdRequestCreate VNF$.requestDetails.relatedInstanceList[0].relatedInstance.instanceIdJSONPATHJSONPATHtruetransfer-to-create-vfmodule-requestResponseCreate Service$.requestReferences.instanceIdRequestCreate VFModule$.requestDetails.relatedInstanceList[0].relatedInstance.instanceIdJSONPATHJSONPATHtruetransfer-to-create-volumegroups-requestResponseCreate Service$.requestReferences.instanceIdRequestCreate VolumeGroups$.requestDetails.relatedInstanceList[0].relatedInstance.instanceIdJSONPATHJSONPATHtrueset-testcase-serviceInstanceId-propertyResponseCreate Service$.requestReferences.instanceIdserviceInstanceId#TestCase#JSONPATHXPATHtruetransfer-to-create-network-requestResponseCreate Service$.requestReferences.instanceIdRequestCreate Networks$.requestDetails.relatedInstanceList[0].relatedInstance.instanceIdJSONPATHJSONPATHtruetransfer-to-update-vfmodule-requestResponseCreate Service$.requestReferences.instanceIdRequestUpdate VFModule$.requestDetails.relatedInstanceList[0].relatedInstance.instanceIdJSONPATHJSONPATHtruetransfer-to-update-volumeGroups-requestResponseCreate Service$.requestReferences.instanceIdRequestUpdate VolumeGroups$.requestDetails.relatedInstanceList[0].relatedInstance.instanceIdJSONPATHJSONPATHtruetransfer-to-update-network-requestResponseCreate Service$.requestReferences.instanceIdRequestUpdaate Networks$.requestDetails.relatedInstanceList[0].relatedInstance.instanceIdJSONPATHJSONPATHtrueset-testcase-requestId-propertyResponseCreate Service$.requestReferences.requestIdrequestId#TestCase#JSONPATHtrueMsoRequestsDbAdapterImplPortBindingupdateInfraRequest<xml-fragment/>UTF-8http://${#Project#host}/dbadapters/RequestsDbAdapter - - - - ${#TestCase#requestId} - Arq - COMPLETE - ${#TestCase#serviceInstanceId} - - -]]>200${#Project#dbadapteruser}${#Project#dbadapterpassword}BasicBasicGlobal HTTP Settings<xml-fragment/>UTF-8http://${#Project#host}http://localhost/ecomp/mso/infra/orchestrationRequests/v2/7d28d657-cdad-44eb-b048-7b0bc68b795a200"requestScope":"service","requestType":"createInstance","requestDetails":{"modelInfo":{"modelCustomizationName":null,"modelInvariantId":"ff3514e3-5a33-55df-13ab-12abad84e7ff","modelType":"service","modelNameVersionId":"fe6985cd-ea33-3346-ac12-ab121484a3fe","modelName":"dns-servicetest","modelVersion":"1.0","modelCustomizationUuid":null,"modelVersionId":null,"modelCustomizationId":null},"requestInfo":{"billingAccountNumber":null,"callbackUrl":null,"correlator":null,"orderNumber":null,"productFamilyId":null,"orderVersion":null,"source":"VID","instanceName":"DNS_TEST","suppressRollback":true,"requestorId":null},"relatedInstanceList":null,"subscriberInfo":{"globalSubscriberId":"subscriber-1","subscriberName":"testSubscriber"},"cloudConfiguration":null,"requestParameters":{"subscriptionServiceType":"MOG","userParams":[{"name":"someUserParam","value":"someValue"}],"aLaCarte":false,"autoBuildVfModules":false,"cascadeDelete":falsefalsefalse"serviceInstanceName":"DNS_TEST","vnfInstanceId":null,"vnfInstanceName":null,"vfModuleInstanceId":null,"vfModuleInstanceName":null,"volumeGroupInstanceId":null,"volumeGroupInstanceName":null,"networkInstanceId":null,"networkInstanceName":null,"requestorId":null},"requestStatus":{"requestState":falsefalse${#Project#user-infraportal}${#Project#password-infraportal}BasicBasicGlobal HTTP Settings<xml-fragment/>UTF-8http://${#Project#host}http://localhost/ecomp/mso/infra/orchestrationRequests/v2/7d28d657-cdad-44eb-b048-7b0bc68b795a204${#Project#user-infraportal}${#Project#password-infraportal}BasicBasicGlobal HTTP Settings<xml-fragment/>http://${#Project#host}{"requestDetails": { - "cloudConfiguration": { - "tenantId": "88a6ca3ee0394ade9403f075db23167e", - "lcpCloudRegionId": "mdt1" - }, - "modelInfo": { - "modelNameVersionId": "fe6478e4-ea33-3346-ac12-ab121484a3fe", - "modelName": "DNSResource", - "modelType": "vnf", - "modelVersion": "1.0", - "modelCustomizationName": "DNSResource-1", - "modelInvariantId": "585822c7-4027-4f84-ba50-e9248606f112" - }, - "relatedInstanceList": [{"relatedInstance": { - "modelInfo": { - "modelNameVersionId": "fe6985cd-ea33-3346-ac12-ab121484a3fe", - "modelName": "dns-servicetest", - "modelType": "service", - "modelVersion": "1.0", - "modelInvariantId": "ff3514e3-5a33-55df-13ab-12abad84e7ff" - }, - "instanceId": "a82d6977-6493-484f-ae8c-1b2f442e0d82" - }}], - "requestInfo": { - "productFamilyId": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb", - "suppressRollback": false, - "source": "VID", - "instanceName": "DNSTEST1" - }, - "requestParameters": {} - }}http://localhost/ecomp/mso/infra/serviceInstances/v2/3713d5de-942f-41c4-a1b7-08245bc640cc/vnfs/202${#Project#user-infraportal}${#Project#password-infraportal}BasicBasicGlobal HTTP Settings<xml-fragment/>UTF-8http://${#Project#host}http://localhost/orchestrationRequests/v2200"requestScope":"service","requestType":"createInstance","requestDetails":{"modelInfo":{"modelCustomizationName":null,"modelInvariantId":"ff3514e3-5a33-55df-13ab-12abad84e7ff","modelType":"service","modelNameVersionId":"fe6985cd-ea33-3346-ac12-ab121484a3fe","modelName":"dns-servicetest","modelVersion":"1.0","modelCustomizationUuid":null,"modelVersionId":null,"modelCustomizationId":null},"requestInfo":{"billingAccountNumber":null,"callbackUrl":null,"correlator":null,"orderNumber":null,"productFamilyId":null,"orderVersion":null,"source":"VID","instanceName":"DNS_TEST","suppressRollback":true,"requestorId":null},"relatedInstanceList":null,"subscriberInfo":{"globalSubscriberId":"subscriber-1","subscriberName":"testSubscriber"},"cloudConfiguration":null,"requestParameters":{"subscriptionServiceType":"MOG","userParams":[{"name":"someUserParam","value":"someValue"}],"aLaCarte":false,"autoBuildVfModules":false,"cascadeDelete":false,falsefalse"serviceInstanceName":"DNS_TEST","vnfInstanceId":null,"vnfInstanceName":null,"vfModuleInstanceId":null,"vfModuleInstanceName":null,"volumeGroupInstanceId":null,"volumeGroupInstanceName":null,"networkInstanceId":null,"networkInstanceName":null,"requestorId":null},"requestStatus":{"requestState":"falsefalse$.requestList2falsefalsefalse"requestScope":"vnf","requestType":"createInstance","requestDetails":{"modelInfo":{"modelCustomizationName":"DNSResource-1","modelInvariantId":"585822c7-4027-4f84-ba50-e9248606f112","modelType":"vnf","modelNameVersionId":"fe6478e4-ea33-3346-ac12-ab121484a3fe","modelName":"DNSResource","modelVersion":"1.0","modelCustomizationUuid":null,"modelVersionId":null,"modelCustomizationId":null},"requestInfo":{"billingAccountNumber":null,"callbackUrl":null,"correlator":null,"orderNumber":null,"productFamilyId":"a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb","orderVersion":null,"source":"VID","instanceName":"DNSTEST1","suppressRollback":false,"requestorId":null},"relatedInstanceList":[{"relatedInstance":{"instanceName":null,"instanceId":"falsefalse"modelInfo":{"modelCustomizationName":null,"modelInvariantId":"ff3514e3-5a33-55df-13ab-12abad84e7ff","modelType":"service","modelNameVersionId":"fe6985cd-ea33-3346-ac12-ab121484a3fe","modelName":"dns-servicetest","modelVersion":"1.0","modelCustomizationUuid":null,"modelVersionId":null,"modelCustomizationId":null}}}],"subscriberInfo":null,"cloudConfiguration":{"aicNodeClli":null,"tenantId":"88a6ca3ee0394ade9403f075db23167e","lcpCloudRegionId":"mdt1"},"requestParameters":{"subscriptionServiceType":null,"userParams":[],"aLaCarte":false,"autoBuildVfModules":false,"cascadeDelete":false,falsefalse"serviceInstanceName":null,"vnfInstanceId":null,"vnfInstanceName":"DNSTEST1","vfModuleInstanceId":null,"vfModuleInstanceName":null,"volumeGroupInstanceId":null,"volumeGroupInstanceName":null,"networkInstanceId":null,"networkInstanceName":null,"requestorId":null},"requestStatus":{"requestState":falsefalse${#Project#user-infraportal}${#Project#password-infraportal}BasicBasicGlobal HTTP Settingsfiltertransfer-to-create-vfmodule-requestResponseCreate VNF$.requestReferences.instanceIdRequestCreate VFModule$.requestDetails.relatedInstanceList[1].relatedInstance.instanceIdJSONPATHJSONPATHtrueset-testcase-requestId-propertyResponseCreate VNF$.requestReferences.requestIdrequestId#TestCase#JSONPATHXPATHtrueset-testcase-vnfInstanceId-propertyResponseCreate VNF$.requestReferences.instanceIdvnfInstanceId#TestCase#JSONPATHXPATHtruetransfer-to-create-volumegroups-requestResponseCreate VNF$.requestReferences.instanceIdRequestCreate VolumeGroups$.requestDetails.relatedInstanceList[1].relatedInstance.instanceIdJSONPATHJSONPATHtruetransfer-to-update-volumegroups-requestResponseCreate VNF$.requestReferences.instanceIdRequestUpdate VolumeGroups$.requestDetails.relatedInstanceList[1].relatedInstance.instanceIdJSONPATHJSONPATHtruetransfer-to-update-vfmodule-requestResponseCreate VNF$.requestReferences.instanceIdRequestUpdate VFModule$.requestDetails.relatedInstanceList[1].relatedInstance.instanceIdJSONPATHJSONPATHtrueMsoRequestsDbAdapterImplPortBindingupdateInfraRequest<xml-fragment/>UTF-8http://${#Project#host}/dbadapters/RequestsDbAdapter - - - - ${#TestCase#requestId} - Arq - COMPLETE - ${#TestCase#serviceInstanceId} - - -]]>200${#Project#dbadapteruser}${#Project#dbadapterpassword}BasicBasicGlobal HTTP Settings<xml-fragment/>http://${#Project#host}{"requestDetails": { - "cloudConfiguration": { - "tenantId": "88a6ca3ee0394ade9403f075db23167e", - "lcpCloudRegionId": "MT" - }, - "modelInfo": { - "modelNameVersionId": "fe6478e5-ea33-3346-ac12-ab121484a3fe", - "modelName": "VF_DNS::module-1", - "modelType": "vfModule", - "modelVersion": "1.0", - "modelInvariantId": "585822c7-4027-4f84-ba50-e9248606f132" - }, - "relatedInstanceList": [ - {"relatedInstance": { - "modelInfo": { - "modelNameVersionId": "1e34774e-715e-4fd6-bd09-7b654622f35i", - "modelName": "dns-servicetest", - "modelType": "service", - "modelVersion": "1.0", - "modelInvariantId": "585822c8-4027-4f84-ba50-e9248606f111" - }, - "instanceId": "a82d6977-6493-484f-ae8c-1b2f442e0d82" - }}, - {"relatedInstance": { - "modelInfo": { - "modelNameVersionId": "fe6478e4-ea33-3346-ac12-ab121484a3fe", - "modelName": "DNSResource", - "modelType": "vnf", - "modelVersion": "1.0", - "modelCustomizationName": "DNSResource-1", - "modelInvariantId": "585822c7-4027-4f84-ba50-e9248606f112" - }, - "instanceId": "f90f877a-3c08-43f1-b1eb-e0bd282c0b81" - }} - ], - "requestInfo": { - "suppressRollback": true, - "source": "VID", - "instanceName": "VF_DNS-base-module-1" - }, - "requestParameters": {"userParams": []} - }}http://localhost/ecomp/mso/infra/serviceInstances/v2/3713d5de-942f-41c4-a1b7-08245bc640cc/vnfs/132677e7-8ed2-4a51-9758-9eff2c608d90/vfModules202${#Project#user-infraportal}${#Project#password-infraportal}BasicBasicGlobal HTTP Settings - - -serviceInstanceIdvnfInstanceIdset-testcase-vfModuleInstanceId-propertyResponseCreate VFModule$.requestReferences.instanceIdvfModuleInstanceId#TestCase#JSONPATHXPATHtrueset-testcase-requestId-propertyResponseCreate VFModule$.requestReferences.requestIdrequestId#TestCase#JSONPATHtrueMsoRequestsDbAdapterImplPortBindingupdateInfraRequest<xml-fragment/>UTF-8http://${#Project#host}/dbadapters/RequestsDbAdapter - - - - ${#TestCase#requestId} - Arq - COMPLETE - ${#TestCase#serviceInstanceId} - - -]]>200${#Project#dbadapteruser}${#Project#dbadapterpassword}BasicBasicGlobal HTTP Settings<xml-fragment/>UTF-8http://${#Project#host}{"requestDetails": { - "modelInfo": { - "modelNameVersionId": "fe6478e5-ea33-3346-ac12-ab121484a3fe", - "modelName": "VF_DNS::module-1", - "modelType": "vfModule", - "modelVersion": "1.0", - "modelInvariantId": "585822c7-4027-4f84-ba50-e9248606f132" - }, - "cloudConfiguration": { - "tenantId": "88a6ca3ee0394ade9403f075db23167e", - "lcpCloudRegionId": "MT" - }, - "relatedInstanceList": [ - {"relatedInstance": { - "modelInfo": { - "modelNameVersionId": "1e34774e-715e-4fd6-bd09-7b654622f35i", - "modelName": "dns-servicetest", - "modelType": "service", - "modelVersion": "1.0", - "modelInvariantId": "585822c8-4027-4f84-ba50-e9248606f111" - }, - "instanceId": "a82d6977-6493-484f-ae8c-1b2f442e0d82" - }}, - {"relatedInstance": { - "modelInfo": { - "modelNameVersionId": "fe6478e4-ea33-3346-ac12-ab121484a3fe", - "modelName": "DNSResource", - "modelType": "vnf", - "modelVersion": "1.0", - "modelCustomizationName": "DNSResource-1", - "modelInvariantId": "585822c7-4027-4f84-ba50-e9248606f112" - }, - "instanceId": "f90f877a-3c08-43f1-b1eb-e0bd282c0b81" - }} - ], - "requestInfo": { - "source": "VID", - "suppressRollback": true, - "instanceName": "VF_DNS-base-module-1" - }, - "requestParameters": {"userParams": []} - }}http://localhost/ecomp/mso/infra/serviceInstances/v2//vnfs//vfModules/202No Authorization - - - -set-testcase-requestId-propertyResponseUpdate VFModule$.requestReferences.requestIdrequestId#TestCase#JSONPATHtrueMsoRequestsDbAdapterImplPortBindingupdateInfraRequest<xml-fragment/>UTF-8http://${#Project#host}/dbadapters/RequestsDbAdapter - - - - ${#TestCase#requestId} - Arq - COMPLETE - ${#TestCase#serviceInstanceId} - - -]]>200${#Project#dbadapteruser}${#Project#dbadapterpassword}BasicBasicGlobal HTTP Settings<xml-fragment/>UTF-8http://${#Project#host}{"requestDetails": { - "modelInfo":{ - "modelCustomizationName":"ebad642f-a0e6-49bd-90a5 1", - "modelNameVersionId": "fe6478e5-ea33-3346-ac12-ab121484a3fe", - "modelName": "VF_DNS::module-1", - "modelType": "vfModule", - "modelVersion": "1.0", - "modelInvariantId": "585822c7-4027-4f84-ba50-e9248606f132" - }, - "requestInfo":{ - "source":"VID" - }, - "cloudConfiguration":{ - "tenantId": "88a6ca3ee0394ade9403f075db23167e", - "lcpCloudRegionId": "MT" - } - }} -http://localhost/ecomp/mso/infra/serviceInstances/v2//vnfs//vfModules/202No Authorization - - - -set-testcase-requestId-propertyResponseDelete VFModule$.requestReferences.requestIdrequestId#TestCase#JSONPATHtrueMsoRequestsDbAdapterImplPortBindingupdateInfraRequest<xml-fragment/>UTF-8http://${#Project#host}/dbadapters/RequestsDbAdapter - - - - ${#TestCase#requestId} - Arq - COMPLETE - ${#TestCase#serviceInstanceId} - - -]]>200${#Project#dbadapteruser}${#Project#dbadapterpassword}BasicBasicGlobal HTTP Settings<xml-fragment/>UTF-8http://${#Project#host}{"requestDetails": { - "modelInfo":{ - "modelNameVersionId": "fe6478e4-ea33-3346-ac12-ab121484a3fe", - "modelName": "DNSResource", - "modelType": "vnf", - "modelVersion": "1.0", - "modelCustomizationName": "DNSResource-1", - "modelInvariantId": "585822c7-4027-4f84-ba50-e9248606f112" - }, - "requestInfo":{ - "source":"VID" - }, - "cloudConfiguration":{ - "tenantId": "88a6ca3ee0394ade9403f075db23167e", - "lcpCloudRegionId": "mdt1" - } - }} -http://localhost/ecomp/mso/infra/serviceInstances/v2/1abf1f1f-513c-4e9a-8294-a0932339a788/vnfs/65833f1d-d2ec-42ef-a316-c44be958acf7202No Authorization - - -set-testcase-requestId-propertyResponseDelete VNF$.requestReferences.requestIdrequestId#TestCase#JSONPATHtrueMsoRequestsDbAdapterImplPortBindingupdateInfraRequest<xml-fragment/>UTF-8http://${#Project#host}/dbadapters/RequestsDbAdapter - - - - ${#TestCase#requestId} - Arq - COMPLETE - ${#TestCase#serviceInstanceId} - - -]]>200${#Project#dbadapteruser}${#Project#dbadapterpassword}BasicBasicGlobal HTTP Settings<xml-fragment/>UTF-8http://${#Project#host}{"requestDetails": { - "modelInfo":{ - "modelCustomizationName":"", - "modelType":"service", - "modelInvariantId": "ff3514e3-5a33-55df-13ab-12abad84e7ff", - "modelNameVersionId": "fe6985cd-ea33-3346-ac12-ab121484a3fe", - "modelName": "dns-servicetest", - "modelVersion": "1.0" - }, - "requestInfo":{ - "source":"VID" - } - }} -http://localhost/ecomp/mso/infra/serviceInstances/v2/1abf1f1f-513c-4e9a-8294-a0932339a788202No Authorization<xml-fragment/>http://${#Project#host}{"requestDetails": { - "cloudConfiguration": { - "tenantId": "88a6ca3ee0394ade9403f075db23167e", - "lcpCloudRegionId": "MT" - }, - "modelInfo": { - "modelName": "Mog111..mog_psm..module-1", - "modelType": "volumeGroup", - "modelVersion": "1.0", - "modelInvariantId": "0e0c206d-c414-4c84-a39f-442611ed1b46" - }, - "relatedInstanceList": [ - {"relatedInstance": { - "modelInfo": { - "modelNameVersionId": "1e34774e-715e-4fd6-bd09-7b654622f35i", - "modelName": "dns-servicetest", - "modelType": "service", - "modelVersion": "1.0", - "modelInvariantId": "585822c8-4027-4f84-ba50-e9248606f111" - }, - "instanceId": "a82d6977-6493-484f-ae8c-1b2f442e0d82" - }}, - {"relatedInstance": { - "modelInfo": { - "modelNameVersionId": "fe6478e4-ea33-3346-ac12-ab121484a3fe", - "modelName": "DNSResource", - "modelType": "vnf", - "modelVersion": "1.0", - "modelCustomizationName": "DNSResource-1", - "modelInvariantId": "585822c7-4027-4f84-ba50-e9248606f112" - }, - "instanceId": "f90f877a-3c08-43f1-b1eb-e0bd282c0b81" - }} - ], - "requestInfo": { - "suppressRollback": false, - "source": "VID", - "instanceName": "zrdm3amogx02_psm02_vol" - }, - "requestParameters": {"userParams": []} - }}http://localhost/ecomp/mso/infra/serviceInstances/v2//vnfs//volumeGroups202${#Project#user-infraportal}${#Project#password-infraportal}BasicBasicGlobal HTTP Settings - - -serviceInstanceIdvnfInstanceIdset-testcase-volumeGroupId-propertyResponseCreate VolumeGroups$.requestReferences.instanceIdvomuleGroupInstanceId#TestCase#JSONPATHXPATHtrueset-testcase-requestIdResponseCreate VolumeGroups$.requestReferences.requestIdrequestId#TestCase#JSONPATHtrueMsoRequestsDbAdapterImplPortBindingupdateInfraRequest<xml-fragment/>UTF-8http://${#Project#host}/dbadapters/RequestsDbAdapter - - - - ${#TestCase#requestId} - Arq - COMPLETE - ${#TestCase#serviceInstanceId} - - -]]>200${#Project#dbadapteruser}${#Project#dbadapterpassword}BasicBasicGlobal HTTP Settings<xml-fragment/>http://${#Project#host}{"requestDetails": { - "cloudConfiguration": { - "tenantId": "88a6ca3ee0394ade9403f075db23167e", - "lcpCloudRegionId": "MT2" - }, - "modelInfo": { - "modelName": "Mog111..mog_psm..module-1", - "modelType": "volumeGroup", - "modelVersion": "1.0", - "modelInvariantId": "0e0c206d-c414-4c84-a39f-442611ed1b46" - }, - "relatedInstanceList": [ - {"relatedInstance": { - "modelInfo": { - "modelNameVersionId": "1e34774e-715e-4fd6-bd09-7b654622f35i", - "modelName": "dns-servicetest", - "modelType": "service", - "modelVersion": "1.0", - "modelInvariantId": "585822c8-4027-4f84-ba50-e9248606f111" - }, - "instanceId": "a82d6977-6493-484f-ae8c-1b2f442e0d82" - }}, - {"relatedInstance": { - "modelInfo": { - "modelNameVersionId": "fe6478e4-ea33-3346-ac12-ab121484a3fe", - "modelName": "DNSResource", - "modelType": "vnf", - "modelVersion": "1.0", - "modelCustomizationName": "DNSResource-1", - "modelInvariantId": "585822c7-4027-4f84-ba50-e9248606f112" - }, - "instanceId": "f90f877a-3c08-43f1-b1eb-e0bd282c0b81" - }} - ], - "requestInfo": { - "suppressRollback": false, - "source": "VID", - "instanceName": "zrdm3amogx02_psm02_vol" - } - }}http://localhost/ecomp/mso/infra/serviceInstances/v2//vnfs//volumeGroups/202${#Project#user-infraportal}${#Project#user-infraportal}BasicBasicGlobal HTTP Settings - - - -serviceInstanceIdvnfInstanceIdvolumeGroupInstanceIdset-testcase-requestIdResponseUpdate VolumeGroups$.requestReferences.requestIdrequestId#TestCase#JSONPATHtrueMsoRequestsDbAdapterImplPortBindingupdateInfraRequest<xml-fragment/>UTF-8http://${#Project#host}/dbadapters/RequestsDbAdapter - - - - ${#TestCase#requestId} - Arq - COMPLETE - ${#TestCase#serviceInstanceId} - - -]]>200${#Project#dbadapteruser}${#Project#dbadapterpassword}BasicBasicGlobal HTTP Settings<xml-fragment/>UTF-8http://${#Project#host}{"requestDetails": { - "modelInfo": { - "modelName": "Mog111..mog_psm..module-1", - "modelType": "volumeGroup", - "modelVersion": "1.0", - "modelInvariantId": "0e0c206d-c414-4c84-a39f-442611ed1b46" - }, - "requestInfo":{ - "source":"VID" - }, - "cloudConfiguration":{ - "tenantId": "88a6ca3ee0394ade9403f075db23167e", - "lcpCloudRegionId": "MT2" - } - }}http://localhost/ecomp/mso/infra/serviceInstances/v2//vnfs//volumeGroups/202No Authorization - - - -<xml-fragment/>UTF-8http://${#Project#host}{"requestDetails": { - "cloudConfiguration": { - "tenantId": "cff319d50266491fa744b0d493a51ce0", - "lcpCloudRegionId": "rdm3" - }, - "modelInfo": { - "modelName": "CONTRAIL30_BASIC", - "modelType": "network" - }, - "relatedInstanceList": [{"relatedInstance": { - "modelInfo": { - "modelNameVersionId": "1e34774e-715e-4fd6-bd09-7b654622f35i", - "modelName": "dns-servicetest", - "modelType": "service", - "modelVersion": "1.0", - "modelInvariantId": "585822c8-4027-4f84-ba50-e9248606f111" - }, - "instanceId": "a82d6977-6493-484f-ae8c-1b2f442e0d82" - }}], - "requestInfo": { - "productFamilyId": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb", - "source": "VID", - "instanceName": "MNS-25180-L-06Private_tst_mns_mgmt_net_1" - }, - "requestParameters": {} - }}http://localhost/ecomp/mso/infra/serviceInstances/v2/serviceInstanceId/networks202${#Project#user-infraportal}${#Project#password-infraportal}BasicBasicGlobal HTTP Settingsset-updateCreateNetworkRequstStatus-requestIdResponseCreate Networks$.requestReferences.requestIdrequestId#TestCase#JSONPATHXQUERYtrueMsoRequestsDbAdapterImplPortBindingupdateInfraRequest<xml-fragment/>UTF-8http://${#Project#host}/dbadapters/RequestsDbAdapter - - - - ${#TestCase#requestId} - Arq - COMPLETE - ${#TestCase#networkId} - - -]]>200${#Project#dbadapteruser}${#Project#dbadapterpassword}BasicBasicGlobal HTTP Settings<xml-fragment/>UTF-8http://${#Project#host}{"requestDetails": { - "cloudConfiguration": { - "tenantId": "cff319d50266491fa744b0d493a51ce0", - "lcpCloudRegionId": "rdm3" - }, - "modelInfo": { - "modelName": "CONTRAIL30_BASIC", - "modelType": "network" - }, - "relatedInstanceList": [{"relatedInstance": { - "modelInfo": { - "modelNameVersionId": "1e34774e-715e-4fd6-bd09-7b654622f35i", - "modelName": "dns-servicetest", - "modelType": "service", - "modelVersion": "1.0", - "modelInvariantId": "585822c8-4027-4f84-ba50-e9248606f111" - }, - "instanceId": "a82d6977-6493-484f-ae8c-1b2f442e0d82" - }}], - "requestInfo": { - "productFamilyId": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb", - "source": "VID", - "instanceName": "MNS-25180-L-06Private_tst_mns_mgmt_net_1" - }, - "requestParameters": {} - }}http://localhost/ecomp/mso/infra/serviceInstances/v2/c173e25c-adc4-4e66-9702-24cbd75a2243/networks/925f94f5-7ec6-4d99-a5e1-091c33709b76202No Authorization - - -set-updateCreateNetworkRequstStatus-requestIdResponseUpdaate Networks$.requestReferences.requestIdrequestId#TestCase#JSONPATHXQUERYtrueMsoRequestsDbAdapterImplPortBindingupdateInfraRequest<xml-fragment/>UTF-8http://${#Project#host}/dbadapters/RequestsDbAdapter - - - - ${#TestCase#requestId} - Arq - COMPLETE - ${#TestCase#networkId} - - -]]>200${#Project#dbadapteruser}${#Project#dbadapterpassword}BasicBasicGlobal HTTP Settings<xml-fragment/>UTF-8http://${#Project#host}{"requestDetails": { - "modelInfo":{ - "modelType":"network", - "modelName":"CONTRAIL30_BASIC", - "modelVersion":"1.0", - "modelInvariantId":"585822c8-4027-4f84-ba50-e9248606f111" - }, - "requestInfo":{"source":"VID"}, - "cloudConfiguration":{ - "tenantId":"cff319d50266491fa744b0d493a51ce0", - "lcpCloudRegionId":"rdm3" - } - }} -http://localhost/ecomp/mso/infra/serviceInstances/v2/c173e25c-adc4-4e66-9702-24cbd75a2243/networks/925f94f5-7ec6-4d99-a5e1-091c33709b76202No Authorization - - -<xml-fragment/>http://${#Project#host}{ - "requestDetails": { - "modelInfo": { - "modelTypeNotOK": "service", - "modelInvariantId": "ff3514e3-5a33-55df-13ab-12abad84e7ff", - "modelNameVersionId": "fe6985cd-ea33-3346-ac12-ab121484a3fe", - "modelName": "dns-servicetest", - "modelVersion": "1.0" - }, - "subscriberInfo": { - "globalSubscriberId": "subscriber-1", - "subscriberName": "testSubscriber" - }, - "requestInfo": { - "instanceName": "DNS_TEST", - "source": "VID", - "suppressRollback": true - }, - "requestParameters": { - "subscriptionServiceType": "MOG", - "userParams": [ - { - "name": "someUserParam", - "value": "someValue" - } - ] - } - } - }http://localhost/ecomp/mso/infra/serviceInstances/v2400 -Mapping of request to JSON object failedfalsefalse${#Project#user-infraportal}${#Project#password-infraportal}BasicBasicGlobal HTTP Settings<xml-fragment/>http://${#Project#host}{ - "requestDetails": { - "modelInfo": { - "modelType": "1", - "modelInvariantId": "ff3514e3-5a33-55df-13ab-12abad84e7ff", - "modelNameVersionId": "fe6985cd-ea33-3346-ac12-ab121484a3fe", - "modelName": "dns-servicetest", - "modelVersion": "1.0" - }, - "subscriberInfo": { - "globalSubscriberId": "subscriber-1", - "subscriberName": "testSubscriber" - }, - "requestInfo": { - "instanceName": "DNS_TEST", - "source": "VID", - "suppressRollback": true - }, - "requestParameters": { - "subscriptionServiceType": "MOG", - "userParams": [ - { - "name": "someUserParam", - "value": "someValue" - } - ] - } - } - }http://localhost/ecomp/mso/infra/serviceInstances/v2400Mapping of request to JSON object failed. Can not construct instance of org.openecomp.mso.apihandlerinfra.ModelType from String value '1'falsefalse${#Project#user-infraportal}${#Project#password-infraportal}BasicBasicGlobal HTTP Settings<xml-fragment/>http://${#Project#host}{ - "requestDetails": { - "modelInfo": { - "modelType": "service", - "modelInvariantId": "e", - "modelNameVersionId": "fe6985cd-ea33-3346-ac12-ab121484a3fe", - "modelName": "dns-servicetest", - "modelVersion": "1.0" - }, - "subscriberInfo": { - "globalSubscriberId": "subscriber-1", - "subscriberName": "testSubscriber" - }, - "requestInfo": { - "instanceName": "DNS_TEST", - "source": "VID", - "suppressRollback": true - }, - "requestParameters": { - "subscriptionServiceType": "MOG", - "userParams": [ - { - "name": "someUserParam", - "value": "someValue" - } - ] - } - } - }http://localhost/ecomp/mso/infra/serviceInstances/v2400Error parsing requestfalsefalseNo valid modelInvariantId format is specifiedfalsefalse${#Project#user-infraportal}${#Project#password-infraportal}BasicBasicGlobal HTTP Settings<xml-fragment/>http://${#Project#host}{ - "requestDetails": { - "modelInfo": { - "modelType": "service", - "modelInvariantId": "ff3514e3-5a33-55df-13ab-12abad84e7ff", - "modelNameVersionId": "fe6985cd-ea33-3346-ac12-ab121484a3fe", - "modelName": "dns-servicetest", - "modelVersion": "1.0" - }, - "subscriberInfo": { - "globalSubscriberId": "subscriber-1", - "subscriberName": "testSubscriber" - }, - "requestInfo": { - "instanceName": "DNS_TEST", - "source": "VID", - "suppressRollback": true - }, - "requestParameters": { - "subscriptionServiceType": "MOG", - "userParams": [ - { - "name": "someUserParam", - "value": "someValue" - } - ] - } - } - }http://localhost/ecomp/mso/infra/serviceInstances/v2202 -${#Project#user-infraportal}${#Project#password-infraportal}BasicBasicGlobal HTTP Settingsset-serviceInstanceId-propertyResponseCreate Service 2$.requestReferences.instanceIdserviceInstanceId#TestCase#JSONPATHXQUERYtrueset-requestId-propertyResponseCreate Service 2$.requestReferences.requestIdrequestId#TestCase#JSONPATHXQUERYtruetransfer-to-create-network-urlResponseCreate Service 2$.requestReferences.instanceIdRequestCreate Networks with wrong BPMN script URL$.requestDetails.relatedInstanceList[0].relatedInstance.instanceIdJSONPATHJSONPATHtruetransfer-to-create-network-urlResponseCreate Service 2$.requestReferences.instanceIdRequestCreate Networks with no BPMN script$.requestDetails.relatedInstanceList[0].relatedInstance.instanceIdJSONPATHJSONPATHtrue5000MsoRequestsDbAdapterImplPortBindingupdateInfraRequest<xml-fragment/>UTF-8http://${#Project#host}/dbadapters/RequestsDbAdapter - - - - ${#TestCase#requestId} - Arq - IN_PROGRESS - ${#TestCase#serviceInstanceId} - - -]]>200${#Project#dbadapteruser}${#Project#dbadapterpassword}BasicBasicGlobal HTTP Settings<xml-fragment/>http://${#Project#host}{ - "requestDetails": { - "modelInfo": { - "modelType": "service", - "modelInvariantId": "ff3514e3-5a33-55df-13ab-12abad84e7ff", - "modelNameVersionId": "fe6985cd-ea33-3346-ac12-ab121484a3fe", - "modelName": "dns-servicetest", - "modelVersion": "1.0" - }, - "subscriberInfo": { - "globalSubscriberId": "subscriber-1", - "subscriberName": "testSubscriber" - }, - "requestInfo": { - "instanceName": "DNS_TEST", - "source": "VID", - "suppressRollback": true - }, - "requestParameters": { - "subscriptionServiceType": "MOG", - "userParams": [ - { - "name": "someUserParam", - "value": "someValue" - } - ] - } - } - }http://localhost/ecomp/mso/infra/serviceInstances/v2409 - -Error: Locked instancefalsefalse${#Project#user-infraportal}${#Project#password-infraportal}BasicBasicGlobal HTTP Settings<xml-fragment/>UTF-8http://${#Project#host}{"requestDetails": { - "cloudConfiguration": { - "tenantId": "cff319d50266491fa744b0d493a51ce0", - "lcpCloudRegionId": "rdm3" - }, - "modelInfo": { - "modelName": "CONTRAIL30_BASIC", - "modelType": "network" - }, - "relatedInstanceList": [{"relatedInstance": { - "modelInfo": { - "modelNameVersionId": "1e34774e-715e-4fd6-bd09-7b654622f35i", - "modelName": "dns-servicetest", - "modelType": "service", - "modelVersion": "1.0", - "modelInvariantId": "585822c8-4027-4f84-ba50-e9248606f111" - }, - "instanceId": "f75b1c7d-e878-40a3-8877-bc5605615f4d" - }}], - "requestInfo": { - "productFamilyId": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb", - "source": "VID", - "instanceName": "MNS-25180-L-06Private_tst_mns_mgmt_net_1" - }, - "requestParameters": {} - }}http://localhost/ecomp/mso/infra/serviceInstances/v2/serviceInstanceId/networks502Failed calling bpmnfalsefalse${#Project#user-infraportal}${#Project#password-infraportal}BasicBasicGlobal HTTP Settings<xml-fragment/>UTF-8http://${#Project#host}{"requestDetails": { - "cloudConfiguration": { - "tenantId": "cff319d50266491fa744b0d493a51ce0", - "lcpCloudRegionId": "rdm3" - }, - "modelInfo": { - "modelName": "CONTRAIL30_BASIC", - "modelType": "network" - }, - "relatedInstanceList": [{"relatedInstance": { - "modelInfo": { - "modelNameVersionId": "1e34774e-715e-4fd6-bd09-7b654622f35i", - "modelName": "dns-servicetest", - "modelType": "service", - "modelVersion": "1.0", - "modelInvariantId": "585822c8-4027-4f84-ba50-e9248606f111" - }, - "instanceId": "f75b1c7d-e878-40a3-8877-bc5605615f4d" - }}], - "requestInfo": { - "productFamilyId": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb", - "source": "VID", - "instanceName": "MNS-25180-L-06Private_tst_mns_mgmt_net_1" - }, - "requestParameters": {} - }}http://localhost/ecomp/mso/infra/serviceInstances/v2/serviceInstanceId/networks404Recipe does not exist in catalog DBfalsefalse${#Project#user-infraportal}${#Project#password-infraportal}BasicBasicGlobal HTTP SettingsrequestId1cf0f4b3-8e50-4b14-bc46-37514b5f2cd4serviceInstanceIda82d6977-6493-484f-ae8c-1b2f442e0d82vnfInstanceIdf90f877a-3c08-43f1-b1eb-e0bd282c0b81vfModuleInstanceId38b74487-c406-47d7-a9eb-530dd89242ccvomuleGroupInstanceId20e3e2f9-25a3-494e-8108-cafa3ff992f1networkIdebdd074d-ba30-4d44-921c-323cec4e78fchostlocalhost:8080user-infraportalInfraPortalClientpassword-infraportalpassword1$db-driverdbadapteruserBPELClientdbadapterpasswordpassword1$ \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/SoapUI/MSOConfig-soapui-project.xml b/packages/arquillian-unit-tests/src/test/resources/SoapUI/MSOConfig-soapui-project.xml deleted file mode 100644 index 84449a2dab..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/SoapUI/MSOConfig-soapui-project.xml +++ /dev/null @@ -1,3 +0,0 @@ - -http://localhost:8080text/html;charset=utf-8401 403 500 404html0data0data0data0datatext/plain200data<xml-fragment/>http://${#Project#host}http://localhost/ecomp/mso/properties/show${#Project#user-csi}${#Project#password-csi}BasicBasicGlobal HTTP SettingsvaluemsoTEMPLATEmsocryptkey566B754875657232314F5548556D3665TEMPLATE566B754875657232314F5548556D3665text/html;charset=utf-8401 403 500 404html0data0data0data0datatext/plain200data<xml-fragment/>http://${#Project#host}http://localhost/ecomp/mso/properties/show${#Project#user-csi}${#Project#password-csi}BasicBasicGlobal HTTP Settingsvaluecryptkeytext/html;charset=utf-8401 403 500 404html0data0data0data0datatext/plain200data<xml-fragment/>http://${#Project#host}http://localhost/ecomp/mso/properties/show${#Project#user-csi}${#Project#password-csi}BasicBasicGlobal HTTP SettingsvaluemsoTEMPLATEmsocryptkey566B754875657232314F5548556D3665TEMPLATE566B754875657232314F5548556D3665text/html;charset=utf-8401 403 500 404html0data0data0data0datatext/plain200data<xml-fragment/>http://${#Project#host}http://localhost/ecomp/mso/properties/show${#Project#user-csi}${#Project#password-csi}BasicBasicGlobal HTTP Settingsvaluecryptkeytext/html;charset=utf-8401 403 500 404html0data0data0data0datatext/plain200data<xml-fragment/>http://${#Project#host}http://localhost/ecomp/mso/properties/show${#Project#user-csi}${#Project#password-csi}BasicBasicGlobal HTTP Settingstext/html;charset=utf-8401 403 500 404html0data0data0data0datatext/plain200data<xml-fragment/>http://${#Project#host}http://localhost/ecomp/mso/properties/show${#Project#user-csi}${#Project#password-csi}BasicBasicGlobal HTTP Settingstext/html;charset=utf-8401 403 500 404html0data0data0data0datatext/plain200data<xml-fragment/>http://${#Project#host}http://localhost/ecomp/mso/properties/show${#Project#user-csi}${#Project#password-csi}BasicBasicGlobal HTTP SettingspwdTEMPLATEtext/html;charset=utf-8401 403 500 404html0data0data0data0datatext/plain200data<xml-fragment/>http://${#Project#host}http://localhost/ecomp/mso/properties/show${#Project#user-csi}${#Project#password-csi}BasicBasicGlobal HTTP Settingspwdtext/html;charset=utf-8401 403 500 404html0data0data0data0datatext/plain200data<xml-fragment/>http://${#Project#host}http://localhost/ecomp/mso/properties/show${#Project#user-csi}${#Project#password-csi}BasicBasicGlobal HTTP SettingsvaluemsoTEMPLATEmsocryptkey566B754875657232314F5548556D3665TEMPLATE566B754875657232314F5548556D3665text/html;charset=utf-8401 403 500 404html0data0data0data0datatext/plain200data<xml-fragment/>http://${#Project#host}http://localhost/ecomp/mso/properties/show${#Project#user-csi}${#Project#password-csi}BasicBasicGlobal HTTP SettingsvaluecryptkeySEQUENTIAL<xml-fragment/>http://${#Project#host}http://localhost/ecomp/mso/properties/showConfig file falsefalse200${#Project#msoclient}${#Project#msoclientpassword}BasicBasicGlobal HTTP Settings<xml-fragment/>http://${#Project#host}http://localhost/ecomp/mso/properties/show32221B0E4D30434BAE82C67492419CF8falsefalse${#Project#msoclient}${#Project#msoclientpassword}BasicBasicGlobal HTTP Settingsvaluecryptkey<xml-fragment/>http://${#Project#host}http://localhost/ecomp/mso/properties/showConfig file falsefalse200${#Project#msoclient}${#Project#msoclientpassword}BasicBasicGlobal HTTP Settings<xml-fragment/>http://${#Project#host}http://localhost/ecomp/mso/properties/show32221B0E4D30434BAE82C67492419CF8falsefalse${#Project#msoclient}${#Project#msoclientpassword}BasicBasicGlobal HTTP Settingsvaluecryptkey<xml-fragment/>http://${#Project#host}http://localhost/ecomp/mso/properties/showCloudSite:falsefalseCloud Identity Service:falsefalse200 -${#Project#user-csi}${#Project#password-csi}BasicBasicGlobal HTTP Settings<xml-fragment/>http://${#Project#host}http://localhost/ecomp/mso/properties/showClient caches reset. All entries removed.falsefalse${#Project#user-csi}${#Project#password-csi}BasicBasicGlobal HTTP Settings<xml-fragment/>http://${#Project#host}http://localhost/ecomp/mso/properties/showClient caches cleaned up. All expired entries removedfalsefalse${#Project#user-csi}${#Project#password-csi}BasicBasicGlobal HTTP Settings<xml-fragment/>http://${#Project#host}http://localhost/ecomp/mso/properties/showEncrypted Password = BD658F0271882F8285C0D9EC839C4178falsefalse${#Project#user-csi}${#Project#password-csi}BasicBasicGlobal HTTP Settingspwd<xml-fragment/>http://${#Project#host}http://localhost/ecomp/mso/properties/showConfig file falsefalse200${#Project#msoclient}${#Project#msoclientpassword}BasicBasicGlobal HTTP Settings<xml-fragment/>http://${#Project#host}http://localhost/ecomp/mso/properties/show32221B0E4D30434BAE82C67492419CF8falsefalse${#Project#msoclient}${#Project#msoclientpassword}BasicBasicGlobal HTTP Settingsvaluecryptkeyhostlocalhost:18080user-infraportalInfraPortalClientpassword-infraportalpassword1$msoclientMSOClientmsoclientpasswordpassword1$ \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/SoapUI/MSONetworkAdapter-soapui-project.xml b/packages/arquillian-unit-tests/src/test/resources/SoapUI/MSONetworkAdapter-soapui-project.xml deleted file mode 100644 index 6c7522105a..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/SoapUI/MSONetworkAdapter-soapui-project.xml +++ /dev/null @@ -1,596 +0,0 @@ - -file:\C:\Dev\Git\mso-unified\adapters\mso-network-adapter\target\generated-sources\wsdl\NetworkAdapter.wsdl - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -]]>http://schemas.xmlsoap.org/wsdl/REPLACE_WITH_ACTUAL_URL<xml-fragment/>UTF-8http://${#Project#host}/dbadapters/RequestsDbAdapter\r - \r - \r - \r - cloud\r - tenant\r - networkType\r - networkName\r - \r - physicalNetworkName\r - \r - lan1\r - \r - false\r - \r - \r - \r - IntegTests\r - \r - toto\r - \r - \r - \r -]]>No AuthorizationUTF-8REPLACE_WITH_ACTUAL_URL\r - \r - \r - \r - ?\r - ?\r - ?\r - ?\r - \r - \r - \r - ?\r - \r - ?\r - \r - \r - \r -]]>UTF-8REPLACE_WITH_ACTUAL_URL\r - \r - \r - \r - \r -]]>UTF-8REPLACE_WITH_ACTUAL_URL\r - \r - \r - \r - ?\r - ?\r - ?\r - \r - \r - \r - ?\r - \r - ?\r - \r - \r - \r -]]>UTF-8REPLACE_WITH_ACTUAL_URL\r - \r - \r - \r - \r - \r - ?\r - \r - \r - \r - ?\r - \r - ?\r - \r - ?\r - \r - ?\r - \r - ?\r - \r - ?\r - ?\r - \r - ?\r - \r - ?\r - \r - ?\r - \r - ?\r - \r - \r - \r -]]>UTF-8REPLACE_WITH_ACTUAL_URL\r - \r - \r - \r - ?\r - ?\r - ?\r - ?\r - ?\r - ?\r - \r - ?\r - \r - \r - \r - ?\r - \r - ?\r - \r - \r - \r -]]>SEQUENTIALMsoNetworkAdapterImplPortBindingcreateNetwork<xml-fragment/>UTF-8http://${#Project#host}/networks/NetworkAdapter - - - - toto - b0784c65ad104c9ab2df27c1b2e04bd0 - vlan - tete - - - - titi10 - - true - - - - - - requestIdserviceInstanceId - - - -]]>500CloudSite does not exist in MSO ConfigurationfalsefalseBPELClientpassword1$BasicBasicGlobal HTTP SettingsMsoNetworkAdapterImplPortBindingcreateNetwork<xml-fragment/>UTF-8http://${#Project#host}/networks/NetworkAdapter - - - - MT - b0784c65ad104c9ab2df27c1b2e04bd0 - vlan - - - - titi10 - - true - - - - - - requestIdserviceInstanceId - - - -]]>500Create Network: Missing parameters: networkNamefalsefalseBPELClientpassword1$BasicBasicGlobal HTTP SettingsMsoNetworkAdapterImplPortBindingcreateNetwork<xml-fragment/>UTF-8http://${#Project#host}/networks/NetworkAdapter - - - - MT - b0784c65ad104c9ab2df27c1b2e04bd0 - tata - - - - titi10 - - true - - - - - - requestIdserviceInstanceId - - - -]]>500<faultstring>Create/UpdateNetwork: Unable to get network resource with NetworkType:tata or ModelCustomizationUUID:nullfalsefalseBPELClientpassword1$BasicBasicGlobal HTTP SettingsMsoNetworkAdapterImplPortBindingdeleteNetwork<xml-fragment/>UTF-8http://${#Project#host}/networks/NetworkAdapter\r - - - - ? - ? - ? - ? - - - - ? - - ? - - - -]]>500 -[DeleteNetwork] Cloud Site [?] not foundfalsefalseBPELClientpassword1$BasicBasicGlobal HTTP SettingsMsoNetworkAdapterImplPortBindingdeleteNetwork<xml-fragment/>UTF-8http://${#Project#host}/networks/NetworkAdapter\r - - - - Jenkins_TEST_Cloud - toto - vlan - - - - ? - - ? - - - -]]>500 -<faultstring>Missing mandatory parameter cloudSiteId, tenantId or networkId</faultstring>falsefalseBPELClientpassword1$BasicBasicGlobal HTTP SettingsMsoNetworkAdapterImplPortBindinghealthCheck<xml-fragment/>UTF-8http://${#Project#host}/networks/NetworkAdapter\r - \r - \r - \r - \r -]]>200BPELClientpassword1$BasicBasicGlobal HTTP SettingsMsoNetworkAdapterImplPortBindingqueryNetwork<xml-fragment/>UTF-8http://${#Project#host}/networks/NetworkAdapter\r - \r - \r - \r - ?\r - ?\r - ?\r - \r - \r - \r - ?\r - \r - ?\r - \r - \r - \r -]]>500CloudSite does not exist in MSO ConfigurationfalsefalseBPELClientpassword1$BasicBasicGlobal HTTP SettingsMsoNetworkAdapterImplPortBindingrollbackNetwork<xml-fragment/>UTF-8http://${#Project#host}/networks/NetworkAdapter\r - \r - \r - \r - \r - \r - ?\r - \r - \r - \r - 12\r - \r - ?\r - \r - ?\r - \r - ?\r - \r - ?\r - \r - ?\r - ?\r - \r - ?\r - ? - \r - ?\r - \r - ?\r - \r - \r - \r - \r - \r -]]>500<message>Rollback Network: Unknown Network Type: ?</message>falsefalseBPELClientpassword1$BasicBasicGlobal HTTP SettingsMsoNetworkAdapterImplPortBindingupdateNetwork<xml-fragment/>UTF-8http://${#Project#host}/networks/NetworkAdapter\r - \r - \r - \r - ?\r - ?\r - ?\r - ?\r - ?\r - ?\r - \r - \r - \r - \r - \r - ?\r - \r - ?\r - \r - \r - \r -]]>500 CloudSite does not exist in MSO ConfigurationfalsefalseBPELClientpassword1$BasicBasicGlobal HTTP Settingshostlocalhost:8080 \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/SoapUI/MSOTenantAdapter-soapui-project.xml b/packages/arquillian-unit-tests/src/test/resources/SoapUI/MSOTenantAdapter-soapui-project.xml deleted file mode 100644 index f3afbd354d..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/SoapUI/MSOTenantAdapter-soapui-project.xml +++ /dev/null @@ -1,422 +0,0 @@ - -file:\C:\Dev\Git\mso\adapters\mso-tenant-adapter\target\generated-sources\wsdl\TenantAdapter.wsdl - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -]]>http://schemas.xmlsoap.org/wsdl/REPLACE_WITH_ACTUAL_URLUTF-8REPLACE_WITH_ACTUAL_URL\r - \r - \r - \r - ?\r - ?\r - \r - \r - \r - \r - ?\r - \r - ?\r - \r - \r - \r - ?\r - \r - \r - \r - ?\r - \r - ?\r - \r - \r - \r -]]>UTF-8REPLACE_WITH_ACTUAL_URL\r - \r - \r - \r - ?\r - ?\r - \r - \r - \r - ?\r - \r - ?\r - \r - \r - \r -]]>UTF-8REPLACE_WITH_ACTUAL_URL\r - \r - \r - \r - \r -]]>UTF-8REPLACE_WITH_ACTUAL_URL\r - \r - \r - \r - ?\r - ?\r - \r - \r - \r - ?\r - \r - ?\r - \r - \r - \r -]]>UTF-8REPLACE_WITH_ACTUAL_URL\r - \r - \r - \r - \r - \r - ?\r - \r - \r - \r - ?\r - \r - ?\r - \r - ?\r - \r - ?\r - \r - \r - \r -]]>SEQUENTIALMsoTenantAdapterImplPortBindingcreateTenant<xml-fragment/>UTF-8http://${#Project#host}/tenants/TenantAdapter\r - \r - \r - \r - MT\r - tenant\r - \r - \r - \r - \r - key1\r - \r - value1\r - \r - \r - \r - true\r - \r - \r - \r - req\r - \r - serv\r - \r - \r - \r -]]>failed: Connection refusedfalsefalse${#Project#user-bpel}${#Project#password-bpel}BasicBasicGlobal HTTP SettingsMsoTenantAdapterImplPortBindingdeleteTenant<xml-fragment/>UTF-8http://${#Project#host}/tenants/TenantAdapter\r - \r - \r - \r - MT\r - someTenant\r - \r - \r - \r - reqD\r - \r - servD\r - \r - \r - \r -]]>failed: Connection refusedfalsefalse${#Project#user-bpel}${#Project#password-bpel}BasicBasicGlobal HTTP SettingsMsoTenantAdapterImplPortBindinghealthCheck<xml-fragment/>UTF-8http://${#Project#host}/tenants/TenantAdapter\r - \r - \r - \r - \r -]]>200${#Project#user-bpel}${#Project#password-bpel}BasicBasicGlobal HTTP SettingsMsoTenantAdapterImplPortBindingqueryTenant<xml-fragment/>UTF-8http://${#Project#host}/tenants/TenantAdapter\r - \r - \r - \r - MT\r - notWorkingTenant\r - \r - \r - \r - qReq\r - \r - qServ\r - \r - \r - \r -]]>failed: Connection refusedfalsefalse${#Project#user-bpel}${#Project#password-bpel}BasicBasicGlobal HTTP SettingsMsoTenantAdapterImplPortBindingrollbackTenant<xml-fragment/>UTF-8http://${#Project#host}/tenants/TenantAdapter\r - \r - \r - \r - \r - \r - MT\r - \r - \r - \r - toto\r - \r - tutu\r - \r - true\r - \r - tenantId\r - \r - \r - \r -]]>failed: Connection refusedfalsefalse${#Project#user-bpel}${#Project#password-bpel}BasicBasicGlobal HTTP Settingshostlocalhost:18080user-bpelBPELClientpassword-bpelpassword1$ \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/SoapUI/MSOVnfAdapter-soapui-project.xml b/packages/arquillian-unit-tests/src/test/resources/SoapUI/MSOVnfAdapter-soapui-project.xml deleted file mode 100644 index 4d704d1908..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/SoapUI/MSOVnfAdapter-soapui-project.xml +++ /dev/null @@ -1,623 +0,0 @@ - -file:\C:\Dev\Git\mso\adapters\mso-vnf-adapter\target\generated-sources\wsdl\VnfAdapter.wsdl - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -]]>http://schemas.xmlsoap.org/wsdl/REPLACE_WITH_ACTUAL_URL<xml-fragment/>UTF-8http://${#Project#host}/vnfs/VnfAdapter\r - \r - \r - \r - Toto\r - tenant\r - VF\r - \r - 1\r - Turlututu\r - \r - \r - \r - \r - key1\r - \r - value1\r - \r - \r - \r - true\r - \r - \r - \r - reqSoapUI\r - \r - servSoapUI\r - \r - \r - \r -]]>BPELClientpassword1$BasicBasicGlobal HTTP SettingsUTF-8REPLACE_WITH_ACTUAL_URL\r - \r - \r - \r - ?\r - ?\r - ?\r - \r - \r - \r - ?\r - \r - ?\r - \r - \r - \r -]]>UTF-8REPLACE_WITH_ACTUAL_URL\r - \r - \r - \r - \r -]]>UTF-8REPLACE_WITH_ACTUAL_URL\r - \r - \r - \r - ?\r - ?\r - ?\r - \r - \r - \r - ?\r - \r - ?\r - \r - \r - \r -]]>UTF-8REPLACE_WITH_ACTUAL_URL\r - \r - \r - \r - \r - \r - ?\r - \r - \r - \r - ?\r - \r - ?\r - \r - ?\r - \r - ?\r - ?\r - \r - ?\r - \r - \r - \r -]]>UTF-8REPLACE_WITH_ACTUAL_URL\r - \r - \r - \r - ?\r - ?\r - ?\r - \r - ?\r - ?\r - \r - \r - \r - \r - ?\r - \r - ?\r - \r - \r - \r - \r - \r - ?\r - \r - ?\r - \r - \r - \r -]]>SEQUENTIALMsoVnfAdapterImplPortBindingcreateVnf<xml-fragment/>UTF-8http://${#Project#host}/vnfs/VnfAdapter - - - - Toto - tenant - VF - - 1 - Turlututu - - - - - key1 - - value1 - - - - true - - - - reqSoapUI - - servSoapUI - - - -]]><message>[CreateVFModule] Cloud Site [Toto] not found</message>falsefalseBPELClientpassword1$BasicBasicGlobal HTTP SettingsMsoVnfAdapterImplPortBindingcreateVnf<xml-fragment/>UTF-8http://${#Project#host}/vnfs/VnfAdapter - - - - MT - tenant - VF - - 1 - - - - - - key1 - - value1 - - - - true - - - - reqSoapUI - - servSoapUI - - - -]]>failed: Connection refusedfalsefalseBPELClientpassword1$BasicBasicGlobal HTTP SettingsMsoVnfAdapterImplPortBindingdeleteVnf<xml-fragment/>UTF-8http://${#Project#host}/vnfs/VnfAdapter\r - \r - \r - \r - MT\r - tenant\r - name\r - \r - \r - \r - reqSoapUI\r - \r - servSoapUI\r - \r - \r - \r -]]>failed: Connection refusedfalsefalseBPELClientpassword1$BasicBasicGlobal HTTP SettingsMsoVnfAdapterImplPortBindinghealthCheck<xml-fragment/>UTF-8http://${#Project#host}/vnfs/VnfAdapter\r - \r - \r - \r - \r -]]>200BPELClientpassword1$BasicBasicGlobal HTTP SettingsMsoVnfAdapterImplPortBindingqueryVnf<xml-fragment/>UTF-8http://${#Project#host}/vnfs/VnfAdapter\r - \r - \r - \r - MT\r - tt\r - vv\r - \r - \r - \r - req\r - \r - serv\r - \r - \r - \r -]]>failed: Connection refusedfalsefalseBPELClientpassword1$BasicBasicGlobal HTTP SettingsMsoVnfAdapterImplPortBindingrollbackVnf<xml-fragment/>UTF-8http://${#Project#host}/vnfs/VnfAdapter\r - \r - \r - \r - \r - \r - MT\r - \r - \r - \r - rq\r - \r - sv\r - \r - true\r - \r - tt\r - true\r - \r - vv\r - \r - \r - \r -]]>failed: Connection refusedfalsefalseBPELClientpassword1$BasicBasicGlobal HTTP SettingsMsoVnfAdapterImplPortBindingupdateVnf<xml-fragment/>UTF-8http://${#Project#host}/vnfs/VnfAdapter\r - \r - \r - \r - MT\r - to\r - vo\r - \r - 1\r - name\r - \r - \r - \r - \r - key1\r - \r - val1\r - \r - \r - \r - \r - \r - reqq\r - \r - servv\r - \r - \r - \r -]]>failed: Connection refusedfalsefalseBPELClientpassword1$BasicBasicGlobal HTTP Settingshostlocalhost:18080 \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/SoapUI/MsoRequestDB-soapui-project.xml b/packages/arquillian-unit-tests/src/test/resources/SoapUI/MsoRequestDB-soapui-project.xml deleted file mode 100644 index fd68b22623..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/SoapUI/MsoRequestDB-soapui-project.xml +++ /dev/null @@ -1,377 +0,0 @@ - -file:/RequestsDbAdapter.wsdl - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -]]>http://schemas.xmlsoap.org/wsdl/REPLACE_WITH_ACTUAL_URLUTF-8REPLACE_WITH_ACTUAL_URL\r - \r - \r - \r - ?\r - \r - \r -]]>UTF-8REPLACE_WITH_ACTUAL_URL\r - \r - \r - \r - ?\r - ?\r - \r - ?\r - \r - ?\r - \r - ?\r - \r - ?\r - \r - ?\r - \r - \r -]]>UTF-8REPLACE_WITH_ACTUAL_URL - - - - ? - - -]]>http://localhost:8080application/xmlv1:service-requesttext/html500htmlapplication/xml500 400 503 404 502 409v1:service-responseapplication/xml202v1:service-responsetext/html;charset=utf-8401 404 403 405 500html0data0data0data0data0data0data0data0data0data0data0data0data0data0data0data0data<xml-fragment/>http://${#Project#host} - - 3d878a8e-51fa-44aa-8cb5-a56ae9352252 - CREATE - PORTAL - - - yjvnfvmsc - VPE - SDN-ETHERNET-INTERNET - AUSTXAALCP1 - 276b95b6d2b04e2e830c976eb70c9405 - - - -]]>http://localhost/ecomp/mso/v1/services${#Project#user-csi}${#Project#password-csi}BasicBasicGlobal HTTP Settingsrequest-idTEMPLATEapplication/xmlv1:service-requesttext/html500htmlapplication/xml500 400 503 404v1:service-responseapplication/xml202v1:service-responsetext/html;charset=utf-8401 404 403 405 500html0data0data0data0data0data0data0data0data0data0data0data0data0data0data0data*/*200v1:query-response0dataapplication/octet-stream200v1:vnf-request<xml-fragment/>http://${#Project#host} - - 155415ab-b4a7-4382-b4c6-d17d950565 - FeatureChangeActivateRequest - OMX - https://localhost:22443/Services/com/cingular/csi/sdn/SendManagedNetworkStatusNotification.jws - 5051560 - 1 - - - SDN-ETHERNET-INTERNET - HI/VLXM/003717//SW_INTERNET - ST E2E Test50565_13000050565 - - - FIREWALL-LITE - HI/VLXM/003717//SW_INTERNET - ST E2E Test50565_13000050565 - - -]]>http://localhost/ecomp/mso/v1/services/feature${#Project#user-csi}${#Project#password-csi}BasicBasicGlobal HTTP Settingsrequest-idSEQUENTIAL<xml-fragment/>http://${#Project#host} - - IntegTestsInfra - CREATE - PORTAL - - - ArqVnf - VPE - SDN-ETHERNET-INTERNET - AUSTXAALCP1 - 276b95b6d2b04e2e830c976eb70c9405 - - - -]]>http://localhost/ecomp/mso/v1/services500,400<request-status>FAILED</request-status>falsefalse${#Project#user-infraportal}${#Project#password-infraportal}BasicBasicGlobal HTTP SettingsRequestIdResponsePOST VNF infra request - NO BPELdeclare namespace vnf='http://org.openecomp/mso/infra/vnf-request/v1'; -//vnf:vnf-request[1]/vnf:request-info[1]/vnf:request-id[1]RequestupdateInfraRequestdeclare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/'; -declare namespace req='http://org.openecomp.mso/requestsdb'; -//soapenv:Envelope/soapenv:Body/req:updateInfraRequest/requestId -trueToGetResponsePOST VNF infra request - NO BPELdeclare namespace vnf='http://org.openecomp/mso/infra/vnf-request/v1'; -//vnf:vnf-request[1]/vnf:request-info[1]/vnf:request-id[1]request-idGet Infra requesttrueToSoapGetResponsePOST VNF infra request - NO BPELdeclare namespace vnf='http://org.openecomp/mso/infra/vnf-request/v1'; -//vnf:vnf-request[1]/vnf:request-info[1]/vnf:request-id[1]Requestget infra soapdeclare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/'; -declare namespace req='http://org.openecomp.mso/requestsdb'; -//soapenv:Envelope/soapenv:Body/req:getInfraRequest/requestId -trueRequestId2ResponsePOST VNF infra request - NO BPELdeclare namespace vnf='http://org.openecomp/mso/infra/vnf-request/v1'; -//vnf:vnf-request[1]/vnf:request-info[1]/vnf:request-id[1]RequestupdateInfraRequest 2declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/'; -declare namespace req='http://org.openecomp.mso/requestsdb'; -//soapenv:Envelope/soapenv:Body/req:updateInfraRequest/requestId -XPATHXPATHtrueToSoapGet2ResponsePOST VNF infra request - NO BPELdeclare namespace vnf='http://org.openecomp/mso/infra/vnf-request/v1'; -//vnf:vnf-request[1]/vnf:request-info[1]/vnf:request-id[1]Requestget infra soap 2declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/'; -declare namespace req='http://org.openecomp.mso/requestsdb'; -//soapenv:Envelope/soapenv:Body/req:getInfraRequest/requestId -XPATHXPATHtrueRequestId statusResponsePOST VNF infra request - NO BPELdeclare namespace vnf='http://org.openecomp/mso/infra/vnf-request/v1'; -//vnf:vnf-request[1]/vnf:request-info[1]/vnf:request-id[1]RequestupdateInfraRequest statusdeclare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/'; -declare namespace req='http://org.openecomp.mso/requestsdb'; -//soapenv:Envelope/soapenv:Body/req:updateInfraRequest/requestId -XPATHXPATHtrueMsoRequestsDbAdapterImplPortBindingupdateInfraRequest<xml-fragment/>UTF-8http://${#Project#host}/dbadapters/RequestsDbAdapter - - - - 22ae9257-022b-4050-8b31-998034cc49a8 - Arq - IN_PROGRESS - - -]]>200${#Project#dbadapteruser}${#Project#dbadapterpassword}BasicBasicGlobal HTTP SettingsMsoRequestsDbAdapterImplPortBindingupdateInfraRequest<xml-fragment/>UTF-8http://${#Project#host}/dbadapters/RequestsDbAdapter - - - - 22ae9257-022b-4050-8b31-998034cc49a8 - Arq - COMPLETE - - -]]>200${#Project#dbadapteruser}${#Project#dbadapterpassword}BasicBasicGlobal HTTP Settings<xml-fragment/>http://${#Project#host} - - 155415ab-b4a7-4382-b4c6-d17d950565 - FeatureChangeActivateRequest - OMX - https://localhost:22443/Services/com/cingular/csi/sdn/SendManagedNetworkStatusNotification.jws - 5051560 - 1 - - - SDN-ETHERNET-INTERNET - HI/VLXM/003717//SW_INTERNET - ST E2E Test50565_13000050565 - - - FIREWALL-LITE - HI/VLXM/003717//SW_INTERNET - ST E2E Test50565_13000050565 - - -]]>http://localhost/ecomp/mso/v1/services/feature200<request-status>COMPLETE</request-status>falsefalse(?s).*<request-id>[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}<\/request-id>(?s).*falsetrue${#Project#user-infraportal}${#Project#password-infraportal}BasicBasicGlobal HTTP Settingsrequest-idMsoRequestsDbAdapterImplPortBindinggetInfraRequest<xml-fragment/>UTF-8http://${#Project#host}/dbadapters/RequestsDbAdapter - - - - 22ae9257-022b-4050-8b31-998034cc49a8 - - -]]><lastModifiedBy>Arq</lastModifiedBy>falsefalse${#Project#dbadapteruser}${#Project#dbadapterpassword}BasicBasicGlobal HTTP SettingsMsoRequestsDbAdapterImplPortBindingupdateInfraRequest<xml-fragment/>UTF-8http://${#Project#host}/dbadapters/RequestsDbAdapter - - - - 22ae9257-022b-4050-8b31-998034cc49a8 - Arq - - newStatus - - body - - status - - 98 - - OneSmallStepForMan - - -]]>200${#Project#dbadapteruser}${#Project#dbadapterpassword}BasicBasicGlobal HTTP SettingsMsoRequestsDbAdapterImplPortBindinggetInfraRequest<xml-fragment/>UTF-8http://${#Project#host}/dbadapters/RequestsDbAdapter - - - - 22ae9257-022b-4050-8b31-998034cc49a8 - - -]]><lastModifiedBy>Arq</lastModifiedBy>falsefalse${#Project#dbadapteruser}${#Project#dbadapterpassword}BasicBasicGlobal HTTP Settingshostlocalhost:18080user-infraportalInfraPortalClientpassword-infraportalpassword1$dbadapteruserBPELClientdbadapterpasswordpassword1$ \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/SoapUI/soapui-settings.xml b/packages/arquillian-unit-tests/src/test/resources/SoapUI/soapui-settings.xml deleted file mode 100644 index 2c03cdcfb6..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/SoapUI/soapui-settings.xml +++ /dev/null @@ -1,4 +0,0 @@ - -<con:entry xmlns:con="http://eviware.com/soapui/config">schema@http://www.w3.org/2001/XMLSchema</con:entry>true1.12000truetruetruetruetruetruetruetrue60truetruetruetruetrue0truetruetruetruetruefalse/usr/share/SoapUI-5.2.1/wsi-test-toolstrue5.2<xml-fragment/> - -]]> \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/arquillian.xml b/packages/arquillian-unit-tests/src/test/resources/arquillian.xml deleted file mode 100644 index 6da80f2093..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/arquillian.xml +++ /dev/null @@ -1,102 +0,0 @@ - - - - - - STARTANDSTOP - - - - - 1.24 - - ${docker.url} - CUBE - - mso: - image: openecomp/mso-arquillian:${images.version} - beforeStop: - - copy: - from: /opt/jboss/standalone/log/ - to: ${target.folder}/mso-automated-tests/jboss-logs - - copy: - from: /var/log/ecomp/MSO - to: ${target.folder}/mso-automated-tests/mso-logs - - copy: - from: /tmp/mso-log-checker.log - to: ${target.folder}/mso-automated-tests/ - hostName: mso - await: - strategy: http - match: 'regexp:(.*)Welcome to WildFly 10(.*)' - responseCode: 200 - url: http://dockerHost:18080 - sleepPollingTime: 30 s - iterations: 20 - portBindings: [18080->8080/tcp, 9990/tcp, 9999/tcp] - volumes: [/shared] - binds: - - ${target.folder}/test-classes/docker/mso:/shared - links: - - mariadb:mariadb - - jacoco-shared:jacoco-shared - jacoco-shared: - image: openecomp/jacoco:1.0 - beforeStop: - - copy: - from: /shared/jacoco-it.exec - to: ${target.folder}/mso-automated-tests/ - hostName: jacoco - volumes: [/shared] - binds: - - ${target.folder}/test-classes/docker/mso:/shared:ro - mariadb: - image: mariadb:10.1.11 - beforeStop: - - log: - to: ${target.folder}/mso-automated-tests/db/mariadb.log - follow: false - stdout: true - stderr: true - timestamps: true - exposedPorts: [3306/tcp] - await: - strategy: polling - ports: [3306] - sleepPollingTime: 15 s - iterations: 80 - env: [MYSQL_ROOT_PASSWORD=Etoile19_] - portBindings: [3306/tcp] - hostName: mariadb - volumes: [/etc/mysql/conf.d,/docker-entrypoint-initdb.d] - binds: - - ${target.folder}/test-classes/docker/mariadb/conf1:/etc/mysql/conf.d:ro - - ${target.folder}/../../root-pack-extras/config-resources/mariadb:/docker-entrypoint-initdb.d:ro - - - false - true - true - mso - - - - - - ${docker.hostname} - 9990 - admin - Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U - - - ${docker.hostname} - 18080 - - - - - \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/docker/mariadb/conf1/mariadb1.cnf b/packages/arquillian-unit-tests/src/test/resources/docker/mariadb/conf1/mariadb1.cnf deleted file mode 100644 index 0be1bd7aa3..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/docker/mariadb/conf1/mariadb1.cnf +++ /dev/null @@ -1,194 +0,0 @@ -# Example MySQL config file for medium systems. -# -# This is for a system with memory 8G where MySQL plays -# an important part, or systems up to 128M where MySQL is used together with -# other programs (such as a web server) -# -# In this file, you can use all long options that a program supports. -# If you want to know which options a program supports, run the program -# with the "--help" option. - -# The following options will be passed to all MySQL clients -##[client] -##user = root -##port = 3306 -##socket = //opt/app/mysql/mysql.sock - -# Here follows entries for some specific programs - -# The MySQL server -[mysqld] -##performance_schema - -slow_query_log =ON -long_query_time =2 -slow_query_log_file =//var/lib/mysql/slow_query.log -##basedir = //opt/app/mysql/product/mariadb-10.1.11-linux-x86_64 -##datadir = //opt/app/mysql/data -##port = 3306 -##socket = //opt/app/mysql/mysql.sock -skip-external-locking -explicit_defaults_for_timestamp = true -skip-symbolic-links -local-infile = 0 -#ignore_db_dir=lost+found -key_buffer_size = 16M -max_allowed_packet = 4M -table_open_cache = 100 -sort_buffer_size = 512K -net_buffer_length = 8K -read_buffer_size = 256K -read_rnd_buffer_size = 512K -myisam_sort_buffer_size = 8M -max_connections = 500 -lower_case_table_names = 1 -thread_stack = 256K -thread_cache_size = 25 -query_cache_size = 8M -query_cache_type = 0 -query_prealloc_size = 512K -query_cache_limit = 1M - -# Password validation -##plugin-load-add=simple_password_check.so -##simple_password_check_other_characters=0 - -# Audit Log settings -plugin-load-add=server_audit.so -server_audit=FORCE_PLUS_PERMANENT -server_audit_file_path=//var/lib/mysql/audit.log -server_audit_file_rotate_size=50M -server_audit_events=CONNECT,QUERY,TABLE -server_audit_logging=on - -# Don't listen on a TCP/IP port at all. This can be a security enhancement, -# if all processes that need to connect to mysqld run on the same host. -# All interaction with mysqld must be made via Unix sockets or named pipes. -# Note that using this option without enabling named pipes on Windows -# (via the "enable-named-pipe" option) will render mysqld useless! -# -#skip-networking - -# Replication Master Server (default) -# binary logging is required for replication -##log-bin=//var/lib/mysql/mysql-bin - -# binary logging format - mixed recommended -binlog_format=row - -# required unique id between 1 and 2^32 - 1 -# defaults to 1 if master-host is not set -# but will not function as a master if omitted - -# Replication Slave (comment out master section to use this) -# -# To configure this host as a replication slave, you can choose between -# two methods : -# -# 1) Use the CHANGE MASTER TO command (fully described in our manual) - -# the syntax is: -# -# CHANGE MASTER TO MASTER_HOST=, MASTER_PORT=, -# MASTER_USER=, MASTER_PASSWORD= ; -# -# where you replace , , by quoted strings and -# by the master's port number (3306 by default). -# -# Example: -# -# CHANGE MASTER TO MASTER_HOST='125.564.12.1', MASTER_PORT=3306, -# MASTER_USER='joe', MASTER_PASSWORD='secret'; -# -# OR -# -# 2) Set the variables below. However, in case you choose this method, then -# start replication for the first time (even unsuccessfully, for example -# if you mistyped the password in master-password and the slave fails to -# connect), the slave will create a master.info file, and any later -# change in this file to the variables' values below will be ignored and -# overridden by the content of the master.info file, unless you shutdown -# the slave server, delete master.info and restart the slaver server. -# For that reason, you may want to leave the lines below untouched -# (commented) and instead use CHANGE MASTER TO (see above) -# -# required unique id between 2 and 2^32 - 1 -# (and different from the master) -# defaults to 2 if master-host is set -# but will not function as a slave if omitted -#server-id = 2 -# -# The replication master for this slave - required -#master-host = -# -# The username the slave will use for authentication when connecting -# to the master - required -#master-user = -# -# The password the slave will authenticate with when connecting to -# the master - required -#master-password = -# -# The port the master is listening on. -# optional - defaults to 3306 -#master-port = -# -# binary logging - not required for slaves, but recommended -#log-bin=mysql-bin - -# Uncomment the following if you are using InnoDB tables -##innodb_data_home_dir = //opt/app/mysql/data -##innodb_data_file_path = ibdata1:20M:autoextend:max:32G -##innodb_log_group_home_dir = //opt/app/mysql/iblogs -# You can set .._buffer_pool_size up to 50 - 80 % -# of RAM but beware of setting memory usage too high -innodb_buffer_pool_size = 6380M -#innodb_additional_mem_pool_size = 2M -# Set .._log_file_size to 25 % of buffer pool size -innodb_log_file_size = 150M -innodb_log_files_in_group = 3 -innodb_log_buffer_size = 8M -#innodb_flush_log_at_trx_commit = 1 -innodb_lock_wait_timeout = 50 -innodb_autoextend_increment = 100 -expire_logs_days = 8 -open_files_limit = 2000 -transaction-isolation=READ-COMMITTED -####### Galera parameters ####### -## Galera Provider configuration -wsrep_provider=/usr/lib/galera/libgalera_smm.so -wsrep_provider_options="gcache.size=2G; gcache.page_size=1G" -## Galera Cluster configuration -wsrep_cluster_name="MSO-automated-tests-cluster" -wsrep_cluster_address="gcomm://" -#wsrep_cluster_address="gcomm://mariadb1,mariadb2,mariadb3" -##wsrep_cluster_address="gcomm://192.169.3.184,192.169.3.185,192.169.3.186" -## Galera Synchronization configuration -wsrep_sst_method=rsync -#wsrep_sst_method=xtrabackup-v2 -#wsrep_sst_auth="sstuser:Mon#2o!6" -## Galera Node configuration -wsrep_node_name="mariadb1" -##wsrep_node_address="192.169.3.184" -wsrep_on=ON -## Status notification -#wsrep_notify_cmd=/opt/app/mysql/bin/wsrep_notify -####### - - -[mysqldump] -quick -max_allowed_packet = 16M - -[mysql] -no-auto-rehash -# Remove the next comment character if you are not familiar with SQL -#safe-updates - -[myisamchk] -key_buffer_size = 20971520 - -##[mysqlhotcopy] -##interactive-timeout -##[mysqld_safe] -##malloc-lib=//opt/app/mysql/local/lib/libjemalloc.so.1 -##log-error=//opt/app/mysql/log/mysqld.log \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/docker/mariadb/conf2/mariadb2.cnf b/packages/arquillian-unit-tests/src/test/resources/docker/mariadb/conf2/mariadb2.cnf deleted file mode 100644 index bf5f9c1777..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/docker/mariadb/conf2/mariadb2.cnf +++ /dev/null @@ -1,193 +0,0 @@ -# Example MySQL config file for medium systems. -# -# This is for a system with memory 8G where MySQL plays -# an important part, or systems up to 128M where MySQL is used together with -# other programs (such as a web server) -# -# In this file, you can use all long options that a program supports. -# If you want to know which options a program supports, run the program -# with the "--help" option. - -# The following options will be passed to all MySQL clients -##[client] -##user = root -##port = 3306 -##socket = //opt/app/mysql/mysql.sock - -# Here follows entries for some specific programs - -# The MySQL server -[mysqld] -##performance_schema - -slow_query_log =ON -long_query_time =2 -slow_query_log_file =//var/lib/mysql/slow_query.log -##basedir = //opt/app/mysql/product/mariadb-10.1.11-linux-x86_64 -##datadir = //opt/app/mysql/data -##port = 3306 -##socket = //opt/app/mysql/mysql.sock -skip-external-locking -explicit_defaults_for_timestamp = true -skip-symbolic-links -local-infile = 0 -#ignore_db_dir=lost+found -key_buffer_size = 16M -max_allowed_packet = 4M -table_open_cache = 100 -sort_buffer_size = 512K -net_buffer_length = 8K -read_buffer_size = 256K -read_rnd_buffer_size = 512K -myisam_sort_buffer_size = 8M -max_connections = 500 -lower_case_table_names = 1 -thread_stack = 256K -thread_cache_size = 25 -query_cache_size = 8M -query_cache_type = 0 -query_prealloc_size = 512K -query_cache_limit = 1M - -# Password validation -##plugin-load-add=simple_password_check.so -##simple_password_check_other_characters=0 - -# Audit Log settings -plugin-load-add=server_audit.so -server_audit=FORCE_PLUS_PERMANENT -server_audit_file_path=//var/lib/mysql/audit.log -server_audit_file_rotate_size=50M -server_audit_events=CONNECT,QUERY,TABLE -server_audit_logging=on - -# Don't listen on a TCP/IP port at all. This can be a security enhancement, -# if all processes that need to connect to mysqld run on the same host. -# All interaction with mysqld must be made via Unix sockets or named pipes. -# Note that using this option without enabling named pipes on Windows -# (via the "enable-named-pipe" option) will render mysqld useless! -# -#skip-networking - -# Replication Master Server (default) -# binary logging is required for replication -##log-bin=//var/lib/mysql/mysql-bin - -# binary logging format - mixed recommended -binlog_format=row - -# required unique id between 1 and 2^32 - 1 -# defaults to 1 if master-host is not set -# but will not function as a master if omitted - -# Replication Slave (comment out master section to use this) -# -# To configure this host as a replication slave, you can choose between -# two methods : -# -# 1) Use the CHANGE MASTER TO command (fully described in our manual) - -# the syntax is: -# -# CHANGE MASTER TO MASTER_HOST=, MASTER_PORT=, -# MASTER_USER=, MASTER_PASSWORD= ; -# -# where you replace , , by quoted strings and -# by the master's port number (3306 by default). -# -# Example: -# -# CHANGE MASTER TO MASTER_HOST='125.564.12.1', MASTER_PORT=3306, -# MASTER_USER='joe', MASTER_PASSWORD='secret'; -# -# OR -# -# 2) Set the variables below. However, in case you choose this method, then -# start replication for the first time (even unsuccessfully, for example -# if you mistyped the password in master-password and the slave fails to -# connect), the slave will create a master.info file, and any later -# change in this file to the variables' values below will be ignored and -# overridden by the content of the master.info file, unless you shutdown -# the slave server, delete master.info and restart the slaver server. -# For that reason, you may want to leave the lines below untouched -# (commented) and instead use CHANGE MASTER TO (see above) -# -# required unique id between 2 and 2^32 - 1 -# (and different from the master) -# defaults to 2 if master-host is set -# but will not function as a slave if omitted -#server-id = 2 -# -# The replication master for this slave - required -#master-host = -# -# The username the slave will use for authentication when connecting -# to the master - required -#master-user = -# -# The password the slave will authenticate with when connecting to -# the master - required -#master-password = -# -# The port the master is listening on. -# optional - defaults to 3306 -#master-port = -# -# binary logging - not required for slaves, but recommended -#log-bin=mysql-bin - -# Uncomment the following if you are using InnoDB tables -##innodb_data_home_dir = //opt/app/mysql/data -##innodb_data_file_path = ibdata1:20M:autoextend:max:32G -##innodb_log_group_home_dir = //opt/app/mysql/iblogs -# You can set .._buffer_pool_size up to 50 - 80 % -# of RAM but beware of setting memory usage too high -innodb_buffer_pool_size = 6380M -#innodb_additional_mem_pool_size = 2M -# Set .._log_file_size to 25 % of buffer pool size -innodb_log_file_size = 150M -innodb_log_files_in_group = 3 -innodb_log_buffer_size = 8M -#innodb_flush_log_at_trx_commit = 1 -innodb_lock_wait_timeout = 50 -innodb_autoextend_increment = 100 -expire_logs_days = 8 -open_files_limit = 2000 -transaction-isolation=READ-COMMITTED -####### Galera parameters ####### -## Galera Provider configuration -wsrep_provider=/usr/lib/galera/libgalera_smm.so -wsrep_provider_options="gcache.size=2G; gcache.page_size=1G" -## Galera Cluster configuration -wsrep_cluster_name="MSO-automated-tests-cluster" -wsrep_cluster_address="gcomm://mariadb1,mariadb2,mariadb3" -##wsrep_cluster_address="gcomm://192.169.3.184,192.169.3.185,192.169.3.186" -## Galera Synchronization configuration -wsrep_sst_method=rsync -#wsrep_sst_method=xtrabackup-v2 -#wsrep_sst_auth="sstuser:Mon#2o!6" -## Galera Node configuration -wsrep_node_name="mariadb2" -##wsrep_node_address="192.169.3.184" -wsrep_on=ON -## Status notification -#wsrep_notify_cmd=/opt/app/mysql/bin/wsrep_notify -####### - - -[mysqldump] -quick -max_allowed_packet = 16M - -[mysql] -no-auto-rehash -# Remove the next comment character if you are not familiar with SQL -#safe-updates - -[myisamchk] -key_buffer_size = 20971520 - -##[mysqlhotcopy] -##interactive-timeout -##[mysqld_safe] -##malloc-lib=//opt/app/mysql/local/lib/libjemalloc.so.1 -##log-error=//opt/app/mysql/log/mysqld.log \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/docker/mariadb/conf3/mariadb3.cnf b/packages/arquillian-unit-tests/src/test/resources/docker/mariadb/conf3/mariadb3.cnf deleted file mode 100644 index 74f7a31b01..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/docker/mariadb/conf3/mariadb3.cnf +++ /dev/null @@ -1,193 +0,0 @@ -# Example MySQL config file for medium systems. -# -# This is for a system with memory 8G where MySQL plays -# an important part, or systems up to 128M where MySQL is used together with -# other programs (such as a web server) -# -# In this file, you can use all long options that a program supports. -# If you want to know which options a program supports, run the program -# with the "--help" option. - -# The following options will be passed to all MySQL clients -##[client] -##user = root -##port = 3306 -##socket = //opt/app/mysql/mysql.sock - -# Here follows entries for some specific programs - -# The MySQL server -[mysqld] -##performance_schema - -slow_query_log =ON -long_query_time =2 -slow_query_log_file =//var/lib/mysql/slow_query.log -##basedir = //opt/app/mysql/product/mariadb-10.1.11-linux-x86_64 -##datadir = //opt/app/mysql/data -##port = 3306 -##socket = //opt/app/mysql/mysql.sock -skip-external-locking -explicit_defaults_for_timestamp = true -skip-symbolic-links -local-infile = 0 -#ignore_db_dir=lost+found -key_buffer_size = 16M -max_allowed_packet = 4M -table_open_cache = 100 -sort_buffer_size = 512K -net_buffer_length = 8K -read_buffer_size = 256K -read_rnd_buffer_size = 512K -myisam_sort_buffer_size = 8M -max_connections = 500 -lower_case_table_names = 1 -thread_stack = 256K -thread_cache_size = 25 -query_cache_size = 8M -query_cache_type = 0 -query_prealloc_size = 512K -query_cache_limit = 1M - -# Password validation -##plugin-load-add=simple_password_check.so -##simple_password_check_other_characters=0 - -# Audit Log settings -plugin-load-add=server_audit.so -server_audit=FORCE_PLUS_PERMANENT -server_audit_file_path=//var/lib/mysql/audit.log -server_audit_file_rotate_size=50M -server_audit_events=CONNECT,QUERY,TABLE -server_audit_logging=on - -# Don't listen on a TCP/IP port at all. This can be a security enhancement, -# if all processes that need to connect to mysqld run on the same host. -# All interaction with mysqld must be made via Unix sockets or named pipes. -# Note that using this option without enabling named pipes on Windows -# (via the "enable-named-pipe" option) will render mysqld useless! -# -#skip-networking - -# Replication Master Server (default) -# binary logging is required for replication -##log-bin=//var/lib/mysql/mysql-bin - -# binary logging format - mixed recommended -binlog_format=row - -# required unique id between 1 and 2^32 - 1 -# defaults to 1 if master-host is not set -# but will not function as a master if omitted - -# Replication Slave (comment out master section to use this) -# -# To configure this host as a replication slave, you can choose between -# two methods : -# -# 1) Use the CHANGE MASTER TO command (fully described in our manual) - -# the syntax is: -# -# CHANGE MASTER TO MASTER_HOST=, MASTER_PORT=, -# MASTER_USER=, MASTER_PASSWORD= ; -# -# where you replace , , by quoted strings and -# by the master's port number (3306 by default). -# -# Example: -# -# CHANGE MASTER TO MASTER_HOST='125.564.12.1', MASTER_PORT=3306, -# MASTER_USER='joe', MASTER_PASSWORD='secret'; -# -# OR -# -# 2) Set the variables below. However, in case you choose this method, then -# start replication for the first time (even unsuccessfully, for example -# if you mistyped the password in master-password and the slave fails to -# connect), the slave will create a master.info file, and any later -# change in this file to the variables' values below will be ignored and -# overridden by the content of the master.info file, unless you shutdown -# the slave server, delete master.info and restart the slaver server. -# For that reason, you may want to leave the lines below untouched -# (commented) and instead use CHANGE MASTER TO (see above) -# -# required unique id between 2 and 2^32 - 1 -# (and different from the master) -# defaults to 2 if master-host is set -# but will not function as a slave if omitted -#server-id = 2 -# -# The replication master for this slave - required -#master-host = -# -# The username the slave will use for authentication when connecting -# to the master - required -#master-user = -# -# The password the slave will authenticate with when connecting to -# the master - required -#master-password = -# -# The port the master is listening on. -# optional - defaults to 3306 -#master-port = -# -# binary logging - not required for slaves, but recommended -#log-bin=mysql-bin - -# Uncomment the following if you are using InnoDB tables -##innodb_data_home_dir = //opt/app/mysql/data -##innodb_data_file_path = ibdata1:20M:autoextend:max:32G -##innodb_log_group_home_dir = //opt/app/mysql/iblogs -# You can set .._buffer_pool_size up to 50 - 80 % -# of RAM but beware of setting memory usage too high -innodb_buffer_pool_size = 6380M -#innodb_additional_mem_pool_size = 2M -# Set .._log_file_size to 25 % of buffer pool size -innodb_log_file_size = 150M -innodb_log_files_in_group = 3 -innodb_log_buffer_size = 8M -#innodb_flush_log_at_trx_commit = 1 -innodb_lock_wait_timeout = 50 -innodb_autoextend_increment = 100 -expire_logs_days = 8 -open_files_limit = 2000 -transaction-isolation=READ-COMMITTED -####### Galera parameters ####### -## Galera Provider configuration -wsrep_provider=/usr/lib/galera/libgalera_smm.so -wsrep_provider_options="gcache.size=2G; gcache.page_size=1G" -## Galera Cluster configuration -wsrep_cluster_name="MSO-automated-tests-cluster" -wsrep_cluster_address="gcomm://mariadb1,mariadb2,mariadb3" -##wsrep_cluster_address="gcomm://192.169.3.184,192.169.3.185,192.169.3.186" -## Galera Synchronization configuration -wsrep_sst_method=rsync -#wsrep_sst_method=xtrabackup-v2 -#wsrep_sst_auth="sstuser:Mon#2o!6" -## Galera Node configuration -wsrep_node_name="mariadb3" -##wsrep_node_address="192.169.3.184" -wsrep_on=ON -## Status notification -#wsrep_notify_cmd=/opt/app/mysql/bin/wsrep_notify -####### - - -[mysqldump] -quick -max_allowed_packet = 16M - -[mysql] -no-auto-rehash -# Remove the next comment character if you are not familiar with SQL -#safe-updates - -[myisamchk] -key_buffer_size = 20971520 - -##[mysqlhotcopy] -##interactive-timeout -##[mysqld_safe] -##malloc-lib=//opt/app/mysql/local/lib/libjemalloc.so.1 -##log-error=//opt/app/mysql/log/mysqld.log \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/docker/mso/mso-docker.json b/packages/arquillian-unit-tests/src/test/resources/docker/mso/mso-docker.json deleted file mode 100644 index d49645a5d5..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/docker/mso/mso-docker.json +++ /dev/null @@ -1,230 +0,0 @@ -{ - "name": "mso-docker", - "description": "MSO Docker Images", - "chef_type": "environment", - "json_class": "Chef::Environment", - "default_attributes": - { - "mso_config_path": "/etc/mso/config.d/", - - "mso-api-handler-infra-config": - { - "bpelURL": "http://mso:8080", - "bpelAuth": "786864AA53D0DCD881AED1154230C0C3058D58B9339D2EFB6193A0F0D82530E1", - "camundaURL": "http://mso:8080", - "camundaAuth": "5119D1AF37F671FC01FFAD2151D93EFB2BBB503E879FD07104D024EDDF118FD1" - }, - - "mso-asdc-controller-config": - { - "aaiEndpoint": "https://aai.api.simpledemo.onap.org:8443" - }, - - "asdc-connections": - { - "asdc-controller1": - { - "user": "user", - "consumerGroup": "mso", - "consumerId": "mso", - "environmentName": "PROD", - "asdcAddress": "asdc_hostname1:8443", - "password": "f3895035812addbf115bfaf7d2dc850e", - "pollingInterval": 30, - "pollingTimeout": 30, - "relevantArtifactTypes": "HEAT,HEAT_ENV,HEAT_VOL", - "activateServerTLSAuth": "false", - "keyStorePassword": "", - "keyStorePath": "" - }, - - "asdc-controller2": - { - "user": "user", - "consumerGroup": "mso", - "consumerId": "mso", - "environmentName": "PROD", - "asdcAddress": "asdc_hostname2:8443", - "password": "f3895035812addbf115bfaf7d2dc850e", - "pollingInterval": 30, - "pollingTimeout": 30, - "relevantArtifactTypes": "HEAT,HEAT_ENV,HEAT_VOL", - "activateServerTLSAuth": "false", - "keyStorePassword": "", - "keyStorePath": "" - } - }, - - "mso-sdnc-adapter-config": - { - "sdncurls": - [ - "https://localhost:8443/restconf/operations/L3SDN-API:", - "https://localhost:8443/restconf/config/L3SDN-API:", - "https://localhost:8443/restconf/operations/Firewall-API:", - "https://localhost:8443/restconf/config", - "https://localhost:8443/restconf/operations/VNF-API:", - "https://localhost:8443/restconf/operations/NBNC-API:", - "https://localhost:8443/restconf/operations/NORTHBOUND-API:service-topology-operation", - "https://localhost:8443/restconf/operations/GENERIC-RESOURCE-API:", - "https://localhost:8443/restconf/operations/VNFTOPOLOGYAIC-API:" - ], - - "bpelurl": "http://mso:8080/mso/SDNCAdapterCallbackService", - "myurl": "http://mso:8080/adapters/rest/SDNCNotify", - "sdncauth": "406B2AE613211B6FB52466DE6E1769AC", - "bpelauth": "5119D1AF37F671FC01FFAD2151D93EFB2BBB503E879FD07104D024EDDF118FD1", - "sdncconnecttime": "5000" - }, - - "mso-po-adapter-config": - { - "identity_services": - [ - { - "dcp_clli": "MT_KEYSTONE", - "identity_url": "https://localhost:5000/v2.0", - "mso_id": "userid", - "mso_pass": "313DECE408AF7759D442D7B06DD9A6AA", - "admin_tenant": "service", - "member_role": "admin", - "tenant_metadata": "true", - "identity_server_type": "KEYSTONE", - "identity_authentication_type": "RACKSPACE_APIKEY" - }, - - { - "dcp_clli": "MT_KEYSTONE2", - "identity_url": "https://localhost:5000/v2.0", - "mso_id": "userid", - "mso_pass": "313DECE408AF7759D442D7B06DD9A6AA", - "admin_tenant": "service", - "member_role": "admin", - "tenant_metadata": "true", - "identity_server_type": "KEYSTONE", - "identity_authentication_type": "USERNAME_PASSWORD" - } - ], - - "cloud_sites": - [ - { - "id": "MT", - "aic_version": "2.5", - "lcp_clli": "MT", - "region_id": "lcp_region", - "identity_service_id": "MT_KEYSTONE" - }, - - { - "id": "MT2", - "aic_version": "2.5", - "lcp_clli": "MT2", - "region_id": "lcp_region", - "identity_service_id": "MT_KEYSTONE2" - } - ], - - "vnfbpelauth": "5119D1AF37F671FC01FFAD2151D93EFB2BBB503E879FD07104D024EDDF118FD1", - "checkrequiredparameters": "true", - "nwbpelauth": "5119D1AF37F671FC01FFAD2151D93EFB2BBB503E879FD07104D024EDDF118FD1" - }, - - "mso-bpmn-config": - { - "urnFileSystemLoadingEnabled": "true" - }, - - "mso-bpmn-urn-config": - { - "logDebugAsyncQueryAAICustomer": "false", - "logDebugChangeFeatureActivateV1": "false", - "logDebugChangeLayer3ServiceActivateV1": "false", - "logDebugChangeLayer3ServiceProvV1": "false", - "logDebugLayer3TestAndTurnUpV1": "false", - "logDebugVnfAdapterRollbackV1": "false", - "logDebugVnfAdapterQueryV1": "false", - "logDebugCreateNetworkV1": "false", - "logDebugCreateCinderVolumeV1": "false", - "logDebugDeleteCinderVolumeV1": "false", - "logDebugUpdateCinderVolumeV1": "false", - "logDebugDeleteGenericVNFV1": "false", - "logDebugDisconnectLayer3Service": "false", - "logDebugCompleteMsoProcess": "false", - "logDebugCreateCustomerV1": "false", - "logDebugCreateTenantV1": "false", - "logDebugDeleteNetworkV1": "false", - "logDebugDeleteTenantV1": "false", - "logDebugDeleteVCEV1": "false", - "logDebugGetLayer3ServiceDetailsV1": "false", - "logDebugL3ToHigherLayerAddBonding": "false", - "logDebugL3ToHigherLayerDeleteBonding": "false", - "logDebugLayer3ServiceActivateV1": "false", - "logDebugQueryAAICustomer": "false", - "logDebugQueryTenantInfo": "false", - "logDebugSdncAdapter": "false", - "logDebugVnfAdapterCreateV1": "false", - "logDebugVnfAdapterDeleteV1": "false", - "logDebugRemoveLayer3Service": "false", - "logDebugUpdateNetworkV2": "false", - "logDebugCreateVfModuleVolumeInfraV1": "false", - "logDebugDeleteVfModuleVolumeInfraV1": "false", - "logDebugUpdateVfModuleVolumeInfraV1": "false", - "logDebugCreateServiceInstanceInfra": "false", - "logDebugDeleteServiceInstanceInfra": "false", - "logDebugCreateNetworkInstanceInfra": "false", - "logDebugDeleteNetworkInstanceInfra": "false", - "logDebugUpdateNetworkInstanceInfra": "false", - "aaiEndpoint": "http://mso:8080/aai-emul", - "adaptersCompletemsoprocessEndpoint": "http://mso:8080/CompleteMsoProcess", - "adaptersNamespace": "http://org.openecomp.mso", - "adaptersDbEndpoint": "http://mso:8080/dbadapters/MsoRequestsDbAdapter", - "adaptersOpenecompDbEndpoint": "http://mso:8080/dbadapters/RequestsDbAdapter", - "adaptersSdncEndpoint": "http://mso:8080/adapters/SDNCAdapter", - "adaptersTenantEndpoint": "http://mso:8080/tenants/TenantAdapter", - "adaptersDbAuth": "6B0E6863FB8EE010AB6F191B3C0489437601E81DC7C86305CB92DB98AFC53D74", - "workflowSdncadapterCallback": "http://mso:8080/mso/SDNCAdapterCallbackService", - "msoKey": "07a7159d3bf51a0e53be7a8f89699be7", - "adaptersPoAuth": "6B0E6863FB8EE010AB6F191B3C0489437601E81DC7C86305CB92DB98AFC53D74", - "sdncTimeout": "PT5M", - "rollback": "true", - "adaptersNetworkEndpoint": "http://mso:8080/networks/NetworkAdapter", - "adaptersNetworkRestEndpoint": "http://mso:8080/networks/rest/v1/networks", - "adaptersVnfAsyncEndpoint": "http://mso/vnfs/VnfAdapterAsync", - "workflowVnfAdapterDeleteCallback": "http://mso:8080/mso/vnfAdapterNotify", - "workflowVnfAdapterCreateCallback": "http://mso:8080/mso/vnfAdapterNotify", - "adaptersVnfRestEndpoint": "http://mso:8080/vnfs/rest/v1/vnfs", - "workflowVnfAdapterRestCallback": "http://mso:8080/mso/vnfAdapterRestNotify", - "poTimeout": "PT5M", - "sdncFirewallYangModel": "http://com/att/svc/mis/firewall-lite-gui", - "sdncFirewallYangModelVersion": "2015-05-15", - "sdncTimeoutFirewall": "20", - "callbackRetryAttempts": "30", - "callbackRetrySleepTime": "1000", - "workflowDefaultAAINetworkGenericVnfUri": "/aai/v8/network/generic-vnfs/generic-vnf", - "workflowDeleteGenericVNFV1AAINetworkGenericVnfUri": "/aai/v8/network/generic-vnfs/generic-vnf", - "workflowDefaultAAINetworkVpnBindingUri": "/aai/v8/network/vpn-bindings/vpn-binding", - "workflowCreateNetworkV1AAINetworkVpnBindingUri": "", - "workflowDefaultAAINetworkVceUri": "/aai/v8/network/vces/vce", - "workflowDeleteVCEV1AAINetworkVceUri": "", - "workflowDefaultAAINetworkL3NetworkUri": "/aai/v8/network/l3-networks/l3-network", - "workflowCreateNetworkV1AAINetworkL3NetworkUri": "/aai/v8/network/l3-networks/l3-network", - "workflowDeleteNetworkV1AAINetworkL3NetworkUri": "/aai/v8/network/l3-networks/l3-network", - "workflowDefaultAAIBusinessCustomerUri": "/aai/v8/business/customers/customer", - "workflowDefaultAAICloudInfrastructureVolumeGroupUri": "/aai/v8/cloud-infrastructure/volume-groups/volume-group", - "workflowCreateCinderVolumeV1AAICloudInfrastructureVolumeGroupUri": "", - "workflowDefaultAAICloudInfrastructureTenantUri": "/aai/v8/cloud-infrastructure/tenants/tenant", - "workflowDefaultAAISearchGenericQueryUri": "/aai/v8/search/generic-query", - "aaiAuth": "2630606608347B7124C244AB0FE34F6F" - } - }, - - "override_attributes": - { - }, - - "cookbook_versions": - { - "mso-config": "~> 1.0.0" - } -} diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/demo-dns-V1/artifacts/base_vlb.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/demo-dns-V1/artifacts/base_vlb.env deleted file mode 100644 index b8cb810167..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/demo-dns-V1/artifacts/base_vlb.env +++ /dev/null @@ -1,20 +0,0 @@ -parameters: - vlb_image_name: Ubuntu 14.04 LTS (Trusty Tahr) (PVHVM) - vlb_flavor_name: 4 GB General Purpose v1 - public_net_id: 00000000-0000-0000-0000-000000000000 - vlb_private_net_id: zdfw1lb01_private - ecomp_private_net_id: oam_ecomp - vlb_private_net_cidr: 192.168.10.0/24 - ecomp_private_net_cidr: 192.168.9.0/24 - vlb_private_ip_0: 192.168.10.100 - vlb_private_ip_1: 192.168.20.100 - vdns_private_ip_0: 192.168.10.200 - vdns_private_ip_1: 192.168.9.200 - vlb_name_0: zdfw1lb01lb01 - vdns_name_0: zdfw1lb01dns01 - vnf_id: vLoadBalancer_demo_app - vf_module_id: vLoadBalancer - webserver_ip: 162.242.237.182 - dcae_collector_ip: 192.168.9.1 - key_name: vfw_key - pub_key: INSERT PUBLIC KEY HERE diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/demo-dns-V1/artifacts/base_vlb.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/demo-dns-V1/artifacts/base_vlb.yaml deleted file mode 100644 index 089fceeb49..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/demo-dns-V1/artifacts/base_vlb.yaml +++ /dev/null @@ -1,188 +0,0 @@ -heat_template_version: 2013-05-23 - -description: Heat template to deploy vLoadBalancer/vDNS demo app for OpenECOMP - -parameters: - vlb_image_name: - type: string - label: Image name or ID - description: Image to be used for compute instance - vlb_flavor_name: - type: string - label: Flavor - description: Type of instance (flavor) to be used - public_net_id: - type: string - label: Public network name or ID - description: Public network that enables remote connection to VNF - vlb_private_net_id: - type: string - label: vLoadBalancer private network name or ID - description: Private network that connects vLoadBalancer with vDNSs - ecomp_private_net_id: - type: string - label: ECOMP management network name or ID - description: Private network that connects ECOMP component and the VNF - vlb_private_net_cidr: - type: string - label: vLoadBalancer private network CIDR - description: The CIDR of the vLoadBalancer private network - ecomp_private_net_cidr: - type: string - label: ECOMP private network CIDR - description: The CIDR of the protected private network - vlb_private_ip_0: - type: string - label: vLoadBalancer private IP address towards the private network - description: Private IP address that is assigned to the vLoadBalancer to communicate with the vDNSs - vlb_private_ip_1: - type: string - label: vLoadBalancer private IP address towards the ECOMP management network - description: Private IP address that is assigned to the vLoadBalancer to communicate with ECOMP components - vdns_private_ip_0: - type: string - label: vDNS private IP address towards the private network - description: Private IP address that is assigned to the vDNS to communicate with the vLoadBalancer - vdns_private_ip_1: - type: string - label: vDNS private IP address towards the ECOMP management network - description: Private IP address that is assigned to the vDNS to communicate with ECOMP components - vlb_name_0: - type: string - label: vLoadBalancer name - description: Name of the vLoadBalancer - vdsn_name_0: - type: string - label: vDNS name - description: Name of the vDNS - vnf_id: - type: string - label: VNF ID - description: The VNF ID is provided by ECOMP - vf_module_id: - type: string - label: vFirewall module ID - description: The vLoadBalancer Module ID is provided by ECOMP - webserver_ip: - type: string - label: Webserver IP address - description: IP address of the webserver that hosts the source code and binaries - dcae_collector_ip: - type: string - label: DCAE collector IP address - description: IP address of the DCAE collector - key_name: - type: string - label: Key pair name - description: Public/Private key pair name - pub_key: - type: string - label: Public key - description: Public key to be installed on the compute instance - -resources: - my_keypair: - type: OS::Nova::KeyPair - properties: - name: { get_param: key_name } - public_key: { get_param: pub_key } - save_private_key: false - - vlb_private_network: - type: OS::Neutron::Net - properties: - name: { get_param: vlb_private_net_id } - - vlb_private_subnet: - type: OS::Neutron::Subnet - properties: - network_id: { get_resource: vlb_private_network } - cidr: { get_param: vlb_private_net_cidr } - - vlb_0: - type: OS::Nova::Server - properties: - image: { get_param: vlb_image_name } - flavor: { get_param: vlb_flavor_name } - name: { get_param: vlb_name_0 } - key_name: { get_resource: my_keypair } - networks: - - network: { get_param: public_net_id } - - port: { get_resource: vlb_private_0_port } - - port: { get_resource: vlb_private_1_port } - metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} - user_data_format: RAW - user_data: - str_replace: - params: - __webserver__: { get_param: webserver_ip } - __dcae_collector_ip__ : { get_param: dcae_collector_ip } - template: | - #!/bin/bash - - WEBSERVER_IP=__webserver__ - DCAE_COLLECTOR_IP=__dcae_collector_ip__ - - mkdir /opt/config - cd /opt - wget http://$WEBSERVER_IP/demo_repo/v_lb_init.sh - chmod +x v_lb_init.sh - echo $WEBSERVER_IP > config/webserver_ip.txt - echo $DCAE_COLLECTOR_IP > config/dcae_collector_ip.txt - ./v_lb_init.sh - - vlb_private_0_port: - type: OS::Neutron::Port - properties: - network: { get_resource: vlb_private_network } - fixed_ips: [{"subnet": { get_resource: vlb_private_subnet }, "ip_address": { get_param: vlb_private_ip_0 }}] - - vlb_private_1_port: - type: OS::Neutron::Port - properties: - network: { get_param: ecomp_private_net_id } - fixed_ips: [{"subnet": { get_param: ecomp_private_net_id }, "ip_address": { get_param: vlb_private_ip_1 }}] - - vdns_0: - type: OS::Nova::Server - properties: - image: { get_param: vlb_image_name } - flavor: { get_param: vlb_flavor_name } - name: { get_param: vdsn_name_0 } - key_name: { get_resource: my_keypair } - networks: - - network: { get_param: public_net_id } - - port: { get_resource: vdns_private_0_port } - - port: { get_resource: vdns_private_1_port } - metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} - user_data_format: RAW - user_data: - str_replace: - params: - __webserver__: { get_param: webserver_ip } - __fw_ipaddr__: { get_param: vlb_private_ip_0 } - template: | - #!/bin/bash - - WEBSERVER_IP=__webserver__ - LB_IPADDR=__lb_ipaddr__ - - mkdir /opt/config - cd /opt - wget http://$WEBSERVER_IP/demo_repo/v_dns_init.sh - chmod +x v_dns_init.sh - echo $WEBSERVER_IP > config/webserver_ip.txt - echo $LB_IPADDR > config/lb_ipaddr.txt - ./v_dns_init.sh - - vdns_private_0_port: - type: OS::Neutron::Port - properties: - network: { get_resource: vlb_private_network } - fixed_ips: [{"subnet": { get_resource: vlb_private_subnet }, "ip_address": { get_param: vdns_private_ip_0 }}] - - vdns_private_1_port: - type: OS::Neutron::Port - properties: - network: { get_param: ecomp_private_net_id } - fixed_ips: [{"subnet": { get_param: ecomp_private_net_id }, "ip_address": { get_param: vdns_private_ip_1 }}] diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/demo-dns-V1/artifacts/dnsscaling.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/demo-dns-V1/artifacts/dnsscaling.env deleted file mode 100644 index 15895ac50d..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/demo-dns-V1/artifacts/dnsscaling.env +++ /dev/null @@ -1,16 +0,0 @@ -parameters: - vlb_image_name: Ubuntu 14.04 LTS (Trusty Tahr) (PVHVM) - vlb_flavor_name: 4 GB General Purpose v1 - public_net_id: 00000000-0000-0000-0000-000000000000 - vlb_private_net_id: zdfw1lb01_private - ecomp_private_net_id: oam_ecomp - vlb_private_ip_0: 192.168.10.100 - vdns_private_ip_0: 192.168.10.200 - vdns_private_ip_1: 192.168.9.200 - vdns_name_0: zdfw1lb01dns01 - vnf_id: vLoadBalancer_demo_app - vf_module_id: vLoadBalancer - webserver_ip: 162.242.237.182 - dcae_collector_ip: 192.168.9.1 - key_name: vfw_key - pub_key: INSERT PUBLIC KEY HERE \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/demo-dns-V1/artifacts/dnsscaling.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/demo-dns-V1/artifacts/dnsscaling.yaml deleted file mode 100644 index 6ec4b0be07..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/demo-dns-V1/artifacts/dnsscaling.yaml +++ /dev/null @@ -1,117 +0,0 @@ -heat_template_version: 2013-05-23 - -description: Heat template to deploy a vDNS for OpenECOMP (scaling-up scenario) - -parameters: - vlb_image_name: - type: string - label: Image name or ID - description: Image to be used for compute instance - vlb_flavor_name: - type: string - label: Flavor - description: Type of instance (flavor) to be used - public_net_id: - type: string - label: Public network name or ID - description: Public network that enables remote connection to VNF - vlb_private_net_id: - type: string - label: vLoadBalancer private network name or ID - description: Private network that connects vLoadBalancer with vDNSs - ecomp_private_net_id: - type: string - label: ECOMP management network name or ID - description: Private network that connects ECOMP component and the VNF - vlb_private_ip_0: - type: string - label: vLoadBalancer private IP address towards the private network - description: Private IP address that is assigned to the vLoadBalancer to communicate with the vDNSs - vdns_private_ip_0: - type: string - label: vDNS private IP address towards the private network - description: Private IP address that is assigned to the vDNS to communicate with the vLoadBalancer - vdns_private_ip_1: - type: string - label: vDNS private IP address towards the ECOMP management network - description: Private IP address that is assigned to the vDNS to communicate with ECOMP components - vdsn_name_0: - type: string - label: vDNS name - description: Name of the vDNS - vnf_id: - type: string - label: VNF ID - description: The VNF ID is provided by ECOMP - vf_module_id: - type: string - label: vFirewall module ID - description: The vLoadBalancer Module ID is provided by ECOMP - webserver_ip: - type: string - label: Webserver IP address - description: IP address of the webserver that hosts the source code and binaries - dcae_collector_ip: - type: string - label: DCAE collector IP address - description: IP address of the DCAE collector - key_name: - type: string - label: Key pair name - description: Public/Private key pair name - pub_key: - type: string - label: Public key - description: Public key to be installed on the compute instance - -resources: - my_keypair: - type: OS::Nova::KeyPair - properties: - name: { get_param: key_name } - public_key: { get_param: pub_key } - save_private_key: false - - vdns_0: - type: OS::Nova::Server - properties: - image: { get_param: vlb_image_name } - flavor: { get_param: vlb_flavor_name } - name: { get_param: vdsn_name_0 } - key_name: { get_resource: my_keypair } - networks: - - network: { get_param: public_net_id } - - port: { get_resource: vdns_private_0_port } - - port: { get_resource: vdns_private_1_port } - metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} - user_data_format: RAW - user_data: - str_replace: - params: - __webserver__: { get_param: webserver_ip } - __fw_ipaddr__: { get_param: vlb_private_ip_0 } - template: | - #!/bin/bash - - WEBSERVER_IP=__webserver__ - LB_IPADDR=__lb_ipaddr__ - - mkdir /opt/config - cd /opt - wget http://$WEBSERVER_IP/demo_repo/v_dns_init.sh - chmod +x v_dns_init.sh - echo $WEBSERVER_IP > config/webserver_ip.txt - echo $LB_IPADDR > config/lb_ipaddr.txt - ./v_dns_init.sh - - vdns_private_0_port: - type: OS::Neutron::Port - properties: - network: { get_param: vlb_private_net_id } - fixed_ips: [{"subnet": { get_param: vlb_private_net_id }, "ip_address": { get_param: vdns_private_ip_0 }}] - - vdns_private_1_port: - type: OS::Neutron::Port - properties: - network: { get_param: ecomp_private_net_id } - fixed_ips: [{"subnet": { get_param: ecomp_private_net_id }, "ip_address": { get_param: vdns_private_ip_1 }}] diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/demo-dns-V1/artifacts/vnf-module-artifact.json b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/demo-dns-V1/artifacts/vnf-module-artifact.json deleted file mode 100644 index 9f51e8314b..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/demo-dns-V1/artifacts/vnf-module-artifact.json +++ /dev/null @@ -1,30 +0,0 @@ -[ - { - "vfModuleModelName": "VF_RI1_DNS::module-1", - "vfModuleModelInvariantUUID": "585822c7-4027-4f84-ba50-e9248606f132", - "vfModuleModelVersion": "1.0", - "vfModuleModelUUID": "1e34774e-715e-4fd5-bd08-7b654622f33e.VF_RI1_DNS::module-1::module-1.group", - "vfModuleModelDescription": "vf Module Description", - "vfModuleModelCustomizationUUID": "585822c7-4027-4f84-ba50-e9248606f132", - "isBase": true, - "artifacts": [ - "Artifact-UUID1", - "EnvArtifact-UUID1" - ], - "properties": {"test":"test"} - }, - { - "vfModuleModelName": "VF_RI1_DNS::module-2", - "vfModuleModelInvariantUUID": "585822c7-4027-4f84-ba50-e9248606f133", - "vfModuleModelVersion": "1.0", - "vfModuleModelUUID": "1e34774e-715e-4fd5-bd08-7b654622f33e.VF_RI1_DNS::module-2::module-1.group", - "vfModuleModelDescription": "vf Module Description", - "vfModuleModelCustomizationUUID": "585822c7-4027-4f84-ba50-e9248606f133", - "isBase": false, - "artifacts": [ - "Artifact-UUID2", - "EnvArtifact-UUID2" - ], - "properties": {"test":"test"} - } -] \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/demo-dns-V1/notif-structure.json b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/demo-dns-V1/notif-structure.json deleted file mode 100644 index ebda7b7aea..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/demo-dns-V1/notif-structure.json +++ /dev/null @@ -1,95 +0,0 @@ -{ - "serviceName": "dns-service", - "serviceInvariantUUID": "585822c8-4027-4f84-ba50-e9248606f111", - "serviceUUID": "1e34774e-715e-4fd6-bd09-7b654622f35i", - "serviceVersion": "1.0", - "serviceArtifacts": - [ - - ], - - "resources": - [ - { - "resourceInstanceName": "DNSResource-1", - "resourceInvariantUUID": "585822c7-4027-4f84-ba50-e9248606f112", - "resourceName": "DNSResource", - "resourceType": "VF", - "resourceUUID": "585822c7-4027-4f84-ba50-e9248606f131", - "resourceVersion": "1.0", - "category": "category", - "artifacts": - [ - { - "artifactChecksum": "CheckSum", - "artifactDescription": "Meta data for VFModule", - "artifactName": "vnf-module-artifact.json", - - "artifactType": "VF_MODULES_METADATA", - "artifactURL": "vnf-module-artifact.json", - "artifactUUID": "VfArtifact-UUID1", - "artifactVersion": "1.0" - - }, - { - "artifactChecksum": "CheckSum", - "artifactDescription": "Base VLB Heat", - "artifactName": "base_vlb.yaml", - "artifactTimeout": 300, - "artifactType": "HEAT", - "artifactURL": "base_vlb.yaml", - "artifactUUID": "Artifact-UUID1", - "artifactVersion": "1.0", - "generatedArtifact": "EnvArtifact-UUID1", - "relatedArtifact": - [ - - ] - }, - - { - "artifactChecksum": "CheckSum", - "artifactDescription": "BASE VLB ENV file", - "artifactName": "base_vlb.env", - - "artifactType": "HEAT_ENV", - "artifactURL": "base_vlb.env", - "artifactUUID": "EnvArtifact-UUID1", - "artifactVersion": "1.0" - - }, - { - "artifactChecksum": "CheckSum", - "artifactDescription": "DNS Scaling Heat", - "artifactName": "dnsscaling.yaml", - "artifactTimeout": 300, - "artifactType": "HEAT", - "artifactURL": "dnsscaling.yaml", - "artifactUUID": "Artifact-UUID2", - "artifactVersion": "1.0", - "generatedArtifact": "EnvArtifact-UUID2", - "relatedArtifact": - [ - - ] - }, - - { - "artifactChecksum": "CheckSum", - "artifactDescription": "DNS Scaling ENV file", - "artifactName": "dnsscaling.env", - - "artifactType": "HEAT_ENV", - "artifactURL": "dnsscaling.env", - "artifactUUID": "EnvArtifact-UUID2", - "artifactVersion": "1.0" - - } - - ] - } - ], - - "serviceDescription": "dns service for unit test", - "distributionID": "35120a87-1f83-4276-9735-f6de5a244d61" -} \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/demo-vfw-V1/artifacts/base_vfw.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/demo-vfw-V1/artifacts/base_vfw.env deleted file mode 100644 index 27ccb3b296..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/demo-vfw-V1/artifacts/base_vfw.env +++ /dev/null @@ -1,26 +0,0 @@ -parameters: - vfw_image_name: Ubuntu 14.04 LTS (Trusty Tahr) (PVHVM) - vfw_flavor_name: 4 GB General Purpose v1 - public_net_id: 00000000-0000-0000-0000-000000000000 - unprotected_private_net_id: zdfw1fwl01_unprotected - protected_private_net_id: zdfw1fwl01_protected - ecomp_private_net_id: oam_ecomp - unprotected_private_net_cidr: 192.168.10.0/24 - protected_private_net_cidr: 192.168.20.0/24 - ecomp_private_net_cidr: 192.168.9.0/24 - vfw_private_ip_0: 192.168.10.100 - vfw_private_ip_1: 192.168.20.100 - vfw_private_ip_2: 192.168.9.100 - vpg_private_ip_0: 192.168.10.200 - vpg_private_ip_1: 192.168.9.200 - vsn_private_ip_0: 192.168.20.250 - vsn_private_ip_1: 192.168.9.250 - vfw_name_0: zdfw1fwl01fwl01 - vpg_name_0: zdfw1fwl01pgn01 - vsn_name_0: zdfw1fwl01snk01 - vnf_id: vFirewall_demo_app - vf_module_id: vFirewall - webserver_ip: 162.242.237.182 - dcae_collector_ip: 192.168.9.1 - key_name: vfw_key - pub_key: PUT YOUR PUBLIC KEY HERE diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/demo-vfw-V1/artifacts/base_vfw.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/demo-vfw-V1/artifacts/base_vfw.yaml deleted file mode 100644 index d4e89ada30..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/demo-vfw-V1/artifacts/base_vfw.yaml +++ /dev/null @@ -1,298 +0,0 @@ -heat_template_version: 2013-05-23 - -description: Heat template to deploy vFirewall demo app for OpenECOMP - -parameters: - vfw_image_name: - type: string - label: Image name or ID - description: Image to be used for compute instance - vfw_flavor_name: - type: string - label: Flavor - description: Type of instance (flavor) to be used - public_net_id: - type: string - label: Public network name or ID - description: Public network that enables remote connection to VNF - unprotected_private_net_id: - type: string - label: Unprotected private network name or ID - description: Private network that connects vPacketGenerator with vFirewall - protected_private_net_id: - type: string - label: Protected private network name or ID - description: Private network that connects vFirewall with vSink - ecomp_private_net_id: - type: string - label: ECOMP management network name or ID - description: Private network that connects ECOMP component and the VNF - unprotected_private_net_cidr: - type: string - label: Unprotected private network CIDR - description: The CIDR of the unprotected private network - protected_private_net_cidr: - type: string - label: Protected private network CIDR - description: The CIDR of the protected private network - ecomp_private_net_cidr: - type: string - label: ECOMP private network CIDR - description: The CIDR of the protected private network - vfw_private_ip_0: - type: string - label: vFirewall private IP address towards the unprotected network - description: Private IP address that is assigned to the vFirewall to communicate with the vPacketGenerator - vfw_private_ip_1: - type: string - label: vFirewall private IP address towards the protected network - description: Private IP address that is assigned to the vFirewall to communicate with the vSink - vfw_private_ip_2: - type: string - label: vFirewall private IP address towards the ECOMP management network - description: Private IP address that is assigned to the vFirewall to communicate with ECOMP components - vpg_private_ip_0: - type: string - label: vPacketGenerator private IP address towards the unprotected network - description: Private IP address that is assigned to the vPacketGenerator to communicate with the vFirewall - vpg_private_ip_1: - type: string - label: vPacketGenerator private IP address towards the ECOMP management network - description: Private IP address that is assigned to the vPacketGenerator to communicate with ECOMP components - vsn_private_ip_0: - type: string - label: vSink private IP address towards the protected network - description: Private IP address that is assigned to the vSink to communicate with the vFirewall - vsn_private_ip_1: - type: string - label: vSink private IP address towards the ECOMP management network - description: Private IP address that is assigned to the vSink to communicate with ECOMP components - vfw_name_0: - type: string - label: vFirewall name - description: Name of the vFirewall - vpg_name_0: - type: string - label: vPacketGenerator name - description: Name of the vPacketGenerator - vsn_name_0: - type: string - label: vSink name - description: Name of the vSink - vnf_id: - type: string - label: VNF ID - description: The VNF ID is provided by ECOMP - vf_module_id: - type: string - label: vFirewall module ID - description: The vFirewall Module ID is provided by ECOMP - webserver_ip: - type: string - label: Webserver IP address - description: IP address of the webserver that hosts the source code and binaries - dcae_collector_ip: - type: string - label: DCAE collector IP address - description: IP address of the DCAE collector - key_name: - type: string - label: Key pair name - description: Public/Private key pair name - pub_key: - type: string - label: Public key - description: Public key to be installed on the compute instance - -resources: - my_keypair: - type: OS::Nova::KeyPair - properties: - name: { get_param: key_name } - public_key: { get_param: pub_key } - save_private_key: false - - unprotected_private_network: - type: OS::Neutron::Net - properties: - name: { get_param: unprotected_private_net_id } - - protected_private_network: - type: OS::Neutron::Net - properties: - name: { get_param: protected_private_net_id } - - unprotected_private_subnet: - type: OS::Neutron::Subnet - properties: - network_id: { get_resource: unprotected_private_network } - cidr: { get_param: unprotected_private_net_cidr } - - protected_private_subnet: - type: OS::Neutron::Subnet - properties: - network_id: { get_resource: protected_private_network } - cidr: { get_param: protected_private_net_cidr } - - vfw_0: - type: OS::Nova::Server - properties: - image: { get_param: vfw_image_name } - flavor: { get_param: vfw_flavor_name } - name: { get_param: vfw_name_0 } - key_name: { get_resource: my_keypair } - networks: - - network: { get_param: public_net_id } - - port: { get_resource: vfw_private_0_port } - - port: { get_resource: vfw_private_1_port } - - port: { get_resource: vfw_private_2_port } - metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} - user_data_format: RAW - user_data: - str_replace: - params: - __webserver__: { get_param: webserver_ip } - __dcae_collector_ip__ : { get_param: dcae_collector_ip } - template: | - #!/bin/bash - - WEBSERVER_IP=__webserver__ - DCAE_COLLECTOR_IP=__dcae_collector_ip__ - - mkdir /opt/config - cd /opt - wget http://$WEBSERVER_IP/demo_repo/v_firewall_init.sh - wget http://$WEBSERVER_IP/demo_repo/vfirewall.sh - chmod +x v_firewall_init.sh - chmod +x vfirewall.sh - echo $WEBSERVER_IP > config/webserver_ip.txt - echo $DCAE_COLLECTOR_IP > config/dcae_collector_ip.txt - echo "no" > config/install.txt - mv vfirewall.sh /etc/init.d - sudo update-rc.d vfirewall.sh defaults - ./v_firewall_init.sh - - vfw_private_0_port: - type: OS::Neutron::Port - properties: - network: { get_resource: unprotected_private_network } - fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vfw_private_ip_0 }}] - - vfw_private_1_port: - type: OS::Neutron::Port - properties: - network: { get_resource: protected_private_network } - fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vfw_private_ip_1 }}] - - vfw_private_2_port: - type: OS::Neutron::Port - properties: - network: { get_param: ecomp_private_net_id } - fixed_ips: [{"subnet": { get_param: ecomp_private_net_id }, "ip_address": { get_param: vfw_private_ip_2 }}] - - vpg_0: - type: OS::Nova::Server - properties: - image: { get_param: vfw_image_name } - flavor: { get_param: vfw_flavor_name } - name: { get_param: vpg_name_0 } - key_name: { get_resource: my_keypair } - networks: - - network: { get_param: public_net_id } - - port: { get_resource: vpg_private_0_port } - - port: { get_resource: vpg_private_1_port } - metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} - user_data_format: RAW - user_data: - str_replace: - params: - __webserver__: { get_param: webserver_ip } - __fw_ipaddr__: { get_param: vfw_private_ip_0 } - __protected_net_cidr__: { get_param: protected_private_net_cidr } - __sink_ipaddr__: { get_param: vsn_private_ip_0 } - template: | - #!/bin/bash - - WEBSERVER_IP=__webserver__ - FW_IPADDR=__fw_ipaddr__ - PROTECTED_NET_CIDR=__protected_net_cidr__ - SINK_IPADDR=__sink_ipaddr__ - - mkdir /opt/config - cd /opt - wget http://$WEBSERVER_IP/demo_repo/v_packetgen_init.sh - wget http://$WEBSERVER_IP/demo_repo/vpacketgen.sh - chmod +x v_packetgen_init.sh - chmod +x vpacketgen.sh - echo $WEBSERVER_IP > config/webserver_ip.txt - echo $FW_IPADDR > config/fw_ipaddr.txt - echo $PROTECTED_NET_CIDR > config/protected_net_cidr.txt - echo $SINK_IPADDR > config/sink_ipaddr.txt - echo "no" > config/install.txt - mv vpacketgen.sh /etc/init.d - sudo update-rc.d vpacketgen.sh defaults - ./v_packetgen_init.sh - - vpg_private_0_port: - type: OS::Neutron::Port - properties: - network: { get_resource: unprotected_private_network } - fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vpg_private_ip_0 }}] - - vpg_private_1_port: - type: OS::Neutron::Port - properties: - network: { get_param: ecomp_private_net_id } - fixed_ips: [{"subnet": { get_param: ecomp_private_net_id }, "ip_address": { get_param: vpg_private_ip_1 }}] - - vsn_0: - type: OS::Nova::Server - properties: - image: { get_param: vfw_image_name } - flavor: { get_param: vfw_flavor_name } - name: { get_param: vsn_name_0 } - key_name: { get_resource: my_keypair } - networks: - - network: { get_param: public_net_id } - - port: { get_resource: vsn_private_0_port } - - port: { get_resource: vsn_private_1_port } - metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} - user_data_format: RAW - user_data: - str_replace: - params: - __webserver__: { get_param: webserver_ip } - __protected_net_gw__: { get_param: vfw_private_ip_1 } - __unprotected_net__: { get_param: unprotected_private_net_cidr } - template: | - #!/bin/bash - - WEBSERVER_IP=__webserver__ - PROTECTED_NET_GW=__protected_net_gw__ - UNPROTECTED_NET=__unprotected_net__ - UNPROTECTED_NET=$(echo $UNPROTECTED_NET | cut -d'/' -f1) - - mkdir /opt/config - cd /opt - wget http://$WEBSERVER_IP/demo_repo/v_sink_init.sh - wget http://$WEBSERVER_IP/demo_repo/vsink.sh - chmod +x v_sink_init.sh - chmod +x vsink.sh - echo $PROTECTED_NET_GW > config/protected_net_gw.txt - echo $UNPROTECTED_NET > config/unprotected_net.txt - echo "no" > config/install.txt - mv vsink.sh /etc/init.d - sudo update-rc.d vsink.sh defaults - ./v_sink_init.sh - - vsn_private_0_port: - type: OS::Neutron::Port - properties: - network: { get_resource: protected_private_network } - fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vsn_private_ip_0 }}] - - vsn_private_1_port: - type: OS::Neutron::Port - properties: - network: { get_param: ecomp_private_net_id } - fixed_ips: [{"subnet": { get_param: ecomp_private_net_id }, "ip_address": { get_param: vsn_private_ip_1 }}] diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/demo-vfw-V1/artifacts/vnf-module-artifact.json b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/demo-vfw-V1/artifacts/vnf-module-artifact.json deleted file mode 100644 index 0e45ba6434..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/demo-vfw-V1/artifacts/vnf-module-artifact.json +++ /dev/null @@ -1,16 +0,0 @@ -[ - { - "vfModuleModelName": "VF_RI1_VFW::module-1", - "vfModuleModelInvariantUUID": "585822c7-4027-4f84-ba50-e9248606f134", - "vfModuleModelVersion": "1.0", - "vfModuleModelUUID": "1e34774e-715e-4fd5-bd08-7b654622f33f.VF_RI1_VFW::module-1::module-1.group", - "vfModuleModelDescription": "vf Module Description", - "vfModuleModelCustomizationUUID": "585822c7-4027-4f84-ba50-e9248606f134", - "isBase": true, - "artifacts": [ - "Artifact-UUID3", - "EnvArtifact-UUID3" - ], - "properties": {"test":"test"} - } -] \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/demo-vfw-V1/notif-structure.json b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/demo-vfw-V1/notif-structure.json deleted file mode 100644 index bec8bedf06..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/demo-vfw-V1/notif-structure.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "serviceName": "vfw-service", - "serviceInvariantUUID": "585822c7-4027-4f84-ba50-e9248606f112", - "serviceUUID": "2e34774e-715e-4fd5-bd09-7b654622f35i", - "serviceVersion": "1.0", - "serviceArtifacts": - [ - - ], - - "resources": - [ - { - "resourceInstanceName": "VFWResource-1", - "resourceInvariantUUID": "585822c7-4027-4f84-ba50-e9248606f113", - "resourceName": "VFWResource", - "resourceType": "VF", - "resourceUUID": "685822c7-4027-4f84-ba50-e9248606f132", - "resourceVersion": "1.0", - "category": "category", - "artifacts": - [ - { - "artifactChecksum": "CheckSum", - "artifactDescription": "Meta data for VFModule", - "artifactName": "vnf-module-artifact.json", - - "artifactType": "VF_MODULES_METADATA", - "artifactURL": "vnf-module-artifact.json", - "artifactUUID": "VfArtifact-UUID2", - "artifactVersion": "1.0" - - }, - { - "artifactChecksum": "CheckSum", - "artifactDescription": "Base VFW Heat", - "artifactName": "base_vfw.yaml", - "artifactTimeout": 300, - "artifactType": "HEAT", - "artifactURL": "base_vfw.yaml", - "artifactUUID": "Artifact-UUID3", - "artifactVersion": "1.0", - "generatedArtifact": "EnvArtifact-UUID3", - "relatedArtifact": - [ - - ] - }, - - { - "artifactChecksum": "CheckSum", - "artifactDescription": "base_vfw ENV file", - "artifactName": "base_vfw.env", - - "artifactType": "HEAT_ENV", - "artifactURL": "base_vfw.env", - "artifactUUID": "EnvArtifact-UUID3", - "artifactVersion": "1.0" - } - ] - } - ], - - "serviceDescription": "VFW service", - "distributionID": "35120a87-1f82-4276-9735-f6de5a244d62" -} \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/notif-without-modules-metadata/artifacts/cloud-nimbus.sh b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/notif-without-modules-metadata/artifacts/cloud-nimbus.sh deleted file mode 100644 index 48485f3bf6..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/notif-without-modules-metadata/artifacts/cloud-nimbus.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash -echo "Running first-boot script" -FLAG="first-boot.sh" -echo "First boot run" > ${FLAG} -echo "$vm_name" >> ${FLAG} -touch /var/lib/cloud/instance/payload/launch-params -chmod 644 /var/lib/cloud/instance/payload/launch-params -#for i in $(ls /sys/class/net); do -# echo "Restart $i" >> ${FLAG} -# ifdown ${i} -# ifup ${i} -#done diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/notif-without-modules-metadata/artifacts/hot-nimbus-oam_v1.0.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/notif-without-modules-metadata/artifacts/hot-nimbus-oam_v1.0.env deleted file mode 100644 index 7e51e674ab..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/notif-without-modules-metadata/artifacts/hot-nimbus-oam_v1.0.env +++ /dev/null @@ -1,18 +0,0 @@ -parameters: - pcrf_oam_server_names: ZRDM1PCRF01OAM001,ZRDM1PCRF01OAM002 - pcrf_oam_image_name: PCRF_8.995-ATTM1.0.3.qcow2 - pcrf_oam_flavor_name: lc.4xlarge4 - availabilityzone_name: nova - pcrf_cps_net_name: Mobisupport-25193-I-INT1_int_pcrf_net_0 - pcrf_cps_net_ips: 172.26.16.111,172.26.16.112 - pcrf_arbiter_vip: 172.26.16.115 - pcrf_cps_net_mask: 255.255.255.0 - pcrf_oam_net_name: MNS-25180-L-01_oam_protected_net_0 - pcrf_oam_net_ips: 107.239.64.117,107.239.64.118 - pcrf_oam_net_gw: 107.239.64.1 - pcrf_oam_net_mask: 255.255.248.0 - pcrf_oam_volume_id_1: a4aa05fb-fcdc-457b-8077-6845fdfc3257 - pcrf_oam_volume_id_2: 93d8fc1f-f1c3-4933-86b2-039881ee910f - pcrf_security_group_name: nimbus_security_group - pcrf_vnf_id: 730797234b4a40aa99335157b02871cd - diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/notif-without-modules-metadata/artifacts/hot-nimbus-oam_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/notif-without-modules-metadata/artifacts/hot-nimbus-oam_v1.0.yaml deleted file mode 100644 index 98c4e3bcbf..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/notif-without-modules-metadata/artifacts/hot-nimbus-oam_v1.0.yaml +++ /dev/null @@ -1,109 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates multiple PCRF OAM nodes stack - -parameters: - pcrf_oam_server_names: - type: comma_delimited_list - label: PCRF OAM server names - description: name of the PCRF OAM instance - pcrf_oam_image_name: - type: string - label: PCRF OAM image name - description: PCRF OAM image name - pcrf_oam_flavor_name: - type: string - label: PCRF OAM flavor name - description: flavor name of PCRF OAM instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ips: - type: comma_delimited_list - label: CPS network ips - description: CPS network ips - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_arbiter_vip: - type: string - label: OAM Arbiter LB VIP - description: OAM Arbiter LB VIP - pcrf_oam_net_name: - type: string - label: OAM network name - description: OAM network name - pcrf_oam_net_ips: - type: comma_delimited_list - label: OAM network ips - description: OAM network ips - pcrf_oam_net_gw: - type: string - label: CPS network gateway - description: CPS network gateway - pcrf_oam_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_oam_volume_id_1: - type: string - label: CPS OAM 001 Cinder Volume - description: CPS OAM 001 Cinder Volumes - pcrf_oam_volume_id_2: - type: string - label: CPS OAM 002 Cinder Volume - description: CPS OAM 002 Cinder Volumes - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - server_pcrf_oam_001: - type: nested-oam_v1.0.yaml - properties: - pcrf_oam_server_name: { get_param: [pcrf_oam_server_names, 0] } - pcrf_oam_image_name: { get_param: pcrf_oam_image_name } - pcrf_oam_flavor_name: { get_param: pcrf_oam_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_oam_volume_id: { get_param: pcrf_oam_volume_id_1 } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 0] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_oam_net_name: { get_param: pcrf_oam_net_name } - pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 0] } - pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask } - pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw } - pcrf_arbiter_vip: { get_param: pcrf_arbiter_vip } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_oam_002: - type: nested-oam_v1.0.yaml - depends_on: [server_pcrf_oam_001] - properties: - pcrf_oam_server_name: { get_param: [pcrf_oam_server_names, 1] } - pcrf_oam_image_name: { get_param: pcrf_oam_image_name } - pcrf_oam_flavor_name: { get_param: pcrf_oam_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_oam_volume_id: { get_param: pcrf_oam_volume_id_2 } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 1] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_oam_net_name: { get_param: pcrf_oam_net_name } - pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 1] } - pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask } - pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw } - pcrf_arbiter_vip: { get_param: pcrf_arbiter_vip } - pcrf_vnf_id: {get_param: pcrf_vnf_id} diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/notif-without-modules-metadata/artifacts/nested-oam_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/notif-without-modules-metadata/artifacts/nested-oam_v1.0.yaml deleted file mode 100644 index fa3b04e7d3..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/notif-without-modules-metadata/artifacts/nested-oam_v1.0.yaml +++ /dev/null @@ -1,156 +0,0 @@ -heat_template_version: 2013-05-23 - -description: nested heat template that creates a PCRF OAM node stack - -parameters: - pcrf_oam_server_name: - type: string - label: PCRF OAM server name - description: PCRF OAM server name - pcrf_oam_image_name: - type: string - label: image name - description: PCRF OAM image name - pcrf_oam_flavor_name: - type: string - label: PCRF OAM flavor name - description: flavor name of PCRF OAM instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ip: - type: string - label: CPS network ip - description: CPS network ip - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_arbiter_vip: - type: string - label: OAM Arbiter LB VIP - description: OAM Arbiter LB VIP - pcrf_oam_net_name: - type: string - label: OAM network name - description: OAM network name - pcrf_oam_net_ip: - type: string - label: OAM network ip - description: OAM network ip - pcrf_oam_net_gw: - type: string - label: CPS network gateway - description: CPS network gateway - pcrf_oam_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_oam_volume_id: - type: string - label: CPS OAM Cinder Volume - description: CPS OAM Cinder Volume - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - network: - type: OS::Heat::CloudConfig - properties: - cloud_config: - write_files: - - path: /etc/sysconfig/network-scripts/ifcfg-eth0 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth0 - $ip: { get_param: pcrf_cps_net_ip } - $netmask: { get_param: pcrf_cps_net_mask } - - path: /etc/sysconfig/network-scripts/ifcfg-eth1 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet-gw } - params: - $dev: eth1 - $ip: { get_param: pcrf_oam_net_ip } - $netmask: { get_param: pcrf_oam_net_mask } - $gateway: { get_param: pcrf_oam_net_gw } - runcmd: - - ifdown eth0 && ifup eth0 - - ifdown eth1 && ifup eth1 - script_init: - type: OS::Heat::SoftwareConfig - properties: - group: ungrouped - config: - str_replace: - template: { get_file: cloud-nimbus.sh } - params: - $vm_name: { get_param: pcrf_oam_server_name } - pcrf_server_init: - type: OS::Heat::MultipartMime - properties: - parts: - - config: { get_resource: network} - - config: { get_resource: script_init} - - pcrf_server_oam: - type: OS::Nova::Server - properties: - config_drive: "True" - name: { get_param: pcrf_oam_server_name } - image: { get_param: pcrf_oam_image_name } - flavor: { get_param: pcrf_oam_flavor_name } - availability_zone: { get_param: availabilityzone_name } - networks: - - port: { get_resource: pcrf_oam_port_0} - - port: { get_resource: pcrf_oam_port_1} - user_data_format: RAW - user_data: - get_resource: pcrf_server_init - metadata: - vnf_id: {get_param: pcrf_vnf_id} - - pcrf_oam_port_0: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_cps_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_cps_net_ip } - allowed_address_pairs: - - ip_address: { get_param: pcrf_arbiter_vip } - security_groups: [{ get_param: pcrf_security_group_name }] - - pcrf_oam_port_1: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_oam_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_oam_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - - pcrf_oam_vol_attachment: - type: OS::Cinder::VolumeAttachment - properties: - volume_id: { get_param: pcrf_oam_volume_id } - mountpoint: /dev/vdd - instance_uuid: { get_resource: pcrf_server_oam } - -outputs: - pcrf_oam_vol_attachment_id: - description: the pcrf_oam_vol_attachment_id id - value: { get_resource: pcrf_oam_vol_attachment } diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/notif-without-modules-metadata/notif-structure.json b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/notif-without-modules-metadata/notif-structure.json deleted file mode 100644 index 622ea3c3f5..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/notif-without-modules-metadata/notif-structure.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "serviceName": "test-service", - "serviceInvariantUUID": "585822c7-4027-4f84-ba50-e9248606f132", - "serviceUUID": "1e34774e-715e-4fd5-bd09-7b654622f33e", - "serviceVersion": "1.0", - "serviceArtifacts": - [ - - ], - - "resources": - [ - { - "resourceInstanceName": "wrong-resource-1", - "resourceInvariantUUID": "585822c7-4027-4f84-ba50-e9248606f134", - "resourceName": "wrong-resourceName-1", - "resourceType": "VF", - "resourceUUID": "585822c7-4027-4f84-ba50-e9248606f136", - "resourceVersion": "1.0", - "category": "category", - "artifacts": - [ - - { - "artifactChecksum": "CheckSum", - "artifactDescription": "Nimbus Heat OAM", - "artifactName": "hot-nimbus-oam_v1.0.yaml", - "artifactTimeout": 100, - "artifactType": "HEAT", - "artifactURL": "hot-nimbus-oam_v1.0.yaml", - "artifactUUID": "Artifact-UUID1", - "artifactVersion": "1.0", - "generatedArtifact": "EnvArtifact-UUID2", - "relatedArtifact": - [ - "NestedArtifact-UUID3" - ] - }, - - { - "artifactChecksum": "CheckSum", - "artifactDescription": "Nimbus Heat ENV OAM", - "artifactName": "hot-nimbus-oam_v1.0.env", - "artifactTimeout": 100, - "artifactType": "HEAT_ENV", - "artifactURL": "hot-nimbus-oam_v1.0.env", - "artifactUUID": "EnvArtifact-UUID2", - "artifactVersion": "1.0" - - }, - - { - "artifactChecksum": "CheckSum", - "artifactDescription": "Nested OAM", - "artifactName": "nested-oam_v1.0.yaml", - "artifactTimeout": 10, - "artifactType": "HEAT_NESTED", - "artifactURL": "nested-oam_v1.0.yaml", - "artifactUUID": "NestedArtifact-UUID3", - "artifactVersion": "1.0" - - } - ] - } - ], - - "serviceDescription": "test service for unit testing", - "distributionID": "35120a87-1f82-4276-9735-f6de5a244d65" -} \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/resource_Extvl.csar b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/resource_Extvl.csar deleted file mode 100644 index b6281fc042..0000000000 Binary files a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/resource_Extvl.csar and /dev/null differ diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/service-ServiceFdnt-csar-0904-2.csar b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/service-ServiceFdnt-csar-0904-2.csar deleted file mode 100644 index daa270bb9f..0000000000 Binary files a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/service-ServiceFdnt-csar-0904-2.csar and /dev/null differ diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/service-ServiceFdnt-with-allotted.csar b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/service-ServiceFdnt-with-allotted.csar deleted file mode 100644 index 21b5f5e88a..0000000000 Binary files a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/service-ServiceFdnt-with-allotted.csar and /dev/null differ diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/service_Rg511NfmService.csar b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/service_Rg511NfmService.csar deleted file mode 100644 index a7ea45477a..0000000000 Binary files a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/service_Rg511NfmService.csar and /dev/null differ diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/service_Rg516VmmscSrvc_csar.csar b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/service_Rg516VmmscSrvc_csar.csar deleted file mode 100644 index 6bbac7d3f1..0000000000 Binary files a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/service_Rg516VmmscSrvc_csar.csar and /dev/null differ diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/cloud-nimbus.sh b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/cloud-nimbus.sh deleted file mode 100644 index 48485f3bf6..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/cloud-nimbus.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash -echo "Running first-boot script" -FLAG="first-boot.sh" -echo "First boot run" > ${FLAG} -echo "$vm_name" >> ${FLAG} -touch /var/lib/cloud/instance/payload/launch-params -chmod 644 /var/lib/cloud/instance/payload/launch-params -#for i in $(ls /sys/class/net); do -# echo "Restart $i" >> ${FLAG} -# ifdown ${i} -# ifup ${i} -#done diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-oam-volumes_v1.0.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-oam-volumes_v1.0.env deleted file mode 100644 index b494d8c270..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-oam-volumes_v1.0.env +++ /dev/null @@ -1,6 +0,0 @@ -parameters: - pcrf_oam_vol_size: 500 - pcrf_oam_volume_silver-1: Silver - pcrf_oam_volume_silver-2: Silver - pcrf_oam_vol_name_1: sde1-pcrfx01-oam001-vol-1 - pcrf_oam_vol_name_2: sde1-pcrfx01-oam001-vol-2 \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-oam-volumes_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-oam-volumes_v1.0.yaml deleted file mode 100644 index 9e120547b4..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-oam-volumes_v1.0.yaml +++ /dev/null @@ -1,45 +0,0 @@ -heat_template_version: 2013-05-23 - -parameters: - pcrf_oam_vol_size: - type: number - label: Cinder volume size - description: the size of the Cinder volume - pcrf_oam_vol_name_1: - type: string - label: OAM volume name 1 - description: Assigning name to volume - pcrf_oam_vol_name_2: - type: string - label: OAM volume name 2 - description: Assigning name to volume - pcrf_oam_volume_silver-1: - type: string - label: vm volume type - description: the name of the target volume backend for OAM1 - pcrf_oam_volume_silver-2: - type: string - label: vm volume type - description: the name of the target volume backend for OAM2 - -resources: - pcrf_oam_volume_1: - type: OS::Cinder::Volume - properties: - size: {get_param: pcrf_oam_vol_size} - volume_type: {get_param: pcrf_oam_volume_silver-1} - name: {get_param: pcrf_oam_vol_name_1} - - pcrf_oam_volume_2: - type: OS::Cinder::Volume - properties: - size: {get_param: pcrf_oam_vol_size} - volume_type: {get_param: pcrf_oam_volume_silver-2} - name: {get_param: pcrf_oam_vol_name_2} -outputs: - pcrf_oam_volume_id_1: - description: the oam 001 volume id - value: { get_resource: pcrf_oam_volume_1 } - pcrf_oam_volume_id_2: - description: the oam 002 volume id - value: { get_resource: pcrf_oam_volume_2 } \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-oam_v1.0.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-oam_v1.0.env deleted file mode 100644 index 7e51e674ab..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-oam_v1.0.env +++ /dev/null @@ -1,18 +0,0 @@ -parameters: - pcrf_oam_server_names: ZRDM1PCRF01OAM001,ZRDM1PCRF01OAM002 - pcrf_oam_image_name: PCRF_8.995-ATTM1.0.3.qcow2 - pcrf_oam_flavor_name: lc.4xlarge4 - availabilityzone_name: nova - pcrf_cps_net_name: Mobisupport-25193-I-INT1_int_pcrf_net_0 - pcrf_cps_net_ips: 172.26.16.111,172.26.16.112 - pcrf_arbiter_vip: 172.26.16.115 - pcrf_cps_net_mask: 255.255.255.0 - pcrf_oam_net_name: MNS-25180-L-01_oam_protected_net_0 - pcrf_oam_net_ips: 107.239.64.117,107.239.64.118 - pcrf_oam_net_gw: 107.239.64.1 - pcrf_oam_net_mask: 255.255.248.0 - pcrf_oam_volume_id_1: a4aa05fb-fcdc-457b-8077-6845fdfc3257 - pcrf_oam_volume_id_2: 93d8fc1f-f1c3-4933-86b2-039881ee910f - pcrf_security_group_name: nimbus_security_group - pcrf_vnf_id: 730797234b4a40aa99335157b02871cd - diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-oam_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-oam_v1.0.yaml deleted file mode 100644 index 98c4e3bcbf..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-oam_v1.0.yaml +++ /dev/null @@ -1,109 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates multiple PCRF OAM nodes stack - -parameters: - pcrf_oam_server_names: - type: comma_delimited_list - label: PCRF OAM server names - description: name of the PCRF OAM instance - pcrf_oam_image_name: - type: string - label: PCRF OAM image name - description: PCRF OAM image name - pcrf_oam_flavor_name: - type: string - label: PCRF OAM flavor name - description: flavor name of PCRF OAM instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ips: - type: comma_delimited_list - label: CPS network ips - description: CPS network ips - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_arbiter_vip: - type: string - label: OAM Arbiter LB VIP - description: OAM Arbiter LB VIP - pcrf_oam_net_name: - type: string - label: OAM network name - description: OAM network name - pcrf_oam_net_ips: - type: comma_delimited_list - label: OAM network ips - description: OAM network ips - pcrf_oam_net_gw: - type: string - label: CPS network gateway - description: CPS network gateway - pcrf_oam_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_oam_volume_id_1: - type: string - label: CPS OAM 001 Cinder Volume - description: CPS OAM 001 Cinder Volumes - pcrf_oam_volume_id_2: - type: string - label: CPS OAM 002 Cinder Volume - description: CPS OAM 002 Cinder Volumes - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - server_pcrf_oam_001: - type: nested-oam_v1.0.yaml - properties: - pcrf_oam_server_name: { get_param: [pcrf_oam_server_names, 0] } - pcrf_oam_image_name: { get_param: pcrf_oam_image_name } - pcrf_oam_flavor_name: { get_param: pcrf_oam_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_oam_volume_id: { get_param: pcrf_oam_volume_id_1 } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 0] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_oam_net_name: { get_param: pcrf_oam_net_name } - pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 0] } - pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask } - pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw } - pcrf_arbiter_vip: { get_param: pcrf_arbiter_vip } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_oam_002: - type: nested-oam_v1.0.yaml - depends_on: [server_pcrf_oam_001] - properties: - pcrf_oam_server_name: { get_param: [pcrf_oam_server_names, 1] } - pcrf_oam_image_name: { get_param: pcrf_oam_image_name } - pcrf_oam_flavor_name: { get_param: pcrf_oam_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_oam_volume_id: { get_param: pcrf_oam_volume_id_2 } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 1] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_oam_net_name: { get_param: pcrf_oam_net_name } - pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 1] } - pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask } - pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw } - pcrf_arbiter_vip: { get_param: pcrf_arbiter_vip } - pcrf_vnf_id: {get_param: pcrf_vnf_id} diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-pcm-volumes_v1.0.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-pcm-volumes_v1.0.env deleted file mode 100644 index 788365dcd3..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-pcm-volumes_v1.0.env +++ /dev/null @@ -1,4 +0,0 @@ -parameters: - pcrf_pcm_vol_size: 50 - pcrf_pcm_volume_silver: Silver - pcrf_pcm_vol_name_1: sde1-pcrfx01-pcm001-vol-1 diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-pcm-volumes_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-pcm-volumes_v1.0.yaml deleted file mode 100644 index bcc3e89f71..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-pcm-volumes_v1.0.yaml +++ /dev/null @@ -1,28 +0,0 @@ -heat_template_version: 2013-05-23 - -parameters: - pcrf_pcm_vol_size: - type: number - label: Cinder volume size - description: the size of the Cinder volume - pcrf_pcm_vol_name_1: - type: string - label: PCM volume name - description: Assigning name to volume - pcrf_pcm_volume_silver: - type: string - label: vm volume type - description: the name of the target volume backend for PCM - -resources: - pcrf_pcm_volume_1: - type: OS::Cinder::Volume - properties: - size: { get_param: pcrf_pcm_vol_size } - volume_type: { get_param: pcrf_pcm_volume_silver } - name: { get_param: pcrf_pcm_vol_name_1 } - -outputs: - pcrf_pcm_volume_id_1: - description: the pcrf_pcm_volume_id - value: { get_resource: pcrf_pcm_volume_1 } \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-pcm_v1.0.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-pcm_v1.0.env deleted file mode 100644 index b23014d92f..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-pcm_v1.0.env +++ /dev/null @@ -1,16 +0,0 @@ -parameters: - pcrf_pcm_server_names: ZRDM1PCRF01PCM001 - pcrf_pcm_image_name: PCRF_8.995-ATTM1.0.3.qcow2 - pcrf_pcm_flavor_name: lc.2xlarge4 - availabilityzone_name: nova - pcrf_cps_net_name: Mobisupport-25193-I-INT1_int_pcrf_net_0 - pcrf_cps_net_ips: 172.26.16.113 - pcrf_cps_net_mask: 255.255.255.0 - pcrf_oam_net_name: MNS-25180-L-01_oam_protected_net_0 - pcrf_oam_net_ips: 107.239.64.121 - pcrf_oam_net_gw: 107.239.64.1 - pcrf_oam_net_mask: 255.255.248.0 - pcrf_pcm_volume_id_1: 3438a3fe-1241-4390-80f2-d0b86238c40e - pcrf_security_group_name: nimbus_security_group - pcrf_vnf_id: 730797234b4a40aa99335157b02871cd - diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-pcm_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-pcm_v1.0.yaml deleted file mode 100644 index defb373a4f..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-pcm_v1.0.yaml +++ /dev/null @@ -1,80 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates PCRF Cluman stack - -parameters: - pcrf_pcm_server_names: - type: comma_delimited_list - label: PCRF CM server names - description: name of the PCRF CM instance - pcrf_pcm_image_name: - type: string - label: PCRF CM image name - description: PCRF CM image name - pcrf_pcm_flavor_name: - type: string - label: PCRF CM flavor name - description: flavor name of PCRF CM instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ips: - type: comma_delimited_list - label: CPS network ips - description: CPS network ips - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_oam_net_name: - type: string - label: OAM network name - description: OAM network name - pcrf_oam_net_ips: - type: comma_delimited_list - label: OAM network ips - description: OAM network ips - pcrf_oam_net_gw: - type: string - label: CPS network gateway - description: CPS network gateway - pcrf_oam_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_pcm_volume_id_1: - type: string - label: CPS Cluman Cinder Volume - description: CPS Cluman Cinder Volume - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - server_pcrf_pcm_001: - type: nested-pcm_v1.0.yaml - properties: - pcrf_pcm_server_name: { get_param: [pcrf_pcm_server_names, 0] } - pcrf_pcm_image_name: { get_param: pcrf_pcm_image_name } - pcrf_pcm_flavor_name: { get_param: pcrf_pcm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_pcm_volume_id: { get_param: pcrf_pcm_volume_id_1 } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 0] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_oam_net_name: { get_param: pcrf_oam_net_name } - pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 0] } - pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask } - pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw } - pcrf_vnf_id: {get_param: pcrf_vnf_id} diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-ppd_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-ppd_v1.0.yaml deleted file mode 100644 index 8631592097..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-ppd_v1.0.yaml +++ /dev/null @@ -1,286 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates PCRF Policy Director stack - -parameters: - pcrf_ppd_server_names: - type: comma_delimited_list - label: PCRF PD server names - description: name of the PCRF PD instance - pcrf_ppd_image_name: - type: string - label: PCRF PD image name - description: PCRF PD image name - pcrf_ppd_flavor_name: - type: string - label: PCRF PD flavor name - description: flavor name of PCRF PD instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ips: - type: comma_delimited_list - label: CPS network ips - description: CPS network ips - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_lb_internal_vip: - type: string - label: CPS Internal LB VIP - description: CPS Internal LB VIP - pcrf_oam_net_name: - type: string - label: OAM network name - description: OAM network name - pcrf_oam_net_ips: - type: comma_delimited_list - label: OAM network ips - description: OAM network ips - pcrf_oam_net_gw: - type: string - label: CPS network gateway - description: CPS network gateway - pcrf_oam_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_lb_management_vip: - type: string - label: CPS OAM LB VIP - description: CPS OAM LB VIP - pcrf_gx_net_name: - type: string - label: Gx network name - description: Gx network name - pcrf_gx_net_ips: - type: comma_delimited_list - label: Gx network ips - description: Gx network ips - pcrf_gx_net_mask: - type: string - label: Gx network mask - description: Gx network mask - pcrf_sp_net_name: - type: string - label: Sp network name - description: Sp network name - pcrf_sp_net_ips: - type: comma_delimited_list - label: Sp network ips - description: Sp network ips - pcrf_sp_net_mask: - type: string - label: Sp network mask - description: Sp network mask - pcrf_sy_net_name: - type: string - label: Sy network name - description: Sy network name - pcrf_sy_net_ips: - type: comma_delimited_list - label: Sy network ips - description: Sy network ips - pcrf_sy_net_mask: - type: string - label: Sy network mask - description: Sy network mask - pcrf_rx_net_name: - type: string - label: Rx network name - description: Rx network name - pcrf_rx_net_ips: - type: comma_delimited_list - label: Rx network ips - description: Rx network ips - pcrf_rx_net_mask: - type: string - label: Rx network mask - description: Rx network mask - pcrf_sd_net_name: - type: string - label: Sd network name - description: Sd network name - pcrf_sd_net_ips: - type: comma_delimited_list - label: Sd network ips - description: Sd network ips - pcrf_sd_net_mask: - type: string - label: Sd network mask - description: Sd network mask - pcrf_sgi_sy_net_name: - type: string - label: Sgi Sy network name - description: Sgi Sy network name - pcrf_sgi_sy_net_ips: - type: comma_delimited_list - label: Sgi Sy network ips - description: Sgi Sy network ips - pcrf_sgi_sy_net_mask: - type: string - label: Sgi Sy network mask - description: Sgi Sy network mask - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - server_pcrf_ppd_001: - type: nested-ppd_v1.0.yaml - properties: - pcrf_ppd_server_name: { get_param: [pcrf_ppd_server_names, 0] } - pcrf_ppd_image_name: { get_param: pcrf_ppd_image_name } - pcrf_ppd_flavor_name: { get_param: pcrf_ppd_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 0] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_lb_internal_vip: { get_param: pcrf_lb_internal_vip } - pcrf_oam_net_name: { get_param: pcrf_oam_net_name } - pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 0] } - pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask } - pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw } - pcrf_lb_management_vip: { get_param: pcrf_lb_management_vip } - pcrf_gx_net_name: { get_param: pcrf_gx_net_name } - pcrf_gx_net_ip: { get_param: [pcrf_gx_net_ips, 0] } - pcrf_gx_net_mask: { get_param: pcrf_gx_net_mask } - pcrf_sp_net_name: { get_param: pcrf_sp_net_name } - pcrf_sp_net_ip: { get_param: [pcrf_sp_net_ips, 0] } - pcrf_sp_net_mask: { get_param: pcrf_sp_net_mask } - pcrf_sy_net_name: { get_param: pcrf_sy_net_name } - pcrf_sy_net_ip: { get_param: [pcrf_sy_net_ips, 0] } - pcrf_sy_net_mask: { get_param: pcrf_sy_net_mask } - pcrf_rx_net_name: { get_param: pcrf_rx_net_name } - pcrf_rx_net_ip: { get_param: [pcrf_rx_net_ips, 0] } - pcrf_rx_net_mask: { get_param: pcrf_rx_net_mask } - pcrf_sd_net_name: { get_param: pcrf_sd_net_name } - pcrf_sd_net_ip: { get_param: [pcrf_sd_net_ips, 0] } - pcrf_sd_net_mask: { get_param: pcrf_sd_net_mask } - pcrf_sgi_sy_net_name: { get_param: pcrf_sgi_sy_net_name } - pcrf_sgi_sy_net_ip: { get_param: [pcrf_sgi_sy_net_ips, 0] } - pcrf_sgi_sy_net_mask: { get_param: pcrf_sgi_sy_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_ppd_002: - type: nested-ppd_v1.0.yaml - properties: - pcrf_ppd_server_name: { get_param: [pcrf_ppd_server_names, 1] } - pcrf_ppd_image_name: { get_param: pcrf_ppd_image_name } - pcrf_ppd_flavor_name: { get_param: pcrf_ppd_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 1] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_lb_internal_vip: { get_param: pcrf_lb_internal_vip } - pcrf_oam_net_name: { get_param: pcrf_oam_net_name } - pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 1] } - pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask } - pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw } - pcrf_lb_management_vip: { get_param: pcrf_lb_management_vip } - pcrf_gx_net_name: { get_param: pcrf_gx_net_name } - pcrf_gx_net_ip: { get_param: [pcrf_gx_net_ips, 1] } - pcrf_gx_net_mask: { get_param: pcrf_gx_net_mask } - pcrf_sp_net_name: { get_param: pcrf_sp_net_name } - pcrf_sp_net_ip: { get_param: [pcrf_sp_net_ips, 1] } - pcrf_sp_net_mask: { get_param: pcrf_sp_net_mask } - pcrf_sy_net_name: { get_param: pcrf_sy_net_name } - pcrf_sy_net_ip: { get_param: [pcrf_sy_net_ips, 1] } - pcrf_sy_net_mask: { get_param: pcrf_sy_net_mask } - pcrf_rx_net_name: { get_param: pcrf_rx_net_name } - pcrf_rx_net_ip: { get_param: [pcrf_rx_net_ips, 1] } - pcrf_rx_net_mask: { get_param: pcrf_rx_net_mask } - pcrf_sd_net_name: { get_param: pcrf_sd_net_name } - pcrf_sd_net_ip: { get_param: [pcrf_sd_net_ips, 1] } - pcrf_sd_net_mask: { get_param: pcrf_sd_net_mask } - pcrf_sgi_sy_net_name: { get_param: pcrf_sgi_sy_net_name } - pcrf_sgi_sy_net_ip: { get_param: [pcrf_sgi_sy_net_ips, 1] } - pcrf_sgi_sy_net_mask: { get_param: pcrf_sgi_sy_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_ppd_003: - type: nested-ppd_v1.0.yaml - properties: - pcrf_ppd_server_name: { get_param: [pcrf_ppd_server_names, 2] } - pcrf_ppd_image_name: { get_param: pcrf_ppd_image_name } - pcrf_ppd_flavor_name: { get_param: pcrf_ppd_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 2] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_lb_internal_vip: { get_param: pcrf_lb_internal_vip } - pcrf_oam_net_name: { get_param: pcrf_oam_net_name } - pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 2] } - pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask } - pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw } - pcrf_lb_management_vip: { get_param: pcrf_lb_management_vip } - pcrf_gx_net_name: { get_param: pcrf_gx_net_name } - pcrf_gx_net_ip: { get_param: [pcrf_gx_net_ips, 2] } - pcrf_gx_net_mask: { get_param: pcrf_gx_net_mask } - pcrf_sp_net_name: { get_param: pcrf_sp_net_name } - pcrf_sp_net_ip: { get_param: [pcrf_sp_net_ips, 2] } - pcrf_sp_net_mask: { get_param: pcrf_sp_net_mask } - pcrf_sy_net_name: { get_param: pcrf_sy_net_name } - pcrf_sy_net_ip: { get_param: [pcrf_sy_net_ips, 2] } - pcrf_sy_net_mask: { get_param: pcrf_sy_net_mask } - pcrf_rx_net_name: { get_param: pcrf_rx_net_name } - pcrf_rx_net_ip: { get_param: [pcrf_rx_net_ips, 2] } - pcrf_rx_net_mask: { get_param: pcrf_rx_net_mask } - pcrf_sd_net_name: { get_param: pcrf_sd_net_name } - pcrf_sd_net_ip: { get_param: [pcrf_sd_net_ips, 2] } - pcrf_sd_net_mask: { get_param: pcrf_sd_net_mask } - pcrf_sgi_sy_net_name: { get_param: pcrf_sgi_sy_net_name } - pcrf_sgi_sy_net_ip: { get_param: [pcrf_sgi_sy_net_ips, 2] } - pcrf_sgi_sy_net_mask: { get_param: pcrf_sgi_sy_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_ppd_004: - type: nested-ppd_v1.0.yaml - properties: - pcrf_ppd_server_name: { get_param: [pcrf_ppd_server_names, 3] } - pcrf_ppd_image_name: { get_param: pcrf_ppd_image_name } - pcrf_ppd_flavor_name: { get_param: pcrf_ppd_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 3] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_lb_internal_vip: { get_param: pcrf_lb_internal_vip } - pcrf_oam_net_name: { get_param: pcrf_oam_net_name } - pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 3] } - pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask } - pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw } - pcrf_lb_management_vip: { get_param: pcrf_lb_management_vip } - pcrf_gx_net_name: { get_param: pcrf_gx_net_name } - pcrf_gx_net_ip: { get_param: [pcrf_gx_net_ips, 3] } - pcrf_gx_net_mask: { get_param: pcrf_gx_net_mask } - pcrf_sp_net_name: { get_param: pcrf_sp_net_name } - pcrf_sp_net_ip: { get_param: [pcrf_sp_net_ips, 3] } - pcrf_sp_net_mask: { get_param: pcrf_sp_net_mask } - pcrf_sy_net_name: { get_param: pcrf_sy_net_name } - pcrf_sy_net_ip: { get_param: [pcrf_sy_net_ips, 3] } - pcrf_sy_net_mask: { get_param: pcrf_sy_net_mask } - pcrf_rx_net_name: { get_param: pcrf_rx_net_name } - pcrf_rx_net_ip: { get_param: [pcrf_rx_net_ips, 3] } - pcrf_rx_net_mask: { get_param: pcrf_rx_net_mask } - pcrf_sd_net_name: { get_param: pcrf_sd_net_name } - pcrf_sd_net_ip: { get_param: [pcrf_sd_net_ips, 3] } - pcrf_sd_net_mask: { get_param: pcrf_sd_net_mask } - pcrf_sgi_sy_net_name: { get_param: pcrf_sgi_sy_net_name } - pcrf_sgi_sy_net_ip: { get_param: [pcrf_sgi_sy_net_ips, 3] } - pcrf_sgi_sy_net_mask: { get_param: pcrf_sgi_sy_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-ppd_v1.1.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-ppd_v1.1.env deleted file mode 100644 index 10697bcaa5..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-ppd_v1.1.env +++ /dev/null @@ -1,35 +0,0 @@ -parameters: - pcrf_ppd_server_names: ZRDM1PCRF01PPD001,ZRDM1PCRF01PPD002,ZRDM1PCRF01PPD003,ZRDM1PCRF01PPD004 - pcrf_ppd_image_name: PCRF_8.995-ATTM1.0.3.qcow2 - pcrf_ppd_flavor_name: lc.4xlarge4 - availabilityzone_name: nova - pcrf_cps_net_name: Mobisupport-25193-I-INT1_int_pcrf_net_0 - pcrf_cps_net_ips: 172.26.16.3,172.26.16.4,172.26.16.5,172.26.16.6 - pcrf_lb_internal_vip: 172.26.16.114 - pcrf_cps_net_mask: 255.255.255.0 - pcrf_oam_net_name: MNS-25180-L-01_oam_protected_net_0 - pcrf_oam_net_ips: 107.239.64.113,107.239.64.114,107.239.64.115,107.239.64.116 - pcrf_lb_management_vip: 107.239.64.123 - pcrf_oam_net_gw: 107.239.64.1 - pcrf_oam_net_mask: 255.255.248.0 - pcrf_gx_net_name: Mobisupport-25193-I-INT1_cor_pcrf_gx_net_0 - pcrf_gx_net_ips: 107.239.24.67,107.239.24.68,107.239.24.69,107.239.24.70 - pcrf_gx_net_mask: 255.255.255.248 - pcrf_sp_net_name: Mobisupport-25193-I-INT1_cor_pcrf_sp_net_0 - pcrf_sp_net_ips: 107.239.24.75,107.239.24.76,107.239.24.77,107.239.24.78 - pcrf_sp_net_mask: 255.255.255.248 - pcrf_sy_net_name: Mobisupport-25193-I-INT1_cor_pcrf_sy_net_0 - pcrf_sy_net_ips: 107.239.24.83,107.239.24.84,107.239.24.85,107.239.24.86 - pcrf_sy_net_mask: 255.255.255.248 - pcrf_rx_net_name: Mobisupport-25193-I-INT1_cor_pcrf_rx_net_0 - pcrf_rx_net_ips: 107.239.24.91,107.239.24.92,107.239.24.93,107.239.24.94 - pcrf_rx_net_mask: 255.255.255.248 - pcrf_sd_net_name: Mobisupport-25193-I-INT1_cor_pcrf_sd_net_0 - pcrf_sd_net_ips: 107.239.24.99,107.239.24.100,107.239.24.101,107.239.24.102 - pcrf_sd_net_mask: 255.255.255.248 - pcrf_sgi_sy_net_name: Mobisupport-25193-I-INT1_sgi_pcrf_sy_net_0 - pcrf_sgi_sy_net_ips: 107.239.26.131,107.239.26.132,107.239.26.133,107.239.26.134 - pcrf_sgi_sy_net_mask: 255.255.255.248 - pcrf_security_group_name: nimbus_security_group - pcrf_vnf_id: 730797234b4a40aa99335157b02871cd - diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-pps_v1.0.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-pps_v1.0.env deleted file mode 100644 index 18c064c019..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-pps_v1.0.env +++ /dev/null @@ -1,11 +0,0 @@ -parameters: - pcrf_pps_server_names: ZRDM1PCRF01PPS001,ZRDM1PCRF01PPS002,ZRDM1PCRF01PPS003,ZRDM1PCRF01PPS004,ZRDM1PCRF01PPS005,ZRDM1PCRF01PPS006 - pcrf_pps_image_name: PCRF_8.995-ATTM1.0.3.qcow2 - pcrf_pps_flavor_name: lc.3xlarge - availabilityzone_name: nova - pcrf_cps_net_name: Mobisupport-25193-I-INT1_int_pcrf_net_0 - pcrf_cps_net_ips: 172.26.16.7,172.26.16.8,172.26.16.9,172.26.16.10,172.26.16.11,172.26.16.12 - pcrf_cps_net_mask: 255.255.255.0 - pcrf_security_group_name: nimbus_security_group - pcrf_vnf_id: 730797234b4a40aa99335157b02871cd - diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-pps_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-pps_v1.0.yaml deleted file mode 100644 index 0fadd0023d..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-pps_v1.0.yaml +++ /dev/null @@ -1,121 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates PCRF Policy Server stack - -parameters: - pcrf_pps_server_names: - type: comma_delimited_list - label: PCRF PS server names - description: PCRF PS server names - pcrf_pps_image_name: - type: string - label: PCRF PS image name - description: PCRF PS image name - pcrf_pps_flavor_name: - type: string - label: PCRF PS flavor name - description: flavor name of PCRF PS instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ips: - type: comma_delimited_list - label: CPS network ips - description: CPS network ips - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - server_pcrf_pps_001: - type: nested-pps_v1.0.yaml - properties: - pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 0] } - pcrf_pps_image_name: { get_param: pcrf_pps_image_name } - pcrf_pps_flavor_name: { get_param: pcrf_pps_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 0] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_pps_002: - type: nested-pps_v1.0.yaml - properties: - pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 1] } - pcrf_pps_image_name: { get_param: pcrf_pps_image_name } - pcrf_pps_flavor_name: { get_param: pcrf_pps_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 1] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_pps_003: - type: nested-pps_v1.0.yaml - properties: - pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 2] } - pcrf_pps_image_name: { get_param: pcrf_pps_image_name } - pcrf_pps_flavor_name: { get_param: pcrf_pps_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 2] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_pps_004: - type: nested-pps_v1.0.yaml - properties: - pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 3] } - pcrf_pps_image_name: { get_param: pcrf_pps_image_name } - pcrf_pps_flavor_name: { get_param: pcrf_pps_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 3] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_pps_005: - type: nested-pps_v1.0.yaml - properties: - pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 4] } - pcrf_pps_image_name: { get_param: pcrf_pps_image_name } - pcrf_pps_flavor_name: { get_param: pcrf_pps_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 4] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_pps_006: - type: nested-pps_v1.0.yaml - properties: - pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 5] } - pcrf_pps_image_name: { get_param: pcrf_pps_image_name } - pcrf_pps_flavor_name: { get_param: pcrf_pps_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 5] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-psm_v1.0.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-psm_v1.0.env deleted file mode 100644 index 95e450ef0d..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-psm_v1.0.env +++ /dev/null @@ -1,10 +0,0 @@ -parameters: - pcrf_psm_server_names: ZRDM1PCRF01PSM001,ZRDM1PCRF01PSM002,ZRDM1PCRF01PSM003,ZRDM1PCRF01PSM004,ZRDM1PCRF01PSM005,ZRDM1PCRF01PSM006,ZRDM1PCRF01PSM007,ZRDM1PCRF01PSM008,ZRDM1PCRF01PSM009,ZRDM1PCRF01PSM010,ZRDM1PCRF01PSM011,ZRDM1PCRF01PSM012 - pcrf_psm_image_name: PCRF_8.995-ATTM1.0.3.qcow2 - pcrf_psm_flavor_name: lc.4xlarge4 - availabilityzone_name: nova - pcrf_cps_net_name: Mobisupport-25193-I-INT1_int_pcrf_net_0 - pcrf_cps_net_ips: 172.26.16.63,172.26.16.64,172.26.16.65,172.26.16.66,172.26.16.67,172.26.16.68,172.26.16.69,172.26.16.70,172.26.16.71,172.26.16.72,172.26.16.73,172.26.16.74 - pcrf_cps_net_mask: 255.255.255.0 - pcrf_security_group_name: nimbus_security_group - pcrf_vnf_id: 730797234b4a40aa99335157b02871cd diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-psm_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-psm_v1.0.yaml deleted file mode 100644 index 217b0fe33a..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-psm_v1.0.yaml +++ /dev/null @@ -1,199 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates PCRF Session Manager stack - -parameters: - pcrf_psm_server_names: - type: comma_delimited_list - label: PCRF SM server names - description: name of the PCRF SM instance - pcrf_psm_image_name: - type: string - label: PCRF SM image name - description: PCRF SM image name - pcrf_psm_flavor_name: - type: string - label: PCRF SM flavor name - description: flavor name of PCRF SM instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ips: - type: comma_delimited_list - label: CPS network ips - description: CPS network ips - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - server_pcrf_psm_001: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 0] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 0] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_002: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 1] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 1] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_003: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 2] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 2] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_004: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 3] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 3] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_005: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 4] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 4] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_006: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 5] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 5] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_007: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 6] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 6] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_008: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 7] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 7] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_009: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 8] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 8] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_010: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 9] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 9] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_011: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 10] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 10] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_012: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 11] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 11] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-swift-container_v1.0.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-swift-container_v1.0.env deleted file mode 100644 index 5267ee45ae..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-swift-container_v1.0.env +++ /dev/null @@ -1,3 +0,0 @@ -parameters: - pcrf_swift_container_name_1: PCRF_Config_Container_1 - pcrf_swift_container_purge_on_delete_flag_1: false diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-swift-container_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-swift-container_v1.0.yaml deleted file mode 100644 index ab427bb4c2..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/hot-nimbus-swift-container_v1.0.yaml +++ /dev/null @@ -1,30 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates PCRF Session Manager stack - -parameters: - pcrf_swift_container_name_1: - type: string - label: Swift Container name - description: Swift Container Name - pcrf_swift_container_purge_on_delete_flag_1: - type: boolean - label: Purge on Delete Flag - description: Purge on Delete Flag - -resources: - pcrf_swift_container_1: - type: OS::Swift::Container - properties: - name: { get_param: pcrf_swift_container_name_1 } - PurgeOnDelete: { get_param: pcrf_swift_container_purge_on_delete_flag_1 } - X-Container-Read: ".r:*" - -outputs: - pcrf_swift_container_id_1: - description: the pcrf_swift_container_1 id - value: { get_resource: pcrf_swift_container_1 } - pcrf_swift_container_url_1: - description: the pcrf_swift_container_1 url - value: { get_attr: [ pcrf_swift_container_1, WebsiteURL ] } - \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/mount_iso_script.sh b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/mount_iso_script.sh deleted file mode 100644 index 91df598dc2..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/mount_iso_script.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash - -#. .config -#following would be in the .config file - device_name="/dev/vde" - install_script="install_nimbus.sh" - enable_logic_flag_file=".flag" -#end of config file - -#get the semaphore, 0 - disbaled, 1- enabled -flag=$(cat ${enable_logic_flag_file}) - -#check if device is mounted already -test=$(mount | grep ${device_name}) -if [ "$flag" == "1" ]; then - if [ -e ${device_name} ] && [ ! "${test}" ]; then - #mount the iso image - mount -t iso9660 -v -o loop /dev/vde/ /mnt/iso - #if availabe run the install script (it contains the install.sh steps) - if [ -e "${install_script}" ] && [ -f "${install_script}" ]; then - ${install_script} - fi - #disable the script from attempting to - # mount and run install again until needed; - echo "0" > ${enable_logic_flag_file} - #if nedeed add step to comment out the crontab line here; - fi -else - echo "Auto mounting ISO & run install logic disabled!" -fi - -#cron job -# * * * * * /mount_iso_script.sh - diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/nested-oam_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/nested-oam_v1.0.yaml deleted file mode 100644 index fa3b04e7d3..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/nested-oam_v1.0.yaml +++ /dev/null @@ -1,156 +0,0 @@ -heat_template_version: 2013-05-23 - -description: nested heat template that creates a PCRF OAM node stack - -parameters: - pcrf_oam_server_name: - type: string - label: PCRF OAM server name - description: PCRF OAM server name - pcrf_oam_image_name: - type: string - label: image name - description: PCRF OAM image name - pcrf_oam_flavor_name: - type: string - label: PCRF OAM flavor name - description: flavor name of PCRF OAM instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ip: - type: string - label: CPS network ip - description: CPS network ip - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_arbiter_vip: - type: string - label: OAM Arbiter LB VIP - description: OAM Arbiter LB VIP - pcrf_oam_net_name: - type: string - label: OAM network name - description: OAM network name - pcrf_oam_net_ip: - type: string - label: OAM network ip - description: OAM network ip - pcrf_oam_net_gw: - type: string - label: CPS network gateway - description: CPS network gateway - pcrf_oam_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_oam_volume_id: - type: string - label: CPS OAM Cinder Volume - description: CPS OAM Cinder Volume - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - network: - type: OS::Heat::CloudConfig - properties: - cloud_config: - write_files: - - path: /etc/sysconfig/network-scripts/ifcfg-eth0 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth0 - $ip: { get_param: pcrf_cps_net_ip } - $netmask: { get_param: pcrf_cps_net_mask } - - path: /etc/sysconfig/network-scripts/ifcfg-eth1 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet-gw } - params: - $dev: eth1 - $ip: { get_param: pcrf_oam_net_ip } - $netmask: { get_param: pcrf_oam_net_mask } - $gateway: { get_param: pcrf_oam_net_gw } - runcmd: - - ifdown eth0 && ifup eth0 - - ifdown eth1 && ifup eth1 - script_init: - type: OS::Heat::SoftwareConfig - properties: - group: ungrouped - config: - str_replace: - template: { get_file: cloud-nimbus.sh } - params: - $vm_name: { get_param: pcrf_oam_server_name } - pcrf_server_init: - type: OS::Heat::MultipartMime - properties: - parts: - - config: { get_resource: network} - - config: { get_resource: script_init} - - pcrf_server_oam: - type: OS::Nova::Server - properties: - config_drive: "True" - name: { get_param: pcrf_oam_server_name } - image: { get_param: pcrf_oam_image_name } - flavor: { get_param: pcrf_oam_flavor_name } - availability_zone: { get_param: availabilityzone_name } - networks: - - port: { get_resource: pcrf_oam_port_0} - - port: { get_resource: pcrf_oam_port_1} - user_data_format: RAW - user_data: - get_resource: pcrf_server_init - metadata: - vnf_id: {get_param: pcrf_vnf_id} - - pcrf_oam_port_0: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_cps_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_cps_net_ip } - allowed_address_pairs: - - ip_address: { get_param: pcrf_arbiter_vip } - security_groups: [{ get_param: pcrf_security_group_name }] - - pcrf_oam_port_1: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_oam_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_oam_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - - pcrf_oam_vol_attachment: - type: OS::Cinder::VolumeAttachment - properties: - volume_id: { get_param: pcrf_oam_volume_id } - mountpoint: /dev/vdd - instance_uuid: { get_resource: pcrf_server_oam } - -outputs: - pcrf_oam_vol_attachment_id: - description: the pcrf_oam_vol_attachment_id id - value: { get_resource: pcrf_oam_vol_attachment } diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/nested-pcm_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/nested-pcm_v1.0.yaml deleted file mode 100644 index a3129bb0b9..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/nested-pcm_v1.0.yaml +++ /dev/null @@ -1,150 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates PCRF Cluman stack - -parameters: - pcrf_pcm_server_name: - type: string - label: PCRF CM server name - description: PCRF CM server name - pcrf_pcm_image_name: - type: string - label: image name - description: PCRF CM image name - pcrf_pcm_flavor_name: - type: string - label: PCRF CM flavor name - description: flavor name of PCRF CM instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ip: - type: string - label: CPS network ip - description: CPS network ip - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_oam_net_name: - type: string - label: OAM network name - description: OAM network name - pcrf_oam_net_ip: - type: string - label: OAM network ip - description: OAM network ip - pcrf_oam_net_gw: - type: string - label: CPS network gateway - description: CPS network gateway - pcrf_oam_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_pcm_volume_id: - type: string - label: CPS Cluman Cinder Volume - description: CPS Cluman Cinder Volume - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - network: - type: OS::Heat::CloudConfig - properties: - cloud_config: - write_files: - - path: /etc/sysconfig/network-scripts/ifcfg-eth0 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth0 - $ip: { get_param: pcrf_cps_net_ip } - $netmask: { get_param: pcrf_cps_net_mask } - - path: /etc/sysconfig/network-scripts/ifcfg-eth1 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet-gw } - params: - $dev: eth1 - $ip: { get_param: pcrf_oam_net_ip } - $netmask: { get_param: pcrf_oam_net_mask } - $gateway: { get_param: pcrf_oam_net_gw } - runcmd: - - ifdown eth0 && ifup eth0 - - ifdown eth1 && ifup eth1 - script_init: - type: OS::Heat::SoftwareConfig - properties: - group: ungrouped - config: - str_replace: - template: { get_file: cloud-nimbus.sh } - params: - $vm_name: { get_param: pcrf_pcm_server_name } - pcrf_server_init: - type: OS::Heat::MultipartMime - properties: - parts: - - config: { get_resource: network} - - config: { get_resource: script_init} - - pcrf_server_pcm: - type: OS::Nova::Server - properties: - config_drive: "True" - name: { get_param: pcrf_pcm_server_name } - image: { get_param: pcrf_pcm_image_name } - flavor: { get_param: pcrf_pcm_flavor_name } - availability_zone: { get_param: availabilityzone_name } - networks: - - port: { get_resource: pcrf_pcm_port_0} - - port: { get_resource: pcrf_pcm_port_1} - user_data_format: RAW - user_data: - get_resource: pcrf_server_init - metadata: - vnf_id: {get_param: pcrf_vnf_id} - - pcrf_pcm_port_0: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_cps_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_cps_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - - pcrf_pcm_port_1: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_oam_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_oam_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - - volume_attachment: - type: OS::Cinder::VolumeAttachment - properties: - volume_id: { get_param: pcrf_pcm_volume_id } - mountpoint: /dev/vdd - instance_uuid: { get_resource: pcrf_server_pcm } - -outputs: - pcrf_server_pcm_id: - description: the pcm server id - value: { get_resource: pcrf_server_pcm } \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/nested-ppd_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/nested-ppd_v1.0.yaml deleted file mode 100644 index 169522b64c..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/nested-ppd_v1.0.yaml +++ /dev/null @@ -1,333 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates PCRF Policy Director stack - -parameters: - pcrf_ppd_server_name: - type: string - label: PCRF PD server name - description: PCRF PD server name - pcrf_ppd_image_name: - type: string - label: image name - description: PCRF PD image name - pcrf_ppd_flavor_name: - type: string - label: PCRF PD flavor name - description: flavor name of PCRF PD instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ip: - type: string - label: CPS network ip - description: CPS network ip - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_lb_internal_vip: - type: string - label: CPS Internal LB VIP - description: CPS Internal LB VIP - pcrf_oam_net_name: - type: string - label: OAM network name - description: OAM network name - pcrf_oam_net_ip: - type: string - label: OAM network ip - description: OAM network ip - pcrf_oam_net_gw: - type: string - label: CPS network gateway - description: CPS network gateway - pcrf_oam_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_lb_management_vip: - type: string - label: CPS OAM LB VIP - description: CPS OAM LB VIP - pcrf_gx_net_name: - type: string - label: Gx network name - description: Gx network name - pcrf_gx_net_ip: - type: string - label: Gx network ip - description: Gx network ip - pcrf_gx_net_mask: - type: string - label: Gx network mask - description: Gx network mask - pcrf_sp_net_name: - type: string - label: Sp network name - description: Sp network name - pcrf_sp_net_ip: - type: string - label: Sp network ip - description: Sp network ip - pcrf_sp_net_mask: - type: string - label: Sp network mask - description: Sp network mask - pcrf_sy_net_name: - type: string - label: Sy network name - description: Sy network name - pcrf_sy_net_ip: - type: string - label: Sy network ip - description: Sy network ip - pcrf_sy_net_mask: - type: string - label: Sy network mask - description: Sy network mask - pcrf_rx_net_name: - type: string - label: Rx network name - description: Rx network name - pcrf_rx_net_ip: - type: string - label: Rx network ip - description: Rx network ip - pcrf_rx_net_mask: - type: string - label: Rx network mask - description: Rx network mask - pcrf_sd_net_name: - type: string - label: Sd network name - description: Sd network name - pcrf_sd_net_ip: - type: string - label: Sd network ip - description: Sd network ip - pcrf_sd_net_mask: - type: string - label: Sd network mask - description: Sd network mask - pcrf_sgi_sy_net_name: - type: string - label: Sgi Sy network name - description: Sgi Sy network name - pcrf_sgi_sy_net_ip: - type: string - label: Sgi Sy network ip - description: Sgi Sy network ip - pcrf_sgi_sy_net_mask: - type: string - label: Sgi Sy network mask - description: Sgi Sy network mask - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - network: - type: OS::Heat::CloudConfig - properties: - cloud_config: - write_files: - - path: /etc/sysconfig/network-scripts/ifcfg-eth0 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth0 - $ip: { get_param: pcrf_cps_net_ip } - $netmask: { get_param: pcrf_cps_net_mask } - - path: /etc/sysconfig/network-scripts/ifcfg-eth1 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet-gw } - params: - $dev: eth1 - $ip: { get_param: pcrf_oam_net_ip } - $netmask: { get_param: pcrf_oam_net_mask } - $gateway: { get_param: pcrf_oam_net_gw } - - path: /etc/sysconfig/network-scripts/ifcfg-eth2 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth2 - $ip: { get_param: pcrf_gx_net_ip } - $netmask: { get_param: pcrf_gx_net_mask } - - path: /etc/sysconfig/network-scripts/ifcfg-eth3 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth3 - $ip: { get_param: pcrf_sp_net_ip } - $netmask: { get_param: pcrf_sp_net_mask } - - path: /etc/sysconfig/network-scripts/ifcfg-eth4 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth4 - $ip: { get_param: pcrf_sy_net_ip } - $netmask: { get_param: pcrf_sy_net_mask } - - path: /etc/sysconfig/network-scripts/ifcfg-eth5 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth5 - $ip: { get_param: pcrf_rx_net_ip } - $netmask: { get_param: pcrf_rx_net_mask } - - path: /etc/sysconfig/network-scripts/ifcfg-eth6 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth6 - $ip: { get_param: pcrf_sd_net_ip } - $netmask: { get_param: pcrf_sd_net_mask } - - path: /etc/sysconfig/network-scripts/ifcfg-eth7 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth7 - $ip: { get_param: pcrf_sgi_sy_net_ip } - $netmask: { get_param: pcrf_sgi_sy_net_mask } - runcmd: - - ifdown eth0 && ifup eth0 - - ifdown eth1 && ifup eth1 - - ifdown eth2 && ifup eth2 - - ifdown eth3 && ifup eth3 - - ifdown eth4 && ifup eth4 - - ifdown eth5 && ifup eth5 - - ifdown eth6 && ifup eth6 - - ifdown eth7 && ifup eth7 - script_init: - type: OS::Heat::SoftwareConfig - properties: - group: ungrouped - config: - str_replace: - template: { get_file: cloud-nimbus.sh } - params: - $vm_name: { get_param: pcrf_ppd_server_name } - pcrf_server_init: - type: OS::Heat::MultipartMime - properties: - parts: - - config: { get_resource: network} - - config: { get_resource: script_init} - - pcrf_server_ppd: - type: OS::Nova::Server - properties: - config_drive: "True" - name: { get_param: pcrf_ppd_server_name } - image: { get_param: pcrf_ppd_image_name } - flavor: { get_param: pcrf_ppd_flavor_name } - availability_zone: { get_param: availabilityzone_name } - networks: - - port: { get_resource: pcrf_ppd_port_0} - - port: { get_resource: pcrf_ppd_port_1} - - port: { get_resource: pcrf_ppd_port_2} - - port: { get_resource: pcrf_ppd_port_3} - - port: { get_resource: pcrf_ppd_port_4} - - port: { get_resource: pcrf_ppd_port_5} - - port: { get_resource: pcrf_ppd_port_6} - - port: { get_resource: pcrf_ppd_port_7} - user_data_format: RAW - user_data: - get_resource: pcrf_server_init - metadata: - vnf_id: {get_param: pcrf_vnf_id} - - pcrf_ppd_port_0: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_cps_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_cps_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - allowed_address_pairs: - - ip_address: { get_param: pcrf_lb_internal_vip } - - pcrf_ppd_port_1: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_oam_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_oam_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - allowed_address_pairs: - - ip_address: { get_param: pcrf_lb_management_vip } - - pcrf_ppd_port_2: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_gx_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_gx_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - - pcrf_ppd_port_3: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_sp_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_sp_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - - pcrf_ppd_port_4: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_sy_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_sy_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - - pcrf_ppd_port_5: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_rx_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_rx_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - - pcrf_ppd_port_6: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_sd_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_sd_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - - pcrf_ppd_port_7: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_sgi_sy_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_sgi_sy_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/nested-pps_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/nested-pps_v1.0.yaml deleted file mode 100644 index 8cb6e1587c..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/nested-pps_v1.0.yaml +++ /dev/null @@ -1,99 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates PCRF Policy Server stack - -parameters: - pcrf_pps_server_name: - type: string - label: PCRF PS server name - description: PCRF PS server name - pcrf_pps_image_name: - type: string - label: PCRF PS image name - description: PCRF PS image name - pcrf_pps_flavor_name: - type: string - label: PCRF PS flavor name - description: flavor name of PCRF PS instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ip: - type: string - label: CPS network ip - description: CPS network ip - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - script_init: - type: OS::Heat::SoftwareConfig - properties: - group: ungrouped - config: - str_replace: - template: { get_file: cloud-nimbus.sh } - params: - $vm_name: { get_param: pcrf_pps_server_name } - network: - type: OS::Heat::CloudConfig - properties: - cloud_config: - write_files: - - path: /etc/sysconfig/network-scripts/ifcfg-eth0 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth0 - $ip: { get_param: pcrf_cps_net_ip } - $netmask: { get_param: pcrf_cps_net_mask } - runcmd: - - ifdown eth0 && ifup eth0 - - pcrf_server_init: - type: OS::Heat::MultipartMime - properties: - parts: - - config: { get_resource: network} - - config: { get_resource: script_init} - - pcrf_server_pps: - type: OS::Nova::Server - properties: - config_drive: "True" - name: { get_param: pcrf_pps_server_name } - image: { get_param: pcrf_pps_image_name } - flavor: { get_param: pcrf_pps_flavor_name } - availability_zone: { get_param: availabilityzone_name } - networks: - - port: { get_resource: pcrf_pps_port_0} - user_data_format: RAW - user_data: - get_resource: pcrf_server_init - metadata: - vnf_id: {get_param: pcrf_vnf_id} - - pcrf_pps_port_0: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_cps_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_cps_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/nested-psm_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/nested-psm_v1.0.yaml deleted file mode 100644 index 64c7484405..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/nested-psm_v1.0.yaml +++ /dev/null @@ -1,99 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates PCRF Session Manager stack - -parameters: - pcrf_psm_server_name: - type: string - label: PCRF SM server name - description: PCRF SM server name - pcrf_psm_image_name: - type: string - label: image name - description: PCRF SM image name - pcrf_psm_flavor_name: - type: string - label: PCRF SM flavor name - description: flavor name of PCRF SM instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ip: - type: string - label: CPS network ip - description: CPS network ip - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - network: - type: OS::Heat::CloudConfig - properties: - cloud_config: - write_files: - - path: /etc/sysconfig/network-scripts/ifcfg-eth0 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth0 - $ip: { get_param: pcrf_cps_net_ip } - $netmask: { get_param: pcrf_cps_net_mask } - runcmd: - - ifdown eth0 && ifup eth0 - script_init: - type: OS::Heat::SoftwareConfig - properties: - group: ungrouped - config: - str_replace: - template: { get_file: cloud-nimbus.sh } - params: - $vm_name: { get_param: pcrf_psm_server_name } - pcrf_server_init: - type: OS::Heat::MultipartMime - properties: - parts: - - config: { get_resource: network} - - config: { get_resource: script_init} - - pcrf_server_psm: - type: OS::Nova::Server - properties: - config_drive: "True" - name: { get_param: pcrf_psm_server_name } - image: { get_param: pcrf_psm_image_name } - flavor: { get_param: pcrf_psm_flavor_name } - availability_zone: { get_param: availabilityzone_name } - networks: - - port: { get_resource: psm01_port_0} - user_data_format: RAW - user_data: - get_resource: pcrf_server_init - metadata: - vnf_id: {get_param: pcrf_vnf_id} - #scheduler_hints: {group: { get_resource: servergroup_nimbus }} - - psm01_port_0: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_cps_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_cps_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/vnf-module-artifact.json b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/vnf-module-artifact.json deleted file mode 100644 index 29aa4838c7..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/artifacts/vnf-module-artifact.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "vfModuleModelName": "VF_RI2_G6_withArtifacts::module-0", - "vfModuleModelInvariantUUID": "585822c7-4027-4f84-ba50-e9248606f131", - "vfModuleModelVersion": "1.0", - "vfModuleModelUUID": "1e34774e-715e-4fd5-bd08-7b654622f33e.VF_RI2_G6_withArtifacts::module-0.group", - "vfModuleModelDescription": "vf Module Description", - "vfModuleModelCustomizationUUID": "585822c7-4027-4f84-ba50-e9248606f136", - "isBase": true, - "artifacts": [ - "Artifact-UUID1", - "EnvArtifact-UUID2", - "NestedArtifact-UUID3" - ] , - "properties": {"test":"test"} - } -] \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/notif-structure.json b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/notif-structure.json deleted file mode 100644 index 64b4b68927..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V1/notif-structure.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "serviceName": "test-service", - "serviceInvariantUUID": "585822c7-4027-4f84-ba50-e9248606f132", - "serviceUUID": "1e34774e-715e-4fd5-bd09-7b654622f33e", - "serviceVersion": "1.0", - "serviceArtifacts": - [ - - ], - - "resources": - [ - { - "resourceInstanceName": "resource-1", - "resourceInvariantUUID": "585822c7-4027-4f84-ba50-e9248606f134", - "resourceName": "resourceName-1", - "resourceType": "VF", - "resourceUUID": "585822c7-4027-4f84-ba50-e9248606f136", - "resourceVersion": "1.0", - "category": "category", - "artifacts": - [ - { - "artifactChecksum": "CheckSum", - "artifactDescription": "Meta data for VFModule", - "artifactName": "vnf-module-artifact.json", - - "artifactType": "VF_MODULES_METADATA", - "artifactURL": "vnf-module-artifact.json", - "artifactUUID": "VfArtifact-UUID1", - "artifactVersion": "1.0" - - }, - { - "artifactChecksum": "CheckSum", - "artifactDescription": "Nimbus Heat OAM", - "artifactName": "hot-nimbus-oam_v1.0.yaml", - "artifactTimeout": 100, - "artifactType": "HEAT", - "artifactURL": "hot-nimbus-oam_v1.0.yaml", - "artifactUUID": "Artifact-UUID1", - "artifactVersion": "1.0", - "generatedArtifact": "EnvArtifact-UUID2" - - }, - - { - "artifactChecksum": "CheckSum", - "artifactDescription": "Nimbus Heat ENV OAM", - "artifactName": "hot-nimbus-oam_v1.0.env", - - "artifactType": "HEAT_ENV", - "artifactURL": "hot-nimbus-oam_v1.0.env", - "artifactUUID": "EnvArtifact-UUID2", - "artifactVersion": "1.0" - - }, - - { - "artifactChecksum": "CheckSum", - "artifactDescription": "Nested OAM", - "artifactName": "nested-oam_v1.0.yaml", - "artifactTimeout": 10, - "artifactType": "HEAT_NESTED", - "artifactURL": "nested-oam_v1.0.yaml", - "artifactUUID": "NestedArtifact-UUID3", - "artifactVersion": "1.0" - - } - ] - } - ], - - "serviceDescription": "vfw service for unit test", - "distributionID": "35120a87-1f82-4276-9735-f6de5a244d65" -} \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/cloud-nimbus.sh b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/cloud-nimbus.sh deleted file mode 100644 index 48485f3bf6..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/cloud-nimbus.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash -echo "Running first-boot script" -FLAG="first-boot.sh" -echo "First boot run" > ${FLAG} -echo "$vm_name" >> ${FLAG} -touch /var/lib/cloud/instance/payload/launch-params -chmod 644 /var/lib/cloud/instance/payload/launch-params -#for i in $(ls /sys/class/net); do -# echo "Restart $i" >> ${FLAG} -# ifdown ${i} -# ifup ${i} -#done diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-oam-volumes_v1.0.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-oam-volumes_v1.0.env deleted file mode 100644 index b494d8c270..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-oam-volumes_v1.0.env +++ /dev/null @@ -1,6 +0,0 @@ -parameters: - pcrf_oam_vol_size: 500 - pcrf_oam_volume_silver-1: Silver - pcrf_oam_volume_silver-2: Silver - pcrf_oam_vol_name_1: sde1-pcrfx01-oam001-vol-1 - pcrf_oam_vol_name_2: sde1-pcrfx01-oam001-vol-2 \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-oam-volumes_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-oam-volumes_v1.0.yaml deleted file mode 100644 index 9e120547b4..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-oam-volumes_v1.0.yaml +++ /dev/null @@ -1,45 +0,0 @@ -heat_template_version: 2013-05-23 - -parameters: - pcrf_oam_vol_size: - type: number - label: Cinder volume size - description: the size of the Cinder volume - pcrf_oam_vol_name_1: - type: string - label: OAM volume name 1 - description: Assigning name to volume - pcrf_oam_vol_name_2: - type: string - label: OAM volume name 2 - description: Assigning name to volume - pcrf_oam_volume_silver-1: - type: string - label: vm volume type - description: the name of the target volume backend for OAM1 - pcrf_oam_volume_silver-2: - type: string - label: vm volume type - description: the name of the target volume backend for OAM2 - -resources: - pcrf_oam_volume_1: - type: OS::Cinder::Volume - properties: - size: {get_param: pcrf_oam_vol_size} - volume_type: {get_param: pcrf_oam_volume_silver-1} - name: {get_param: pcrf_oam_vol_name_1} - - pcrf_oam_volume_2: - type: OS::Cinder::Volume - properties: - size: {get_param: pcrf_oam_vol_size} - volume_type: {get_param: pcrf_oam_volume_silver-2} - name: {get_param: pcrf_oam_vol_name_2} -outputs: - pcrf_oam_volume_id_1: - description: the oam 001 volume id - value: { get_resource: pcrf_oam_volume_1 } - pcrf_oam_volume_id_2: - description: the oam 002 volume id - value: { get_resource: pcrf_oam_volume_2 } \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-oam_v1.0.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-oam_v1.0.env deleted file mode 100644 index 7e51e674ab..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-oam_v1.0.env +++ /dev/null @@ -1,18 +0,0 @@ -parameters: - pcrf_oam_server_names: ZRDM1PCRF01OAM001,ZRDM1PCRF01OAM002 - pcrf_oam_image_name: PCRF_8.995-ATTM1.0.3.qcow2 - pcrf_oam_flavor_name: lc.4xlarge4 - availabilityzone_name: nova - pcrf_cps_net_name: Mobisupport-25193-I-INT1_int_pcrf_net_0 - pcrf_cps_net_ips: 172.26.16.111,172.26.16.112 - pcrf_arbiter_vip: 172.26.16.115 - pcrf_cps_net_mask: 255.255.255.0 - pcrf_oam_net_name: MNS-25180-L-01_oam_protected_net_0 - pcrf_oam_net_ips: 107.239.64.117,107.239.64.118 - pcrf_oam_net_gw: 107.239.64.1 - pcrf_oam_net_mask: 255.255.248.0 - pcrf_oam_volume_id_1: a4aa05fb-fcdc-457b-8077-6845fdfc3257 - pcrf_oam_volume_id_2: 93d8fc1f-f1c3-4933-86b2-039881ee910f - pcrf_security_group_name: nimbus_security_group - pcrf_vnf_id: 730797234b4a40aa99335157b02871cd - diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-oam_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-oam_v1.0.yaml deleted file mode 100644 index 98c4e3bcbf..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-oam_v1.0.yaml +++ /dev/null @@ -1,109 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates multiple PCRF OAM nodes stack - -parameters: - pcrf_oam_server_names: - type: comma_delimited_list - label: PCRF OAM server names - description: name of the PCRF OAM instance - pcrf_oam_image_name: - type: string - label: PCRF OAM image name - description: PCRF OAM image name - pcrf_oam_flavor_name: - type: string - label: PCRF OAM flavor name - description: flavor name of PCRF OAM instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ips: - type: comma_delimited_list - label: CPS network ips - description: CPS network ips - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_arbiter_vip: - type: string - label: OAM Arbiter LB VIP - description: OAM Arbiter LB VIP - pcrf_oam_net_name: - type: string - label: OAM network name - description: OAM network name - pcrf_oam_net_ips: - type: comma_delimited_list - label: OAM network ips - description: OAM network ips - pcrf_oam_net_gw: - type: string - label: CPS network gateway - description: CPS network gateway - pcrf_oam_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_oam_volume_id_1: - type: string - label: CPS OAM 001 Cinder Volume - description: CPS OAM 001 Cinder Volumes - pcrf_oam_volume_id_2: - type: string - label: CPS OAM 002 Cinder Volume - description: CPS OAM 002 Cinder Volumes - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - server_pcrf_oam_001: - type: nested-oam_v1.0.yaml - properties: - pcrf_oam_server_name: { get_param: [pcrf_oam_server_names, 0] } - pcrf_oam_image_name: { get_param: pcrf_oam_image_name } - pcrf_oam_flavor_name: { get_param: pcrf_oam_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_oam_volume_id: { get_param: pcrf_oam_volume_id_1 } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 0] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_oam_net_name: { get_param: pcrf_oam_net_name } - pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 0] } - pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask } - pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw } - pcrf_arbiter_vip: { get_param: pcrf_arbiter_vip } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_oam_002: - type: nested-oam_v1.0.yaml - depends_on: [server_pcrf_oam_001] - properties: - pcrf_oam_server_name: { get_param: [pcrf_oam_server_names, 1] } - pcrf_oam_image_name: { get_param: pcrf_oam_image_name } - pcrf_oam_flavor_name: { get_param: pcrf_oam_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_oam_volume_id: { get_param: pcrf_oam_volume_id_2 } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 1] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_oam_net_name: { get_param: pcrf_oam_net_name } - pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 1] } - pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask } - pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw } - pcrf_arbiter_vip: { get_param: pcrf_arbiter_vip } - pcrf_vnf_id: {get_param: pcrf_vnf_id} diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-pcm-volumes_v1.0.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-pcm-volumes_v1.0.env deleted file mode 100644 index 788365dcd3..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-pcm-volumes_v1.0.env +++ /dev/null @@ -1,4 +0,0 @@ -parameters: - pcrf_pcm_vol_size: 50 - pcrf_pcm_volume_silver: Silver - pcrf_pcm_vol_name_1: sde1-pcrfx01-pcm001-vol-1 diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-pcm-volumes_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-pcm-volumes_v1.0.yaml deleted file mode 100644 index bcc3e89f71..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-pcm-volumes_v1.0.yaml +++ /dev/null @@ -1,28 +0,0 @@ -heat_template_version: 2013-05-23 - -parameters: - pcrf_pcm_vol_size: - type: number - label: Cinder volume size - description: the size of the Cinder volume - pcrf_pcm_vol_name_1: - type: string - label: PCM volume name - description: Assigning name to volume - pcrf_pcm_volume_silver: - type: string - label: vm volume type - description: the name of the target volume backend for PCM - -resources: - pcrf_pcm_volume_1: - type: OS::Cinder::Volume - properties: - size: { get_param: pcrf_pcm_vol_size } - volume_type: { get_param: pcrf_pcm_volume_silver } - name: { get_param: pcrf_pcm_vol_name_1 } - -outputs: - pcrf_pcm_volume_id_1: - description: the pcrf_pcm_volume_id - value: { get_resource: pcrf_pcm_volume_1 } \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-pcm_v1.0.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-pcm_v1.0.env deleted file mode 100644 index b23014d92f..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-pcm_v1.0.env +++ /dev/null @@ -1,16 +0,0 @@ -parameters: - pcrf_pcm_server_names: ZRDM1PCRF01PCM001 - pcrf_pcm_image_name: PCRF_8.995-ATTM1.0.3.qcow2 - pcrf_pcm_flavor_name: lc.2xlarge4 - availabilityzone_name: nova - pcrf_cps_net_name: Mobisupport-25193-I-INT1_int_pcrf_net_0 - pcrf_cps_net_ips: 172.26.16.113 - pcrf_cps_net_mask: 255.255.255.0 - pcrf_oam_net_name: MNS-25180-L-01_oam_protected_net_0 - pcrf_oam_net_ips: 107.239.64.121 - pcrf_oam_net_gw: 107.239.64.1 - pcrf_oam_net_mask: 255.255.248.0 - pcrf_pcm_volume_id_1: 3438a3fe-1241-4390-80f2-d0b86238c40e - pcrf_security_group_name: nimbus_security_group - pcrf_vnf_id: 730797234b4a40aa99335157b02871cd - diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-pcm_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-pcm_v1.0.yaml deleted file mode 100644 index defb373a4f..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-pcm_v1.0.yaml +++ /dev/null @@ -1,80 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates PCRF Cluman stack - -parameters: - pcrf_pcm_server_names: - type: comma_delimited_list - label: PCRF CM server names - description: name of the PCRF CM instance - pcrf_pcm_image_name: - type: string - label: PCRF CM image name - description: PCRF CM image name - pcrf_pcm_flavor_name: - type: string - label: PCRF CM flavor name - description: flavor name of PCRF CM instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ips: - type: comma_delimited_list - label: CPS network ips - description: CPS network ips - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_oam_net_name: - type: string - label: OAM network name - description: OAM network name - pcrf_oam_net_ips: - type: comma_delimited_list - label: OAM network ips - description: OAM network ips - pcrf_oam_net_gw: - type: string - label: CPS network gateway - description: CPS network gateway - pcrf_oam_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_pcm_volume_id_1: - type: string - label: CPS Cluman Cinder Volume - description: CPS Cluman Cinder Volume - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - server_pcrf_pcm_001: - type: nested-pcm_v1.0.yaml - properties: - pcrf_pcm_server_name: { get_param: [pcrf_pcm_server_names, 0] } - pcrf_pcm_image_name: { get_param: pcrf_pcm_image_name } - pcrf_pcm_flavor_name: { get_param: pcrf_pcm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_pcm_volume_id: { get_param: pcrf_pcm_volume_id_1 } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 0] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_oam_net_name: { get_param: pcrf_oam_net_name } - pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 0] } - pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask } - pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw } - pcrf_vnf_id: {get_param: pcrf_vnf_id} diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-ppd_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-ppd_v1.0.yaml deleted file mode 100644 index 8631592097..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-ppd_v1.0.yaml +++ /dev/null @@ -1,286 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates PCRF Policy Director stack - -parameters: - pcrf_ppd_server_names: - type: comma_delimited_list - label: PCRF PD server names - description: name of the PCRF PD instance - pcrf_ppd_image_name: - type: string - label: PCRF PD image name - description: PCRF PD image name - pcrf_ppd_flavor_name: - type: string - label: PCRF PD flavor name - description: flavor name of PCRF PD instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ips: - type: comma_delimited_list - label: CPS network ips - description: CPS network ips - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_lb_internal_vip: - type: string - label: CPS Internal LB VIP - description: CPS Internal LB VIP - pcrf_oam_net_name: - type: string - label: OAM network name - description: OAM network name - pcrf_oam_net_ips: - type: comma_delimited_list - label: OAM network ips - description: OAM network ips - pcrf_oam_net_gw: - type: string - label: CPS network gateway - description: CPS network gateway - pcrf_oam_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_lb_management_vip: - type: string - label: CPS OAM LB VIP - description: CPS OAM LB VIP - pcrf_gx_net_name: - type: string - label: Gx network name - description: Gx network name - pcrf_gx_net_ips: - type: comma_delimited_list - label: Gx network ips - description: Gx network ips - pcrf_gx_net_mask: - type: string - label: Gx network mask - description: Gx network mask - pcrf_sp_net_name: - type: string - label: Sp network name - description: Sp network name - pcrf_sp_net_ips: - type: comma_delimited_list - label: Sp network ips - description: Sp network ips - pcrf_sp_net_mask: - type: string - label: Sp network mask - description: Sp network mask - pcrf_sy_net_name: - type: string - label: Sy network name - description: Sy network name - pcrf_sy_net_ips: - type: comma_delimited_list - label: Sy network ips - description: Sy network ips - pcrf_sy_net_mask: - type: string - label: Sy network mask - description: Sy network mask - pcrf_rx_net_name: - type: string - label: Rx network name - description: Rx network name - pcrf_rx_net_ips: - type: comma_delimited_list - label: Rx network ips - description: Rx network ips - pcrf_rx_net_mask: - type: string - label: Rx network mask - description: Rx network mask - pcrf_sd_net_name: - type: string - label: Sd network name - description: Sd network name - pcrf_sd_net_ips: - type: comma_delimited_list - label: Sd network ips - description: Sd network ips - pcrf_sd_net_mask: - type: string - label: Sd network mask - description: Sd network mask - pcrf_sgi_sy_net_name: - type: string - label: Sgi Sy network name - description: Sgi Sy network name - pcrf_sgi_sy_net_ips: - type: comma_delimited_list - label: Sgi Sy network ips - description: Sgi Sy network ips - pcrf_sgi_sy_net_mask: - type: string - label: Sgi Sy network mask - description: Sgi Sy network mask - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - server_pcrf_ppd_001: - type: nested-ppd_v1.0.yaml - properties: - pcrf_ppd_server_name: { get_param: [pcrf_ppd_server_names, 0] } - pcrf_ppd_image_name: { get_param: pcrf_ppd_image_name } - pcrf_ppd_flavor_name: { get_param: pcrf_ppd_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 0] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_lb_internal_vip: { get_param: pcrf_lb_internal_vip } - pcrf_oam_net_name: { get_param: pcrf_oam_net_name } - pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 0] } - pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask } - pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw } - pcrf_lb_management_vip: { get_param: pcrf_lb_management_vip } - pcrf_gx_net_name: { get_param: pcrf_gx_net_name } - pcrf_gx_net_ip: { get_param: [pcrf_gx_net_ips, 0] } - pcrf_gx_net_mask: { get_param: pcrf_gx_net_mask } - pcrf_sp_net_name: { get_param: pcrf_sp_net_name } - pcrf_sp_net_ip: { get_param: [pcrf_sp_net_ips, 0] } - pcrf_sp_net_mask: { get_param: pcrf_sp_net_mask } - pcrf_sy_net_name: { get_param: pcrf_sy_net_name } - pcrf_sy_net_ip: { get_param: [pcrf_sy_net_ips, 0] } - pcrf_sy_net_mask: { get_param: pcrf_sy_net_mask } - pcrf_rx_net_name: { get_param: pcrf_rx_net_name } - pcrf_rx_net_ip: { get_param: [pcrf_rx_net_ips, 0] } - pcrf_rx_net_mask: { get_param: pcrf_rx_net_mask } - pcrf_sd_net_name: { get_param: pcrf_sd_net_name } - pcrf_sd_net_ip: { get_param: [pcrf_sd_net_ips, 0] } - pcrf_sd_net_mask: { get_param: pcrf_sd_net_mask } - pcrf_sgi_sy_net_name: { get_param: pcrf_sgi_sy_net_name } - pcrf_sgi_sy_net_ip: { get_param: [pcrf_sgi_sy_net_ips, 0] } - pcrf_sgi_sy_net_mask: { get_param: pcrf_sgi_sy_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_ppd_002: - type: nested-ppd_v1.0.yaml - properties: - pcrf_ppd_server_name: { get_param: [pcrf_ppd_server_names, 1] } - pcrf_ppd_image_name: { get_param: pcrf_ppd_image_name } - pcrf_ppd_flavor_name: { get_param: pcrf_ppd_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 1] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_lb_internal_vip: { get_param: pcrf_lb_internal_vip } - pcrf_oam_net_name: { get_param: pcrf_oam_net_name } - pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 1] } - pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask } - pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw } - pcrf_lb_management_vip: { get_param: pcrf_lb_management_vip } - pcrf_gx_net_name: { get_param: pcrf_gx_net_name } - pcrf_gx_net_ip: { get_param: [pcrf_gx_net_ips, 1] } - pcrf_gx_net_mask: { get_param: pcrf_gx_net_mask } - pcrf_sp_net_name: { get_param: pcrf_sp_net_name } - pcrf_sp_net_ip: { get_param: [pcrf_sp_net_ips, 1] } - pcrf_sp_net_mask: { get_param: pcrf_sp_net_mask } - pcrf_sy_net_name: { get_param: pcrf_sy_net_name } - pcrf_sy_net_ip: { get_param: [pcrf_sy_net_ips, 1] } - pcrf_sy_net_mask: { get_param: pcrf_sy_net_mask } - pcrf_rx_net_name: { get_param: pcrf_rx_net_name } - pcrf_rx_net_ip: { get_param: [pcrf_rx_net_ips, 1] } - pcrf_rx_net_mask: { get_param: pcrf_rx_net_mask } - pcrf_sd_net_name: { get_param: pcrf_sd_net_name } - pcrf_sd_net_ip: { get_param: [pcrf_sd_net_ips, 1] } - pcrf_sd_net_mask: { get_param: pcrf_sd_net_mask } - pcrf_sgi_sy_net_name: { get_param: pcrf_sgi_sy_net_name } - pcrf_sgi_sy_net_ip: { get_param: [pcrf_sgi_sy_net_ips, 1] } - pcrf_sgi_sy_net_mask: { get_param: pcrf_sgi_sy_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_ppd_003: - type: nested-ppd_v1.0.yaml - properties: - pcrf_ppd_server_name: { get_param: [pcrf_ppd_server_names, 2] } - pcrf_ppd_image_name: { get_param: pcrf_ppd_image_name } - pcrf_ppd_flavor_name: { get_param: pcrf_ppd_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 2] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_lb_internal_vip: { get_param: pcrf_lb_internal_vip } - pcrf_oam_net_name: { get_param: pcrf_oam_net_name } - pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 2] } - pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask } - pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw } - pcrf_lb_management_vip: { get_param: pcrf_lb_management_vip } - pcrf_gx_net_name: { get_param: pcrf_gx_net_name } - pcrf_gx_net_ip: { get_param: [pcrf_gx_net_ips, 2] } - pcrf_gx_net_mask: { get_param: pcrf_gx_net_mask } - pcrf_sp_net_name: { get_param: pcrf_sp_net_name } - pcrf_sp_net_ip: { get_param: [pcrf_sp_net_ips, 2] } - pcrf_sp_net_mask: { get_param: pcrf_sp_net_mask } - pcrf_sy_net_name: { get_param: pcrf_sy_net_name } - pcrf_sy_net_ip: { get_param: [pcrf_sy_net_ips, 2] } - pcrf_sy_net_mask: { get_param: pcrf_sy_net_mask } - pcrf_rx_net_name: { get_param: pcrf_rx_net_name } - pcrf_rx_net_ip: { get_param: [pcrf_rx_net_ips, 2] } - pcrf_rx_net_mask: { get_param: pcrf_rx_net_mask } - pcrf_sd_net_name: { get_param: pcrf_sd_net_name } - pcrf_sd_net_ip: { get_param: [pcrf_sd_net_ips, 2] } - pcrf_sd_net_mask: { get_param: pcrf_sd_net_mask } - pcrf_sgi_sy_net_name: { get_param: pcrf_sgi_sy_net_name } - pcrf_sgi_sy_net_ip: { get_param: [pcrf_sgi_sy_net_ips, 2] } - pcrf_sgi_sy_net_mask: { get_param: pcrf_sgi_sy_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_ppd_004: - type: nested-ppd_v1.0.yaml - properties: - pcrf_ppd_server_name: { get_param: [pcrf_ppd_server_names, 3] } - pcrf_ppd_image_name: { get_param: pcrf_ppd_image_name } - pcrf_ppd_flavor_name: { get_param: pcrf_ppd_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 3] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_lb_internal_vip: { get_param: pcrf_lb_internal_vip } - pcrf_oam_net_name: { get_param: pcrf_oam_net_name } - pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 3] } - pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask } - pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw } - pcrf_lb_management_vip: { get_param: pcrf_lb_management_vip } - pcrf_gx_net_name: { get_param: pcrf_gx_net_name } - pcrf_gx_net_ip: { get_param: [pcrf_gx_net_ips, 3] } - pcrf_gx_net_mask: { get_param: pcrf_gx_net_mask } - pcrf_sp_net_name: { get_param: pcrf_sp_net_name } - pcrf_sp_net_ip: { get_param: [pcrf_sp_net_ips, 3] } - pcrf_sp_net_mask: { get_param: pcrf_sp_net_mask } - pcrf_sy_net_name: { get_param: pcrf_sy_net_name } - pcrf_sy_net_ip: { get_param: [pcrf_sy_net_ips, 3] } - pcrf_sy_net_mask: { get_param: pcrf_sy_net_mask } - pcrf_rx_net_name: { get_param: pcrf_rx_net_name } - pcrf_rx_net_ip: { get_param: [pcrf_rx_net_ips, 3] } - pcrf_rx_net_mask: { get_param: pcrf_rx_net_mask } - pcrf_sd_net_name: { get_param: pcrf_sd_net_name } - pcrf_sd_net_ip: { get_param: [pcrf_sd_net_ips, 3] } - pcrf_sd_net_mask: { get_param: pcrf_sd_net_mask } - pcrf_sgi_sy_net_name: { get_param: pcrf_sgi_sy_net_name } - pcrf_sgi_sy_net_ip: { get_param: [pcrf_sgi_sy_net_ips, 3] } - pcrf_sgi_sy_net_mask: { get_param: pcrf_sgi_sy_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-ppd_v1.1.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-ppd_v1.1.env deleted file mode 100644 index 10697bcaa5..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-ppd_v1.1.env +++ /dev/null @@ -1,35 +0,0 @@ -parameters: - pcrf_ppd_server_names: ZRDM1PCRF01PPD001,ZRDM1PCRF01PPD002,ZRDM1PCRF01PPD003,ZRDM1PCRF01PPD004 - pcrf_ppd_image_name: PCRF_8.995-ATTM1.0.3.qcow2 - pcrf_ppd_flavor_name: lc.4xlarge4 - availabilityzone_name: nova - pcrf_cps_net_name: Mobisupport-25193-I-INT1_int_pcrf_net_0 - pcrf_cps_net_ips: 172.26.16.3,172.26.16.4,172.26.16.5,172.26.16.6 - pcrf_lb_internal_vip: 172.26.16.114 - pcrf_cps_net_mask: 255.255.255.0 - pcrf_oam_net_name: MNS-25180-L-01_oam_protected_net_0 - pcrf_oam_net_ips: 107.239.64.113,107.239.64.114,107.239.64.115,107.239.64.116 - pcrf_lb_management_vip: 107.239.64.123 - pcrf_oam_net_gw: 107.239.64.1 - pcrf_oam_net_mask: 255.255.248.0 - pcrf_gx_net_name: Mobisupport-25193-I-INT1_cor_pcrf_gx_net_0 - pcrf_gx_net_ips: 107.239.24.67,107.239.24.68,107.239.24.69,107.239.24.70 - pcrf_gx_net_mask: 255.255.255.248 - pcrf_sp_net_name: Mobisupport-25193-I-INT1_cor_pcrf_sp_net_0 - pcrf_sp_net_ips: 107.239.24.75,107.239.24.76,107.239.24.77,107.239.24.78 - pcrf_sp_net_mask: 255.255.255.248 - pcrf_sy_net_name: Mobisupport-25193-I-INT1_cor_pcrf_sy_net_0 - pcrf_sy_net_ips: 107.239.24.83,107.239.24.84,107.239.24.85,107.239.24.86 - pcrf_sy_net_mask: 255.255.255.248 - pcrf_rx_net_name: Mobisupport-25193-I-INT1_cor_pcrf_rx_net_0 - pcrf_rx_net_ips: 107.239.24.91,107.239.24.92,107.239.24.93,107.239.24.94 - pcrf_rx_net_mask: 255.255.255.248 - pcrf_sd_net_name: Mobisupport-25193-I-INT1_cor_pcrf_sd_net_0 - pcrf_sd_net_ips: 107.239.24.99,107.239.24.100,107.239.24.101,107.239.24.102 - pcrf_sd_net_mask: 255.255.255.248 - pcrf_sgi_sy_net_name: Mobisupport-25193-I-INT1_sgi_pcrf_sy_net_0 - pcrf_sgi_sy_net_ips: 107.239.26.131,107.239.26.132,107.239.26.133,107.239.26.134 - pcrf_sgi_sy_net_mask: 255.255.255.248 - pcrf_security_group_name: nimbus_security_group - pcrf_vnf_id: 730797234b4a40aa99335157b02871cd - diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-pps_v1.0.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-pps_v1.0.env deleted file mode 100644 index 18c064c019..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-pps_v1.0.env +++ /dev/null @@ -1,11 +0,0 @@ -parameters: - pcrf_pps_server_names: ZRDM1PCRF01PPS001,ZRDM1PCRF01PPS002,ZRDM1PCRF01PPS003,ZRDM1PCRF01PPS004,ZRDM1PCRF01PPS005,ZRDM1PCRF01PPS006 - pcrf_pps_image_name: PCRF_8.995-ATTM1.0.3.qcow2 - pcrf_pps_flavor_name: lc.3xlarge - availabilityzone_name: nova - pcrf_cps_net_name: Mobisupport-25193-I-INT1_int_pcrf_net_0 - pcrf_cps_net_ips: 172.26.16.7,172.26.16.8,172.26.16.9,172.26.16.10,172.26.16.11,172.26.16.12 - pcrf_cps_net_mask: 255.255.255.0 - pcrf_security_group_name: nimbus_security_group - pcrf_vnf_id: 730797234b4a40aa99335157b02871cd - diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-pps_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-pps_v1.0.yaml deleted file mode 100644 index 0fadd0023d..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-pps_v1.0.yaml +++ /dev/null @@ -1,121 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates PCRF Policy Server stack - -parameters: - pcrf_pps_server_names: - type: comma_delimited_list - label: PCRF PS server names - description: PCRF PS server names - pcrf_pps_image_name: - type: string - label: PCRF PS image name - description: PCRF PS image name - pcrf_pps_flavor_name: - type: string - label: PCRF PS flavor name - description: flavor name of PCRF PS instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ips: - type: comma_delimited_list - label: CPS network ips - description: CPS network ips - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - server_pcrf_pps_001: - type: nested-pps_v1.0.yaml - properties: - pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 0] } - pcrf_pps_image_name: { get_param: pcrf_pps_image_name } - pcrf_pps_flavor_name: { get_param: pcrf_pps_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 0] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_pps_002: - type: nested-pps_v1.0.yaml - properties: - pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 1] } - pcrf_pps_image_name: { get_param: pcrf_pps_image_name } - pcrf_pps_flavor_name: { get_param: pcrf_pps_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 1] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_pps_003: - type: nested-pps_v1.0.yaml - properties: - pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 2] } - pcrf_pps_image_name: { get_param: pcrf_pps_image_name } - pcrf_pps_flavor_name: { get_param: pcrf_pps_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 2] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_pps_004: - type: nested-pps_v1.0.yaml - properties: - pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 3] } - pcrf_pps_image_name: { get_param: pcrf_pps_image_name } - pcrf_pps_flavor_name: { get_param: pcrf_pps_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 3] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_pps_005: - type: nested-pps_v1.0.yaml - properties: - pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 4] } - pcrf_pps_image_name: { get_param: pcrf_pps_image_name } - pcrf_pps_flavor_name: { get_param: pcrf_pps_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 4] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_pps_006: - type: nested-pps_v1.0.yaml - properties: - pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 5] } - pcrf_pps_image_name: { get_param: pcrf_pps_image_name } - pcrf_pps_flavor_name: { get_param: pcrf_pps_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 5] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-psm_v1.0.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-psm_v1.0.env deleted file mode 100644 index 95e450ef0d..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-psm_v1.0.env +++ /dev/null @@ -1,10 +0,0 @@ -parameters: - pcrf_psm_server_names: ZRDM1PCRF01PSM001,ZRDM1PCRF01PSM002,ZRDM1PCRF01PSM003,ZRDM1PCRF01PSM004,ZRDM1PCRF01PSM005,ZRDM1PCRF01PSM006,ZRDM1PCRF01PSM007,ZRDM1PCRF01PSM008,ZRDM1PCRF01PSM009,ZRDM1PCRF01PSM010,ZRDM1PCRF01PSM011,ZRDM1PCRF01PSM012 - pcrf_psm_image_name: PCRF_8.995-ATTM1.0.3.qcow2 - pcrf_psm_flavor_name: lc.4xlarge4 - availabilityzone_name: nova - pcrf_cps_net_name: Mobisupport-25193-I-INT1_int_pcrf_net_0 - pcrf_cps_net_ips: 172.26.16.63,172.26.16.64,172.26.16.65,172.26.16.66,172.26.16.67,172.26.16.68,172.26.16.69,172.26.16.70,172.26.16.71,172.26.16.72,172.26.16.73,172.26.16.74 - pcrf_cps_net_mask: 255.255.255.0 - pcrf_security_group_name: nimbus_security_group - pcrf_vnf_id: 730797234b4a40aa99335157b02871cd diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-psm_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-psm_v1.0.yaml deleted file mode 100644 index 217b0fe33a..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-psm_v1.0.yaml +++ /dev/null @@ -1,199 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates PCRF Session Manager stack - -parameters: - pcrf_psm_server_names: - type: comma_delimited_list - label: PCRF SM server names - description: name of the PCRF SM instance - pcrf_psm_image_name: - type: string - label: PCRF SM image name - description: PCRF SM image name - pcrf_psm_flavor_name: - type: string - label: PCRF SM flavor name - description: flavor name of PCRF SM instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ips: - type: comma_delimited_list - label: CPS network ips - description: CPS network ips - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - server_pcrf_psm_001: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 0] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 0] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_002: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 1] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 1] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_003: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 2] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 2] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_004: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 3] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 3] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_005: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 4] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 4] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_006: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 5] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 5] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_007: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 6] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 6] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_008: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 7] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 7] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_009: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 8] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 8] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_010: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 9] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 9] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_011: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 10] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 10] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_012: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 11] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 11] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-swift-container_v1.0.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-swift-container_v1.0.env deleted file mode 100644 index 5267ee45ae..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-swift-container_v1.0.env +++ /dev/null @@ -1,3 +0,0 @@ -parameters: - pcrf_swift_container_name_1: PCRF_Config_Container_1 - pcrf_swift_container_purge_on_delete_flag_1: false diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-swift-container_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-swift-container_v1.0.yaml deleted file mode 100644 index ab427bb4c2..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/hot-nimbus-swift-container_v1.0.yaml +++ /dev/null @@ -1,30 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates PCRF Session Manager stack - -parameters: - pcrf_swift_container_name_1: - type: string - label: Swift Container name - description: Swift Container Name - pcrf_swift_container_purge_on_delete_flag_1: - type: boolean - label: Purge on Delete Flag - description: Purge on Delete Flag - -resources: - pcrf_swift_container_1: - type: OS::Swift::Container - properties: - name: { get_param: pcrf_swift_container_name_1 } - PurgeOnDelete: { get_param: pcrf_swift_container_purge_on_delete_flag_1 } - X-Container-Read: ".r:*" - -outputs: - pcrf_swift_container_id_1: - description: the pcrf_swift_container_1 id - value: { get_resource: pcrf_swift_container_1 } - pcrf_swift_container_url_1: - description: the pcrf_swift_container_1 url - value: { get_attr: [ pcrf_swift_container_1, WebsiteURL ] } - \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/mount_iso_script.sh b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/mount_iso_script.sh deleted file mode 100644 index 91df598dc2..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/mount_iso_script.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash - -#. .config -#following would be in the .config file - device_name="/dev/vde" - install_script="install_nimbus.sh" - enable_logic_flag_file=".flag" -#end of config file - -#get the semaphore, 0 - disbaled, 1- enabled -flag=$(cat ${enable_logic_flag_file}) - -#check if device is mounted already -test=$(mount | grep ${device_name}) -if [ "$flag" == "1" ]; then - if [ -e ${device_name} ] && [ ! "${test}" ]; then - #mount the iso image - mount -t iso9660 -v -o loop /dev/vde/ /mnt/iso - #if availabe run the install script (it contains the install.sh steps) - if [ -e "${install_script}" ] && [ -f "${install_script}" ]; then - ${install_script} - fi - #disable the script from attempting to - # mount and run install again until needed; - echo "0" > ${enable_logic_flag_file} - #if nedeed add step to comment out the crontab line here; - fi -else - echo "Auto mounting ISO & run install logic disabled!" -fi - -#cron job -# * * * * * /mount_iso_script.sh - diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/nested-oam_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/nested-oam_v1.0.yaml deleted file mode 100644 index fa3b04e7d3..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/nested-oam_v1.0.yaml +++ /dev/null @@ -1,156 +0,0 @@ -heat_template_version: 2013-05-23 - -description: nested heat template that creates a PCRF OAM node stack - -parameters: - pcrf_oam_server_name: - type: string - label: PCRF OAM server name - description: PCRF OAM server name - pcrf_oam_image_name: - type: string - label: image name - description: PCRF OAM image name - pcrf_oam_flavor_name: - type: string - label: PCRF OAM flavor name - description: flavor name of PCRF OAM instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ip: - type: string - label: CPS network ip - description: CPS network ip - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_arbiter_vip: - type: string - label: OAM Arbiter LB VIP - description: OAM Arbiter LB VIP - pcrf_oam_net_name: - type: string - label: OAM network name - description: OAM network name - pcrf_oam_net_ip: - type: string - label: OAM network ip - description: OAM network ip - pcrf_oam_net_gw: - type: string - label: CPS network gateway - description: CPS network gateway - pcrf_oam_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_oam_volume_id: - type: string - label: CPS OAM Cinder Volume - description: CPS OAM Cinder Volume - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - network: - type: OS::Heat::CloudConfig - properties: - cloud_config: - write_files: - - path: /etc/sysconfig/network-scripts/ifcfg-eth0 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth0 - $ip: { get_param: pcrf_cps_net_ip } - $netmask: { get_param: pcrf_cps_net_mask } - - path: /etc/sysconfig/network-scripts/ifcfg-eth1 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet-gw } - params: - $dev: eth1 - $ip: { get_param: pcrf_oam_net_ip } - $netmask: { get_param: pcrf_oam_net_mask } - $gateway: { get_param: pcrf_oam_net_gw } - runcmd: - - ifdown eth0 && ifup eth0 - - ifdown eth1 && ifup eth1 - script_init: - type: OS::Heat::SoftwareConfig - properties: - group: ungrouped - config: - str_replace: - template: { get_file: cloud-nimbus.sh } - params: - $vm_name: { get_param: pcrf_oam_server_name } - pcrf_server_init: - type: OS::Heat::MultipartMime - properties: - parts: - - config: { get_resource: network} - - config: { get_resource: script_init} - - pcrf_server_oam: - type: OS::Nova::Server - properties: - config_drive: "True" - name: { get_param: pcrf_oam_server_name } - image: { get_param: pcrf_oam_image_name } - flavor: { get_param: pcrf_oam_flavor_name } - availability_zone: { get_param: availabilityzone_name } - networks: - - port: { get_resource: pcrf_oam_port_0} - - port: { get_resource: pcrf_oam_port_1} - user_data_format: RAW - user_data: - get_resource: pcrf_server_init - metadata: - vnf_id: {get_param: pcrf_vnf_id} - - pcrf_oam_port_0: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_cps_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_cps_net_ip } - allowed_address_pairs: - - ip_address: { get_param: pcrf_arbiter_vip } - security_groups: [{ get_param: pcrf_security_group_name }] - - pcrf_oam_port_1: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_oam_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_oam_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - - pcrf_oam_vol_attachment: - type: OS::Cinder::VolumeAttachment - properties: - volume_id: { get_param: pcrf_oam_volume_id } - mountpoint: /dev/vdd - instance_uuid: { get_resource: pcrf_server_oam } - -outputs: - pcrf_oam_vol_attachment_id: - description: the pcrf_oam_vol_attachment_id id - value: { get_resource: pcrf_oam_vol_attachment } diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/nested-pcm_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/nested-pcm_v1.0.yaml deleted file mode 100644 index a3129bb0b9..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/nested-pcm_v1.0.yaml +++ /dev/null @@ -1,150 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates PCRF Cluman stack - -parameters: - pcrf_pcm_server_name: - type: string - label: PCRF CM server name - description: PCRF CM server name - pcrf_pcm_image_name: - type: string - label: image name - description: PCRF CM image name - pcrf_pcm_flavor_name: - type: string - label: PCRF CM flavor name - description: flavor name of PCRF CM instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ip: - type: string - label: CPS network ip - description: CPS network ip - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_oam_net_name: - type: string - label: OAM network name - description: OAM network name - pcrf_oam_net_ip: - type: string - label: OAM network ip - description: OAM network ip - pcrf_oam_net_gw: - type: string - label: CPS network gateway - description: CPS network gateway - pcrf_oam_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_pcm_volume_id: - type: string - label: CPS Cluman Cinder Volume - description: CPS Cluman Cinder Volume - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - network: - type: OS::Heat::CloudConfig - properties: - cloud_config: - write_files: - - path: /etc/sysconfig/network-scripts/ifcfg-eth0 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth0 - $ip: { get_param: pcrf_cps_net_ip } - $netmask: { get_param: pcrf_cps_net_mask } - - path: /etc/sysconfig/network-scripts/ifcfg-eth1 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet-gw } - params: - $dev: eth1 - $ip: { get_param: pcrf_oam_net_ip } - $netmask: { get_param: pcrf_oam_net_mask } - $gateway: { get_param: pcrf_oam_net_gw } - runcmd: - - ifdown eth0 && ifup eth0 - - ifdown eth1 && ifup eth1 - script_init: - type: OS::Heat::SoftwareConfig - properties: - group: ungrouped - config: - str_replace: - template: { get_file: cloud-nimbus.sh } - params: - $vm_name: { get_param: pcrf_pcm_server_name } - pcrf_server_init: - type: OS::Heat::MultipartMime - properties: - parts: - - config: { get_resource: network} - - config: { get_resource: script_init} - - pcrf_server_pcm: - type: OS::Nova::Server - properties: - config_drive: "True" - name: { get_param: pcrf_pcm_server_name } - image: { get_param: pcrf_pcm_image_name } - flavor: { get_param: pcrf_pcm_flavor_name } - availability_zone: { get_param: availabilityzone_name } - networks: - - port: { get_resource: pcrf_pcm_port_0} - - port: { get_resource: pcrf_pcm_port_1} - user_data_format: RAW - user_data: - get_resource: pcrf_server_init - metadata: - vnf_id: {get_param: pcrf_vnf_id} - - pcrf_pcm_port_0: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_cps_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_cps_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - - pcrf_pcm_port_1: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_oam_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_oam_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - - volume_attachment: - type: OS::Cinder::VolumeAttachment - properties: - volume_id: { get_param: pcrf_pcm_volume_id } - mountpoint: /dev/vdd - instance_uuid: { get_resource: pcrf_server_pcm } - -outputs: - pcrf_server_pcm_id: - description: the pcm server id - value: { get_resource: pcrf_server_pcm } \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/nested-ppd_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/nested-ppd_v1.0.yaml deleted file mode 100644 index 169522b64c..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/nested-ppd_v1.0.yaml +++ /dev/null @@ -1,333 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates PCRF Policy Director stack - -parameters: - pcrf_ppd_server_name: - type: string - label: PCRF PD server name - description: PCRF PD server name - pcrf_ppd_image_name: - type: string - label: image name - description: PCRF PD image name - pcrf_ppd_flavor_name: - type: string - label: PCRF PD flavor name - description: flavor name of PCRF PD instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ip: - type: string - label: CPS network ip - description: CPS network ip - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_lb_internal_vip: - type: string - label: CPS Internal LB VIP - description: CPS Internal LB VIP - pcrf_oam_net_name: - type: string - label: OAM network name - description: OAM network name - pcrf_oam_net_ip: - type: string - label: OAM network ip - description: OAM network ip - pcrf_oam_net_gw: - type: string - label: CPS network gateway - description: CPS network gateway - pcrf_oam_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_lb_management_vip: - type: string - label: CPS OAM LB VIP - description: CPS OAM LB VIP - pcrf_gx_net_name: - type: string - label: Gx network name - description: Gx network name - pcrf_gx_net_ip: - type: string - label: Gx network ip - description: Gx network ip - pcrf_gx_net_mask: - type: string - label: Gx network mask - description: Gx network mask - pcrf_sp_net_name: - type: string - label: Sp network name - description: Sp network name - pcrf_sp_net_ip: - type: string - label: Sp network ip - description: Sp network ip - pcrf_sp_net_mask: - type: string - label: Sp network mask - description: Sp network mask - pcrf_sy_net_name: - type: string - label: Sy network name - description: Sy network name - pcrf_sy_net_ip: - type: string - label: Sy network ip - description: Sy network ip - pcrf_sy_net_mask: - type: string - label: Sy network mask - description: Sy network mask - pcrf_rx_net_name: - type: string - label: Rx network name - description: Rx network name - pcrf_rx_net_ip: - type: string - label: Rx network ip - description: Rx network ip - pcrf_rx_net_mask: - type: string - label: Rx network mask - description: Rx network mask - pcrf_sd_net_name: - type: string - label: Sd network name - description: Sd network name - pcrf_sd_net_ip: - type: string - label: Sd network ip - description: Sd network ip - pcrf_sd_net_mask: - type: string - label: Sd network mask - description: Sd network mask - pcrf_sgi_sy_net_name: - type: string - label: Sgi Sy network name - description: Sgi Sy network name - pcrf_sgi_sy_net_ip: - type: string - label: Sgi Sy network ip - description: Sgi Sy network ip - pcrf_sgi_sy_net_mask: - type: string - label: Sgi Sy network mask - description: Sgi Sy network mask - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - network: - type: OS::Heat::CloudConfig - properties: - cloud_config: - write_files: - - path: /etc/sysconfig/network-scripts/ifcfg-eth0 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth0 - $ip: { get_param: pcrf_cps_net_ip } - $netmask: { get_param: pcrf_cps_net_mask } - - path: /etc/sysconfig/network-scripts/ifcfg-eth1 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet-gw } - params: - $dev: eth1 - $ip: { get_param: pcrf_oam_net_ip } - $netmask: { get_param: pcrf_oam_net_mask } - $gateway: { get_param: pcrf_oam_net_gw } - - path: /etc/sysconfig/network-scripts/ifcfg-eth2 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth2 - $ip: { get_param: pcrf_gx_net_ip } - $netmask: { get_param: pcrf_gx_net_mask } - - path: /etc/sysconfig/network-scripts/ifcfg-eth3 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth3 - $ip: { get_param: pcrf_sp_net_ip } - $netmask: { get_param: pcrf_sp_net_mask } - - path: /etc/sysconfig/network-scripts/ifcfg-eth4 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth4 - $ip: { get_param: pcrf_sy_net_ip } - $netmask: { get_param: pcrf_sy_net_mask } - - path: /etc/sysconfig/network-scripts/ifcfg-eth5 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth5 - $ip: { get_param: pcrf_rx_net_ip } - $netmask: { get_param: pcrf_rx_net_mask } - - path: /etc/sysconfig/network-scripts/ifcfg-eth6 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth6 - $ip: { get_param: pcrf_sd_net_ip } - $netmask: { get_param: pcrf_sd_net_mask } - - path: /etc/sysconfig/network-scripts/ifcfg-eth7 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth7 - $ip: { get_param: pcrf_sgi_sy_net_ip } - $netmask: { get_param: pcrf_sgi_sy_net_mask } - runcmd: - - ifdown eth0 && ifup eth0 - - ifdown eth1 && ifup eth1 - - ifdown eth2 && ifup eth2 - - ifdown eth3 && ifup eth3 - - ifdown eth4 && ifup eth4 - - ifdown eth5 && ifup eth5 - - ifdown eth6 && ifup eth6 - - ifdown eth7 && ifup eth7 - script_init: - type: OS::Heat::SoftwareConfig - properties: - group: ungrouped - config: - str_replace: - template: { get_file: cloud-nimbus.sh } - params: - $vm_name: { get_param: pcrf_ppd_server_name } - pcrf_server_init: - type: OS::Heat::MultipartMime - properties: - parts: - - config: { get_resource: network} - - config: { get_resource: script_init} - - pcrf_server_ppd: - type: OS::Nova::Server - properties: - config_drive: "True" - name: { get_param: pcrf_ppd_server_name } - image: { get_param: pcrf_ppd_image_name } - flavor: { get_param: pcrf_ppd_flavor_name } - availability_zone: { get_param: availabilityzone_name } - networks: - - port: { get_resource: pcrf_ppd_port_0} - - port: { get_resource: pcrf_ppd_port_1} - - port: { get_resource: pcrf_ppd_port_2} - - port: { get_resource: pcrf_ppd_port_3} - - port: { get_resource: pcrf_ppd_port_4} - - port: { get_resource: pcrf_ppd_port_5} - - port: { get_resource: pcrf_ppd_port_6} - - port: { get_resource: pcrf_ppd_port_7} - user_data_format: RAW - user_data: - get_resource: pcrf_server_init - metadata: - vnf_id: {get_param: pcrf_vnf_id} - - pcrf_ppd_port_0: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_cps_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_cps_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - allowed_address_pairs: - - ip_address: { get_param: pcrf_lb_internal_vip } - - pcrf_ppd_port_1: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_oam_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_oam_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - allowed_address_pairs: - - ip_address: { get_param: pcrf_lb_management_vip } - - pcrf_ppd_port_2: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_gx_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_gx_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - - pcrf_ppd_port_3: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_sp_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_sp_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - - pcrf_ppd_port_4: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_sy_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_sy_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - - pcrf_ppd_port_5: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_rx_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_rx_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - - pcrf_ppd_port_6: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_sd_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_sd_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - - pcrf_ppd_port_7: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_sgi_sy_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_sgi_sy_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/nested-pps_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/nested-pps_v1.0.yaml deleted file mode 100644 index 8cb6e1587c..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/nested-pps_v1.0.yaml +++ /dev/null @@ -1,99 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates PCRF Policy Server stack - -parameters: - pcrf_pps_server_name: - type: string - label: PCRF PS server name - description: PCRF PS server name - pcrf_pps_image_name: - type: string - label: PCRF PS image name - description: PCRF PS image name - pcrf_pps_flavor_name: - type: string - label: PCRF PS flavor name - description: flavor name of PCRF PS instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ip: - type: string - label: CPS network ip - description: CPS network ip - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - script_init: - type: OS::Heat::SoftwareConfig - properties: - group: ungrouped - config: - str_replace: - template: { get_file: cloud-nimbus.sh } - params: - $vm_name: { get_param: pcrf_pps_server_name } - network: - type: OS::Heat::CloudConfig - properties: - cloud_config: - write_files: - - path: /etc/sysconfig/network-scripts/ifcfg-eth0 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth0 - $ip: { get_param: pcrf_cps_net_ip } - $netmask: { get_param: pcrf_cps_net_mask } - runcmd: - - ifdown eth0 && ifup eth0 - - pcrf_server_init: - type: OS::Heat::MultipartMime - properties: - parts: - - config: { get_resource: network} - - config: { get_resource: script_init} - - pcrf_server_pps: - type: OS::Nova::Server - properties: - config_drive: "True" - name: { get_param: pcrf_pps_server_name } - image: { get_param: pcrf_pps_image_name } - flavor: { get_param: pcrf_pps_flavor_name } - availability_zone: { get_param: availabilityzone_name } - networks: - - port: { get_resource: pcrf_pps_port_0} - user_data_format: RAW - user_data: - get_resource: pcrf_server_init - metadata: - vnf_id: {get_param: pcrf_vnf_id} - - pcrf_pps_port_0: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_cps_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_cps_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/nested-psm_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/nested-psm_v1.0.yaml deleted file mode 100644 index 64c7484405..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/nested-psm_v1.0.yaml +++ /dev/null @@ -1,99 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates PCRF Session Manager stack - -parameters: - pcrf_psm_server_name: - type: string - label: PCRF SM server name - description: PCRF SM server name - pcrf_psm_image_name: - type: string - label: image name - description: PCRF SM image name - pcrf_psm_flavor_name: - type: string - label: PCRF SM flavor name - description: flavor name of PCRF SM instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ip: - type: string - label: CPS network ip - description: CPS network ip - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - network: - type: OS::Heat::CloudConfig - properties: - cloud_config: - write_files: - - path: /etc/sysconfig/network-scripts/ifcfg-eth0 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth0 - $ip: { get_param: pcrf_cps_net_ip } - $netmask: { get_param: pcrf_cps_net_mask } - runcmd: - - ifdown eth0 && ifup eth0 - script_init: - type: OS::Heat::SoftwareConfig - properties: - group: ungrouped - config: - str_replace: - template: { get_file: cloud-nimbus.sh } - params: - $vm_name: { get_param: pcrf_psm_server_name } - pcrf_server_init: - type: OS::Heat::MultipartMime - properties: - parts: - - config: { get_resource: network} - - config: { get_resource: script_init} - - pcrf_server_psm: - type: OS::Nova::Server - properties: - config_drive: "True" - name: { get_param: pcrf_psm_server_name } - image: { get_param: pcrf_psm_image_name } - flavor: { get_param: pcrf_psm_flavor_name } - availability_zone: { get_param: availabilityzone_name } - networks: - - port: { get_resource: psm01_port_0} - user_data_format: RAW - user_data: - get_resource: pcrf_server_init - metadata: - vnf_id: {get_param: pcrf_vnf_id} - #scheduler_hints: {group: { get_resource: servergroup_nimbus }} - - psm01_port_0: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_cps_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_cps_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/vnf-module-artifact.json b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/vnf-module-artifact.json deleted file mode 100644 index 301012e63c..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/artifacts/vnf-module-artifact.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "vfModuleModelName": "VF_RI2_G6_withArtifacts::module-0", - "vfModuleModelInvariantUUID": "585822c7-4027-4f84-ba50-e9248606f131", - "vfModuleModelVersion": "1.0", - "vfModuleModelUUID": "1e34774e-715e-4fd5-bd08-7b654622f33e.VF_RI2_G6_withArtifacts::module-0.group", - "vfModuleModelDescription": "vf Module Description", - "vfModuleModelCustomizationUUID": "585822c7-4027-4f84-ba50-e9248606f131", - "isBase": true, - "artifacts": [ - "Artifact-UUID1", - "EnvArtifact-UUID2", - "NestedArtifact-UUID3" - ], - "properties": {"test":"test"} - } -] \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/notif-structure.json b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/notif-structure.json deleted file mode 100644 index ef9f2565a3..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V2/notif-structure.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "serviceName": "test-service", - "serviceInvariantUUID": "585822c7-4027-4f84-ba50-e9248606f132", - "serviceUUID": "1e34774e-715e-4fd5-bd09-7b654622f33f", - "serviceVersion": "2.0", - "serviceArtifacts": - [ - - ], - - "resources": - [ - { - "resourceInstanceName": "resource-1", - "resourceInvariantUUID": "585822c7-4027-4f84-ba50-e9248606f134", - "resourceName": "resourceName-1", - "resourceType": "VF", - "resourceUUID": "585822c7-4027-4f84-ba50-e9248606f136", - "resourceVersion": "1.0", - "category": "category", - "artifacts": - [ - { - "artifactChecksum": "CheckSum", - "artifactDescription": "Meta data for VFModule", - "artifactName": "vnf-module-artifact.json", - - "artifactType": "VF_MODULES_METADATA", - "artifactURL": "vnf-module-artifact.json", - "artifactUUID": "VfArtifact-UUID1", - "artifactVersion": "1.0" - - }, - { - "artifactChecksum": "CheckSum", - "artifactDescription": "Nimbus Heat OAM", - "artifactName": "hot-nimbus-oam_v1.0.yaml", - "artifactTimeout": 100, - "artifactType": "HEAT", - "artifactURL": "hot-nimbus-oam_v1.0.yaml", - "artifactUUID": "Artifact-UUID1", - "artifactVersion": "1.0", - "generatedArtifact": "EnvArtifact-UUID2", - "relatedArtifact": - [ - "NestedArtifact-UUID3" - ] - }, - - { - "artifactChecksum": "CheckSum", - "artifactDescription": "Nimbus Heat ENV OAM", - "artifactName": "hot-nimbus-oam_v1.0.env", - - "artifactType": "HEAT_ENV", - "artifactURL": "hot-nimbus-oam_v1.0.env", - "artifactUUID": "EnvArtifact-UUID2", - "artifactVersion": "1.0" - - }, - - { - "artifactChecksum": "CheckSum", - "artifactDescription": "Nested OAM", - "artifactName": "nested-oam_v1.0.yaml", - "artifactTimeout": 10, - "artifactType": "HEAT_NESTED", - "artifactURL": "nested-oam_v1.0.yaml", - "artifactUUID": "NestedArtifact-UUID3", - "artifactVersion": "1.0" - - } - ] - } - ], - - "serviceDescription": "test service for unit testing", - "distributionID": "35120a87-1f82-4276-9735-f6de5a244d65" -} \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/cloud-nimbus.sh b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/cloud-nimbus.sh deleted file mode 100644 index 48485f3bf6..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/cloud-nimbus.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash -echo "Running first-boot script" -FLAG="first-boot.sh" -echo "First boot run" > ${FLAG} -echo "$vm_name" >> ${FLAG} -touch /var/lib/cloud/instance/payload/launch-params -chmod 644 /var/lib/cloud/instance/payload/launch-params -#for i in $(ls /sys/class/net); do -# echo "Restart $i" >> ${FLAG} -# ifdown ${i} -# ifup ${i} -#done diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-oam-volumes_v1.0.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-oam-volumes_v1.0.env deleted file mode 100644 index b494d8c270..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-oam-volumes_v1.0.env +++ /dev/null @@ -1,6 +0,0 @@ -parameters: - pcrf_oam_vol_size: 500 - pcrf_oam_volume_silver-1: Silver - pcrf_oam_volume_silver-2: Silver - pcrf_oam_vol_name_1: sde1-pcrfx01-oam001-vol-1 - pcrf_oam_vol_name_2: sde1-pcrfx01-oam001-vol-2 \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-oam-volumes_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-oam-volumes_v1.0.yaml deleted file mode 100644 index 9e120547b4..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-oam-volumes_v1.0.yaml +++ /dev/null @@ -1,45 +0,0 @@ -heat_template_version: 2013-05-23 - -parameters: - pcrf_oam_vol_size: - type: number - label: Cinder volume size - description: the size of the Cinder volume - pcrf_oam_vol_name_1: - type: string - label: OAM volume name 1 - description: Assigning name to volume - pcrf_oam_vol_name_2: - type: string - label: OAM volume name 2 - description: Assigning name to volume - pcrf_oam_volume_silver-1: - type: string - label: vm volume type - description: the name of the target volume backend for OAM1 - pcrf_oam_volume_silver-2: - type: string - label: vm volume type - description: the name of the target volume backend for OAM2 - -resources: - pcrf_oam_volume_1: - type: OS::Cinder::Volume - properties: - size: {get_param: pcrf_oam_vol_size} - volume_type: {get_param: pcrf_oam_volume_silver-1} - name: {get_param: pcrf_oam_vol_name_1} - - pcrf_oam_volume_2: - type: OS::Cinder::Volume - properties: - size: {get_param: pcrf_oam_vol_size} - volume_type: {get_param: pcrf_oam_volume_silver-2} - name: {get_param: pcrf_oam_vol_name_2} -outputs: - pcrf_oam_volume_id_1: - description: the oam 001 volume id - value: { get_resource: pcrf_oam_volume_1 } - pcrf_oam_volume_id_2: - description: the oam 002 volume id - value: { get_resource: pcrf_oam_volume_2 } \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-oam_v1.0.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-oam_v1.0.env deleted file mode 100644 index 7e51e674ab..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-oam_v1.0.env +++ /dev/null @@ -1,18 +0,0 @@ -parameters: - pcrf_oam_server_names: ZRDM1PCRF01OAM001,ZRDM1PCRF01OAM002 - pcrf_oam_image_name: PCRF_8.995-ATTM1.0.3.qcow2 - pcrf_oam_flavor_name: lc.4xlarge4 - availabilityzone_name: nova - pcrf_cps_net_name: Mobisupport-25193-I-INT1_int_pcrf_net_0 - pcrf_cps_net_ips: 172.26.16.111,172.26.16.112 - pcrf_arbiter_vip: 172.26.16.115 - pcrf_cps_net_mask: 255.255.255.0 - pcrf_oam_net_name: MNS-25180-L-01_oam_protected_net_0 - pcrf_oam_net_ips: 107.239.64.117,107.239.64.118 - pcrf_oam_net_gw: 107.239.64.1 - pcrf_oam_net_mask: 255.255.248.0 - pcrf_oam_volume_id_1: a4aa05fb-fcdc-457b-8077-6845fdfc3257 - pcrf_oam_volume_id_2: 93d8fc1f-f1c3-4933-86b2-039881ee910f - pcrf_security_group_name: nimbus_security_group - pcrf_vnf_id: 730797234b4a40aa99335157b02871cd - diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-oam_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-oam_v1.0.yaml deleted file mode 100644 index 98c4e3bcbf..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-oam_v1.0.yaml +++ /dev/null @@ -1,109 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates multiple PCRF OAM nodes stack - -parameters: - pcrf_oam_server_names: - type: comma_delimited_list - label: PCRF OAM server names - description: name of the PCRF OAM instance - pcrf_oam_image_name: - type: string - label: PCRF OAM image name - description: PCRF OAM image name - pcrf_oam_flavor_name: - type: string - label: PCRF OAM flavor name - description: flavor name of PCRF OAM instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ips: - type: comma_delimited_list - label: CPS network ips - description: CPS network ips - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_arbiter_vip: - type: string - label: OAM Arbiter LB VIP - description: OAM Arbiter LB VIP - pcrf_oam_net_name: - type: string - label: OAM network name - description: OAM network name - pcrf_oam_net_ips: - type: comma_delimited_list - label: OAM network ips - description: OAM network ips - pcrf_oam_net_gw: - type: string - label: CPS network gateway - description: CPS network gateway - pcrf_oam_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_oam_volume_id_1: - type: string - label: CPS OAM 001 Cinder Volume - description: CPS OAM 001 Cinder Volumes - pcrf_oam_volume_id_2: - type: string - label: CPS OAM 002 Cinder Volume - description: CPS OAM 002 Cinder Volumes - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - server_pcrf_oam_001: - type: nested-oam_v1.0.yaml - properties: - pcrf_oam_server_name: { get_param: [pcrf_oam_server_names, 0] } - pcrf_oam_image_name: { get_param: pcrf_oam_image_name } - pcrf_oam_flavor_name: { get_param: pcrf_oam_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_oam_volume_id: { get_param: pcrf_oam_volume_id_1 } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 0] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_oam_net_name: { get_param: pcrf_oam_net_name } - pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 0] } - pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask } - pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw } - pcrf_arbiter_vip: { get_param: pcrf_arbiter_vip } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_oam_002: - type: nested-oam_v1.0.yaml - depends_on: [server_pcrf_oam_001] - properties: - pcrf_oam_server_name: { get_param: [pcrf_oam_server_names, 1] } - pcrf_oam_image_name: { get_param: pcrf_oam_image_name } - pcrf_oam_flavor_name: { get_param: pcrf_oam_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_oam_volume_id: { get_param: pcrf_oam_volume_id_2 } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 1] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_oam_net_name: { get_param: pcrf_oam_net_name } - pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 1] } - pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask } - pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw } - pcrf_arbiter_vip: { get_param: pcrf_arbiter_vip } - pcrf_vnf_id: {get_param: pcrf_vnf_id} diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-pcm-volumes_v1.0.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-pcm-volumes_v1.0.env deleted file mode 100644 index 788365dcd3..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-pcm-volumes_v1.0.env +++ /dev/null @@ -1,4 +0,0 @@ -parameters: - pcrf_pcm_vol_size: 50 - pcrf_pcm_volume_silver: Silver - pcrf_pcm_vol_name_1: sde1-pcrfx01-pcm001-vol-1 diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-pcm-volumes_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-pcm-volumes_v1.0.yaml deleted file mode 100644 index bcc3e89f71..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-pcm-volumes_v1.0.yaml +++ /dev/null @@ -1,28 +0,0 @@ -heat_template_version: 2013-05-23 - -parameters: - pcrf_pcm_vol_size: - type: number - label: Cinder volume size - description: the size of the Cinder volume - pcrf_pcm_vol_name_1: - type: string - label: PCM volume name - description: Assigning name to volume - pcrf_pcm_volume_silver: - type: string - label: vm volume type - description: the name of the target volume backend for PCM - -resources: - pcrf_pcm_volume_1: - type: OS::Cinder::Volume - properties: - size: { get_param: pcrf_pcm_vol_size } - volume_type: { get_param: pcrf_pcm_volume_silver } - name: { get_param: pcrf_pcm_vol_name_1 } - -outputs: - pcrf_pcm_volume_id_1: - description: the pcrf_pcm_volume_id - value: { get_resource: pcrf_pcm_volume_1 } \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-pcm_v1.0.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-pcm_v1.0.env deleted file mode 100644 index b23014d92f..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-pcm_v1.0.env +++ /dev/null @@ -1,16 +0,0 @@ -parameters: - pcrf_pcm_server_names: ZRDM1PCRF01PCM001 - pcrf_pcm_image_name: PCRF_8.995-ATTM1.0.3.qcow2 - pcrf_pcm_flavor_name: lc.2xlarge4 - availabilityzone_name: nova - pcrf_cps_net_name: Mobisupport-25193-I-INT1_int_pcrf_net_0 - pcrf_cps_net_ips: 172.26.16.113 - pcrf_cps_net_mask: 255.255.255.0 - pcrf_oam_net_name: MNS-25180-L-01_oam_protected_net_0 - pcrf_oam_net_ips: 107.239.64.121 - pcrf_oam_net_gw: 107.239.64.1 - pcrf_oam_net_mask: 255.255.248.0 - pcrf_pcm_volume_id_1: 3438a3fe-1241-4390-80f2-d0b86238c40e - pcrf_security_group_name: nimbus_security_group - pcrf_vnf_id: 730797234b4a40aa99335157b02871cd - diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-pcm_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-pcm_v1.0.yaml deleted file mode 100644 index defb373a4f..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-pcm_v1.0.yaml +++ /dev/null @@ -1,80 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates PCRF Cluman stack - -parameters: - pcrf_pcm_server_names: - type: comma_delimited_list - label: PCRF CM server names - description: name of the PCRF CM instance - pcrf_pcm_image_name: - type: string - label: PCRF CM image name - description: PCRF CM image name - pcrf_pcm_flavor_name: - type: string - label: PCRF CM flavor name - description: flavor name of PCRF CM instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ips: - type: comma_delimited_list - label: CPS network ips - description: CPS network ips - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_oam_net_name: - type: string - label: OAM network name - description: OAM network name - pcrf_oam_net_ips: - type: comma_delimited_list - label: OAM network ips - description: OAM network ips - pcrf_oam_net_gw: - type: string - label: CPS network gateway - description: CPS network gateway - pcrf_oam_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_pcm_volume_id_1: - type: string - label: CPS Cluman Cinder Volume - description: CPS Cluman Cinder Volume - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - server_pcrf_pcm_001: - type: nested-pcm_v1.0.yaml - properties: - pcrf_pcm_server_name: { get_param: [pcrf_pcm_server_names, 0] } - pcrf_pcm_image_name: { get_param: pcrf_pcm_image_name } - pcrf_pcm_flavor_name: { get_param: pcrf_pcm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_pcm_volume_id: { get_param: pcrf_pcm_volume_id_1 } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 0] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_oam_net_name: { get_param: pcrf_oam_net_name } - pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 0] } - pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask } - pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw } - pcrf_vnf_id: {get_param: pcrf_vnf_id} diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-ppd_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-ppd_v1.0.yaml deleted file mode 100644 index 8631592097..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-ppd_v1.0.yaml +++ /dev/null @@ -1,286 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates PCRF Policy Director stack - -parameters: - pcrf_ppd_server_names: - type: comma_delimited_list - label: PCRF PD server names - description: name of the PCRF PD instance - pcrf_ppd_image_name: - type: string - label: PCRF PD image name - description: PCRF PD image name - pcrf_ppd_flavor_name: - type: string - label: PCRF PD flavor name - description: flavor name of PCRF PD instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ips: - type: comma_delimited_list - label: CPS network ips - description: CPS network ips - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_lb_internal_vip: - type: string - label: CPS Internal LB VIP - description: CPS Internal LB VIP - pcrf_oam_net_name: - type: string - label: OAM network name - description: OAM network name - pcrf_oam_net_ips: - type: comma_delimited_list - label: OAM network ips - description: OAM network ips - pcrf_oam_net_gw: - type: string - label: CPS network gateway - description: CPS network gateway - pcrf_oam_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_lb_management_vip: - type: string - label: CPS OAM LB VIP - description: CPS OAM LB VIP - pcrf_gx_net_name: - type: string - label: Gx network name - description: Gx network name - pcrf_gx_net_ips: - type: comma_delimited_list - label: Gx network ips - description: Gx network ips - pcrf_gx_net_mask: - type: string - label: Gx network mask - description: Gx network mask - pcrf_sp_net_name: - type: string - label: Sp network name - description: Sp network name - pcrf_sp_net_ips: - type: comma_delimited_list - label: Sp network ips - description: Sp network ips - pcrf_sp_net_mask: - type: string - label: Sp network mask - description: Sp network mask - pcrf_sy_net_name: - type: string - label: Sy network name - description: Sy network name - pcrf_sy_net_ips: - type: comma_delimited_list - label: Sy network ips - description: Sy network ips - pcrf_sy_net_mask: - type: string - label: Sy network mask - description: Sy network mask - pcrf_rx_net_name: - type: string - label: Rx network name - description: Rx network name - pcrf_rx_net_ips: - type: comma_delimited_list - label: Rx network ips - description: Rx network ips - pcrf_rx_net_mask: - type: string - label: Rx network mask - description: Rx network mask - pcrf_sd_net_name: - type: string - label: Sd network name - description: Sd network name - pcrf_sd_net_ips: - type: comma_delimited_list - label: Sd network ips - description: Sd network ips - pcrf_sd_net_mask: - type: string - label: Sd network mask - description: Sd network mask - pcrf_sgi_sy_net_name: - type: string - label: Sgi Sy network name - description: Sgi Sy network name - pcrf_sgi_sy_net_ips: - type: comma_delimited_list - label: Sgi Sy network ips - description: Sgi Sy network ips - pcrf_sgi_sy_net_mask: - type: string - label: Sgi Sy network mask - description: Sgi Sy network mask - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - server_pcrf_ppd_001: - type: nested-ppd_v1.0.yaml - properties: - pcrf_ppd_server_name: { get_param: [pcrf_ppd_server_names, 0] } - pcrf_ppd_image_name: { get_param: pcrf_ppd_image_name } - pcrf_ppd_flavor_name: { get_param: pcrf_ppd_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 0] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_lb_internal_vip: { get_param: pcrf_lb_internal_vip } - pcrf_oam_net_name: { get_param: pcrf_oam_net_name } - pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 0] } - pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask } - pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw } - pcrf_lb_management_vip: { get_param: pcrf_lb_management_vip } - pcrf_gx_net_name: { get_param: pcrf_gx_net_name } - pcrf_gx_net_ip: { get_param: [pcrf_gx_net_ips, 0] } - pcrf_gx_net_mask: { get_param: pcrf_gx_net_mask } - pcrf_sp_net_name: { get_param: pcrf_sp_net_name } - pcrf_sp_net_ip: { get_param: [pcrf_sp_net_ips, 0] } - pcrf_sp_net_mask: { get_param: pcrf_sp_net_mask } - pcrf_sy_net_name: { get_param: pcrf_sy_net_name } - pcrf_sy_net_ip: { get_param: [pcrf_sy_net_ips, 0] } - pcrf_sy_net_mask: { get_param: pcrf_sy_net_mask } - pcrf_rx_net_name: { get_param: pcrf_rx_net_name } - pcrf_rx_net_ip: { get_param: [pcrf_rx_net_ips, 0] } - pcrf_rx_net_mask: { get_param: pcrf_rx_net_mask } - pcrf_sd_net_name: { get_param: pcrf_sd_net_name } - pcrf_sd_net_ip: { get_param: [pcrf_sd_net_ips, 0] } - pcrf_sd_net_mask: { get_param: pcrf_sd_net_mask } - pcrf_sgi_sy_net_name: { get_param: pcrf_sgi_sy_net_name } - pcrf_sgi_sy_net_ip: { get_param: [pcrf_sgi_sy_net_ips, 0] } - pcrf_sgi_sy_net_mask: { get_param: pcrf_sgi_sy_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_ppd_002: - type: nested-ppd_v1.0.yaml - properties: - pcrf_ppd_server_name: { get_param: [pcrf_ppd_server_names, 1] } - pcrf_ppd_image_name: { get_param: pcrf_ppd_image_name } - pcrf_ppd_flavor_name: { get_param: pcrf_ppd_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 1] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_lb_internal_vip: { get_param: pcrf_lb_internal_vip } - pcrf_oam_net_name: { get_param: pcrf_oam_net_name } - pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 1] } - pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask } - pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw } - pcrf_lb_management_vip: { get_param: pcrf_lb_management_vip } - pcrf_gx_net_name: { get_param: pcrf_gx_net_name } - pcrf_gx_net_ip: { get_param: [pcrf_gx_net_ips, 1] } - pcrf_gx_net_mask: { get_param: pcrf_gx_net_mask } - pcrf_sp_net_name: { get_param: pcrf_sp_net_name } - pcrf_sp_net_ip: { get_param: [pcrf_sp_net_ips, 1] } - pcrf_sp_net_mask: { get_param: pcrf_sp_net_mask } - pcrf_sy_net_name: { get_param: pcrf_sy_net_name } - pcrf_sy_net_ip: { get_param: [pcrf_sy_net_ips, 1] } - pcrf_sy_net_mask: { get_param: pcrf_sy_net_mask } - pcrf_rx_net_name: { get_param: pcrf_rx_net_name } - pcrf_rx_net_ip: { get_param: [pcrf_rx_net_ips, 1] } - pcrf_rx_net_mask: { get_param: pcrf_rx_net_mask } - pcrf_sd_net_name: { get_param: pcrf_sd_net_name } - pcrf_sd_net_ip: { get_param: [pcrf_sd_net_ips, 1] } - pcrf_sd_net_mask: { get_param: pcrf_sd_net_mask } - pcrf_sgi_sy_net_name: { get_param: pcrf_sgi_sy_net_name } - pcrf_sgi_sy_net_ip: { get_param: [pcrf_sgi_sy_net_ips, 1] } - pcrf_sgi_sy_net_mask: { get_param: pcrf_sgi_sy_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_ppd_003: - type: nested-ppd_v1.0.yaml - properties: - pcrf_ppd_server_name: { get_param: [pcrf_ppd_server_names, 2] } - pcrf_ppd_image_name: { get_param: pcrf_ppd_image_name } - pcrf_ppd_flavor_name: { get_param: pcrf_ppd_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 2] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_lb_internal_vip: { get_param: pcrf_lb_internal_vip } - pcrf_oam_net_name: { get_param: pcrf_oam_net_name } - pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 2] } - pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask } - pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw } - pcrf_lb_management_vip: { get_param: pcrf_lb_management_vip } - pcrf_gx_net_name: { get_param: pcrf_gx_net_name } - pcrf_gx_net_ip: { get_param: [pcrf_gx_net_ips, 2] } - pcrf_gx_net_mask: { get_param: pcrf_gx_net_mask } - pcrf_sp_net_name: { get_param: pcrf_sp_net_name } - pcrf_sp_net_ip: { get_param: [pcrf_sp_net_ips, 2] } - pcrf_sp_net_mask: { get_param: pcrf_sp_net_mask } - pcrf_sy_net_name: { get_param: pcrf_sy_net_name } - pcrf_sy_net_ip: { get_param: [pcrf_sy_net_ips, 2] } - pcrf_sy_net_mask: { get_param: pcrf_sy_net_mask } - pcrf_rx_net_name: { get_param: pcrf_rx_net_name } - pcrf_rx_net_ip: { get_param: [pcrf_rx_net_ips, 2] } - pcrf_rx_net_mask: { get_param: pcrf_rx_net_mask } - pcrf_sd_net_name: { get_param: pcrf_sd_net_name } - pcrf_sd_net_ip: { get_param: [pcrf_sd_net_ips, 2] } - pcrf_sd_net_mask: { get_param: pcrf_sd_net_mask } - pcrf_sgi_sy_net_name: { get_param: pcrf_sgi_sy_net_name } - pcrf_sgi_sy_net_ip: { get_param: [pcrf_sgi_sy_net_ips, 2] } - pcrf_sgi_sy_net_mask: { get_param: pcrf_sgi_sy_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_ppd_004: - type: nested-ppd_v1.0.yaml - properties: - pcrf_ppd_server_name: { get_param: [pcrf_ppd_server_names, 3] } - pcrf_ppd_image_name: { get_param: pcrf_ppd_image_name } - pcrf_ppd_flavor_name: { get_param: pcrf_ppd_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 3] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_lb_internal_vip: { get_param: pcrf_lb_internal_vip } - pcrf_oam_net_name: { get_param: pcrf_oam_net_name } - pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 3] } - pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask } - pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw } - pcrf_lb_management_vip: { get_param: pcrf_lb_management_vip } - pcrf_gx_net_name: { get_param: pcrf_gx_net_name } - pcrf_gx_net_ip: { get_param: [pcrf_gx_net_ips, 3] } - pcrf_gx_net_mask: { get_param: pcrf_gx_net_mask } - pcrf_sp_net_name: { get_param: pcrf_sp_net_name } - pcrf_sp_net_ip: { get_param: [pcrf_sp_net_ips, 3] } - pcrf_sp_net_mask: { get_param: pcrf_sp_net_mask } - pcrf_sy_net_name: { get_param: pcrf_sy_net_name } - pcrf_sy_net_ip: { get_param: [pcrf_sy_net_ips, 3] } - pcrf_sy_net_mask: { get_param: pcrf_sy_net_mask } - pcrf_rx_net_name: { get_param: pcrf_rx_net_name } - pcrf_rx_net_ip: { get_param: [pcrf_rx_net_ips, 3] } - pcrf_rx_net_mask: { get_param: pcrf_rx_net_mask } - pcrf_sd_net_name: { get_param: pcrf_sd_net_name } - pcrf_sd_net_ip: { get_param: [pcrf_sd_net_ips, 3] } - pcrf_sd_net_mask: { get_param: pcrf_sd_net_mask } - pcrf_sgi_sy_net_name: { get_param: pcrf_sgi_sy_net_name } - pcrf_sgi_sy_net_ip: { get_param: [pcrf_sgi_sy_net_ips, 3] } - pcrf_sgi_sy_net_mask: { get_param: pcrf_sgi_sy_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-ppd_v1.1.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-ppd_v1.1.env deleted file mode 100644 index 10697bcaa5..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-ppd_v1.1.env +++ /dev/null @@ -1,35 +0,0 @@ -parameters: - pcrf_ppd_server_names: ZRDM1PCRF01PPD001,ZRDM1PCRF01PPD002,ZRDM1PCRF01PPD003,ZRDM1PCRF01PPD004 - pcrf_ppd_image_name: PCRF_8.995-ATTM1.0.3.qcow2 - pcrf_ppd_flavor_name: lc.4xlarge4 - availabilityzone_name: nova - pcrf_cps_net_name: Mobisupport-25193-I-INT1_int_pcrf_net_0 - pcrf_cps_net_ips: 172.26.16.3,172.26.16.4,172.26.16.5,172.26.16.6 - pcrf_lb_internal_vip: 172.26.16.114 - pcrf_cps_net_mask: 255.255.255.0 - pcrf_oam_net_name: MNS-25180-L-01_oam_protected_net_0 - pcrf_oam_net_ips: 107.239.64.113,107.239.64.114,107.239.64.115,107.239.64.116 - pcrf_lb_management_vip: 107.239.64.123 - pcrf_oam_net_gw: 107.239.64.1 - pcrf_oam_net_mask: 255.255.248.0 - pcrf_gx_net_name: Mobisupport-25193-I-INT1_cor_pcrf_gx_net_0 - pcrf_gx_net_ips: 107.239.24.67,107.239.24.68,107.239.24.69,107.239.24.70 - pcrf_gx_net_mask: 255.255.255.248 - pcrf_sp_net_name: Mobisupport-25193-I-INT1_cor_pcrf_sp_net_0 - pcrf_sp_net_ips: 107.239.24.75,107.239.24.76,107.239.24.77,107.239.24.78 - pcrf_sp_net_mask: 255.255.255.248 - pcrf_sy_net_name: Mobisupport-25193-I-INT1_cor_pcrf_sy_net_0 - pcrf_sy_net_ips: 107.239.24.83,107.239.24.84,107.239.24.85,107.239.24.86 - pcrf_sy_net_mask: 255.255.255.248 - pcrf_rx_net_name: Mobisupport-25193-I-INT1_cor_pcrf_rx_net_0 - pcrf_rx_net_ips: 107.239.24.91,107.239.24.92,107.239.24.93,107.239.24.94 - pcrf_rx_net_mask: 255.255.255.248 - pcrf_sd_net_name: Mobisupport-25193-I-INT1_cor_pcrf_sd_net_0 - pcrf_sd_net_ips: 107.239.24.99,107.239.24.100,107.239.24.101,107.239.24.102 - pcrf_sd_net_mask: 255.255.255.248 - pcrf_sgi_sy_net_name: Mobisupport-25193-I-INT1_sgi_pcrf_sy_net_0 - pcrf_sgi_sy_net_ips: 107.239.26.131,107.239.26.132,107.239.26.133,107.239.26.134 - pcrf_sgi_sy_net_mask: 255.255.255.248 - pcrf_security_group_name: nimbus_security_group - pcrf_vnf_id: 730797234b4a40aa99335157b02871cd - diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-pps_v1.0.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-pps_v1.0.env deleted file mode 100644 index 18c064c019..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-pps_v1.0.env +++ /dev/null @@ -1,11 +0,0 @@ -parameters: - pcrf_pps_server_names: ZRDM1PCRF01PPS001,ZRDM1PCRF01PPS002,ZRDM1PCRF01PPS003,ZRDM1PCRF01PPS004,ZRDM1PCRF01PPS005,ZRDM1PCRF01PPS006 - pcrf_pps_image_name: PCRF_8.995-ATTM1.0.3.qcow2 - pcrf_pps_flavor_name: lc.3xlarge - availabilityzone_name: nova - pcrf_cps_net_name: Mobisupport-25193-I-INT1_int_pcrf_net_0 - pcrf_cps_net_ips: 172.26.16.7,172.26.16.8,172.26.16.9,172.26.16.10,172.26.16.11,172.26.16.12 - pcrf_cps_net_mask: 255.255.255.0 - pcrf_security_group_name: nimbus_security_group - pcrf_vnf_id: 730797234b4a40aa99335157b02871cd - diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-pps_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-pps_v1.0.yaml deleted file mode 100644 index 0fadd0023d..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-pps_v1.0.yaml +++ /dev/null @@ -1,121 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates PCRF Policy Server stack - -parameters: - pcrf_pps_server_names: - type: comma_delimited_list - label: PCRF PS server names - description: PCRF PS server names - pcrf_pps_image_name: - type: string - label: PCRF PS image name - description: PCRF PS image name - pcrf_pps_flavor_name: - type: string - label: PCRF PS flavor name - description: flavor name of PCRF PS instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ips: - type: comma_delimited_list - label: CPS network ips - description: CPS network ips - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - server_pcrf_pps_001: - type: nested-pps_v1.0.yaml - properties: - pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 0] } - pcrf_pps_image_name: { get_param: pcrf_pps_image_name } - pcrf_pps_flavor_name: { get_param: pcrf_pps_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 0] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_pps_002: - type: nested-pps_v1.0.yaml - properties: - pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 1] } - pcrf_pps_image_name: { get_param: pcrf_pps_image_name } - pcrf_pps_flavor_name: { get_param: pcrf_pps_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 1] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_pps_003: - type: nested-pps_v1.0.yaml - properties: - pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 2] } - pcrf_pps_image_name: { get_param: pcrf_pps_image_name } - pcrf_pps_flavor_name: { get_param: pcrf_pps_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 2] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_pps_004: - type: nested-pps_v1.0.yaml - properties: - pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 3] } - pcrf_pps_image_name: { get_param: pcrf_pps_image_name } - pcrf_pps_flavor_name: { get_param: pcrf_pps_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 3] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_pps_005: - type: nested-pps_v1.0.yaml - properties: - pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 4] } - pcrf_pps_image_name: { get_param: pcrf_pps_image_name } - pcrf_pps_flavor_name: { get_param: pcrf_pps_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 4] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_pps_006: - type: nested-pps_v1.0.yaml - properties: - pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 5] } - pcrf_pps_image_name: { get_param: pcrf_pps_image_name } - pcrf_pps_flavor_name: { get_param: pcrf_pps_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 5] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-psm_v1.0.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-psm_v1.0.env deleted file mode 100644 index 95e450ef0d..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-psm_v1.0.env +++ /dev/null @@ -1,10 +0,0 @@ -parameters: - pcrf_psm_server_names: ZRDM1PCRF01PSM001,ZRDM1PCRF01PSM002,ZRDM1PCRF01PSM003,ZRDM1PCRF01PSM004,ZRDM1PCRF01PSM005,ZRDM1PCRF01PSM006,ZRDM1PCRF01PSM007,ZRDM1PCRF01PSM008,ZRDM1PCRF01PSM009,ZRDM1PCRF01PSM010,ZRDM1PCRF01PSM011,ZRDM1PCRF01PSM012 - pcrf_psm_image_name: PCRF_8.995-ATTM1.0.3.qcow2 - pcrf_psm_flavor_name: lc.4xlarge4 - availabilityzone_name: nova - pcrf_cps_net_name: Mobisupport-25193-I-INT1_int_pcrf_net_0 - pcrf_cps_net_ips: 172.26.16.63,172.26.16.64,172.26.16.65,172.26.16.66,172.26.16.67,172.26.16.68,172.26.16.69,172.26.16.70,172.26.16.71,172.26.16.72,172.26.16.73,172.26.16.74 - pcrf_cps_net_mask: 255.255.255.0 - pcrf_security_group_name: nimbus_security_group - pcrf_vnf_id: 730797234b4a40aa99335157b02871cd diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-psm_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-psm_v1.0.yaml deleted file mode 100644 index 217b0fe33a..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-psm_v1.0.yaml +++ /dev/null @@ -1,199 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates PCRF Session Manager stack - -parameters: - pcrf_psm_server_names: - type: comma_delimited_list - label: PCRF SM server names - description: name of the PCRF SM instance - pcrf_psm_image_name: - type: string - label: PCRF SM image name - description: PCRF SM image name - pcrf_psm_flavor_name: - type: string - label: PCRF SM flavor name - description: flavor name of PCRF SM instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ips: - type: comma_delimited_list - label: CPS network ips - description: CPS network ips - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - server_pcrf_psm_001: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 0] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 0] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_002: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 1] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 1] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_003: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 2] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 2] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_004: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 3] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 3] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_005: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 4] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 4] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_006: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 5] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 5] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_007: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 6] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 6] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_008: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 7] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 7] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_009: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 8] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 8] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_010: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 9] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 9] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_011: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 10] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 10] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_012: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 11] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 11] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-swift-container_v1.0.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-swift-container_v1.0.env deleted file mode 100644 index 5267ee45ae..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-swift-container_v1.0.env +++ /dev/null @@ -1,3 +0,0 @@ -parameters: - pcrf_swift_container_name_1: PCRF_Config_Container_1 - pcrf_swift_container_purge_on_delete_flag_1: false diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-swift-container_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-swift-container_v1.0.yaml deleted file mode 100644 index ab427bb4c2..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/hot-nimbus-swift-container_v1.0.yaml +++ /dev/null @@ -1,30 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates PCRF Session Manager stack - -parameters: - pcrf_swift_container_name_1: - type: string - label: Swift Container name - description: Swift Container Name - pcrf_swift_container_purge_on_delete_flag_1: - type: boolean - label: Purge on Delete Flag - description: Purge on Delete Flag - -resources: - pcrf_swift_container_1: - type: OS::Swift::Container - properties: - name: { get_param: pcrf_swift_container_name_1 } - PurgeOnDelete: { get_param: pcrf_swift_container_purge_on_delete_flag_1 } - X-Container-Read: ".r:*" - -outputs: - pcrf_swift_container_id_1: - description: the pcrf_swift_container_1 id - value: { get_resource: pcrf_swift_container_1 } - pcrf_swift_container_url_1: - description: the pcrf_swift_container_1 url - value: { get_attr: [ pcrf_swift_container_1, WebsiteURL ] } - \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/mount_iso_script.sh b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/mount_iso_script.sh deleted file mode 100644 index 91df598dc2..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/mount_iso_script.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash - -#. .config -#following would be in the .config file - device_name="/dev/vde" - install_script="install_nimbus.sh" - enable_logic_flag_file=".flag" -#end of config file - -#get the semaphore, 0 - disbaled, 1- enabled -flag=$(cat ${enable_logic_flag_file}) - -#check if device is mounted already -test=$(mount | grep ${device_name}) -if [ "$flag" == "1" ]; then - if [ -e ${device_name} ] && [ ! "${test}" ]; then - #mount the iso image - mount -t iso9660 -v -o loop /dev/vde/ /mnt/iso - #if availabe run the install script (it contains the install.sh steps) - if [ -e "${install_script}" ] && [ -f "${install_script}" ]; then - ${install_script} - fi - #disable the script from attempting to - # mount and run install again until needed; - echo "0" > ${enable_logic_flag_file} - #if nedeed add step to comment out the crontab line here; - fi -else - echo "Auto mounting ISO & run install logic disabled!" -fi - -#cron job -# * * * * * /mount_iso_script.sh - diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/nested-oam_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/nested-oam_v1.0.yaml deleted file mode 100644 index fa3b04e7d3..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/nested-oam_v1.0.yaml +++ /dev/null @@ -1,156 +0,0 @@ -heat_template_version: 2013-05-23 - -description: nested heat template that creates a PCRF OAM node stack - -parameters: - pcrf_oam_server_name: - type: string - label: PCRF OAM server name - description: PCRF OAM server name - pcrf_oam_image_name: - type: string - label: image name - description: PCRF OAM image name - pcrf_oam_flavor_name: - type: string - label: PCRF OAM flavor name - description: flavor name of PCRF OAM instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ip: - type: string - label: CPS network ip - description: CPS network ip - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_arbiter_vip: - type: string - label: OAM Arbiter LB VIP - description: OAM Arbiter LB VIP - pcrf_oam_net_name: - type: string - label: OAM network name - description: OAM network name - pcrf_oam_net_ip: - type: string - label: OAM network ip - description: OAM network ip - pcrf_oam_net_gw: - type: string - label: CPS network gateway - description: CPS network gateway - pcrf_oam_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_oam_volume_id: - type: string - label: CPS OAM Cinder Volume - description: CPS OAM Cinder Volume - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - network: - type: OS::Heat::CloudConfig - properties: - cloud_config: - write_files: - - path: /etc/sysconfig/network-scripts/ifcfg-eth0 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth0 - $ip: { get_param: pcrf_cps_net_ip } - $netmask: { get_param: pcrf_cps_net_mask } - - path: /etc/sysconfig/network-scripts/ifcfg-eth1 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet-gw } - params: - $dev: eth1 - $ip: { get_param: pcrf_oam_net_ip } - $netmask: { get_param: pcrf_oam_net_mask } - $gateway: { get_param: pcrf_oam_net_gw } - runcmd: - - ifdown eth0 && ifup eth0 - - ifdown eth1 && ifup eth1 - script_init: - type: OS::Heat::SoftwareConfig - properties: - group: ungrouped - config: - str_replace: - template: { get_file: cloud-nimbus.sh } - params: - $vm_name: { get_param: pcrf_oam_server_name } - pcrf_server_init: - type: OS::Heat::MultipartMime - properties: - parts: - - config: { get_resource: network} - - config: { get_resource: script_init} - - pcrf_server_oam: - type: OS::Nova::Server - properties: - config_drive: "True" - name: { get_param: pcrf_oam_server_name } - image: { get_param: pcrf_oam_image_name } - flavor: { get_param: pcrf_oam_flavor_name } - availability_zone: { get_param: availabilityzone_name } - networks: - - port: { get_resource: pcrf_oam_port_0} - - port: { get_resource: pcrf_oam_port_1} - user_data_format: RAW - user_data: - get_resource: pcrf_server_init - metadata: - vnf_id: {get_param: pcrf_vnf_id} - - pcrf_oam_port_0: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_cps_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_cps_net_ip } - allowed_address_pairs: - - ip_address: { get_param: pcrf_arbiter_vip } - security_groups: [{ get_param: pcrf_security_group_name }] - - pcrf_oam_port_1: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_oam_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_oam_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - - pcrf_oam_vol_attachment: - type: OS::Cinder::VolumeAttachment - properties: - volume_id: { get_param: pcrf_oam_volume_id } - mountpoint: /dev/vdd - instance_uuid: { get_resource: pcrf_server_oam } - -outputs: - pcrf_oam_vol_attachment_id: - description: the pcrf_oam_vol_attachment_id id - value: { get_resource: pcrf_oam_vol_attachment } diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/nested-pcm_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/nested-pcm_v1.0.yaml deleted file mode 100644 index a3129bb0b9..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/nested-pcm_v1.0.yaml +++ /dev/null @@ -1,150 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates PCRF Cluman stack - -parameters: - pcrf_pcm_server_name: - type: string - label: PCRF CM server name - description: PCRF CM server name - pcrf_pcm_image_name: - type: string - label: image name - description: PCRF CM image name - pcrf_pcm_flavor_name: - type: string - label: PCRF CM flavor name - description: flavor name of PCRF CM instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ip: - type: string - label: CPS network ip - description: CPS network ip - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_oam_net_name: - type: string - label: OAM network name - description: OAM network name - pcrf_oam_net_ip: - type: string - label: OAM network ip - description: OAM network ip - pcrf_oam_net_gw: - type: string - label: CPS network gateway - description: CPS network gateway - pcrf_oam_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_pcm_volume_id: - type: string - label: CPS Cluman Cinder Volume - description: CPS Cluman Cinder Volume - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - network: - type: OS::Heat::CloudConfig - properties: - cloud_config: - write_files: - - path: /etc/sysconfig/network-scripts/ifcfg-eth0 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth0 - $ip: { get_param: pcrf_cps_net_ip } - $netmask: { get_param: pcrf_cps_net_mask } - - path: /etc/sysconfig/network-scripts/ifcfg-eth1 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet-gw } - params: - $dev: eth1 - $ip: { get_param: pcrf_oam_net_ip } - $netmask: { get_param: pcrf_oam_net_mask } - $gateway: { get_param: pcrf_oam_net_gw } - runcmd: - - ifdown eth0 && ifup eth0 - - ifdown eth1 && ifup eth1 - script_init: - type: OS::Heat::SoftwareConfig - properties: - group: ungrouped - config: - str_replace: - template: { get_file: cloud-nimbus.sh } - params: - $vm_name: { get_param: pcrf_pcm_server_name } - pcrf_server_init: - type: OS::Heat::MultipartMime - properties: - parts: - - config: { get_resource: network} - - config: { get_resource: script_init} - - pcrf_server_pcm: - type: OS::Nova::Server - properties: - config_drive: "True" - name: { get_param: pcrf_pcm_server_name } - image: { get_param: pcrf_pcm_image_name } - flavor: { get_param: pcrf_pcm_flavor_name } - availability_zone: { get_param: availabilityzone_name } - networks: - - port: { get_resource: pcrf_pcm_port_0} - - port: { get_resource: pcrf_pcm_port_1} - user_data_format: RAW - user_data: - get_resource: pcrf_server_init - metadata: - vnf_id: {get_param: pcrf_vnf_id} - - pcrf_pcm_port_0: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_cps_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_cps_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - - pcrf_pcm_port_1: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_oam_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_oam_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - - volume_attachment: - type: OS::Cinder::VolumeAttachment - properties: - volume_id: { get_param: pcrf_pcm_volume_id } - mountpoint: /dev/vdd - instance_uuid: { get_resource: pcrf_server_pcm } - -outputs: - pcrf_server_pcm_id: - description: the pcm server id - value: { get_resource: pcrf_server_pcm } \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/nested-ppd_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/nested-ppd_v1.0.yaml deleted file mode 100644 index 169522b64c..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/nested-ppd_v1.0.yaml +++ /dev/null @@ -1,333 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates PCRF Policy Director stack - -parameters: - pcrf_ppd_server_name: - type: string - label: PCRF PD server name - description: PCRF PD server name - pcrf_ppd_image_name: - type: string - label: image name - description: PCRF PD image name - pcrf_ppd_flavor_name: - type: string - label: PCRF PD flavor name - description: flavor name of PCRF PD instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ip: - type: string - label: CPS network ip - description: CPS network ip - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_lb_internal_vip: - type: string - label: CPS Internal LB VIP - description: CPS Internal LB VIP - pcrf_oam_net_name: - type: string - label: OAM network name - description: OAM network name - pcrf_oam_net_ip: - type: string - label: OAM network ip - description: OAM network ip - pcrf_oam_net_gw: - type: string - label: CPS network gateway - description: CPS network gateway - pcrf_oam_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_lb_management_vip: - type: string - label: CPS OAM LB VIP - description: CPS OAM LB VIP - pcrf_gx_net_name: - type: string - label: Gx network name - description: Gx network name - pcrf_gx_net_ip: - type: string - label: Gx network ip - description: Gx network ip - pcrf_gx_net_mask: - type: string - label: Gx network mask - description: Gx network mask - pcrf_sp_net_name: - type: string - label: Sp network name - description: Sp network name - pcrf_sp_net_ip: - type: string - label: Sp network ip - description: Sp network ip - pcrf_sp_net_mask: - type: string - label: Sp network mask - description: Sp network mask - pcrf_sy_net_name: - type: string - label: Sy network name - description: Sy network name - pcrf_sy_net_ip: - type: string - label: Sy network ip - description: Sy network ip - pcrf_sy_net_mask: - type: string - label: Sy network mask - description: Sy network mask - pcrf_rx_net_name: - type: string - label: Rx network name - description: Rx network name - pcrf_rx_net_ip: - type: string - label: Rx network ip - description: Rx network ip - pcrf_rx_net_mask: - type: string - label: Rx network mask - description: Rx network mask - pcrf_sd_net_name: - type: string - label: Sd network name - description: Sd network name - pcrf_sd_net_ip: - type: string - label: Sd network ip - description: Sd network ip - pcrf_sd_net_mask: - type: string - label: Sd network mask - description: Sd network mask - pcrf_sgi_sy_net_name: - type: string - label: Sgi Sy network name - description: Sgi Sy network name - pcrf_sgi_sy_net_ip: - type: string - label: Sgi Sy network ip - description: Sgi Sy network ip - pcrf_sgi_sy_net_mask: - type: string - label: Sgi Sy network mask - description: Sgi Sy network mask - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - network: - type: OS::Heat::CloudConfig - properties: - cloud_config: - write_files: - - path: /etc/sysconfig/network-scripts/ifcfg-eth0 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth0 - $ip: { get_param: pcrf_cps_net_ip } - $netmask: { get_param: pcrf_cps_net_mask } - - path: /etc/sysconfig/network-scripts/ifcfg-eth1 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet-gw } - params: - $dev: eth1 - $ip: { get_param: pcrf_oam_net_ip } - $netmask: { get_param: pcrf_oam_net_mask } - $gateway: { get_param: pcrf_oam_net_gw } - - path: /etc/sysconfig/network-scripts/ifcfg-eth2 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth2 - $ip: { get_param: pcrf_gx_net_ip } - $netmask: { get_param: pcrf_gx_net_mask } - - path: /etc/sysconfig/network-scripts/ifcfg-eth3 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth3 - $ip: { get_param: pcrf_sp_net_ip } - $netmask: { get_param: pcrf_sp_net_mask } - - path: /etc/sysconfig/network-scripts/ifcfg-eth4 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth4 - $ip: { get_param: pcrf_sy_net_ip } - $netmask: { get_param: pcrf_sy_net_mask } - - path: /etc/sysconfig/network-scripts/ifcfg-eth5 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth5 - $ip: { get_param: pcrf_rx_net_ip } - $netmask: { get_param: pcrf_rx_net_mask } - - path: /etc/sysconfig/network-scripts/ifcfg-eth6 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth6 - $ip: { get_param: pcrf_sd_net_ip } - $netmask: { get_param: pcrf_sd_net_mask } - - path: /etc/sysconfig/network-scripts/ifcfg-eth7 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth7 - $ip: { get_param: pcrf_sgi_sy_net_ip } - $netmask: { get_param: pcrf_sgi_sy_net_mask } - runcmd: - - ifdown eth0 && ifup eth0 - - ifdown eth1 && ifup eth1 - - ifdown eth2 && ifup eth2 - - ifdown eth3 && ifup eth3 - - ifdown eth4 && ifup eth4 - - ifdown eth5 && ifup eth5 - - ifdown eth6 && ifup eth6 - - ifdown eth7 && ifup eth7 - script_init: - type: OS::Heat::SoftwareConfig - properties: - group: ungrouped - config: - str_replace: - template: { get_file: cloud-nimbus.sh } - params: - $vm_name: { get_param: pcrf_ppd_server_name } - pcrf_server_init: - type: OS::Heat::MultipartMime - properties: - parts: - - config: { get_resource: network} - - config: { get_resource: script_init} - - pcrf_server_ppd: - type: OS::Nova::Server - properties: - config_drive: "True" - name: { get_param: pcrf_ppd_server_name } - image: { get_param: pcrf_ppd_image_name } - flavor: { get_param: pcrf_ppd_flavor_name } - availability_zone: { get_param: availabilityzone_name } - networks: - - port: { get_resource: pcrf_ppd_port_0} - - port: { get_resource: pcrf_ppd_port_1} - - port: { get_resource: pcrf_ppd_port_2} - - port: { get_resource: pcrf_ppd_port_3} - - port: { get_resource: pcrf_ppd_port_4} - - port: { get_resource: pcrf_ppd_port_5} - - port: { get_resource: pcrf_ppd_port_6} - - port: { get_resource: pcrf_ppd_port_7} - user_data_format: RAW - user_data: - get_resource: pcrf_server_init - metadata: - vnf_id: {get_param: pcrf_vnf_id} - - pcrf_ppd_port_0: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_cps_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_cps_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - allowed_address_pairs: - - ip_address: { get_param: pcrf_lb_internal_vip } - - pcrf_ppd_port_1: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_oam_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_oam_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - allowed_address_pairs: - - ip_address: { get_param: pcrf_lb_management_vip } - - pcrf_ppd_port_2: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_gx_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_gx_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - - pcrf_ppd_port_3: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_sp_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_sp_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - - pcrf_ppd_port_4: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_sy_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_sy_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - - pcrf_ppd_port_5: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_rx_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_rx_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - - pcrf_ppd_port_6: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_sd_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_sd_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - - pcrf_ppd_port_7: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_sgi_sy_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_sgi_sy_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/nested-pps_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/nested-pps_v1.0.yaml deleted file mode 100644 index 8cb6e1587c..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/nested-pps_v1.0.yaml +++ /dev/null @@ -1,99 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates PCRF Policy Server stack - -parameters: - pcrf_pps_server_name: - type: string - label: PCRF PS server name - description: PCRF PS server name - pcrf_pps_image_name: - type: string - label: PCRF PS image name - description: PCRF PS image name - pcrf_pps_flavor_name: - type: string - label: PCRF PS flavor name - description: flavor name of PCRF PS instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ip: - type: string - label: CPS network ip - description: CPS network ip - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - script_init: - type: OS::Heat::SoftwareConfig - properties: - group: ungrouped - config: - str_replace: - template: { get_file: cloud-nimbus.sh } - params: - $vm_name: { get_param: pcrf_pps_server_name } - network: - type: OS::Heat::CloudConfig - properties: - cloud_config: - write_files: - - path: /etc/sysconfig/network-scripts/ifcfg-eth0 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth0 - $ip: { get_param: pcrf_cps_net_ip } - $netmask: { get_param: pcrf_cps_net_mask } - runcmd: - - ifdown eth0 && ifup eth0 - - pcrf_server_init: - type: OS::Heat::MultipartMime - properties: - parts: - - config: { get_resource: network} - - config: { get_resource: script_init} - - pcrf_server_pps: - type: OS::Nova::Server - properties: - config_drive: "True" - name: { get_param: pcrf_pps_server_name } - image: { get_param: pcrf_pps_image_name } - flavor: { get_param: pcrf_pps_flavor_name } - availability_zone: { get_param: availabilityzone_name } - networks: - - port: { get_resource: pcrf_pps_port_0} - user_data_format: RAW - user_data: - get_resource: pcrf_server_init - metadata: - vnf_id: {get_param: pcrf_vnf_id} - - pcrf_pps_port_0: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_cps_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_cps_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/nested-psm_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/nested-psm_v1.0.yaml deleted file mode 100644 index 64c7484405..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/nested-psm_v1.0.yaml +++ /dev/null @@ -1,99 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates PCRF Session Manager stack - -parameters: - pcrf_psm_server_name: - type: string - label: PCRF SM server name - description: PCRF SM server name - pcrf_psm_image_name: - type: string - label: image name - description: PCRF SM image name - pcrf_psm_flavor_name: - type: string - label: PCRF SM flavor name - description: flavor name of PCRF SM instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ip: - type: string - label: CPS network ip - description: CPS network ip - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - network: - type: OS::Heat::CloudConfig - properties: - cloud_config: - write_files: - - path: /etc/sysconfig/network-scripts/ifcfg-eth0 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth0 - $ip: { get_param: pcrf_cps_net_ip } - $netmask: { get_param: pcrf_cps_net_mask } - runcmd: - - ifdown eth0 && ifup eth0 - script_init: - type: OS::Heat::SoftwareConfig - properties: - group: ungrouped - config: - str_replace: - template: { get_file: cloud-nimbus.sh } - params: - $vm_name: { get_param: pcrf_psm_server_name } - pcrf_server_init: - type: OS::Heat::MultipartMime - properties: - parts: - - config: { get_resource: network} - - config: { get_resource: script_init} - - pcrf_server_psm: - type: OS::Nova::Server - properties: - config_drive: "True" - name: { get_param: pcrf_psm_server_name } - image: { get_param: pcrf_psm_image_name } - flavor: { get_param: pcrf_psm_flavor_name } - availability_zone: { get_param: availabilityzone_name } - networks: - - port: { get_resource: psm01_port_0} - user_data_format: RAW - user_data: - get_resource: pcrf_server_init - metadata: - vnf_id: {get_param: pcrf_vnf_id} - #scheduler_hints: {group: { get_resource: servergroup_nimbus }} - - psm01_port_0: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_cps_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_cps_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/vnf-module-artifact.json b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/vnf-module-artifact.json deleted file mode 100644 index 50fb1b7f18..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/artifacts/vnf-module-artifact.json +++ /dev/null @@ -1,20 +0,0 @@ -[ - { - "vfModuleModelName": "VF_RI2_G6_withArtifacts::module-1", - "vfModuleModelInvariantUUID": "585822c7-4027-4f84-ba50-e9248606f132", - "vfModuleModelVersion": "1.0", - "vfModuleModelUUID": "1e34774e-715e-4fd5-bd08-7b654622f33e.VF_RI2_G6_withArtifacts::module-1.group", - "vfModuleModelDescription": "vf Module Description", - "vfModuleModelCustomizationUUID": "585822c7-4027-4f84-ba50-e9248606f132", - "isBase": true, - "artifacts": [ - "Artifact-UUID1", - "EnvArtifact-UUID2", - "NestedArtifact-UUID3", - "ScriptArtifact-UUID1", - "VolumeArtifact-UUID1", - "VolumeEnvArtifact-UUID1" - ], - "properties": {"test":"test"} - } -] \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/notif-structure.json b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/notif-structure.json deleted file mode 100644 index c5c6f92a73..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V3/notif-structure.json +++ /dev/null @@ -1,117 +0,0 @@ -{ - "serviceName": "test-service", - "serviceInvariantUUID": "585822c7-4027-4f84-ba50-e9248606f133", - "serviceUUID": "1e34774e-715e-4fd5-bd09-7b654622f34g", - "serviceVersion": "3.0", - "serviceArtifacts": - [ - - ], - - "resources": - [ - { - "resourceInstanceName": "resource-1", - "resourceInvariantUUID": "585822c7-4027-4f84-ba50-e9248606f134", - "resourceName": "resourceName-1", - "resourceType": "VF", - "resourceUUID": "585822c7-4027-4f84-ba50-e9248606f136", - "resourceVersion": "2.0", - "category": "category", - "artifacts": - [ - { - "artifactChecksum": "CheckSum", - "artifactDescription": "Meta data for VFModule", - "artifactName": "vnf-module-artifact.json", - - "artifactType": "VF_MODULES_METADATA", - "artifactURL": "vnf-module-artifact.json", - "artifactUUID": "VfArtifact-UUID2", - "artifactVersion": "1.0" - - }, - { - "artifactChecksum": "CheckSum", - "artifactDescription": "Nimbus Heat OAM", - "artifactName": "hot-nimbus-oam_v1.0.yaml", - "artifactTimeout": 100, - "artifactType": "HEAT", - "artifactURL": "hot-nimbus-oam_v1.0.yaml", - "artifactUUID": "Artifact-UUID1", - "artifactVersion": "1.0", - "generatedArtifact": "EnvArtifact-UUID2", - "relatedArtifact": - [ - "NestedArtifact-UUID3", - "ScriptArtifact-UUID1" - ] - }, - - { - "artifactChecksum": "CheckSum", - "artifactDescription": "Nimbus Heat ENV OAM", - "artifactName": "hot-nimbus-oam_v1.0.env", - - "artifactType": "HEAT_ENV", - "artifactURL": "hot-nimbus-oam_v1.0.env", - "artifactUUID": "EnvArtifact-UUID2", - "artifactVersion": "1.0" - - }, - - { - "artifactChecksum": "CheckSum", - "artifactDescription": "Nested OAM", - "artifactName": "nested-oam_v1.0.yaml", - "artifactTimeout": 10, - "artifactType": "HEAT_NESTED", - "artifactURL": "nested-oam_v1.0.yaml", - "artifactUUID": "NestedArtifact-UUID3", - "artifactVersion": "1.0" - - }, - - { - "artifactChecksum": "CheckSum", - "artifactDescription": "Script for OAM", - "artifactName": "mount_iso_script.sh", - - "artifactType": "HEAT_ARTIFACT", - "artifactURL": "mount_iso_script.sh", - "artifactUUID": "ScriptArtifact-UUID1", - "artifactVersion": "1.0" - - }, - - { - "artifactChecksum": "CheckSum", - "artifactDescription": "Heat Vol for OAM", - "artifactName": "hot-nimbus-oam-volumes_v1.0.yaml", - "artifactTimeout": 10, - "artifactType": "HEAT_VOL", - "artifactURL": "hot-nimbus-oam-volumes_v1.0.yaml", - "artifactUUID": "VolumeArtifact-UUID1", - "artifactVersion": "1.0", - "generatedArtifact": "VolumeEnvArtifact-UUID1" - - }, - - { - "artifactChecksum": "CheckSum", - "artifactDescription": "Heat Env Vol for OAM", - "artifactName": "hot-nimbus-oam-volumes_v1.0.env", - - "artifactType": "HEAT_ENV", - "artifactURL": "hot-nimbus-oam-volumes_v1.0.env", - "artifactUUID": "VolumeEnvArtifact-UUID1", - "artifactVersion": "1.0" - - } - ] - } - ], - - "serviceDescription": "test service for unit testing", - "distributionID": "35120a87-1f82-4276-9735-f6de5a244d65" -} \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/cloud-nimbus.sh b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/cloud-nimbus.sh deleted file mode 100644 index 48485f3bf6..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/cloud-nimbus.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash -echo "Running first-boot script" -FLAG="first-boot.sh" -echo "First boot run" > ${FLAG} -echo "$vm_name" >> ${FLAG} -touch /var/lib/cloud/instance/payload/launch-params -chmod 644 /var/lib/cloud/instance/payload/launch-params -#for i in $(ls /sys/class/net); do -# echo "Restart $i" >> ${FLAG} -# ifdown ${i} -# ifup ${i} -#done diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-oam-volumes_v1.0.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-oam-volumes_v1.0.env deleted file mode 100644 index b494d8c270..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-oam-volumes_v1.0.env +++ /dev/null @@ -1,6 +0,0 @@ -parameters: - pcrf_oam_vol_size: 500 - pcrf_oam_volume_silver-1: Silver - pcrf_oam_volume_silver-2: Silver - pcrf_oam_vol_name_1: sde1-pcrfx01-oam001-vol-1 - pcrf_oam_vol_name_2: sde1-pcrfx01-oam001-vol-2 \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-oam-volumes_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-oam-volumes_v1.0.yaml deleted file mode 100644 index 9e120547b4..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-oam-volumes_v1.0.yaml +++ /dev/null @@ -1,45 +0,0 @@ -heat_template_version: 2013-05-23 - -parameters: - pcrf_oam_vol_size: - type: number - label: Cinder volume size - description: the size of the Cinder volume - pcrf_oam_vol_name_1: - type: string - label: OAM volume name 1 - description: Assigning name to volume - pcrf_oam_vol_name_2: - type: string - label: OAM volume name 2 - description: Assigning name to volume - pcrf_oam_volume_silver-1: - type: string - label: vm volume type - description: the name of the target volume backend for OAM1 - pcrf_oam_volume_silver-2: - type: string - label: vm volume type - description: the name of the target volume backend for OAM2 - -resources: - pcrf_oam_volume_1: - type: OS::Cinder::Volume - properties: - size: {get_param: pcrf_oam_vol_size} - volume_type: {get_param: pcrf_oam_volume_silver-1} - name: {get_param: pcrf_oam_vol_name_1} - - pcrf_oam_volume_2: - type: OS::Cinder::Volume - properties: - size: {get_param: pcrf_oam_vol_size} - volume_type: {get_param: pcrf_oam_volume_silver-2} - name: {get_param: pcrf_oam_vol_name_2} -outputs: - pcrf_oam_volume_id_1: - description: the oam 001 volume id - value: { get_resource: pcrf_oam_volume_1 } - pcrf_oam_volume_id_2: - description: the oam 002 volume id - value: { get_resource: pcrf_oam_volume_2 } \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-oam_v1.0.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-oam_v1.0.env deleted file mode 100644 index 7e51e674ab..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-oam_v1.0.env +++ /dev/null @@ -1,18 +0,0 @@ -parameters: - pcrf_oam_server_names: ZRDM1PCRF01OAM001,ZRDM1PCRF01OAM002 - pcrf_oam_image_name: PCRF_8.995-ATTM1.0.3.qcow2 - pcrf_oam_flavor_name: lc.4xlarge4 - availabilityzone_name: nova - pcrf_cps_net_name: Mobisupport-25193-I-INT1_int_pcrf_net_0 - pcrf_cps_net_ips: 172.26.16.111,172.26.16.112 - pcrf_arbiter_vip: 172.26.16.115 - pcrf_cps_net_mask: 255.255.255.0 - pcrf_oam_net_name: MNS-25180-L-01_oam_protected_net_0 - pcrf_oam_net_ips: 107.239.64.117,107.239.64.118 - pcrf_oam_net_gw: 107.239.64.1 - pcrf_oam_net_mask: 255.255.248.0 - pcrf_oam_volume_id_1: a4aa05fb-fcdc-457b-8077-6845fdfc3257 - pcrf_oam_volume_id_2: 93d8fc1f-f1c3-4933-86b2-039881ee910f - pcrf_security_group_name: nimbus_security_group - pcrf_vnf_id: 730797234b4a40aa99335157b02871cd - diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-oam_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-oam_v1.0.yaml deleted file mode 100644 index 98c4e3bcbf..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-oam_v1.0.yaml +++ /dev/null @@ -1,109 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates multiple PCRF OAM nodes stack - -parameters: - pcrf_oam_server_names: - type: comma_delimited_list - label: PCRF OAM server names - description: name of the PCRF OAM instance - pcrf_oam_image_name: - type: string - label: PCRF OAM image name - description: PCRF OAM image name - pcrf_oam_flavor_name: - type: string - label: PCRF OAM flavor name - description: flavor name of PCRF OAM instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ips: - type: comma_delimited_list - label: CPS network ips - description: CPS network ips - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_arbiter_vip: - type: string - label: OAM Arbiter LB VIP - description: OAM Arbiter LB VIP - pcrf_oam_net_name: - type: string - label: OAM network name - description: OAM network name - pcrf_oam_net_ips: - type: comma_delimited_list - label: OAM network ips - description: OAM network ips - pcrf_oam_net_gw: - type: string - label: CPS network gateway - description: CPS network gateway - pcrf_oam_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_oam_volume_id_1: - type: string - label: CPS OAM 001 Cinder Volume - description: CPS OAM 001 Cinder Volumes - pcrf_oam_volume_id_2: - type: string - label: CPS OAM 002 Cinder Volume - description: CPS OAM 002 Cinder Volumes - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - server_pcrf_oam_001: - type: nested-oam_v1.0.yaml - properties: - pcrf_oam_server_name: { get_param: [pcrf_oam_server_names, 0] } - pcrf_oam_image_name: { get_param: pcrf_oam_image_name } - pcrf_oam_flavor_name: { get_param: pcrf_oam_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_oam_volume_id: { get_param: pcrf_oam_volume_id_1 } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 0] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_oam_net_name: { get_param: pcrf_oam_net_name } - pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 0] } - pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask } - pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw } - pcrf_arbiter_vip: { get_param: pcrf_arbiter_vip } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_oam_002: - type: nested-oam_v1.0.yaml - depends_on: [server_pcrf_oam_001] - properties: - pcrf_oam_server_name: { get_param: [pcrf_oam_server_names, 1] } - pcrf_oam_image_name: { get_param: pcrf_oam_image_name } - pcrf_oam_flavor_name: { get_param: pcrf_oam_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_oam_volume_id: { get_param: pcrf_oam_volume_id_2 } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 1] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_oam_net_name: { get_param: pcrf_oam_net_name } - pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 1] } - pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask } - pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw } - pcrf_arbiter_vip: { get_param: pcrf_arbiter_vip } - pcrf_vnf_id: {get_param: pcrf_vnf_id} diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-pcm-volumes_v1.0.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-pcm-volumes_v1.0.env deleted file mode 100644 index 788365dcd3..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-pcm-volumes_v1.0.env +++ /dev/null @@ -1,4 +0,0 @@ -parameters: - pcrf_pcm_vol_size: 50 - pcrf_pcm_volume_silver: Silver - pcrf_pcm_vol_name_1: sde1-pcrfx01-pcm001-vol-1 diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-pcm-volumes_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-pcm-volumes_v1.0.yaml deleted file mode 100644 index bcc3e89f71..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-pcm-volumes_v1.0.yaml +++ /dev/null @@ -1,28 +0,0 @@ -heat_template_version: 2013-05-23 - -parameters: - pcrf_pcm_vol_size: - type: number - label: Cinder volume size - description: the size of the Cinder volume - pcrf_pcm_vol_name_1: - type: string - label: PCM volume name - description: Assigning name to volume - pcrf_pcm_volume_silver: - type: string - label: vm volume type - description: the name of the target volume backend for PCM - -resources: - pcrf_pcm_volume_1: - type: OS::Cinder::Volume - properties: - size: { get_param: pcrf_pcm_vol_size } - volume_type: { get_param: pcrf_pcm_volume_silver } - name: { get_param: pcrf_pcm_vol_name_1 } - -outputs: - pcrf_pcm_volume_id_1: - description: the pcrf_pcm_volume_id - value: { get_resource: pcrf_pcm_volume_1 } \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-pcm_v1.0.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-pcm_v1.0.env deleted file mode 100644 index b23014d92f..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-pcm_v1.0.env +++ /dev/null @@ -1,16 +0,0 @@ -parameters: - pcrf_pcm_server_names: ZRDM1PCRF01PCM001 - pcrf_pcm_image_name: PCRF_8.995-ATTM1.0.3.qcow2 - pcrf_pcm_flavor_name: lc.2xlarge4 - availabilityzone_name: nova - pcrf_cps_net_name: Mobisupport-25193-I-INT1_int_pcrf_net_0 - pcrf_cps_net_ips: 172.26.16.113 - pcrf_cps_net_mask: 255.255.255.0 - pcrf_oam_net_name: MNS-25180-L-01_oam_protected_net_0 - pcrf_oam_net_ips: 107.239.64.121 - pcrf_oam_net_gw: 107.239.64.1 - pcrf_oam_net_mask: 255.255.248.0 - pcrf_pcm_volume_id_1: 3438a3fe-1241-4390-80f2-d0b86238c40e - pcrf_security_group_name: nimbus_security_group - pcrf_vnf_id: 730797234b4a40aa99335157b02871cd - diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-pcm_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-pcm_v1.0.yaml deleted file mode 100644 index defb373a4f..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-pcm_v1.0.yaml +++ /dev/null @@ -1,80 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates PCRF Cluman stack - -parameters: - pcrf_pcm_server_names: - type: comma_delimited_list - label: PCRF CM server names - description: name of the PCRF CM instance - pcrf_pcm_image_name: - type: string - label: PCRF CM image name - description: PCRF CM image name - pcrf_pcm_flavor_name: - type: string - label: PCRF CM flavor name - description: flavor name of PCRF CM instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ips: - type: comma_delimited_list - label: CPS network ips - description: CPS network ips - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_oam_net_name: - type: string - label: OAM network name - description: OAM network name - pcrf_oam_net_ips: - type: comma_delimited_list - label: OAM network ips - description: OAM network ips - pcrf_oam_net_gw: - type: string - label: CPS network gateway - description: CPS network gateway - pcrf_oam_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_pcm_volume_id_1: - type: string - label: CPS Cluman Cinder Volume - description: CPS Cluman Cinder Volume - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - server_pcrf_pcm_001: - type: nested-pcm_v1.0.yaml - properties: - pcrf_pcm_server_name: { get_param: [pcrf_pcm_server_names, 0] } - pcrf_pcm_image_name: { get_param: pcrf_pcm_image_name } - pcrf_pcm_flavor_name: { get_param: pcrf_pcm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_pcm_volume_id: { get_param: pcrf_pcm_volume_id_1 } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 0] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_oam_net_name: { get_param: pcrf_oam_net_name } - pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 0] } - pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask } - pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw } - pcrf_vnf_id: {get_param: pcrf_vnf_id} diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-ppd_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-ppd_v1.0.yaml deleted file mode 100644 index 8631592097..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-ppd_v1.0.yaml +++ /dev/null @@ -1,286 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates PCRF Policy Director stack - -parameters: - pcrf_ppd_server_names: - type: comma_delimited_list - label: PCRF PD server names - description: name of the PCRF PD instance - pcrf_ppd_image_name: - type: string - label: PCRF PD image name - description: PCRF PD image name - pcrf_ppd_flavor_name: - type: string - label: PCRF PD flavor name - description: flavor name of PCRF PD instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ips: - type: comma_delimited_list - label: CPS network ips - description: CPS network ips - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_lb_internal_vip: - type: string - label: CPS Internal LB VIP - description: CPS Internal LB VIP - pcrf_oam_net_name: - type: string - label: OAM network name - description: OAM network name - pcrf_oam_net_ips: - type: comma_delimited_list - label: OAM network ips - description: OAM network ips - pcrf_oam_net_gw: - type: string - label: CPS network gateway - description: CPS network gateway - pcrf_oam_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_lb_management_vip: - type: string - label: CPS OAM LB VIP - description: CPS OAM LB VIP - pcrf_gx_net_name: - type: string - label: Gx network name - description: Gx network name - pcrf_gx_net_ips: - type: comma_delimited_list - label: Gx network ips - description: Gx network ips - pcrf_gx_net_mask: - type: string - label: Gx network mask - description: Gx network mask - pcrf_sp_net_name: - type: string - label: Sp network name - description: Sp network name - pcrf_sp_net_ips: - type: comma_delimited_list - label: Sp network ips - description: Sp network ips - pcrf_sp_net_mask: - type: string - label: Sp network mask - description: Sp network mask - pcrf_sy_net_name: - type: string - label: Sy network name - description: Sy network name - pcrf_sy_net_ips: - type: comma_delimited_list - label: Sy network ips - description: Sy network ips - pcrf_sy_net_mask: - type: string - label: Sy network mask - description: Sy network mask - pcrf_rx_net_name: - type: string - label: Rx network name - description: Rx network name - pcrf_rx_net_ips: - type: comma_delimited_list - label: Rx network ips - description: Rx network ips - pcrf_rx_net_mask: - type: string - label: Rx network mask - description: Rx network mask - pcrf_sd_net_name: - type: string - label: Sd network name - description: Sd network name - pcrf_sd_net_ips: - type: comma_delimited_list - label: Sd network ips - description: Sd network ips - pcrf_sd_net_mask: - type: string - label: Sd network mask - description: Sd network mask - pcrf_sgi_sy_net_name: - type: string - label: Sgi Sy network name - description: Sgi Sy network name - pcrf_sgi_sy_net_ips: - type: comma_delimited_list - label: Sgi Sy network ips - description: Sgi Sy network ips - pcrf_sgi_sy_net_mask: - type: string - label: Sgi Sy network mask - description: Sgi Sy network mask - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - server_pcrf_ppd_001: - type: nested-ppd_v1.0.yaml - properties: - pcrf_ppd_server_name: { get_param: [pcrf_ppd_server_names, 0] } - pcrf_ppd_image_name: { get_param: pcrf_ppd_image_name } - pcrf_ppd_flavor_name: { get_param: pcrf_ppd_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 0] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_lb_internal_vip: { get_param: pcrf_lb_internal_vip } - pcrf_oam_net_name: { get_param: pcrf_oam_net_name } - pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 0] } - pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask } - pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw } - pcrf_lb_management_vip: { get_param: pcrf_lb_management_vip } - pcrf_gx_net_name: { get_param: pcrf_gx_net_name } - pcrf_gx_net_ip: { get_param: [pcrf_gx_net_ips, 0] } - pcrf_gx_net_mask: { get_param: pcrf_gx_net_mask } - pcrf_sp_net_name: { get_param: pcrf_sp_net_name } - pcrf_sp_net_ip: { get_param: [pcrf_sp_net_ips, 0] } - pcrf_sp_net_mask: { get_param: pcrf_sp_net_mask } - pcrf_sy_net_name: { get_param: pcrf_sy_net_name } - pcrf_sy_net_ip: { get_param: [pcrf_sy_net_ips, 0] } - pcrf_sy_net_mask: { get_param: pcrf_sy_net_mask } - pcrf_rx_net_name: { get_param: pcrf_rx_net_name } - pcrf_rx_net_ip: { get_param: [pcrf_rx_net_ips, 0] } - pcrf_rx_net_mask: { get_param: pcrf_rx_net_mask } - pcrf_sd_net_name: { get_param: pcrf_sd_net_name } - pcrf_sd_net_ip: { get_param: [pcrf_sd_net_ips, 0] } - pcrf_sd_net_mask: { get_param: pcrf_sd_net_mask } - pcrf_sgi_sy_net_name: { get_param: pcrf_sgi_sy_net_name } - pcrf_sgi_sy_net_ip: { get_param: [pcrf_sgi_sy_net_ips, 0] } - pcrf_sgi_sy_net_mask: { get_param: pcrf_sgi_sy_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_ppd_002: - type: nested-ppd_v1.0.yaml - properties: - pcrf_ppd_server_name: { get_param: [pcrf_ppd_server_names, 1] } - pcrf_ppd_image_name: { get_param: pcrf_ppd_image_name } - pcrf_ppd_flavor_name: { get_param: pcrf_ppd_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 1] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_lb_internal_vip: { get_param: pcrf_lb_internal_vip } - pcrf_oam_net_name: { get_param: pcrf_oam_net_name } - pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 1] } - pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask } - pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw } - pcrf_lb_management_vip: { get_param: pcrf_lb_management_vip } - pcrf_gx_net_name: { get_param: pcrf_gx_net_name } - pcrf_gx_net_ip: { get_param: [pcrf_gx_net_ips, 1] } - pcrf_gx_net_mask: { get_param: pcrf_gx_net_mask } - pcrf_sp_net_name: { get_param: pcrf_sp_net_name } - pcrf_sp_net_ip: { get_param: [pcrf_sp_net_ips, 1] } - pcrf_sp_net_mask: { get_param: pcrf_sp_net_mask } - pcrf_sy_net_name: { get_param: pcrf_sy_net_name } - pcrf_sy_net_ip: { get_param: [pcrf_sy_net_ips, 1] } - pcrf_sy_net_mask: { get_param: pcrf_sy_net_mask } - pcrf_rx_net_name: { get_param: pcrf_rx_net_name } - pcrf_rx_net_ip: { get_param: [pcrf_rx_net_ips, 1] } - pcrf_rx_net_mask: { get_param: pcrf_rx_net_mask } - pcrf_sd_net_name: { get_param: pcrf_sd_net_name } - pcrf_sd_net_ip: { get_param: [pcrf_sd_net_ips, 1] } - pcrf_sd_net_mask: { get_param: pcrf_sd_net_mask } - pcrf_sgi_sy_net_name: { get_param: pcrf_sgi_sy_net_name } - pcrf_sgi_sy_net_ip: { get_param: [pcrf_sgi_sy_net_ips, 1] } - pcrf_sgi_sy_net_mask: { get_param: pcrf_sgi_sy_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_ppd_003: - type: nested-ppd_v1.0.yaml - properties: - pcrf_ppd_server_name: { get_param: [pcrf_ppd_server_names, 2] } - pcrf_ppd_image_name: { get_param: pcrf_ppd_image_name } - pcrf_ppd_flavor_name: { get_param: pcrf_ppd_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 2] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_lb_internal_vip: { get_param: pcrf_lb_internal_vip } - pcrf_oam_net_name: { get_param: pcrf_oam_net_name } - pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 2] } - pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask } - pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw } - pcrf_lb_management_vip: { get_param: pcrf_lb_management_vip } - pcrf_gx_net_name: { get_param: pcrf_gx_net_name } - pcrf_gx_net_ip: { get_param: [pcrf_gx_net_ips, 2] } - pcrf_gx_net_mask: { get_param: pcrf_gx_net_mask } - pcrf_sp_net_name: { get_param: pcrf_sp_net_name } - pcrf_sp_net_ip: { get_param: [pcrf_sp_net_ips, 2] } - pcrf_sp_net_mask: { get_param: pcrf_sp_net_mask } - pcrf_sy_net_name: { get_param: pcrf_sy_net_name } - pcrf_sy_net_ip: { get_param: [pcrf_sy_net_ips, 2] } - pcrf_sy_net_mask: { get_param: pcrf_sy_net_mask } - pcrf_rx_net_name: { get_param: pcrf_rx_net_name } - pcrf_rx_net_ip: { get_param: [pcrf_rx_net_ips, 2] } - pcrf_rx_net_mask: { get_param: pcrf_rx_net_mask } - pcrf_sd_net_name: { get_param: pcrf_sd_net_name } - pcrf_sd_net_ip: { get_param: [pcrf_sd_net_ips, 2] } - pcrf_sd_net_mask: { get_param: pcrf_sd_net_mask } - pcrf_sgi_sy_net_name: { get_param: pcrf_sgi_sy_net_name } - pcrf_sgi_sy_net_ip: { get_param: [pcrf_sgi_sy_net_ips, 2] } - pcrf_sgi_sy_net_mask: { get_param: pcrf_sgi_sy_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_ppd_004: - type: nested-ppd_v1.0.yaml - properties: - pcrf_ppd_server_name: { get_param: [pcrf_ppd_server_names, 3] } - pcrf_ppd_image_name: { get_param: pcrf_ppd_image_name } - pcrf_ppd_flavor_name: { get_param: pcrf_ppd_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 3] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_lb_internal_vip: { get_param: pcrf_lb_internal_vip } - pcrf_oam_net_name: { get_param: pcrf_oam_net_name } - pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 3] } - pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask } - pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw } - pcrf_lb_management_vip: { get_param: pcrf_lb_management_vip } - pcrf_gx_net_name: { get_param: pcrf_gx_net_name } - pcrf_gx_net_ip: { get_param: [pcrf_gx_net_ips, 3] } - pcrf_gx_net_mask: { get_param: pcrf_gx_net_mask } - pcrf_sp_net_name: { get_param: pcrf_sp_net_name } - pcrf_sp_net_ip: { get_param: [pcrf_sp_net_ips, 3] } - pcrf_sp_net_mask: { get_param: pcrf_sp_net_mask } - pcrf_sy_net_name: { get_param: pcrf_sy_net_name } - pcrf_sy_net_ip: { get_param: [pcrf_sy_net_ips, 3] } - pcrf_sy_net_mask: { get_param: pcrf_sy_net_mask } - pcrf_rx_net_name: { get_param: pcrf_rx_net_name } - pcrf_rx_net_ip: { get_param: [pcrf_rx_net_ips, 3] } - pcrf_rx_net_mask: { get_param: pcrf_rx_net_mask } - pcrf_sd_net_name: { get_param: pcrf_sd_net_name } - pcrf_sd_net_ip: { get_param: [pcrf_sd_net_ips, 3] } - pcrf_sd_net_mask: { get_param: pcrf_sd_net_mask } - pcrf_sgi_sy_net_name: { get_param: pcrf_sgi_sy_net_name } - pcrf_sgi_sy_net_ip: { get_param: [pcrf_sgi_sy_net_ips, 3] } - pcrf_sgi_sy_net_mask: { get_param: pcrf_sgi_sy_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-ppd_v1.1.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-ppd_v1.1.env deleted file mode 100644 index 10697bcaa5..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-ppd_v1.1.env +++ /dev/null @@ -1,35 +0,0 @@ -parameters: - pcrf_ppd_server_names: ZRDM1PCRF01PPD001,ZRDM1PCRF01PPD002,ZRDM1PCRF01PPD003,ZRDM1PCRF01PPD004 - pcrf_ppd_image_name: PCRF_8.995-ATTM1.0.3.qcow2 - pcrf_ppd_flavor_name: lc.4xlarge4 - availabilityzone_name: nova - pcrf_cps_net_name: Mobisupport-25193-I-INT1_int_pcrf_net_0 - pcrf_cps_net_ips: 172.26.16.3,172.26.16.4,172.26.16.5,172.26.16.6 - pcrf_lb_internal_vip: 172.26.16.114 - pcrf_cps_net_mask: 255.255.255.0 - pcrf_oam_net_name: MNS-25180-L-01_oam_protected_net_0 - pcrf_oam_net_ips: 107.239.64.113,107.239.64.114,107.239.64.115,107.239.64.116 - pcrf_lb_management_vip: 107.239.64.123 - pcrf_oam_net_gw: 107.239.64.1 - pcrf_oam_net_mask: 255.255.248.0 - pcrf_gx_net_name: Mobisupport-25193-I-INT1_cor_pcrf_gx_net_0 - pcrf_gx_net_ips: 107.239.24.67,107.239.24.68,107.239.24.69,107.239.24.70 - pcrf_gx_net_mask: 255.255.255.248 - pcrf_sp_net_name: Mobisupport-25193-I-INT1_cor_pcrf_sp_net_0 - pcrf_sp_net_ips: 107.239.24.75,107.239.24.76,107.239.24.77,107.239.24.78 - pcrf_sp_net_mask: 255.255.255.248 - pcrf_sy_net_name: Mobisupport-25193-I-INT1_cor_pcrf_sy_net_0 - pcrf_sy_net_ips: 107.239.24.83,107.239.24.84,107.239.24.85,107.239.24.86 - pcrf_sy_net_mask: 255.255.255.248 - pcrf_rx_net_name: Mobisupport-25193-I-INT1_cor_pcrf_rx_net_0 - pcrf_rx_net_ips: 107.239.24.91,107.239.24.92,107.239.24.93,107.239.24.94 - pcrf_rx_net_mask: 255.255.255.248 - pcrf_sd_net_name: Mobisupport-25193-I-INT1_cor_pcrf_sd_net_0 - pcrf_sd_net_ips: 107.239.24.99,107.239.24.100,107.239.24.101,107.239.24.102 - pcrf_sd_net_mask: 255.255.255.248 - pcrf_sgi_sy_net_name: Mobisupport-25193-I-INT1_sgi_pcrf_sy_net_0 - pcrf_sgi_sy_net_ips: 107.239.26.131,107.239.26.132,107.239.26.133,107.239.26.134 - pcrf_sgi_sy_net_mask: 255.255.255.248 - pcrf_security_group_name: nimbus_security_group - pcrf_vnf_id: 730797234b4a40aa99335157b02871cd - diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-pps_v1.0.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-pps_v1.0.env deleted file mode 100644 index 18c064c019..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-pps_v1.0.env +++ /dev/null @@ -1,11 +0,0 @@ -parameters: - pcrf_pps_server_names: ZRDM1PCRF01PPS001,ZRDM1PCRF01PPS002,ZRDM1PCRF01PPS003,ZRDM1PCRF01PPS004,ZRDM1PCRF01PPS005,ZRDM1PCRF01PPS006 - pcrf_pps_image_name: PCRF_8.995-ATTM1.0.3.qcow2 - pcrf_pps_flavor_name: lc.3xlarge - availabilityzone_name: nova - pcrf_cps_net_name: Mobisupport-25193-I-INT1_int_pcrf_net_0 - pcrf_cps_net_ips: 172.26.16.7,172.26.16.8,172.26.16.9,172.26.16.10,172.26.16.11,172.26.16.12 - pcrf_cps_net_mask: 255.255.255.0 - pcrf_security_group_name: nimbus_security_group - pcrf_vnf_id: 730797234b4a40aa99335157b02871cd - diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-pps_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-pps_v1.0.yaml deleted file mode 100644 index 0fadd0023d..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-pps_v1.0.yaml +++ /dev/null @@ -1,121 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates PCRF Policy Server stack - -parameters: - pcrf_pps_server_names: - type: comma_delimited_list - label: PCRF PS server names - description: PCRF PS server names - pcrf_pps_image_name: - type: string - label: PCRF PS image name - description: PCRF PS image name - pcrf_pps_flavor_name: - type: string - label: PCRF PS flavor name - description: flavor name of PCRF PS instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ips: - type: comma_delimited_list - label: CPS network ips - description: CPS network ips - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - server_pcrf_pps_001: - type: nested-pps_v1.0.yaml - properties: - pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 0] } - pcrf_pps_image_name: { get_param: pcrf_pps_image_name } - pcrf_pps_flavor_name: { get_param: pcrf_pps_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 0] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_pps_002: - type: nested-pps_v1.0.yaml - properties: - pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 1] } - pcrf_pps_image_name: { get_param: pcrf_pps_image_name } - pcrf_pps_flavor_name: { get_param: pcrf_pps_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 1] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_pps_003: - type: nested-pps_v1.0.yaml - properties: - pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 2] } - pcrf_pps_image_name: { get_param: pcrf_pps_image_name } - pcrf_pps_flavor_name: { get_param: pcrf_pps_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 2] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_pps_004: - type: nested-pps_v1.0.yaml - properties: - pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 3] } - pcrf_pps_image_name: { get_param: pcrf_pps_image_name } - pcrf_pps_flavor_name: { get_param: pcrf_pps_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 3] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_pps_005: - type: nested-pps_v1.0.yaml - properties: - pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 4] } - pcrf_pps_image_name: { get_param: pcrf_pps_image_name } - pcrf_pps_flavor_name: { get_param: pcrf_pps_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 4] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_pps_006: - type: nested-pps_v1.0.yaml - properties: - pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 5] } - pcrf_pps_image_name: { get_param: pcrf_pps_image_name } - pcrf_pps_flavor_name: { get_param: pcrf_pps_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 5] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-psm_v1.0.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-psm_v1.0.env deleted file mode 100644 index 95e450ef0d..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-psm_v1.0.env +++ /dev/null @@ -1,10 +0,0 @@ -parameters: - pcrf_psm_server_names: ZRDM1PCRF01PSM001,ZRDM1PCRF01PSM002,ZRDM1PCRF01PSM003,ZRDM1PCRF01PSM004,ZRDM1PCRF01PSM005,ZRDM1PCRF01PSM006,ZRDM1PCRF01PSM007,ZRDM1PCRF01PSM008,ZRDM1PCRF01PSM009,ZRDM1PCRF01PSM010,ZRDM1PCRF01PSM011,ZRDM1PCRF01PSM012 - pcrf_psm_image_name: PCRF_8.995-ATTM1.0.3.qcow2 - pcrf_psm_flavor_name: lc.4xlarge4 - availabilityzone_name: nova - pcrf_cps_net_name: Mobisupport-25193-I-INT1_int_pcrf_net_0 - pcrf_cps_net_ips: 172.26.16.63,172.26.16.64,172.26.16.65,172.26.16.66,172.26.16.67,172.26.16.68,172.26.16.69,172.26.16.70,172.26.16.71,172.26.16.72,172.26.16.73,172.26.16.74 - pcrf_cps_net_mask: 255.255.255.0 - pcrf_security_group_name: nimbus_security_group - pcrf_vnf_id: 730797234b4a40aa99335157b02871cd diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-psm_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-psm_v1.0.yaml deleted file mode 100644 index 217b0fe33a..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-psm_v1.0.yaml +++ /dev/null @@ -1,199 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates PCRF Session Manager stack - -parameters: - pcrf_psm_server_names: - type: comma_delimited_list - label: PCRF SM server names - description: name of the PCRF SM instance - pcrf_psm_image_name: - type: string - label: PCRF SM image name - description: PCRF SM image name - pcrf_psm_flavor_name: - type: string - label: PCRF SM flavor name - description: flavor name of PCRF SM instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ips: - type: comma_delimited_list - label: CPS network ips - description: CPS network ips - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - server_pcrf_psm_001: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 0] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 0] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_002: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 1] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 1] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_003: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 2] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 2] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_004: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 3] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 3] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_005: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 4] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 4] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_006: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 5] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 5] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_007: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 6] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 6] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_008: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 7] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 7] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_009: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 8] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 8] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_010: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 9] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 9] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_011: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 10] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 10] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_012: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 11] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 11] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-swift-container_v1.0.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-swift-container_v1.0.env deleted file mode 100644 index 5267ee45ae..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-swift-container_v1.0.env +++ /dev/null @@ -1,3 +0,0 @@ -parameters: - pcrf_swift_container_name_1: PCRF_Config_Container_1 - pcrf_swift_container_purge_on_delete_flag_1: false diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-swift-container_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-swift-container_v1.0.yaml deleted file mode 100644 index ab427bb4c2..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/hot-nimbus-swift-container_v1.0.yaml +++ /dev/null @@ -1,30 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates PCRF Session Manager stack - -parameters: - pcrf_swift_container_name_1: - type: string - label: Swift Container name - description: Swift Container Name - pcrf_swift_container_purge_on_delete_flag_1: - type: boolean - label: Purge on Delete Flag - description: Purge on Delete Flag - -resources: - pcrf_swift_container_1: - type: OS::Swift::Container - properties: - name: { get_param: pcrf_swift_container_name_1 } - PurgeOnDelete: { get_param: pcrf_swift_container_purge_on_delete_flag_1 } - X-Container-Read: ".r:*" - -outputs: - pcrf_swift_container_id_1: - description: the pcrf_swift_container_1 id - value: { get_resource: pcrf_swift_container_1 } - pcrf_swift_container_url_1: - description: the pcrf_swift_container_1 url - value: { get_attr: [ pcrf_swift_container_1, WebsiteURL ] } - \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/mount_iso_script.sh b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/mount_iso_script.sh deleted file mode 100644 index 91df598dc2..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/mount_iso_script.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash - -#. .config -#following would be in the .config file - device_name="/dev/vde" - install_script="install_nimbus.sh" - enable_logic_flag_file=".flag" -#end of config file - -#get the semaphore, 0 - disbaled, 1- enabled -flag=$(cat ${enable_logic_flag_file}) - -#check if device is mounted already -test=$(mount | grep ${device_name}) -if [ "$flag" == "1" ]; then - if [ -e ${device_name} ] && [ ! "${test}" ]; then - #mount the iso image - mount -t iso9660 -v -o loop /dev/vde/ /mnt/iso - #if availabe run the install script (it contains the install.sh steps) - if [ -e "${install_script}" ] && [ -f "${install_script}" ]; then - ${install_script} - fi - #disable the script from attempting to - # mount and run install again until needed; - echo "0" > ${enable_logic_flag_file} - #if nedeed add step to comment out the crontab line here; - fi -else - echo "Auto mounting ISO & run install logic disabled!" -fi - -#cron job -# * * * * * /mount_iso_script.sh - diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/nested-oam_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/nested-oam_v1.0.yaml deleted file mode 100644 index fa3b04e7d3..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/nested-oam_v1.0.yaml +++ /dev/null @@ -1,156 +0,0 @@ -heat_template_version: 2013-05-23 - -description: nested heat template that creates a PCRF OAM node stack - -parameters: - pcrf_oam_server_name: - type: string - label: PCRF OAM server name - description: PCRF OAM server name - pcrf_oam_image_name: - type: string - label: image name - description: PCRF OAM image name - pcrf_oam_flavor_name: - type: string - label: PCRF OAM flavor name - description: flavor name of PCRF OAM instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ip: - type: string - label: CPS network ip - description: CPS network ip - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_arbiter_vip: - type: string - label: OAM Arbiter LB VIP - description: OAM Arbiter LB VIP - pcrf_oam_net_name: - type: string - label: OAM network name - description: OAM network name - pcrf_oam_net_ip: - type: string - label: OAM network ip - description: OAM network ip - pcrf_oam_net_gw: - type: string - label: CPS network gateway - description: CPS network gateway - pcrf_oam_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_oam_volume_id: - type: string - label: CPS OAM Cinder Volume - description: CPS OAM Cinder Volume - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - network: - type: OS::Heat::CloudConfig - properties: - cloud_config: - write_files: - - path: /etc/sysconfig/network-scripts/ifcfg-eth0 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth0 - $ip: { get_param: pcrf_cps_net_ip } - $netmask: { get_param: pcrf_cps_net_mask } - - path: /etc/sysconfig/network-scripts/ifcfg-eth1 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet-gw } - params: - $dev: eth1 - $ip: { get_param: pcrf_oam_net_ip } - $netmask: { get_param: pcrf_oam_net_mask } - $gateway: { get_param: pcrf_oam_net_gw } - runcmd: - - ifdown eth0 && ifup eth0 - - ifdown eth1 && ifup eth1 - script_init: - type: OS::Heat::SoftwareConfig - properties: - group: ungrouped - config: - str_replace: - template: { get_file: cloud-nimbus.sh } - params: - $vm_name: { get_param: pcrf_oam_server_name } - pcrf_server_init: - type: OS::Heat::MultipartMime - properties: - parts: - - config: { get_resource: network} - - config: { get_resource: script_init} - - pcrf_server_oam: - type: OS::Nova::Server - properties: - config_drive: "True" - name: { get_param: pcrf_oam_server_name } - image: { get_param: pcrf_oam_image_name } - flavor: { get_param: pcrf_oam_flavor_name } - availability_zone: { get_param: availabilityzone_name } - networks: - - port: { get_resource: pcrf_oam_port_0} - - port: { get_resource: pcrf_oam_port_1} - user_data_format: RAW - user_data: - get_resource: pcrf_server_init - metadata: - vnf_id: {get_param: pcrf_vnf_id} - - pcrf_oam_port_0: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_cps_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_cps_net_ip } - allowed_address_pairs: - - ip_address: { get_param: pcrf_arbiter_vip } - security_groups: [{ get_param: pcrf_security_group_name }] - - pcrf_oam_port_1: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_oam_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_oam_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - - pcrf_oam_vol_attachment: - type: OS::Cinder::VolumeAttachment - properties: - volume_id: { get_param: pcrf_oam_volume_id } - mountpoint: /dev/vdd - instance_uuid: { get_resource: pcrf_server_oam } - -outputs: - pcrf_oam_vol_attachment_id: - description: the pcrf_oam_vol_attachment_id id - value: { get_resource: pcrf_oam_vol_attachment } diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/nested-pcm_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/nested-pcm_v1.0.yaml deleted file mode 100644 index a3129bb0b9..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/nested-pcm_v1.0.yaml +++ /dev/null @@ -1,150 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates PCRF Cluman stack - -parameters: - pcrf_pcm_server_name: - type: string - label: PCRF CM server name - description: PCRF CM server name - pcrf_pcm_image_name: - type: string - label: image name - description: PCRF CM image name - pcrf_pcm_flavor_name: - type: string - label: PCRF CM flavor name - description: flavor name of PCRF CM instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ip: - type: string - label: CPS network ip - description: CPS network ip - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_oam_net_name: - type: string - label: OAM network name - description: OAM network name - pcrf_oam_net_ip: - type: string - label: OAM network ip - description: OAM network ip - pcrf_oam_net_gw: - type: string - label: CPS network gateway - description: CPS network gateway - pcrf_oam_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_pcm_volume_id: - type: string - label: CPS Cluman Cinder Volume - description: CPS Cluman Cinder Volume - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - network: - type: OS::Heat::CloudConfig - properties: - cloud_config: - write_files: - - path: /etc/sysconfig/network-scripts/ifcfg-eth0 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth0 - $ip: { get_param: pcrf_cps_net_ip } - $netmask: { get_param: pcrf_cps_net_mask } - - path: /etc/sysconfig/network-scripts/ifcfg-eth1 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet-gw } - params: - $dev: eth1 - $ip: { get_param: pcrf_oam_net_ip } - $netmask: { get_param: pcrf_oam_net_mask } - $gateway: { get_param: pcrf_oam_net_gw } - runcmd: - - ifdown eth0 && ifup eth0 - - ifdown eth1 && ifup eth1 - script_init: - type: OS::Heat::SoftwareConfig - properties: - group: ungrouped - config: - str_replace: - template: { get_file: cloud-nimbus.sh } - params: - $vm_name: { get_param: pcrf_pcm_server_name } - pcrf_server_init: - type: OS::Heat::MultipartMime - properties: - parts: - - config: { get_resource: network} - - config: { get_resource: script_init} - - pcrf_server_pcm: - type: OS::Nova::Server - properties: - config_drive: "True" - name: { get_param: pcrf_pcm_server_name } - image: { get_param: pcrf_pcm_image_name } - flavor: { get_param: pcrf_pcm_flavor_name } - availability_zone: { get_param: availabilityzone_name } - networks: - - port: { get_resource: pcrf_pcm_port_0} - - port: { get_resource: pcrf_pcm_port_1} - user_data_format: RAW - user_data: - get_resource: pcrf_server_init - metadata: - vnf_id: {get_param: pcrf_vnf_id} - - pcrf_pcm_port_0: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_cps_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_cps_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - - pcrf_pcm_port_1: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_oam_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_oam_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - - volume_attachment: - type: OS::Cinder::VolumeAttachment - properties: - volume_id: { get_param: pcrf_pcm_volume_id } - mountpoint: /dev/vdd - instance_uuid: { get_resource: pcrf_server_pcm } - -outputs: - pcrf_server_pcm_id: - description: the pcm server id - value: { get_resource: pcrf_server_pcm } \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/nested-ppd_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/nested-ppd_v1.0.yaml deleted file mode 100644 index 169522b64c..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/nested-ppd_v1.0.yaml +++ /dev/null @@ -1,333 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates PCRF Policy Director stack - -parameters: - pcrf_ppd_server_name: - type: string - label: PCRF PD server name - description: PCRF PD server name - pcrf_ppd_image_name: - type: string - label: image name - description: PCRF PD image name - pcrf_ppd_flavor_name: - type: string - label: PCRF PD flavor name - description: flavor name of PCRF PD instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ip: - type: string - label: CPS network ip - description: CPS network ip - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_lb_internal_vip: - type: string - label: CPS Internal LB VIP - description: CPS Internal LB VIP - pcrf_oam_net_name: - type: string - label: OAM network name - description: OAM network name - pcrf_oam_net_ip: - type: string - label: OAM network ip - description: OAM network ip - pcrf_oam_net_gw: - type: string - label: CPS network gateway - description: CPS network gateway - pcrf_oam_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_lb_management_vip: - type: string - label: CPS OAM LB VIP - description: CPS OAM LB VIP - pcrf_gx_net_name: - type: string - label: Gx network name - description: Gx network name - pcrf_gx_net_ip: - type: string - label: Gx network ip - description: Gx network ip - pcrf_gx_net_mask: - type: string - label: Gx network mask - description: Gx network mask - pcrf_sp_net_name: - type: string - label: Sp network name - description: Sp network name - pcrf_sp_net_ip: - type: string - label: Sp network ip - description: Sp network ip - pcrf_sp_net_mask: - type: string - label: Sp network mask - description: Sp network mask - pcrf_sy_net_name: - type: string - label: Sy network name - description: Sy network name - pcrf_sy_net_ip: - type: string - label: Sy network ip - description: Sy network ip - pcrf_sy_net_mask: - type: string - label: Sy network mask - description: Sy network mask - pcrf_rx_net_name: - type: string - label: Rx network name - description: Rx network name - pcrf_rx_net_ip: - type: string - label: Rx network ip - description: Rx network ip - pcrf_rx_net_mask: - type: string - label: Rx network mask - description: Rx network mask - pcrf_sd_net_name: - type: string - label: Sd network name - description: Sd network name - pcrf_sd_net_ip: - type: string - label: Sd network ip - description: Sd network ip - pcrf_sd_net_mask: - type: string - label: Sd network mask - description: Sd network mask - pcrf_sgi_sy_net_name: - type: string - label: Sgi Sy network name - description: Sgi Sy network name - pcrf_sgi_sy_net_ip: - type: string - label: Sgi Sy network ip - description: Sgi Sy network ip - pcrf_sgi_sy_net_mask: - type: string - label: Sgi Sy network mask - description: Sgi Sy network mask - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - network: - type: OS::Heat::CloudConfig - properties: - cloud_config: - write_files: - - path: /etc/sysconfig/network-scripts/ifcfg-eth0 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth0 - $ip: { get_param: pcrf_cps_net_ip } - $netmask: { get_param: pcrf_cps_net_mask } - - path: /etc/sysconfig/network-scripts/ifcfg-eth1 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet-gw } - params: - $dev: eth1 - $ip: { get_param: pcrf_oam_net_ip } - $netmask: { get_param: pcrf_oam_net_mask } - $gateway: { get_param: pcrf_oam_net_gw } - - path: /etc/sysconfig/network-scripts/ifcfg-eth2 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth2 - $ip: { get_param: pcrf_gx_net_ip } - $netmask: { get_param: pcrf_gx_net_mask } - - path: /etc/sysconfig/network-scripts/ifcfg-eth3 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth3 - $ip: { get_param: pcrf_sp_net_ip } - $netmask: { get_param: pcrf_sp_net_mask } - - path: /etc/sysconfig/network-scripts/ifcfg-eth4 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth4 - $ip: { get_param: pcrf_sy_net_ip } - $netmask: { get_param: pcrf_sy_net_mask } - - path: /etc/sysconfig/network-scripts/ifcfg-eth5 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth5 - $ip: { get_param: pcrf_rx_net_ip } - $netmask: { get_param: pcrf_rx_net_mask } - - path: /etc/sysconfig/network-scripts/ifcfg-eth6 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth6 - $ip: { get_param: pcrf_sd_net_ip } - $netmask: { get_param: pcrf_sd_net_mask } - - path: /etc/sysconfig/network-scripts/ifcfg-eth7 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth7 - $ip: { get_param: pcrf_sgi_sy_net_ip } - $netmask: { get_param: pcrf_sgi_sy_net_mask } - runcmd: - - ifdown eth0 && ifup eth0 - - ifdown eth1 && ifup eth1 - - ifdown eth2 && ifup eth2 - - ifdown eth3 && ifup eth3 - - ifdown eth4 && ifup eth4 - - ifdown eth5 && ifup eth5 - - ifdown eth6 && ifup eth6 - - ifdown eth7 && ifup eth7 - script_init: - type: OS::Heat::SoftwareConfig - properties: - group: ungrouped - config: - str_replace: - template: { get_file: cloud-nimbus.sh } - params: - $vm_name: { get_param: pcrf_ppd_server_name } - pcrf_server_init: - type: OS::Heat::MultipartMime - properties: - parts: - - config: { get_resource: network} - - config: { get_resource: script_init} - - pcrf_server_ppd: - type: OS::Nova::Server - properties: - config_drive: "True" - name: { get_param: pcrf_ppd_server_name } - image: { get_param: pcrf_ppd_image_name } - flavor: { get_param: pcrf_ppd_flavor_name } - availability_zone: { get_param: availabilityzone_name } - networks: - - port: { get_resource: pcrf_ppd_port_0} - - port: { get_resource: pcrf_ppd_port_1} - - port: { get_resource: pcrf_ppd_port_2} - - port: { get_resource: pcrf_ppd_port_3} - - port: { get_resource: pcrf_ppd_port_4} - - port: { get_resource: pcrf_ppd_port_5} - - port: { get_resource: pcrf_ppd_port_6} - - port: { get_resource: pcrf_ppd_port_7} - user_data_format: RAW - user_data: - get_resource: pcrf_server_init - metadata: - vnf_id: {get_param: pcrf_vnf_id} - - pcrf_ppd_port_0: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_cps_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_cps_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - allowed_address_pairs: - - ip_address: { get_param: pcrf_lb_internal_vip } - - pcrf_ppd_port_1: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_oam_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_oam_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - allowed_address_pairs: - - ip_address: { get_param: pcrf_lb_management_vip } - - pcrf_ppd_port_2: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_gx_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_gx_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - - pcrf_ppd_port_3: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_sp_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_sp_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - - pcrf_ppd_port_4: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_sy_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_sy_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - - pcrf_ppd_port_5: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_rx_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_rx_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - - pcrf_ppd_port_6: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_sd_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_sd_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - - pcrf_ppd_port_7: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_sgi_sy_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_sgi_sy_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/nested-pps_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/nested-pps_v1.0.yaml deleted file mode 100644 index 8cb6e1587c..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/nested-pps_v1.0.yaml +++ /dev/null @@ -1,99 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates PCRF Policy Server stack - -parameters: - pcrf_pps_server_name: - type: string - label: PCRF PS server name - description: PCRF PS server name - pcrf_pps_image_name: - type: string - label: PCRF PS image name - description: PCRF PS image name - pcrf_pps_flavor_name: - type: string - label: PCRF PS flavor name - description: flavor name of PCRF PS instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ip: - type: string - label: CPS network ip - description: CPS network ip - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - script_init: - type: OS::Heat::SoftwareConfig - properties: - group: ungrouped - config: - str_replace: - template: { get_file: cloud-nimbus.sh } - params: - $vm_name: { get_param: pcrf_pps_server_name } - network: - type: OS::Heat::CloudConfig - properties: - cloud_config: - write_files: - - path: /etc/sysconfig/network-scripts/ifcfg-eth0 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth0 - $ip: { get_param: pcrf_cps_net_ip } - $netmask: { get_param: pcrf_cps_net_mask } - runcmd: - - ifdown eth0 && ifup eth0 - - pcrf_server_init: - type: OS::Heat::MultipartMime - properties: - parts: - - config: { get_resource: network} - - config: { get_resource: script_init} - - pcrf_server_pps: - type: OS::Nova::Server - properties: - config_drive: "True" - name: { get_param: pcrf_pps_server_name } - image: { get_param: pcrf_pps_image_name } - flavor: { get_param: pcrf_pps_flavor_name } - availability_zone: { get_param: availabilityzone_name } - networks: - - port: { get_resource: pcrf_pps_port_0} - user_data_format: RAW - user_data: - get_resource: pcrf_server_init - metadata: - vnf_id: {get_param: pcrf_vnf_id} - - pcrf_pps_port_0: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_cps_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_cps_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/nested-psm_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/nested-psm_v1.0.yaml deleted file mode 100644 index 64c7484405..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/nested-psm_v1.0.yaml +++ /dev/null @@ -1,99 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates PCRF Session Manager stack - -parameters: - pcrf_psm_server_name: - type: string - label: PCRF SM server name - description: PCRF SM server name - pcrf_psm_image_name: - type: string - label: image name - description: PCRF SM image name - pcrf_psm_flavor_name: - type: string - label: PCRF SM flavor name - description: flavor name of PCRF SM instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ip: - type: string - label: CPS network ip - description: CPS network ip - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - network: - type: OS::Heat::CloudConfig - properties: - cloud_config: - write_files: - - path: /etc/sysconfig/network-scripts/ifcfg-eth0 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth0 - $ip: { get_param: pcrf_cps_net_ip } - $netmask: { get_param: pcrf_cps_net_mask } - runcmd: - - ifdown eth0 && ifup eth0 - script_init: - type: OS::Heat::SoftwareConfig - properties: - group: ungrouped - config: - str_replace: - template: { get_file: cloud-nimbus.sh } - params: - $vm_name: { get_param: pcrf_psm_server_name } - pcrf_server_init: - type: OS::Heat::MultipartMime - properties: - parts: - - config: { get_resource: network} - - config: { get_resource: script_init} - - pcrf_server_psm: - type: OS::Nova::Server - properties: - config_drive: "True" - name: { get_param: pcrf_psm_server_name } - image: { get_param: pcrf_psm_image_name } - flavor: { get_param: pcrf_psm_flavor_name } - availability_zone: { get_param: availabilityzone_name } - networks: - - port: { get_resource: psm01_port_0} - user_data_format: RAW - user_data: - get_resource: pcrf_server_init - metadata: - vnf_id: {get_param: pcrf_vnf_id} - #scheduler_hints: {group: { get_resource: servergroup_nimbus }} - - psm01_port_0: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_cps_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_cps_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/vnf-module-artifact.json b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/vnf-module-artifact.json deleted file mode 100644 index 50fb1b7f18..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/artifacts/vnf-module-artifact.json +++ /dev/null @@ -1,20 +0,0 @@ -[ - { - "vfModuleModelName": "VF_RI2_G6_withArtifacts::module-1", - "vfModuleModelInvariantUUID": "585822c7-4027-4f84-ba50-e9248606f132", - "vfModuleModelVersion": "1.0", - "vfModuleModelUUID": "1e34774e-715e-4fd5-bd08-7b654622f33e.VF_RI2_G6_withArtifacts::module-1.group", - "vfModuleModelDescription": "vf Module Description", - "vfModuleModelCustomizationUUID": "585822c7-4027-4f84-ba50-e9248606f132", - "isBase": true, - "artifacts": [ - "Artifact-UUID1", - "EnvArtifact-UUID2", - "NestedArtifact-UUID3", - "ScriptArtifact-UUID1", - "VolumeArtifact-UUID1", - "VolumeEnvArtifact-UUID1" - ], - "properties": {"test":"test"} - } -] \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/notif-structure.json b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/notif-structure.json deleted file mode 100644 index c4b113441f..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V4/notif-structure.json +++ /dev/null @@ -1,117 +0,0 @@ -{ - "serviceName": "test-service", - "serviceInvariantUUID": "585822c7-4027-4f84-ba50-e9248606f134", - "serviceUUID": "1e34774e-715e-4fd5-bd09-7b654622f35h", - "serviceVersion": "4.0", - "serviceArtifacts": - [ - - ], - - "resources": - [ - { - "resourceInstanceName": "resource-1", - "resourceInvariantUUID": "585822c7-4027-4f84-ba50-e9248606f134", - "resourceName": "resourceName-1", - "resourceType": "VF", - "resourceUUID": "585822c7-4027-4f84-ba50-e9248606f136", - "resourceVersion": "2.0", - "category": "category", - "artifacts": - [ - { - "artifactChecksum": "CheckSum", - "artifactDescription": "Meta data for VFModule", - "artifactName": "vnf-module-artifact.json", - - "artifactType": "VF_MODULES_METADATA", - "artifactURL": "vnf-module-artifact.json", - "artifactUUID": "VfArtifact-UUID2", - "artifactVersion": "1.0" - - }, - { - "artifactChecksum": "CheckSum", - "artifactDescription": "Nimbus Heat OAM", - "artifactName": "hot-nimbus-oam_v1.0.yaml", - "artifactTimeout": 100, - "artifactType": "HEAT", - "artifactURL": "hot-nimbus-oam_v1.0.yaml", - "artifactUUID": "Artifact-UUID1", - "artifactVersion": "1.0", - "generatedArtifact": "EnvArtifact-UUID2", - "relatedArtifact": - [ - "NestedArtifact-UUID3", - "ScriptArtifact-UUID1" - ] - }, - - { - "artifactChecksum": "CheckSum", - "artifactDescription": "Nimbus Heat ENV OAM", - "artifactName": "hot-nimbus-oam_v1.0.env", - - "artifactType": "HEAT_ENV", - "artifactURL": "hot-nimbus-oam_v1.0.env", - "artifactUUID": "EnvArtifact-UUID2", - "artifactVersion": "1.0" - - }, - - { - "artifactChecksum": "CheckSum", - "artifactDescription": "Nested OAM", - "artifactName": "nested-oam_v1.0.yaml", - "artifactTimeout": 10, - "artifactType": "HEAT_NESTED", - "artifactURL": "nested-oam_v1.0.yaml", - "artifactUUID": "NestedArtifact-UUID3", - "artifactVersion": "1.0" - - }, - - { - "artifactChecksum": "CheckSum", - "artifactDescription": "Script for OAM", - "artifactName": "mount_iso_script.sh", - - "artifactType": "HEAT_ARTIFACT", - "artifactURL": "mount_iso_script.sh", - "artifactUUID": "ScriptArtifact-UUID1", - "artifactVersion": "1.0" - - }, - - { - "artifactChecksum": "CheckSum", - "artifactDescription": "Heat Vol for OAM", - "artifactName": "hot-nimbus-oam-volumes_v1.0.yaml", - "artifactTimeout": 10, - "artifactType": "HEAT_VOL", - "artifactURL": "hot-nimbus-oam-volumes_v1.0.yaml", - "artifactUUID": "VolumeArtifact-UUID1", - "artifactVersion": "1.0", - "generatedArtifact": "VolumeEnvArtifact-UUID1" - - }, - - { - "artifactChecksum": "CheckSum", - "artifactDescription": "Heat Env Vol for OAM", - "artifactName": "hot-nimbus-oam-volumes_v1.0.env", - - "artifactType": "HEAT_ENV", - "artifactURL": "hot-nimbus-oam-volumes_v1.0.env", - "artifactUUID": "VolumeEnvArtifact-UUID1", - "artifactVersion": "1.0" - - } - ] - } - ], - - "serviceDescription": "test service for unit testing", - "distributionID": "35120a87-1f82-4276-9735-f6de5a244d65" -} \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/att_nimbus_vsaegw_ht_base_v13_0728v1.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/att_nimbus_vsaegw_ht_base_v13_0728v1.yaml deleted file mode 100644 index 2aa58fbabb..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/att_nimbus_vsaegw_ht_base_v13_0728v1.yaml +++ /dev/null @@ -1,3374 +0,0 @@ - -heat_template_version: 2013-05-23 - - -description: SAEGW (version 20.1.0v) HEAT Template (2CFs and 10SFs) - -parameters: -# description: instance name - vnf_name: - type: string - description: Unique name for this VF instance -# For manual spinups, value must be in the ENV file. Must be removed from ENV before uploading to ASDC - vnf_id: - type: string - description: Unique ID for this VF instance -# For manual spinups, value must be in the ENV file. Must be removed from ENV before uploading to ASDC - vf_module_id: - type: string - description: Unique ID for this VF Module instance -# For manual spinups, value must be in the ENV file. Must be removed from ENV before uploading to ASDC - admin_password: - type: string - description: cf instance admin password - cf_oam_protected_vip: - type: string - description: cf instance mgmt vip address - cf_vpc_vip_gateway: - type: string - description: cf instance mgmt gateway address - availability_zone_0: - type: string - description: Availability_zone where the VNF should be created - cf_image_name_0: - type: string - description: instance cf1 image - cf_image_name_1: - type: string - description: instance cf2 image - sf_image_name: - type: string - description: instance sf image - cf_flavor_name: - type: string - description: instance flavor for CFs - sf_flavor_name: - type: string - description: instance flavor for SFs - oam_protected_net_name: - type: string - description: instance oam network - oam_calea_net_name: - type: string - description: network name of service network 5 - int_icsr_net_name: - type: string - description: network name of service network 6 - cgwy_int_di2_net_name: - type: string - description: network name of DI Internal network - cf_oam_protected_ip_0: - type: string - description: Static IP for CF01 management Neutron port - cf_oam_protected_ip_1: - type: string - description: Static IP for CF02 management Neutron port - sf_gn_ips: - type: comma_delimited_list - description: Static IPs for Gn IPv4 Ports - sf_cor_ips: - type: comma_delimited_list - description: Static IPs for Cor IPv4 Ports - sf_sgi_prot_ips: - type: comma_delimited_list - description: Static IPs for SGi Ports - sf_sgi_ims_ips: - type: comma_delimited_list - description: Static IPs for Sgi IMS Ports - sf_oam_calea_ips: - type: comma_delimited_list - description: Static IPs for OAM Calea Ports - sf_int_icsr_ips: - type: comma_delimited_list - description: Static IPs for icsr Ports - - sf_gn_v6_ips: - type: comma_delimited_list - description: Static IPs for Gn IPv6 Ports - sf_cor_v6_ips: - type: comma_delimited_list - description: Static IPs for Cor IPv6 Ports - sf_sgi_prot_v6_ips: - type: comma_delimited_list - description: Static IPs for SGi Ports - sf_sgi_ims_v6_ips: - type: comma_delimited_list - description: Static IPs for Sgi IMS Ports -# Added per AIC team request -# srv_grp_sf: -# type: string -# description: Service Group Description - - cgwy_names: - type: comma_delimited_list - description: VM hostname - cf_name: - type: string - description: CF GW Cluster Name - cf_volume_size_0: - type: string - description: volume for CF1 - cf_volume_size_1: - type: string - description: volume for CF2 - gn_net_fqdn: - type: string - description: GN network FQ name - sgi_net_fqdn: - type: string - description: SGI network FQ name - ims_net_fqdn: - type: string - description: IMS network FQ name - cor_net_fqdn: - type: string - description: COR network FQ name - vmi_allowed_address_pair_address_mode: - type: string - description: allow address paire active-active mode - vmi_allowed_address_pair_prefix_lenth: - type: string - description: IPv4 VIP prefix length - sf_gn_rii_v6: - type: string - description: GN IPv6 VIP loopback - sf_cor_rii_v6: - type: string - description: COR IPv6 VIP loopback - sf_sgi_rii_v6: - type: string - description: SGI IPv6 VIP loopback - sf_ims_rii_v6: - type: string - description: IMS IPv4 VIP loopback - vmi_allowed_address_pair_prefix_lenth_v6: - type: string - description: IPv6 VIP prefix length - instance_ip_family_v6: - type: string - description: iip address family IPv6 - - - - bgpaas_name: - type: comma_delimited_list - description: name for the BgpAsAService - bgpaas_autonomous_system: - type: number - description: AS for the BgpAsAService - constraints: - - range: {min: 0, max: 999999} - bgpaas_ip_address: - type: comma_delimited_list - description: bgpaas peer address for the BgpAsAService - bgpaas_session_attributes_passive: - type: boolean - description: passive mode selection for the BgpAsAService - bgpaas_session_attributes_hold_time: - type: number - description: hold_time for the BgpAsAService - constraints: - - range: {min: 0, max: 999} - bgpaas_session_attributes_admin_down: - type: boolean - description: admin_down for the BgpAsAService - bgpaas_session_attributes_address_families_family_4: - type: string - description: family for the BgpAsAService - bgpaas_session_attributes_address_families_family_6: - type: string - description: family for the BgpAsAService - bgpaas_session_attributes_family_attributes_af_4: - type: string - description: address_family ipv4 unitcast for the BgpAsAService - bgpaas_session_attributes_family_attributes_loop_count_4: - type: number - description: loop_count ipv4 unitcast for the BgpAsAService - constraints: - - range: {min: 0, max: 999} - bgpaas_session_attributes_family_attributes_prefix_limit_maximum_4: - type: number - description: maximum prefix ipv4 unicast for the BgpAsAService - constraints: - - range: {min: 0, max: 9999} - bgpaas_session_attributes_family_attributes_af_6: - type: string - description: address_family v6_ips unicast for the BgpAsAService - bgpaas_session_attributes_family_attributes_loop_count_6: - type: number - description: loop_count v6_ips unicast for the BgpAsAService - constraints: - - range: {min: 0, max: 999} - bgpaas_session_attributes_family_attributes_prefix_limit_maximum_6: - type: number - description: maximum v6_ips unicast for the BgpAsAService - constraints: - - range: {min: 0, max: 9999} - sf_shc_enabled: - type: boolean - description: enabled for the ServiceHealthCheck - sf_shc_monitor_type: - type: string - description: monitor_type for the ServiceHealthCheck - sf_shc_delay: - type: number - description: delay for the ServiceHealthCheck - constraints: - - range: {min: 0, max: 999} - sf_shc_timeout: - type: number - description: timeout for the ServiceHealthCheck - constraints: - - range: {min: 0, max: 999} - sf_shc_max_retries: - type: number - description: max_retries for the ServiceHealthCheck - constraints: - - range: {min: 0, max: 999} - sf_shc_url_path: - type: string - description: url for the ServiceHealthCheck - - -resources: - # Create anti-affinity Server Group - cf_vpc-servergroup: - type: OS::Nova::ServerGroup - properties: - policies: - - anti-affinity - # Create anti-affinity Server Group - sf_vpc-servergroup: - type: OS::Nova::ServerGroup - properties: - policies: - - anti-affinity - - - # Create CF1 and CF2 ports on DI Internal Network DI Management Network - cf_int_di2_0_port: - type: OS::Neutron::Port - properties: - network: {get_param: cgwy_int_di2_net_name} - - cf_mgmt_0_port: - type: OS::Neutron::Port - properties: - network: {get_param: oam_protected_net_name} - fixed_ips: [{"ip_address": {get_param: cf_oam_protected_ip_0}}] - allowed_address_pairs: [{"ip_address": {get_param: cf_oam_protected_vip}}] - - cf_int_di2_1_port: - type: OS::Neutron::Port - properties: - network: {get_param: cgwy_int_di2_net_name} - - cf_mgmt_1_port: - type: OS::Neutron::Port - properties: - network: {get_param: oam_protected_net_name} - fixed_ips: [{"ip_address": {get_param: cf_oam_protected_ip_1}}] - allowed_address_pairs: [{"ip_address": {get_param: cf_oam_protected_vip}}] - - # Create hard drives for CF1 and CF2 to store CDR - cf_volume_name_0: - type: OS::Cinder::Volume - properties: - size: { get_param: cf_volume_size_0 } - # volume_type: iscsi - - cf_volume_name_1: - type: OS::Cinder::Volume - properties: - size: { get_param: cf_volume_size_1 } - # volume_type: iscsi - - # Create CF1 instance - cf_server0: - type: OS::Nova::Server - properties: - metadata: - vnf_id: { get_param: vnf_id } - vnf_name: { get_param: vnf_name } - vf_module_id: { get_param: vf_module_id } -# name: -# str_replace: -# template: Z${CZ_ID}CGWY${VF_ID}${VM_TYPE}${VM_NUM} -# params: -# ${CZ_ID}: {get_param: czid} -# ${VF_ID}: {get_param: vf_inst_number} -# ${VM_TYPE}: DCF -# ${VM_NUM}: "001" - name: {get_param: [cgwy_names, 0]} - image: {get_param: cf_image_name_0} - flavor: {get_param: cf_flavor_name} - availability_zone: {get_param: availability_zone_0} - config_drive: True - networks: - - port: {get_resource: cf_int_di2_0_port} - - port: {get_resource: cf_mgmt_0_port} -# Tempoarry comment out for testing - scheduler_hints: - group: {get_resource: cf_vpc-servergroup} - personality: - # Associate VM to slot-1 and identify it is a CF - "staros_param.cfg": - str_replace: - template: | - CARDSLOT=${CARD_NUMBER} - CARDTYPE=${CARD_TYPE} - CPUID=${CPUID} - params: - ${CARD_NUMBER}: 1 - ${CARD_TYPE}: CFC - ${CPUID}: 0 - # Day-0 config for CF1 - "staros_config.txt": - str_replace: - template: | - config - system hostname ${HOSTNAME} - ssh key-gen wait-time 0 - context local - administrator admin password ${ADMIN_PASSWD} ftp - interface LOCAL1 - ip address ${CF_VIP_ADDR} 255.255.255.0 - #exit - ip route 0.0.0.0 0.0.0.0 ${CF_VIP_GATEWAY} LOCAL1 - ssh generate key - server sshd - subsystem sftp - #exit - #exit - port ethernet 1/1 - bind interface LOCAL1 local - no shutdown - #exit - snmp community public read-only - end - chassis key value Cisco12345 - params: -# system hostname Z${CZ_ID}CGWY${VF_ID}${VM_TYPE}${VM_NUM} - -# ${CZ_ID}: {get_param: czid} -# ${VF_ID}: {get_param: vf_inst_number} -# ${VM_TYPE}: DCF - #${VM_NUM}: "01" - ${HOSTNAME}: {get_param: cf_name} - ${ADMIN_PASSWD}: {get_param: admin_password} - ${CF_VIP_ADDR}: {get_param: cf_oam_protected_vip} - ${CF_VIP_GATEWAY}: {get_param: cf_vpc_vip_gateway} - - # Attach hard drive (CDR) to CF1 instance - cf_volume_att_0: - type: OS::Cinder::VolumeAttachment - properties: - instance_uuid: { get_resource: cf_server0 } - volume_id: { get_resource: cf_volume_name_0 } - - # Create CF2 instance - cf_server1: - type: OS::Nova::Server - properties: - metadata: - vnf_id: { get_param: vnf_id } - vnf_name: { get_param: vnf_name } - vf_module_id: { get_param: vf_module_id } - -# name: -# str_replace: -# template: Z${CZ_ID}CGWY${VF_ID}${VM_TYPE}${VM_NUM} -# params: -# ${CZ_ID}: {get_param: czid} -# ${VF_ID}: {get_param: vf_inst_number} -# ${VM_TYPE}: DCF -# ${VM_NUM}: "002" - name: {get_param: [cgwy_names, 1]} - image: {get_param: cf_image_name_1} - flavor: {get_param: cf_flavor_name} - availability_zone: {get_param: availability_zone_0} - config_drive: True - networks: - - port: {get_resource: cf_int_di2_1_port} - - port: {get_resource: cf_mgmt_1_port} -# commented out for testing only - scheduler_hints: - group: {get_resource: cf_vpc-servergroup} - personality: - # Associate VM to slot-2 and identify it is a CF - "staros_param.cfg": - str_replace: - template: | - CARDSLOT=${CARD_NUMBER} - CARDTYPE=${CARD_TYPE} - CPUID=${CPUID} - params: - ${CARD_NUMBER}: 2 - ${CARD_TYPE}: CFC - ${CPUID}: 0 - # Day-0 config for CF2 - "staros_config.txt": - str_replace: - template: | - config - system hostname ${HOSTNAME} - ssh key-gen wait-time 0 - context local - administrator admin password ${ADMIN_PASSWD} ftp - interface LOCAL1 - ip address ${CF_VIP_ADDR} 255.255.255.0 - #exit - ip route 0.0.0.0 0.0.0.0 ${CF_VIP_GATEWAY} LOCAL1 - ssh generate key - server sshd - subsystem sftp - #exit - #exit - port ethernet 1/1 - bind interface LOCAL1 local - no shutdown - #exit - snmp community public read-only - end - chassis key value Cisco12345 - params: -# system hostname Z${CZ_ID}CGWY${VF_ID}${VM_TYPE}${VM_NUM} -# ${CZ_ID}: {get_param: czid} -# ${VF_ID}: {get_param: vf_inst_number} -# ${VM_TYPE}: DCF -# ${VM_NUM}: "01" - ${HOSTNAME}: {get_param: cf_name} - ${ADMIN_PASSWD}: {get_param: admin_password} - ${CF_VIP_ADDR}: {get_param: cf_oam_protected_vip} - ${CF_VIP_GATEWAY}: {get_param: cf_vpc_vip_gateway} - - # Attach hard drive (CDR) to CF2 instance - cf_volume_att_1: - type: OS::Cinder::VolumeAttachment - properties: - instance_uuid: { get_resource: cf_server1 } - volume_id: { get_resource: cf_volume_name_1 } - - #### SF03 ###### - # Create port for DI-Internal Network - sf_int_di2_2_port: - type: OS::Neutron::Port - properties: - network: {get_param: cgwy_int_di2_net_name} -# Create port for Transport Interface in SAEGW Context - SF3_GN_10_RVMI: - type: OS::ContrailV2::VirtualMachineInterface - properties: - virtual_network_refs: - - {get_param: gn_net_fqdn} -# service_health_check_refs: -# - { get_resource: SF3_GN_10_RSHC } - virtual_machine_interface_allowed_address_pairs: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair: - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,0] } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth } - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_gn_rii_v6 } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 } - - SF3_GN_10_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF3_GN_10_RVMI ] - properties: - virtual_network_refs: - - get_param: gn_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF3_GN_10_RVMI - instance_ip_address: { get_param: [sf_gn_ips, 0] } - - SF3_GN_10_v6_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF3_GN_10_RVMI ] - properties: - virtual_network_refs: - - get_param: gn_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF3_GN_10_RVMI - instance_ip_address: { get_param: [sf_gn_v6_ips, 0] } - instance_ip_family: { get_param: instance_ip_family_v6 } - - SF3_GN_10_RSHC: - type: OS::ContrailV2::ServiceHealthCheck - properties: - name: SF3_GN_10_RSHC - service_health_check_properties: - service_health_check_properties_enabled: { get_param: sf_shc_enabled } - service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type } - service_health_check_properties_delay: { get_param: sf_shc_delay } - service_health_check_properties_timeout: { get_param: sf_shc_timeout } - service_health_check_properties_max_retries: { get_param: sf_shc_max_retries } - service_health_check_properties_url_path: { get_param: sf_shc_url_path } - - # Create port for Transport interface(SGi-data) in SGi Context - SF3_SGI_11_RVMI: - type: OS::ContrailV2::VirtualMachineInterface - properties: - virtual_network_refs: - - get_param: sgi_net_fqdn -# service_health_check_refs: -# - { get_resource: SF3_SGI_11_RSHC } - virtual_machine_interface_allowed_address_pairs: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair: - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,1] } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth } - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_sgi_rii_v6 } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 } - - SF3_SGI_11_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF3_SGI_11_RVMI ] - properties: - virtual_network_refs: - - get_param: sgi_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF3_SGI_11_RVMI - instance_ip_address: { get_param: [sf_sgi_prot_ips, 0] } - - SF3_SGI_11_v6_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF3_SGI_11_RVMI ] - properties: - virtual_network_refs: - - get_param: sgi_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF3_SGI_11_RVMI - instance_ip_address: { get_param: [sf_sgi_prot_v6_ips, 0] } - instance_ip_family: { get_param: instance_ip_family_v6 } - - SF3_SGI_11_RSHC: - type: OS::ContrailV2::ServiceHealthCheck - properties: - name: SF3_SGI_11_RSHC - service_health_check_properties: - service_health_check_properties_enabled: { get_param: sf_shc_enabled } - service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type } - service_health_check_properties_delay: { get_param: sf_shc_delay } - service_health_check_properties_timeout: { get_param: sf_shc_timeout } - service_health_check_properties_max_retries: { get_param: sf_shc_max_retries } - service_health_check_properties_url_path: { get_param: sf_shc_url_path } - - # Create port for Transport interface(SGi-ims) in SGi Context - SF3_IMS_12_RVMI: - type: OS::ContrailV2::VirtualMachineInterface - properties: - virtual_network_refs: - - get_param: ims_net_fqdn -# service_health_check_refs: -# - { get_resource: SF3_IMS_12_RSHC } - virtual_machine_interface_allowed_address_pairs: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair: - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,2] } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth } - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_ims_rii_v6 } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 } - - SF3_IMS_12_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF3_IMS_12_RVMI ] - properties: - virtual_network_refs: - - get_param: ims_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF3_IMS_12_RVMI - instance_ip_address: { get_param: [sf_sgi_ims_ips, 0] } - - SF3_IMS_12_v6_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF3_IMS_12_RVMI ] - properties: - virtual_network_refs: - - get_param: ims_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF3_IMS_12_RVMI - instance_ip_address: { get_param: [sf_sgi_ims_v6_ips, 0] } - instance_ip_family: { get_param: instance_ip_family_v6 } - - SF3_IMS_12_RSHC: - type: OS::ContrailV2::ServiceHealthCheck - properties: - name: SF3_IMS_12_RSHC - service_health_check_properties: - service_health_check_properties_enabled: { get_param: sf_shc_enabled } - service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type } - service_health_check_properties_delay: { get_param: sf_shc_delay } - service_health_check_properties_timeout: { get_param: sf_shc_timeout } - service_health_check_properties_max_retries: { get_param: sf_shc_max_retries } - service_health_check_properties_url_path: { get_param: sf_shc_url_path } - - # Create port for Transport Interface in SUPPORT Context - SF3_COR_13_RVMI: - type: OS::ContrailV2::VirtualMachineInterface - properties: - virtual_network_refs: - - get_param: cor_net_fqdn -# service_health_check_refs: -# - { get_resource: SF3_COR_13_RSHC } - virtual_machine_interface_allowed_address_pairs: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair: - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,3] } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth } - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_cor_rii_v6 } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 } - - SF3_COR_13_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF3_COR_13_RVMI ] - properties: - virtual_network_refs: - - get_param: cor_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF3_COR_13_RVMI - instance_ip_address: { get_param: [sf_cor_ips, 0] } - - SF3_COR_13_v6_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF3_COR_13_RVMI ] - properties: - virtual_network_refs: - - get_param: cor_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF3_COR_13_RVMI - instance_ip_address: { get_param: [sf_cor_v6_ips, 0] } - instance_ip_family: { get_param: instance_ip_family_v6 } - - SF3_COR_13_RSHC: - type: OS::ContrailV2::ServiceHealthCheck - properties: - name: SF3_COR_13_RSHC - service_health_check_properties: - service_health_check_properties_enabled: { get_param: sf_shc_enabled } - service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type } - service_health_check_properties_delay: { get_param: sf_shc_delay } - service_health_check_properties_timeout: { get_param: sf_shc_timeout } - service_health_check_properties_max_retries: { get_param: sf_shc_max_retries } - service_health_check_properties_url_path: { get_param: sf_shc_url_path } - - - - - # Create port for Transport interface in LI Context - SF3_OAM_CALEA_14_PORT: - type: OS::Neutron::Port - properties: - network: {get_param: oam_calea_net_name} - fixed_ips: [{"ip_address": {get_param: [sf_oam_calea_ips, 0]}}] - # Create port for Transport interface in SRP Context - SF3_INT_ICSR_15_PORT: - type: OS::Neutron::Port - properties: - network: {get_param: int_icsr_net_name} - fixed_ips: [{"ip_address": {get_param: [sf_int_icsr_ips, 0]}}] - - # Create VPC SF 03 Instance - sf_server_2: - type: OS::Nova::Server - depends_on: [ SF3_GN_10_RII, SF3_GN_10_v6_RII, SF3_SGI_11_RII, SF3_SGI_11_v6_RII, SF3_IMS_12_RII, SF3_IMS_12_v6_RII, SF3_COR_13_RII, SF3_COR_13_v6_RII ] - properties: - metadata: - vnf_id: { get_param: vnf_id } - vnf_name: { get_param: vnf_name } - vf_module_id: { get_param: vf_module_id } - -# name: -# str_replace: -# template: Z${CZ_ID}CGWY${VF_ID}${VM_TYPE}${VM_NUM} -# params: -# ${CZ_ID}: {get_param: czid} -# ${VF_ID}: {get_param: vf_inst_number} -# ${VM_TYPE}: DSF -# ${VM_NUM}: "003" - name: {get_param: [cgwy_names, 2]} - config_drive: True - image: {get_param: sf_image_name} - flavor: {get_param: sf_flavor_name} - networks: - - port: {get_resource: sf_int_di2_2_port} - - port: {get_resource: SF3_GN_10_RVMI} - - port: {get_resource: SF3_SGI_11_RVMI} - - port: {get_resource: SF3_IMS_12_RVMI} - - port: {get_resource: SF3_COR_13_RVMI} - - port: {get_resource: SF3_OAM_CALEA_14_PORT} - - port: {get_resource: SF3_INT_ICSR_15_PORT} - personality: - "staros_param.cfg": - str_replace: - template: | - CARDSLOT=$CARD_NUMBER - CARDTYPE=$CARD_TYPE - CPUID=$CPUID - params: - $CARD_NUMBER: 3 - $CARD_TYPE: SFC - $CPUID: 0 - availability_zone: {get_param: availability_zone_0} - scheduler_hints: - group: {get_resource: sf_vpc-servergroup} - - #### SF04 ###### - # Create port for DI-Internal Network - sf_int_di2_3_port: - type: OS::Neutron::Port - properties: - network: {get_param: cgwy_int_di2_net_name} -# Create port for Transport Interface in SAEGW Context - SF4_GN_10_RVMI: - type: OS::ContrailV2::VirtualMachineInterface - properties: - virtual_network_refs: - - get_param: gn_net_fqdn -# service_health_check_refs: -# - { get_resource: SF4_GN_10_RSHC } - virtual_machine_interface_allowed_address_pairs: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair: - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,0] } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth } - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_gn_rii_v6 } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 } - - SF4_GN_10_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF4_GN_10_RVMI ] - properties: - virtual_network_refs: - - get_param: gn_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF4_GN_10_RVMI - instance_ip_address: { get_param: [sf_gn_ips, 1] } - - SF4_GN_10_v6_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF4_GN_10_RVMI ] - properties: - virtual_network_refs: - - get_param: gn_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF4_GN_10_RVMI - instance_ip_address: { get_param: [sf_gn_v6_ips, 1] } - instance_ip_family: { get_param: instance_ip_family_v6 } - - SF4_GN_10_RSHC: - type: OS::ContrailV2::ServiceHealthCheck - properties: - name: SF4_GN_10_RSHC - service_health_check_properties: - service_health_check_properties_enabled: { get_param: sf_shc_enabled } - service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type } - service_health_check_properties_delay: { get_param: sf_shc_delay } - service_health_check_properties_timeout: { get_param: sf_shc_timeout } - service_health_check_properties_max_retries: { get_param: sf_shc_max_retries } - service_health_check_properties_url_path: { get_param: sf_shc_url_path } - - # Create port for Transport interface(SGi-data) in SGi Context - SF4_SGI_11_RVMI: - type: OS::ContrailV2::VirtualMachineInterface - properties: - virtual_network_refs: - - get_param: sgi_net_fqdn -# service_health_check_refs: -# - { get_resource: SF4_SGI_11_RSHC } - virtual_machine_interface_allowed_address_pairs: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair: - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,1] } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth } - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_sgi_rii_v6 } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 } - - SF4_SGI_11_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF4_SGI_11_RVMI ] - properties: - virtual_network_refs: - - get_param: sgi_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF4_SGI_11_RVMI - instance_ip_address: { get_param: [sf_sgi_prot_ips, 1] } - - SF4_SGI_11_v6_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF4_SGI_11_RVMI ] - properties: - virtual_network_refs: - - get_param: sgi_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF4_SGI_11_RVMI - instance_ip_address: { get_param: [sf_sgi_prot_v6_ips, 1] } - instance_ip_family: { get_param: instance_ip_family_v6 } - - SF4_SGI_11_RSHC: - type: OS::ContrailV2::ServiceHealthCheck - properties: - name: SF4_SGI_11_RSHC - service_health_check_properties: - service_health_check_properties_enabled: { get_param: sf_shc_enabled } - service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type } - service_health_check_properties_delay: { get_param: sf_shc_delay } - service_health_check_properties_timeout: { get_param: sf_shc_timeout } - service_health_check_properties_max_retries: { get_param: sf_shc_max_retries } - service_health_check_properties_url_path: { get_param: sf_shc_url_path } - - # Create port for Transport interface(SGi-ims) in SGi Context - SF4_IMS_12_RVMI: - type: OS::ContrailV2::VirtualMachineInterface - properties: - virtual_network_refs: - - get_param: ims_net_fqdn -# service_health_check_refs: -# - { get_resource: SF4_IMS_12_RSHC } - virtual_machine_interface_allowed_address_pairs: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair: - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,2] } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth } - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_ims_rii_v6 } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 } - - SF4_IMS_12_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF4_IMS_12_RVMI ] - properties: - virtual_network_refs: - - get_param: ims_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF4_IMS_12_RVMI - instance_ip_address: { get_param: [sf_sgi_ims_ips, 1] } - - SF4_IMS_12_v6_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF4_IMS_12_RVMI ] - properties: - virtual_network_refs: - - get_param: ims_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF4_IMS_12_RVMI - instance_ip_address: { get_param: [sf_sgi_ims_v6_ips, 1] } - instance_ip_family: { get_param: instance_ip_family_v6 } - - SF4_IMS_12_RSHC: - type: OS::ContrailV2::ServiceHealthCheck - properties: - name: SF4_IMS_12_RSHC - service_health_check_properties: - service_health_check_properties_enabled: { get_param: sf_shc_enabled } - service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type } - service_health_check_properties_delay: { get_param: sf_shc_delay } - service_health_check_properties_timeout: { get_param: sf_shc_timeout } - service_health_check_properties_max_retries: { get_param: sf_shc_max_retries } - service_health_check_properties_url_path: { get_param: sf_shc_url_path } - - # Create port for Transport Interface in SUPPORT Context - SF4_COR_13_RVMI: - type: OS::ContrailV2::VirtualMachineInterface - properties: - virtual_network_refs: - - get_param: cor_net_fqdn -# service_health_check_refs: -# - { get_resource: SF4_COR_13_RSHC } - virtual_machine_interface_allowed_address_pairs: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair: - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,3] } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth } - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_cor_rii_v6 } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 } - - SF4_COR_13_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF4_COR_13_RVMI ] - properties: - virtual_network_refs: - - get_param: cor_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF4_COR_13_RVMI - instance_ip_address: { get_param: [sf_cor_ips, 1] } - - SF4_COR_13_v6_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF4_COR_13_RVMI ] - properties: - virtual_network_refs: - - get_param: cor_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF4_COR_13_RVMI - instance_ip_address: { get_param: [sf_cor_v6_ips, 1] } - instance_ip_family: { get_param: instance_ip_family_v6 } - - SF4_COR_13_RSHC: - type: OS::ContrailV2::ServiceHealthCheck - properties: - name: SF4_COR_13_RSHC - service_health_check_properties: - service_health_check_properties_enabled: { get_param: sf_shc_enabled } - service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type } - service_health_check_properties_delay: { get_param: sf_shc_delay } - service_health_check_properties_timeout: { get_param: sf_shc_timeout } - service_health_check_properties_max_retries: { get_param: sf_shc_max_retries } - service_health_check_properties_url_path: { get_param: sf_shc_url_path } - - - SF4_OAM_CALEA_14_PORT: - type: OS::Neutron::Port - properties: - network: {get_param: oam_calea_net_name} - fixed_ips: [{"ip_address": {get_param: [sf_oam_calea_ips, 1]}}] - # Create port for Transport interface in SRP Context - SF4_INT_ICSR_15_PORT: - type: OS::Neutron::Port - properties: - network: {get_param: int_icsr_net_name} - fixed_ips: [{"ip_address": {get_param: [sf_int_icsr_ips, 1]}}] - - # Create VPC SF 04 Instance - sf_server_3: - type: OS::Nova::Server - depends_on: [ SF4_GN_10_RII, SF4_GN_10_v6_RII, SF4_SGI_11_RII, SF4_SGI_11_v6_RII, SF4_IMS_12_RII, SF4_IMS_12_v6_RII, SF4_COR_13_RII, SF4_COR_13_v6_RII ] - properties: - metadata: - vnf_id: { get_param: vnf_id } - vnf_name: { get_param: vnf_name } - vf_module_id: { get_param: vf_module_id } - -# name: -# str_replace: -# template: Z${CZ_ID}CGWY${VF_ID}${VM_TYPE}${VM_NUM} -# params: -# ${CZ_ID}: {get_param: czid} -# ${VF_ID}: {get_param: vf_inst_number} -# ${VM_TYPE}: DSF -# ${VM_NUM}: "004" - name: {get_param: [cgwy_names, 3]} - config_drive: True - image: {get_param: sf_image_name} - flavor: {get_param: sf_flavor_name} - networks: - - port: {get_resource: sf_int_di2_3_port} - - port: {get_resource: SF4_GN_10_RVMI} - - port: {get_resource: SF4_SGI_11_RVMI} - - port: {get_resource: SF4_IMS_12_RVMI} - - port: {get_resource: SF4_COR_13_RVMI} - - port: {get_resource: SF4_OAM_CALEA_14_PORT} - - port: {get_resource: SF4_INT_ICSR_15_PORT} - personality: - "staros_param.cfg": - str_replace: - template: | - CARDSLOT=$CARD_NUMBER - CARDTYPE=$CARD_TYPE - CPUID=$CPUID - params: - $CARD_NUMBER: 4 - $CARD_TYPE: SFC - $CPUID: 0 - availability_zone: {get_param: availability_zone_0} - scheduler_hints: - group: {get_resource: sf_vpc-servergroup} - - - #### SF05 ###### - # Create port for DI-Internal Network - sf_int_di2_4_port: - type: OS::Neutron::Port - properties: - network: {get_param: cgwy_int_di2_net_name} - # Create port for Transport Interface in SAEGW Context - SF5_GN_10_RVMI: - type: OS::ContrailV2::VirtualMachineInterface - properties: - virtual_network_refs: - - get_param: gn_net_fqdn -# service_health_check_refs: -# - { get_resource: SF5_GN_10_RSHC } - virtual_machine_interface_allowed_address_pairs: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair: - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,0] } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth } - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_gn_rii_v6 } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 } - - SF5_GN_10_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF5_GN_10_RVMI ] - properties: - virtual_network_refs: - - get_param: gn_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF5_GN_10_RVMI - instance_ip_address: { get_param: [sf_gn_ips, 2] } - - SF5_GN_10_v6_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF5_GN_10_RVMI ] - properties: - virtual_network_refs: - - get_param: gn_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF5_GN_10_RVMI - instance_ip_address: { get_param: [sf_gn_v6_ips, 2] } - instance_ip_family: { get_param: instance_ip_family_v6 } - - SF5_GN_10_RSHC: - type: OS::ContrailV2::ServiceHealthCheck - properties: - name: SF5_GN_10_RSHC - service_health_check_properties: - service_health_check_properties_enabled: { get_param: sf_shc_enabled } - service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type } - service_health_check_properties_delay: { get_param: sf_shc_delay } - service_health_check_properties_timeout: { get_param: sf_shc_timeout } - service_health_check_properties_max_retries: { get_param: sf_shc_max_retries } - service_health_check_properties_url_path: { get_param: sf_shc_url_path } - - # Create port for Transport interface(SGi-data) in SGi Context - SF5_SGI_11_RVMI: - type: OS::ContrailV2::VirtualMachineInterface - properties: - virtual_network_refs: - - get_param: sgi_net_fqdn -# service_health_check_refs: -# - { get_resource: SF5_SGI_11_RSHC } - virtual_machine_interface_allowed_address_pairs: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair: - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,1] } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth } - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_sgi_rii_v6 } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 } - - SF5_SGI_11_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF5_SGI_11_RVMI ] - properties: - virtual_network_refs: - - get_param: sgi_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF5_SGI_11_RVMI - instance_ip_address: { get_param: [sf_sgi_prot_ips, 2] } - - SF5_SGI_11_v6_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF5_SGI_11_RVMI ] - properties: - virtual_network_refs: - - get_param: sgi_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF5_SGI_11_RVMI - instance_ip_address: { get_param: [sf_sgi_prot_v6_ips, 2] } - instance_ip_family: { get_param: instance_ip_family_v6 } - - SF5_SGI_11_RSHC: - type: OS::ContrailV2::ServiceHealthCheck - properties: - name: SF5_SGI_11_RSHC - service_health_check_properties: - service_health_check_properties_enabled: { get_param: sf_shc_enabled } - service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type } - service_health_check_properties_delay: { get_param: sf_shc_delay } - service_health_check_properties_timeout: { get_param: sf_shc_timeout } - service_health_check_properties_max_retries: { get_param: sf_shc_max_retries } - service_health_check_properties_url_path: { get_param: sf_shc_url_path } - - # Create port for Transport interface(SGi-ims) in SGi Context - SF5_IMS_12_RVMI: - type: OS::ContrailV2::VirtualMachineInterface - properties: - virtual_network_refs: - - get_param: ims_net_fqdn -# service_health_check_refs: -# - { get_resource: SF5_IMS_12_RSHC } - virtual_machine_interface_allowed_address_pairs: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair: - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,2] } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth } - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_ims_rii_v6 } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 } - - SF5_IMS_12_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF5_IMS_12_RVMI ] - properties: - virtual_network_refs: - - get_param: ims_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF5_IMS_12_RVMI - instance_ip_address: { get_param: [sf_sgi_ims_ips, 2] } - - SF5_IMS_12_v6_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF5_IMS_12_RVMI ] - properties: - virtual_network_refs: - - get_param: ims_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF5_IMS_12_RVMI - instance_ip_address: { get_param: [sf_sgi_ims_v6_ips, 2] } - instance_ip_family: { get_param: instance_ip_family_v6 } - - SF5_IMS_12_RSHC: - type: OS::ContrailV2::ServiceHealthCheck - properties: - name: SF5_IMS_12_RSHC - service_health_check_properties: - service_health_check_properties_enabled: { get_param: sf_shc_enabled } - service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type } - service_health_check_properties_delay: { get_param: sf_shc_delay } - service_health_check_properties_timeout: { get_param: sf_shc_timeout } - service_health_check_properties_max_retries: { get_param: sf_shc_max_retries } - service_health_check_properties_url_path: { get_param: sf_shc_url_path } - - # Create port for Transport Interface in SUPPORT Context - SF5_COR_13_RVMI: - type: OS::ContrailV2::VirtualMachineInterface - properties: - virtual_network_refs: - - get_param: cor_net_fqdn -# service_health_check_refs: -# - { get_resource: SF5_COR_13_RSHC } - virtual_machine_interface_allowed_address_pairs: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair: - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,3] } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth } - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_cor_rii_v6 } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 } - - SF5_COR_13_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF5_COR_13_RVMI ] - properties: - virtual_network_refs: - - get_param: cor_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF5_COR_13_RVMI - instance_ip_address: { get_param: [sf_cor_ips, 2] } - - SF5_COR_13_v6_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF5_COR_13_RVMI ] - properties: - virtual_network_refs: - - get_param: cor_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF5_COR_13_RVMI - instance_ip_address: { get_param: [sf_cor_v6_ips, 2] } - instance_ip_family: { get_param: instance_ip_family_v6 } - - SF5_COR_13_RSHC: - type: OS::ContrailV2::ServiceHealthCheck - properties: - name: SF5_COR_13_RSHC - service_health_check_properties: - service_health_check_properties_enabled: { get_param: sf_shc_enabled } - service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type } - service_health_check_properties_delay: { get_param: sf_shc_delay } - service_health_check_properties_timeout: { get_param: sf_shc_timeout } - service_health_check_properties_max_retries: { get_param: sf_shc_max_retries } - service_health_check_properties_url_path: { get_param: sf_shc_url_path } - - - # Create port for Transport interface in LI Context - SF5_OAM_CALEA_14_PORT: - type: OS::Neutron::Port - properties: - network: {get_param: oam_calea_net_name} - fixed_ips: [{"ip_address": {get_param: [sf_oam_calea_ips, 2]}}] - # Create port for Transport interface in SRP Context - SF5_INT_ICSR_15_PORT: - type: OS::Neutron::Port - properties: - network: {get_param: int_icsr_net_name} - fixed_ips: [{"ip_address": {get_param: [sf_int_icsr_ips, 2]}}] - - # Create VPC SF 05 Instance - sf_server_4: - type: OS::Nova::Server - depends_on: [ SF5_GN_10_RII, SF5_GN_10_v6_RII, SF5_SGI_11_RII, SF5_SGI_11_v6_RII, SF5_IMS_12_RII, SF5_IMS_12_v6_RII, SF5_COR_13_RII, SF5_COR_13_v6_RII ] - properties: - metadata: - vnf_id: { get_param: vnf_id } - vnf_name: { get_param: vnf_name } - vf_module_id: { get_param: vf_module_id } - -# name: -# str_replace: -# template: Z${CZ_ID}CGWY${VF_ID}${VM_TYPE}${VM_NUM} -# params: -# ${CZ_ID}: {get_param: czid} -# ${VF_ID}: {get_param: vf_inst_number} -# ${VM_TYPE}: DSF -# ${VM_NUM}: "005" - name: {get_param: [cgwy_names, 4]} - config_drive: True - image: {get_param: sf_image_name} - flavor: {get_param: sf_flavor_name} - networks: - - port: {get_resource: sf_int_di2_4_port} - - port: {get_resource: SF5_GN_10_RVMI} - - port: {get_resource: SF5_SGI_11_RVMI} - - port: {get_resource: SF5_IMS_12_RVMI} - - port: {get_resource: SF5_COR_13_RVMI} - - port: {get_resource: SF5_OAM_CALEA_14_PORT} - - port: {get_resource: SF5_INT_ICSR_15_PORT} - - personality: - "staros_param.cfg": - str_replace: - template: | - CARDSLOT=$CARD_NUMBER - CARDTYPE=$CARD_TYPE - CPUID=$CPUID - params: - $CARD_NUMBER: 5 - $CARD_TYPE: SFC - $CPUID: 0 - availability_zone: {get_param: availability_zone_0} - scheduler_hints: - group: {get_resource: sf_vpc-servergroup} - - - #### SF06 ###### - # Create port for DI-Internal Network - sf_int_di2_5_port: - type: OS::Neutron::Port - properties: - network: {get_param: cgwy_int_di2_net_name} - # Create port for Transport Interface in SAEGW Context - SF6_GN_10_RVMI: - type: OS::ContrailV2::VirtualMachineInterface - properties: - virtual_network_refs: - - get_param: gn_net_fqdn -# service_health_check_refs: -# - { get_resource: SF6_GN_10_RSHC } - virtual_machine_interface_allowed_address_pairs: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair: - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,0] } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth } - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_gn_rii_v6 } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 } - - SF6_GN_10_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF6_GN_10_RVMI ] - properties: - virtual_network_refs: - - get_param: gn_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF6_GN_10_RVMI - instance_ip_address: { get_param: [sf_gn_ips, 3] } - - SF6_GN_10_RSHC: - type: OS::ContrailV2::ServiceHealthCheck - properties: - name: SF6_GN_10_RSHC - service_health_check_properties: - service_health_check_properties_enabled: { get_param: sf_shc_enabled } - service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type } - service_health_check_properties_delay: { get_param: sf_shc_delay } - service_health_check_properties_timeout: { get_param: sf_shc_timeout } - service_health_check_properties_max_retries: { get_param: sf_shc_max_retries } - service_health_check_properties_url_path: { get_param: sf_shc_url_path } - - SF6_GN_10_v6_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF6_GN_10_RVMI ] - properties: - virtual_network_refs: - - get_param: gn_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF6_GN_10_RVMI - instance_ip_address: { get_param: [sf_gn_v6_ips, 3] } - instance_ip_family: { get_param: instance_ip_family_v6 } - - # Create port for Transport interface(SGi-data) in SGi Context - SF6_SGI_11_RVMI: - type: OS::ContrailV2::VirtualMachineInterface - properties: - virtual_network_refs: - - get_param: sgi_net_fqdn -# service_health_check_refs: -# - { get_resource: SF6_SGI_11_RSHC } - virtual_machine_interface_allowed_address_pairs: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair: - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,1] } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth } - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_sgi_rii_v6 } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 } - - SF6_SGI_11_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF6_SGI_11_RVMI ] - properties: - virtual_network_refs: - - get_param: sgi_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF6_SGI_11_RVMI - instance_ip_address: { get_param: [sf_sgi_prot_ips, 3] } - - SF6_SGI_11_v6_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF6_SGI_11_RVMI ] - properties: - virtual_network_refs: - - get_param: sgi_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF6_SGI_11_RVMI - instance_ip_address: { get_param: [sf_sgi_prot_v6_ips, 3] } - instance_ip_family: { get_param: instance_ip_family_v6 } - - SF6_SGI_11_RSHC: - type: OS::ContrailV2::ServiceHealthCheck - properties: - name: SF6_SGI_11_RSHC - service_health_check_properties: - service_health_check_properties_enabled: { get_param: sf_shc_enabled } - service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type } - service_health_check_properties_delay: { get_param: sf_shc_delay } - service_health_check_properties_timeout: { get_param: sf_shc_timeout } - service_health_check_properties_max_retries: { get_param: sf_shc_max_retries } - service_health_check_properties_url_path: { get_param: sf_shc_url_path } - - # Create port for Transport interface(SGi-ims) in SGi Context - SF6_IMS_12_RVMI: - type: OS::ContrailV2::VirtualMachineInterface - properties: - virtual_network_refs: - - get_param: ims_net_fqdn -# service_health_check_refs: -# - { get_resource: SF6_IMS_12_RSHC } - virtual_machine_interface_allowed_address_pairs: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair: - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,2] } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth } - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_ims_rii_v6 } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 } - - SF6_IMS_12_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF6_IMS_12_RVMI ] - properties: - virtual_network_refs: - - get_param: ims_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF6_IMS_12_RVMI - instance_ip_address: { get_param: [sf_sgi_ims_ips, 3] } - - SF6_IMS_12_v6_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF6_IMS_12_RVMI ] - properties: - virtual_network_refs: - - get_param: ims_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF6_IMS_12_RVMI - instance_ip_address: { get_param: [sf_sgi_ims_v6_ips, 3] } - instance_ip_family: { get_param: instance_ip_family_v6 } - - SF6_IMS_12_RSHC: - type: OS::ContrailV2::ServiceHealthCheck - properties: - name: SF6_IMS_12_RSHC - service_health_check_properties: - service_health_check_properties_enabled: { get_param: sf_shc_enabled } - service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type } - service_health_check_properties_delay: { get_param: sf_shc_delay } - service_health_check_properties_timeout: { get_param: sf_shc_timeout } - service_health_check_properties_max_retries: { get_param: sf_shc_max_retries } - service_health_check_properties_url_path: { get_param: sf_shc_url_path } - - # Create port for Transport Interface in SUPPORT Context - SF6_COR_13_RVMI: - type: OS::ContrailV2::VirtualMachineInterface - properties: - virtual_network_refs: - - get_param: cor_net_fqdn -# service_health_check_refs: -# - { get_resource: SF6_COR_13_RSHC } - virtual_machine_interface_allowed_address_pairs: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair: - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,3] } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth } - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_cor_rii_v6 } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 } - - SF6_COR_13_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF6_COR_13_RVMI ] - properties: - virtual_network_refs: - - get_param: cor_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF6_COR_13_RVMI - instance_ip_address: { get_param: [sf_cor_ips, 3] } - - SF6_COR_13_v6_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF6_COR_13_RVMI ] - properties: - virtual_network_refs: - - get_param: cor_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF6_COR_13_RVMI - instance_ip_address: { get_param: [sf_cor_v6_ips, 3] } - instance_ip_family: { get_param: instance_ip_family_v6 } - - SF6_COR_13_RSHC: - type: OS::ContrailV2::ServiceHealthCheck - properties: - name: SF6_COR_13_RSHC - service_health_check_properties: - service_health_check_properties_enabled: { get_param: sf_shc_enabled } - service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type } - service_health_check_properties_delay: { get_param: sf_shc_delay } - service_health_check_properties_timeout: { get_param: sf_shc_timeout } - service_health_check_properties_max_retries: { get_param: sf_shc_max_retries } - service_health_check_properties_url_path: { get_param: sf_shc_url_path } - - - # Create port for Transport interface in LI Context - SF6_OAM_CALEA_14_PORT: - type: OS::Neutron::Port - properties: - network: {get_param: oam_calea_net_name} - fixed_ips: [{"ip_address": {get_param: [sf_oam_calea_ips, 3]}}] - # Create port for Transport interface in SRP Context - SF6_INT_ICSR_15_PORT: - type: OS::Neutron::Port - properties: - network: {get_param: int_icsr_net_name} - fixed_ips: [{"ip_address": {get_param: [sf_int_icsr_ips, 3]}}] - - # Create VPC SF 06 Instance - sf_server_5: - type: OS::Nova::Server - depends_on: [ SF6_GN_10_RII, SF6_GN_10_v6_RII, SF6_SGI_11_RII, SF6_SGI_11_v6_RII, SF6_IMS_12_RII, SF6_IMS_12_v6_RII, SF6_COR_13_RII, SF6_COR_13_v6_RII ] - properties: - metadata: - vnf_id: { get_param: vnf_id } - vnf_name: { get_param: vnf_name } - vf_module_id: { get_param: vf_module_id } - -# name: -# str_replace: -# template: Z${CZ_ID}CGWY${VF_ID}${VM_TYPE}${VM_NUM} -# params: -# ${CZ_ID}: {get_param: czid} -# ${VF_ID}: {get_param: vf_inst_number} -# ${VM_TYPE}: DSF -# ${VM_NUM}: "006" - name: {get_param: [cgwy_names, 5]} - config_drive: True - image: {get_param: sf_image_name} - flavor: {get_param: sf_flavor_name} - networks: - - port: {get_resource: sf_int_di2_5_port} - - port: {get_resource: SF6_GN_10_RVMI} - - port: {get_resource: SF6_SGI_11_RVMI} - - port: {get_resource: SF6_IMS_12_RVMI} - - port: {get_resource: SF6_COR_13_RVMI} - - port: {get_resource: SF6_OAM_CALEA_14_PORT} - - port: {get_resource: SF6_INT_ICSR_15_PORT} - - personality: - "staros_param.cfg": - str_replace: - template: | - CARDSLOT=$CARD_NUMBER - CARDTYPE=$CARD_TYPE - CPUID=$CPUID - params: - $CARD_NUMBER: 6 - $CARD_TYPE: SFC - $CPUID: 0 - availability_zone: {get_param: availability_zone_0} - scheduler_hints: - group: {get_resource: sf_vpc-servergroup} - ### SF07 ###### - # Create port for DI-Internal Network - sf_int_di2_6_port: - type: OS::Neutron::Port - properties: - network: {get_param: cgwy_int_di2_net_name} -# Create port for Transport Interface in SAEGW Context - SF7_GN_10_RVMI: - type: OS::ContrailV2::VirtualMachineInterface - properties: - virtual_network_refs: - - get_param: gn_net_fqdn -# service_health_check_refs: -# - { get_resource: SF7_GN_10_RSHC } - virtual_machine_interface_allowed_address_pairs: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair: - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,0] } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth } - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_gn_rii_v6 } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 } - - SF7_GN_10_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF7_GN_10_RVMI ] - properties: - virtual_network_refs: - - get_param: gn_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF7_GN_10_RVMI - instance_ip_address: { get_param: [sf_gn_ips, 4] } - - SF7_GN_10_v6_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF7_GN_10_RVMI ] - properties: - virtual_network_refs: - - get_param: gn_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF7_GN_10_RVMI - instance_ip_address: { get_param: [sf_gn_v6_ips, 4] } - instance_ip_family: { get_param: instance_ip_family_v6 } - - SF7_GN_10_RSHC: - type: OS::ContrailV2::ServiceHealthCheck - properties: - name: SF7_GN_10_RSHC - service_health_check_properties: - service_health_check_properties_enabled: { get_param: sf_shc_enabled } - service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type } - service_health_check_properties_delay: { get_param: sf_shc_delay } - service_health_check_properties_timeout: { get_param: sf_shc_timeout } - service_health_check_properties_max_retries: { get_param: sf_shc_max_retries } - service_health_check_properties_url_path: { get_param: sf_shc_url_path } - - # Create port for Transport interface(SGi-data) in SGi Context - SF7_SGI_11_RVMI: - type: OS::ContrailV2::VirtualMachineInterface - properties: - virtual_network_refs: - - get_param: sgi_net_fqdn -# service_health_check_refs: -# - { get_resource: SF7_SGI_11_RSHC } - virtual_machine_interface_allowed_address_pairs: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair: - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,1] } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth } - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_sgi_rii_v6 } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 } - - SF7_SGI_11_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF7_SGI_11_RVMI ] - properties: - virtual_network_refs: - - get_param: sgi_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF7_SGI_11_RVMI - instance_ip_address: { get_param: [sf_sgi_prot_ips, 4] } - - SF7_SGI_11_v6_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF7_SGI_11_RVMI ] - properties: - virtual_network_refs: - - get_param: sgi_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF7_SGI_11_RVMI - instance_ip_address: { get_param: [sf_sgi_prot_v6_ips, 4] } - instance_ip_family: { get_param: instance_ip_family_v6 } - - SF7_SGI_11_RSHC: - type: OS::ContrailV2::ServiceHealthCheck - properties: - name: SF7_SGI_11_RSHC - service_health_check_properties: - service_health_check_properties_enabled: { get_param: sf_shc_enabled } - service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type } - service_health_check_properties_delay: { get_param: sf_shc_delay } - service_health_check_properties_timeout: { get_param: sf_shc_timeout } - service_health_check_properties_max_retries: { get_param: sf_shc_max_retries } - service_health_check_properties_url_path: { get_param: sf_shc_url_path } - - # Create port for Transport interface(SGi-ims) in SGi Context - SF7_IMS_12_RVMI: - type: OS::ContrailV2::VirtualMachineInterface - properties: - virtual_network_refs: - - get_param: ims_net_fqdn -# service_health_check_refs: -# - { get_resource: SF7_IMS_12_RSHC } - virtual_machine_interface_allowed_address_pairs: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair: - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,2] } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth } - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_ims_rii_v6 } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 } - - SF7_IMS_12_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF7_IMS_12_RVMI ] - properties: - virtual_network_refs: - - get_param: ims_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF7_IMS_12_RVMI - instance_ip_address: { get_param: [sf_sgi_ims_ips, 4] } - - SF7_IMS_12_v6_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF7_IMS_12_RVMI ] - properties: - virtual_network_refs: - - get_param: ims_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF7_IMS_12_RVMI - instance_ip_address: { get_param: [sf_sgi_ims_v6_ips, 4] } - instance_ip_family: { get_param: instance_ip_family_v6 } - - SF7_IMS_12_RSHC: - type: OS::ContrailV2::ServiceHealthCheck - properties: - name: SF7_IMS_12_RSHC - service_health_check_properties: - service_health_check_properties_enabled: { get_param: sf_shc_enabled } - service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type } - service_health_check_properties_delay: { get_param: sf_shc_delay } - service_health_check_properties_timeout: { get_param: sf_shc_timeout } - service_health_check_properties_max_retries: { get_param: sf_shc_max_retries } - service_health_check_properties_url_path: { get_param: sf_shc_url_path } - - # Create port for Transport Interface in SUPPORT Context - SF7_COR_13_RVMI: - type: OS::ContrailV2::VirtualMachineInterface - properties: - virtual_network_refs: - - get_param: cor_net_fqdn -# service_health_check_refs: -# - { get_resource: SF7_COR_13_RSHC } - virtual_machine_interface_allowed_address_pairs: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair: - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,3] } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth } - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_cor_rii_v6 } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 } - - SF7_COR_13_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF7_COR_13_RVMI ] - properties: - virtual_network_refs: - - get_param: cor_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF7_COR_13_RVMI - instance_ip_address: { get_param: [sf_cor_ips, 4] } - - SF7_COR_13_v6_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF7_COR_13_RVMI ] - properties: - virtual_network_refs: - - get_param: cor_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF7_COR_13_RVMI - instance_ip_address: { get_param: [sf_cor_v6_ips, 4] } - instance_ip_family: { get_param: instance_ip_family_v6 } - - SF7_COR_13_RSHC: - type: OS::ContrailV2::ServiceHealthCheck - properties: - name: SF7_COR_13_RSHC - service_health_check_properties: - service_health_check_properties_enabled: { get_param: sf_shc_enabled } - service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type } - service_health_check_properties_delay: { get_param: sf_shc_delay } - service_health_check_properties_timeout: { get_param: sf_shc_timeout } - service_health_check_properties_max_retries: { get_param: sf_shc_max_retries } - service_health_check_properties_url_path: { get_param: sf_shc_url_path } - - # Create port for Transport interface in LI Context - SF7_OAM_CALEA_14_PORT: - type: OS::Neutron::Port - properties: - network: {get_param: oam_calea_net_name} - fixed_ips: [{"ip_address": {get_param: [sf_oam_calea_ips, 4]}}] - # Create port for Transport interface in SRP Context - SF7_INT_ICSR_15_PORT: - type: OS::Neutron::Port - properties: - network: {get_param: int_icsr_net_name} - fixed_ips: [{"ip_address": {get_param: [sf_int_icsr_ips, 4]}}] - - # Create VPC SF 07 Instance - sf_server_6: - type: OS::Nova::Server - depends_on: [ SF7_GN_10_RII, SF7_GN_10_v6_RII, SF7_SGI_11_RII, SF7_SGI_11_v6_RII, SF7_IMS_12_RII, SF7_IMS_12_v6_RII, SF7_COR_13_RII, SF7_COR_13_v6_RII ] - properties: - metadata: - vnf_id: { get_param: vnf_id } - vnf_name: { get_param: vnf_name } - vf_module_id: { get_param: vf_module_id } - -# name: -# str_replace: -# template: Z${CZ_ID}CGWY${VF_ID}${VM_TYPE}${VM_NUM} -# params: -# ${CZ_ID}: {get_param: czid} -# ${VF_ID}: {get_param: vf_inst_number} -# ${VM_TYPE}: DSF -# ${VM_NUM}: "007" - name: {get_param: [cgwy_names, 6]} - config_drive: True - image: {get_param: sf_image_name} - flavor: {get_param: sf_flavor_name} - networks: - - port: {get_resource: sf_int_di2_6_port} - - port: {get_resource: SF7_GN_10_RVMI} - - port: {get_resource: SF7_SGI_11_RVMI} - - port: {get_resource: SF7_IMS_12_RVMI} - - port: {get_resource: SF7_COR_13_RVMI} - - port: {get_resource: SF7_OAM_CALEA_14_PORT} - - port: {get_resource: SF7_INT_ICSR_15_PORT} - - personality: - "staros_param.cfg": - str_replace: - template: | - CARDSLOT=$CARD_NUMBER - CARDTYPE=$CARD_TYPE - CPUID=$CPUID - params: - $CARD_NUMBER: 7 - $CARD_TYPE: SFC - $CPUID: 0 - availability_zone: {get_param: availability_zone_0} - scheduler_hints: - group: {get_resource: sf_vpc-servergroup} - - ### SF08 ###### - # Create port for DI-Internal Network - sf_int_di2_7_port: - type: OS::Neutron::Port - properties: - network: {get_param: cgwy_int_di2_net_name} -# Create port for Transport Interface in SAEGW Context - SF8_GN_10_RVMI: - type: OS::ContrailV2::VirtualMachineInterface - properties: - virtual_network_refs: - - get_param: gn_net_fqdn -# service_health_check_refs: -# - { get_resource: SF8_GN_10_RSHC } - virtual_machine_interface_allowed_address_pairs: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair: - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,0] } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth } - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_gn_rii_v6 } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 } - - SF8_GN_10_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF8_GN_10_RVMI ] - properties: - virtual_network_refs: - - get_param: gn_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF8_GN_10_RVMI - instance_ip_address: { get_param: [sf_gn_ips, 5] } - - SF8_GN_10_v6_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF8_GN_10_RVMI ] - properties: - virtual_network_refs: - - get_param: gn_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF8_GN_10_RVMI - instance_ip_address: { get_param: [sf_gn_v6_ips, 5] } - instance_ip_family: { get_param: instance_ip_family_v6 } - - SF8_GN_10_RSHC: - type: OS::ContrailV2::ServiceHealthCheck - properties: - name: SF8_GN_10_RSHC - service_health_check_properties: - service_health_check_properties_enabled: { get_param: sf_shc_enabled } - service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type } - service_health_check_properties_delay: { get_param: sf_shc_delay } - service_health_check_properties_timeout: { get_param: sf_shc_timeout } - service_health_check_properties_max_retries: { get_param: sf_shc_max_retries } - service_health_check_properties_url_path: { get_param: sf_shc_url_path } - - # Create port for Transport interface(SGi-data) in SGi Context - SF8_SGI_11_RVMI: - type: OS::ContrailV2::VirtualMachineInterface - properties: - virtual_network_refs: - - get_param: sgi_net_fqdn -# service_health_check_refs: -# - { get_resource: SF8_SGI_11_RSHC } - virtual_machine_interface_allowed_address_pairs: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair: - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,1] } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth } - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_sgi_rii_v6 } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 } - - SF8_SGI_11_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF8_SGI_11_RVMI ] - properties: - virtual_network_refs: - - get_param: sgi_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF8_SGI_11_RVMI - instance_ip_address: { get_param: [sf_sgi_prot_ips, 5] } - - SF8_SGI_11_v6_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF8_SGI_11_RVMI ] - properties: - virtual_network_refs: - - get_param: sgi_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF8_SGI_11_RVMI - instance_ip_address: { get_param: [sf_sgi_prot_v6_ips, 5] } - instance_ip_family: { get_param: instance_ip_family_v6 } - - SF8_SGI_11_RSHC: - type: OS::ContrailV2::ServiceHealthCheck - properties: - name: SF8_SGI_11_RSHC - service_health_check_properties: - service_health_check_properties_enabled: { get_param: sf_shc_enabled } - service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type } - service_health_check_properties_delay: { get_param: sf_shc_delay } - service_health_check_properties_timeout: { get_param: sf_shc_timeout } - service_health_check_properties_max_retries: { get_param: sf_shc_max_retries } - service_health_check_properties_url_path: { get_param: sf_shc_url_path } - - # Create port for Transport interface(SGi-ims) in SGi Context - SF8_IMS_12_RVMI: - type: OS::ContrailV2::VirtualMachineInterface - properties: - virtual_network_refs: - - get_param: ims_net_fqdn -# service_health_check_refs: -# - { get_resource: SF8_IMS_12_RSHC } - virtual_machine_interface_allowed_address_pairs: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair: - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,2] } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth } - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_ims_rii_v6 } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 } - - SF8_IMS_12_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF8_IMS_12_RVMI ] - properties: - virtual_network_refs: - - get_param: ims_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF8_IMS_12_RVMI - instance_ip_address: { get_param: [sf_sgi_ims_ips, 5] } - - SF8_IMS_12_v6_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF8_IMS_12_RVMI ] - properties: - virtual_network_refs: - - get_param: ims_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF8_IMS_12_RVMI - instance_ip_address: { get_param: [sf_sgi_ims_v6_ips, 5] } - instance_ip_family: { get_param: instance_ip_family_v6 } - - SF8_IMS_12_RSHC: - type: OS::ContrailV2::ServiceHealthCheck - properties: - name: SF8_IMS_12_RSHC - service_health_check_properties: - service_health_check_properties_enabled: { get_param: sf_shc_enabled } - service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type } - service_health_check_properties_delay: { get_param: sf_shc_delay } - service_health_check_properties_timeout: { get_param: sf_shc_timeout } - service_health_check_properties_max_retries: { get_param: sf_shc_max_retries } - service_health_check_properties_url_path: { get_param: sf_shc_url_path } - - # Create port for Transport Interface in SUPPORT Context - SF8_COR_13_RVMI: - type: OS::ContrailV2::VirtualMachineInterface - properties: - virtual_network_refs: - - get_param: cor_net_fqdn -# service_health_check_refs: -# - { get_resource: SF8_COR_13_RSHC } - virtual_machine_interface_allowed_address_pairs: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair: - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,3] } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth } - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_cor_rii_v6 } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 } - - SF8_COR_13_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF8_COR_13_RVMI ] - properties: - virtual_network_refs: - - get_param: cor_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF8_COR_13_RVMI - instance_ip_address: { get_param: [sf_cor_ips, 5] } - - SF8_COR_13_v6_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF8_COR_13_RVMI ] - properties: - virtual_network_refs: - - get_param: cor_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF8_COR_13_RVMI - instance_ip_address: { get_param: [sf_cor_v6_ips, 5] } - instance_ip_family: { get_param: instance_ip_family_v6 } - - SF8_COR_13_RSHC: - type: OS::ContrailV2::ServiceHealthCheck - properties: - name: SF8_COR_13_RSHC - service_health_check_properties: - service_health_check_properties_enabled: { get_param: sf_shc_enabled } - service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type } - service_health_check_properties_delay: { get_param: sf_shc_delay } - service_health_check_properties_timeout: { get_param: sf_shc_timeout } - service_health_check_properties_max_retries: { get_param: sf_shc_max_retries } - service_health_check_properties_url_path: { get_param: sf_shc_url_path } - - - SF8_OAM_CALEA_14_PORT: - type: OS::Neutron::Port - properties: - network: {get_param: oam_calea_net_name} - fixed_ips: [{"ip_address": {get_param: [sf_oam_calea_ips, 5]}}] - # Create port for Transport interface in SRP Context - SF8_INT_ICSR_15_PORT: - type: OS::Neutron::Port - properties: - network: {get_param: int_icsr_net_name} - fixed_ips: [{"ip_address": {get_param: [sf_int_icsr_ips, 5]}}] - - # Create VPC SF 08 Instance - sf_server_7: - type: OS::Nova::Server - depends_on: [ SF8_GN_10_RII, SF8_GN_10_v6_RII, SF8_SGI_11_RII, SF8_SGI_11_v6_RII, SF8_IMS_12_RII, SF8_IMS_12_v6_RII, SF8_COR_13_RII, SF8_COR_13_v6_RII ] - properties: - metadata: - vnf_id: { get_param: vnf_id } - vnf_name: { get_param: vnf_name } - vf_module_id: { get_param: vf_module_id } - -# name: -# str_replace: -# template: Z${CZ_ID}CGWY${VF_ID}${VM_TYPE}${VM_NUM} -# params: -# ${CZ_ID}: {get_param: czid} -# ${VF_ID}: {get_param: vf_inst_number} -# ${VM_TYPE}: DSF -# ${VM_NUM}: "008" - name: {get_param: [cgwy_names, 7]} - config_drive: True - image: {get_param: sf_image_name} - flavor: {get_param: sf_flavor_name} - networks: - - port: {get_resource: sf_int_di2_7_port} - - port: {get_resource: SF8_GN_10_RVMI} - - port: {get_resource: SF8_SGI_11_RVMI} - - port: {get_resource: SF8_IMS_12_RVMI} - - port: {get_resource: SF8_COR_13_RVMI} - - port: {get_resource: SF8_OAM_CALEA_14_PORT} - - port: {get_resource: SF8_INT_ICSR_15_PORT} - personality: - "staros_param.cfg": - str_replace: - template: | - CARDSLOT=$CARD_NUMBER - CARDTYPE=$CARD_TYPE - CPUID=$CPUID - params: - $CARD_NUMBER: 8 - $CARD_TYPE: SFC - $CPUID: 0 - availability_zone: {get_param: availability_zone_0} - scheduler_hints: - group: {get_resource: sf_vpc-servergroup} - - ### SF09 ###### - # Create port for DI-Internal Network - sf_int_di2_8_port: - type: OS::Neutron::Port - properties: - network: {get_param: cgwy_int_di2_net_name} -# Create port for Transport Interface in SAEGW Context - SF9_GN_10_RVMI: - type: OS::ContrailV2::VirtualMachineInterface - properties: - virtual_network_refs: - - get_param: gn_net_fqdn -# service_health_check_refs: -# - { get_resource: SF9_GN_10_RSHC } - virtual_machine_interface_allowed_address_pairs: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair: - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,0] } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth } - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_gn_rii_v6 } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 } - - SF9_GN_10_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF9_GN_10_RVMI ] - properties: - virtual_network_refs: - - get_param: gn_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF9_GN_10_RVMI - instance_ip_address: { get_param: [sf_gn_ips, 6] } - - SF9_GN_10_v6_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF9_GN_10_RVMI ] - properties: - virtual_network_refs: - - get_param: gn_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF9_GN_10_RVMI - instance_ip_address: { get_param: [sf_gn_v6_ips, 6] } - instance_ip_family: { get_param: instance_ip_family_v6 } - - SF9_GN_10_RSHC: - type: OS::ContrailV2::ServiceHealthCheck - properties: - name: SF9_GN_10_RSHC - service_health_check_properties: - service_health_check_properties_enabled: { get_param: sf_shc_enabled } - service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type } - service_health_check_properties_delay: { get_param: sf_shc_delay } - service_health_check_properties_timeout: { get_param: sf_shc_timeout } - service_health_check_properties_max_retries: { get_param: sf_shc_max_retries } - service_health_check_properties_url_path: { get_param: sf_shc_url_path } - - # Create port for Transport interface(SGi-data) in SGi Context - SF9_SGI_11_RVMI: - type: OS::ContrailV2::VirtualMachineInterface - properties: - virtual_network_refs: - - get_param: sgi_net_fqdn -# service_health_check_refs: -# - { get_resource: SF9_SGI_11_RSHC } - virtual_machine_interface_allowed_address_pairs: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair: - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,1] } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth } - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_sgi_rii_v6 } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 } - - SF9_SGI_11_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF9_SGI_11_RVMI ] - properties: - virtual_network_refs: - - get_param: sgi_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF9_SGI_11_RVMI - instance_ip_address: { get_param: [sf_sgi_prot_ips, 6] } - - SF9_SGI_11_v6_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF9_SGI_11_RVMI ] - properties: - virtual_network_refs: - - get_param: sgi_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF9_SGI_11_RVMI - instance_ip_address: { get_param: [sf_sgi_prot_v6_ips, 6] } - instance_ip_family: { get_param: instance_ip_family_v6 } - - SF9_SGI_11_RSHC: - type: OS::ContrailV2::ServiceHealthCheck - properties: - name: SF9_SGI_11_RSHC - service_health_check_properties: - service_health_check_properties_enabled: { get_param: sf_shc_enabled } - service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type } - service_health_check_properties_delay: { get_param: sf_shc_delay } - service_health_check_properties_timeout: { get_param: sf_shc_timeout } - service_health_check_properties_max_retries: { get_param: sf_shc_max_retries } - service_health_check_properties_url_path: { get_param: sf_shc_url_path } - - # Create port for Transport interface(SGi-ims) in SGi Context - SF9_IMS_12_RVMI: - type: OS::ContrailV2::VirtualMachineInterface - properties: - virtual_network_refs: - - get_param: ims_net_fqdn -# service_health_check_refs: -# - { get_resource: SF9_IMS_12_RSHC } - virtual_machine_interface_allowed_address_pairs: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair: - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,2] } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth } - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_ims_rii_v6 } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 } - - SF9_IMS_12_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF9_IMS_12_RVMI ] - properties: - virtual_network_refs: - - get_param: ims_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF9_IMS_12_RVMI - instance_ip_address: { get_param: [sf_sgi_ims_ips, 6] } - - SF9_IMS_12_v6_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF9_IMS_12_RVMI ] - properties: - virtual_network_refs: - - get_param: ims_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF9_IMS_12_RVMI - instance_ip_address: { get_param: [sf_sgi_ims_v6_ips, 6] } - instance_ip_family: { get_param: instance_ip_family_v6 } - - SF9_IMS_12_RSHC: - type: OS::ContrailV2::ServiceHealthCheck - properties: - name: SF9_IMS_12_RSHC - service_health_check_properties: - service_health_check_properties_enabled: { get_param: sf_shc_enabled } - service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type } - service_health_check_properties_delay: { get_param: sf_shc_delay } - service_health_check_properties_timeout: { get_param: sf_shc_timeout } - service_health_check_properties_max_retries: { get_param: sf_shc_max_retries } - service_health_check_properties_url_path: { get_param: sf_shc_url_path } - - # Create port for Transport Interface in SUPPORT Context - SF9_COR_13_RVMI: - type: OS::ContrailV2::VirtualMachineInterface - properties: - virtual_network_refs: - - get_param: cor_net_fqdn -# service_health_check_refs: -# - { get_resource: SF9_COR_13_RSHC } - virtual_machine_interface_allowed_address_pairs: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair: - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,3] } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth } - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_cor_rii_v6 } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 } - - SF9_COR_13_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF9_COR_13_RVMI ] - properties: - virtual_network_refs: - - get_param: cor_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF9_COR_13_RVMI - instance_ip_address: { get_param: [sf_cor_ips, 6] } - - SF9_COR_13_v6_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF9_COR_13_RVMI ] - properties: - virtual_network_refs: - - get_param: cor_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF9_COR_13_RVMI - instance_ip_address: { get_param: [sf_cor_v6_ips, 6] } - instance_ip_family: { get_param: instance_ip_family_v6 } - - SF9_COR_13_RSHC: - type: OS::ContrailV2::ServiceHealthCheck - properties: - name: SF9_COR_13_RSHC - service_health_check_properties: - service_health_check_properties_enabled: { get_param: sf_shc_enabled } - service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type } - service_health_check_properties_delay: { get_param: sf_shc_delay } - service_health_check_properties_timeout: { get_param: sf_shc_timeout } - service_health_check_properties_max_retries: { get_param: sf_shc_max_retries } - service_health_check_properties_url_path: { get_param: sf_shc_url_path } - - # Create port for Transport interface in LI Context - SF9_OAM_CALEA_14_PORT: - type: OS::Neutron::Port - properties: - network: {get_param: oam_calea_net_name} - fixed_ips: [{"ip_address": {get_param: [sf_oam_calea_ips, 6]}}] - # Create port for Transport interface in SRP Context - SF9_INT_ICSR_15_PORT: - type: OS::Neutron::Port - properties: - network: {get_param: int_icsr_net_name} - fixed_ips: [{"ip_address": {get_param: [sf_int_icsr_ips, 6]}}] - - # Create VPC SF 09 Instance - sf_server_8: - type: OS::Nova::Server - depends_on: [ SF9_GN_10_RII, SF9_GN_10_v6_RII, SF9_SGI_11_RII, SF9_SGI_11_v6_RII, SF9_IMS_12_RII, SF9_IMS_12_v6_RII, SF9_COR_13_RII, SF9_COR_13_v6_RII ] - properties: - metadata: - vnf_id: { get_param: vnf_id } - vnf_name: { get_param: vnf_name } - vf_module_id: { get_param: vf_module_id } - -# name: -# str_replace: -# template: Z${CZ_ID}CGWY${VF_ID}${VM_TYPE}${VM_NUM} -# params: -# ${CZ_ID}: {get_param: czid} -# ${VF_ID}: {get_param: vf_inst_number} -# ${VM_TYPE}: DSF -# ${VM_NUM}: "009" - name: {get_param: [cgwy_names, 8]} - config_drive: True - image: {get_param: sf_image_name} - flavor: {get_param: sf_flavor_name} - networks: - - port: {get_resource: sf_int_di2_8_port} - - port: {get_resource: SF9_GN_10_RVMI} - - port: {get_resource: SF9_SGI_11_RVMI} - - port: {get_resource: SF9_IMS_12_RVMI} - - port: {get_resource: SF9_COR_13_RVMI} - - port: {get_resource: SF9_OAM_CALEA_14_PORT} - - port: {get_resource: SF9_INT_ICSR_15_PORT} - personality: - "staros_param.cfg": - str_replace: - template: | - CARDSLOT=$CARD_NUMBER - CARDTYPE=$CARD_TYPE - CPUID=$CPUID - params: - $CARD_NUMBER: 9 - $CARD_TYPE: SFC - $CPUID: 0 - availability_zone: {get_param: availability_zone_0} - scheduler_hints: - group: {get_resource: sf_vpc-servergroup} - - ### SF10 ###### - # Create port for DI-Internal Network - sf_int_di2_9_port: - type: OS::Neutron::Port - properties: - network: {get_param: cgwy_int_di2_net_name} -# Create port for Transport Interface in SAEGW Context - SF10_GN_10_RVMI: - type: OS::ContrailV2::VirtualMachineInterface - properties: - virtual_network_refs: - - get_param: gn_net_fqdn -# service_health_check_refs: -# - { get_resource: SF10_GN_10_RSHC } - virtual_machine_interface_allowed_address_pairs: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair: - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,0] } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth } - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_gn_rii_v6 } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 } - - SF10_GN_10_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF10_GN_10_RVMI ] - properties: - virtual_network_refs: - - get_param: gn_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF10_GN_10_RVMI - instance_ip_address: { get_param: [sf_gn_ips, 7] } - - SF10_GN_10_v6_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF10_GN_10_RVMI ] - properties: - virtual_network_refs: - - get_param: gn_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF10_GN_10_RVMI - instance_ip_address: { get_param: [sf_gn_v6_ips, 7] } - instance_ip_family: { get_param: instance_ip_family_v6 } - - SF10_GN_10_RSHC: - type: OS::ContrailV2::ServiceHealthCheck - properties: - name: SF10_GN_10_RSHC - service_health_check_properties: - service_health_check_properties_enabled: { get_param: sf_shc_enabled } - service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type } - service_health_check_properties_delay: { get_param: sf_shc_delay } - service_health_check_properties_timeout: { get_param: sf_shc_timeout } - service_health_check_properties_max_retries: { get_param: sf_shc_max_retries } - service_health_check_properties_url_path: { get_param: sf_shc_url_path } - - # Create port for Transport interface(SGi-data) in SGi Context - SF10_SGI_11_RVMI: - type: OS::ContrailV2::VirtualMachineInterface - properties: - virtual_network_refs: - - get_param: sgi_net_fqdn -# service_health_check_refs: -# - { get_resource: SF10_SGI_11_RSHC } - virtual_machine_interface_allowed_address_pairs: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair: - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,1] } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth } - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_sgi_rii_v6 } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 } - - SF10_SGI_11_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF10_SGI_11_RVMI ] - properties: - virtual_network_refs: - - get_param: sgi_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF10_SGI_11_RVMI - instance_ip_address: { get_param: [sf_sgi_prot_ips, 7] } - - SF10_SGI_11_v6_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF10_SGI_11_RVMI ] - properties: - virtual_network_refs: - - get_param: sgi_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF10_SGI_11_RVMI - instance_ip_address: { get_param: [sf_sgi_prot_v6_ips, 7] } - instance_ip_family: { get_param: instance_ip_family_v6 } - - SF10_SGI_11_RSHC: - type: OS::ContrailV2::ServiceHealthCheck - properties: - name: SF10_SGI_11_RSHC - service_health_check_properties: - service_health_check_properties_enabled: { get_param: sf_shc_enabled } - service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type } - service_health_check_properties_delay: { get_param: sf_shc_delay } - service_health_check_properties_timeout: { get_param: sf_shc_timeout } - service_health_check_properties_max_retries: { get_param: sf_shc_max_retries } - service_health_check_properties_url_path: { get_param: sf_shc_url_path } - - # Create port for Transport interface(SGi-ims) in SGi Context - SF10_IMS_12_RVMI: - type: OS::ContrailV2::VirtualMachineInterface - properties: - virtual_network_refs: - - get_param: ims_net_fqdn -# service_health_check_refs: -# - { get_resource: SF10_IMS_12_RSHC } - virtual_machine_interface_allowed_address_pairs: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair: - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,2] } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth } - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_ims_rii_v6 } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 } - - SF10_IMS_12_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF10_IMS_12_RVMI ] - properties: - virtual_network_refs: - - get_param: ims_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF10_IMS_12_RVMI - instance_ip_address: { get_param: [sf_sgi_ims_ips, 7] } - - SF10_IMS_12_v6_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF10_IMS_12_RVMI ] - properties: - virtual_network_refs: - - get_param: ims_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF10_IMS_12_RVMI - instance_ip_address: { get_param: [sf_sgi_ims_v6_ips, 7] } - instance_ip_family: { get_param: instance_ip_family_v6 } - - SF10_IMS_12_RSHC: - type: OS::ContrailV2::ServiceHealthCheck - properties: - name: SF10_IMS_12_RSHC - service_health_check_properties: - service_health_check_properties_enabled: { get_param: sf_shc_enabled } - service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type } - service_health_check_properties_delay: { get_param: sf_shc_delay } - service_health_check_properties_timeout: { get_param: sf_shc_timeout } - service_health_check_properties_max_retries: { get_param: sf_shc_max_retries } - service_health_check_properties_url_path: { get_param: sf_shc_url_path } - - # Create port for Transport Interface in SUPPORT Context - SF10_COR_13_RVMI: - type: OS::ContrailV2::VirtualMachineInterface - properties: - virtual_network_refs: - - get_param: cor_net_fqdn -# service_health_check_refs: -# - { get_resource: SF10_COR_13_RSHC } - virtual_machine_interface_allowed_address_pairs: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair: - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,3] } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth } - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_cor_rii_v6 } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 } - - SF10_COR_13_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF10_COR_13_RVMI ] - properties: - virtual_network_refs: - - get_param: cor_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF10_COR_13_RVMI - instance_ip_address: { get_param: [sf_cor_ips, 7] } - - SF10_COR_13_v6_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF10_COR_13_RVMI ] - properties: - virtual_network_refs: - - get_param: cor_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF10_COR_13_RVMI - instance_ip_address: { get_param: [sf_cor_v6_ips, 7] } - instance_ip_family: { get_param: instance_ip_family_v6 } - - SF10_COR_13_RSHC: - type: OS::ContrailV2::ServiceHealthCheck - properties: - name: SF10_COR_13_RSHC - service_health_check_properties: - service_health_check_properties_enabled: { get_param: sf_shc_enabled } - service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type } - service_health_check_properties_delay: { get_param: sf_shc_delay } - service_health_check_properties_timeout: { get_param: sf_shc_timeout } - service_health_check_properties_max_retries: { get_param: sf_shc_max_retries } - service_health_check_properties_url_path: { get_param: sf_shc_url_path } - - # Create port for Transport interface in LI Context - SF10_OAM_CALEA_14_PORT: - type: OS::Neutron::Port - properties: - network: {get_param: oam_calea_net_name} - fixed_ips: [{"ip_address": {get_param: [sf_oam_calea_ips, 7]}}] - # Create port for Transport interface in SRP Context - SF10_INT_ICSR_15_PORT: - type: OS::Neutron::Port - properties: - network: {get_param: int_icsr_net_name} - fixed_ips: [{"ip_address": {get_param: [sf_int_icsr_ips, 7]}}] - - # Create VPC SF 10 Instance - sf_server_9: - type: OS::Nova::Server - depends_on: [ SF10_GN_10_RII, SF10_GN_10_v6_RII, SF10_SGI_11_RII, SF10_SGI_11_v6_RII, SF10_IMS_12_RII, SF10_IMS_12_v6_RII, SF10_COR_13_RII, SF10_COR_13_v6_RII ] - properties: - metadata: - vnf_id: { get_param: vnf_id } - vnf_name: { get_param: vnf_name } - vf_module_id: { get_param: vf_module_id } - -# name: -# str_replace: -# template: Z${CZ_ID}CGWY${VF_ID}${VM_TYPE}${VM_NUM} -# params: -# ${CZ_ID}: {get_param: czid} -# ${VF_ID}: {get_param: vf_inst_number} -# ${VM_TYPE}: DSF -# ${VM_NUM}: "010" - name: {get_param: [cgwy_names, 9]} - config_drive: True - image: {get_param: sf_image_name} - flavor: {get_param: sf_flavor_name} - networks: - - port: {get_resource: sf_int_di2_9_port} - - port: {get_resource: SF10_GN_10_RVMI} - - port: {get_resource: SF10_SGI_11_RVMI} - - port: {get_resource: SF10_IMS_12_RVMI} - - port: {get_resource: SF10_COR_13_RVMI} - - port: {get_resource: SF10_OAM_CALEA_14_PORT} - - port: {get_resource: SF10_INT_ICSR_15_PORT} - personality: - "staros_param.cfg": - str_replace: - template: | - CARDSLOT=$CARD_NUMBER - CARDTYPE=$CARD_TYPE - CPUID=$CPUID - params: - $CARD_NUMBER: 10 - $CARD_TYPE: SFC - $CPUID: 0 - availability_zone: {get_param: availability_zone_0} - scheduler_hints: - group: {get_resource: sf_vpc-servergroup} - - ### SF11 ###### - # Create port for DI-Internal Network - sf_int_di2_10_port: - type: OS::Neutron::Port - properties: - network: {get_param: cgwy_int_di2_net_name} -# Create port for Transport Interface in SAEGW Context - SF11_GN_10_RVMI: - type: OS::ContrailV2::VirtualMachineInterface - properties: - virtual_network_refs: - - get_param: gn_net_fqdn -# service_health_check_refs: -# - { get_resource: SF11_GN_10_RSHC } - virtual_machine_interface_allowed_address_pairs: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair: - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,0] } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth } - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_gn_rii_v6 } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 } - - SF11_GN_10_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF11_GN_10_RVMI ] - properties: - virtual_network_refs: - - get_param: gn_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF11_GN_10_RVMI - instance_ip_address: { get_param: [sf_gn_ips, 8] } - - SF11_GN_10_v6_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF11_GN_10_RVMI ] - properties: - virtual_network_refs: - - get_param: gn_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF11_GN_10_RVMI - instance_ip_address: { get_param: [sf_gn_v6_ips, 8] } - instance_ip_family: { get_param: instance_ip_family_v6 } - - SF11_GN_10_RSHC: - type: OS::ContrailV2::ServiceHealthCheck - properties: - name: SF11_GN_10_RSHC - service_health_check_properties: - service_health_check_properties_enabled: { get_param: sf_shc_enabled } - service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type } - service_health_check_properties_delay: { get_param: sf_shc_delay } - service_health_check_properties_timeout: { get_param: sf_shc_timeout } - service_health_check_properties_max_retries: { get_param: sf_shc_max_retries } - service_health_check_properties_url_path: { get_param: sf_shc_url_path } - - # Create port for Transport interface(SGi-data) in SGi Context - SF11_SGI_11_RVMI: - type: OS::ContrailV2::VirtualMachineInterface - properties: - virtual_network_refs: - - get_param: sgi_net_fqdn -# service_health_check_refs: -# - { get_resource: SF11_SGI_11_RSHC } - virtual_machine_interface_allowed_address_pairs: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair: - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,1] } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth } - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_sgi_rii_v6 } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 } - - SF11_SGI_11_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF11_SGI_11_RVMI ] - properties: - virtual_network_refs: - - get_param: sgi_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF11_SGI_11_RVMI - instance_ip_address: { get_param: [sf_sgi_prot_ips, 8] } - - SF11_SGI_11_v6_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF11_SGI_11_RVMI ] - properties: - virtual_network_refs: - - get_param: sgi_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF11_SGI_11_RVMI - instance_ip_address: { get_param: [sf_sgi_prot_v6_ips, 8] } - instance_ip_family: { get_param: instance_ip_family_v6 } - - SF11_SGI_11_RSHC: - type: OS::ContrailV2::ServiceHealthCheck - properties: - name: SF11_SGI_11_RSHC - service_health_check_properties: - service_health_check_properties_enabled: { get_param: sf_shc_enabled } - service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type } - service_health_check_properties_delay: { get_param: sf_shc_delay } - service_health_check_properties_timeout: { get_param: sf_shc_timeout } - service_health_check_properties_max_retries: { get_param: sf_shc_max_retries } - service_health_check_properties_url_path: { get_param: sf_shc_url_path } - - # Create port for Transport interface(SGi-ims) in SGi Context - SF11_IMS_12_RVMI: - type: OS::ContrailV2::VirtualMachineInterface - properties: - virtual_network_refs: - - get_param: ims_net_fqdn -# service_health_check_refs: -# - { get_resource: SF11_IMS_12_RSHC } - virtual_machine_interface_allowed_address_pairs: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair: - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,2] } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth } - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_ims_rii_v6 } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 } - - SF11_IMS_12_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF11_IMS_12_RVMI ] - properties: - virtual_network_refs: - - get_param: ims_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF11_IMS_12_RVMI - instance_ip_address: { get_param: [sf_sgi_ims_ips, 8] } - - SF11_IMS_12_v6_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF11_IMS_12_RVMI ] - properties: - virtual_network_refs: - - get_param: ims_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF11_IMS_12_RVMI - instance_ip_address: { get_param: [sf_sgi_ims_v6_ips, 8] } - instance_ip_family: { get_param: instance_ip_family_v6 } - - SF11_IMS_12_RSHC: - type: OS::ContrailV2::ServiceHealthCheck - properties: - name: SF11_IMS_12_RSHC - service_health_check_properties: - service_health_check_properties_enabled: { get_param: sf_shc_enabled } - service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type } - service_health_check_properties_delay: { get_param: sf_shc_delay } - service_health_check_properties_timeout: { get_param: sf_shc_timeout } - service_health_check_properties_max_retries: { get_param: sf_shc_max_retries } - service_health_check_properties_url_path: { get_param: sf_shc_url_path } - - # Create port for Transport Interface in SUPPORT Context - SF11_COR_13_RVMI: - type: OS::ContrailV2::VirtualMachineInterface - properties: - virtual_network_refs: - - get_param: cor_net_fqdn -# service_health_check_refs: -# - { get_resource: SF11_COR_13_RSHC } - virtual_machine_interface_allowed_address_pairs: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair: - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,3] } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth } - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_cor_rii_v6 } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 } - - SF11_COR_13_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF11_COR_13_RVMI ] - properties: - virtual_network_refs: - - get_param: cor_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF11_COR_13_RVMI - instance_ip_address: { get_param: [sf_cor_ips, 8] } - - SF11_COR_13_v6_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF11_COR_13_RVMI ] - properties: - virtual_network_refs: - - get_param: cor_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF11_COR_13_RVMI - instance_ip_address: { get_param: [sf_cor_v6_ips, 8] } - instance_ip_family: { get_param: instance_ip_family_v6 } - - SF11_COR_13_RSHC: - type: OS::ContrailV2::ServiceHealthCheck - properties: - name: SF11_COR_13_RSHC - service_health_check_properties: - service_health_check_properties_enabled: { get_param: sf_shc_enabled } - service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type } - service_health_check_properties_delay: { get_param: sf_shc_delay } - service_health_check_properties_timeout: { get_param: sf_shc_timeout } - service_health_check_properties_max_retries: { get_param: sf_shc_max_retries } - service_health_check_properties_url_path: { get_param: sf_shc_url_path } - - # Create port for Transport interface in LI Context - SF11_OAM_CALEA_14_PORT: - type: OS::Neutron::Port - properties: - network: {get_param: oam_calea_net_name} - fixed_ips: [{"ip_address": {get_param: [sf_oam_calea_ips, 8]}}] - # Create port for Transport interface in SRP Context - SF11_INT_ICSR_15_PORT: - type: OS::Neutron::Port - properties: - network: {get_param: int_icsr_net_name} - fixed_ips: [{"ip_address": {get_param: [sf_int_icsr_ips, 8]}}] - - # Create VPC SF 11 Instance - sf_server_10: - type: OS::Nova::Server - depends_on: [ SF11_GN_10_RII, SF11_GN_10_v6_RII, SF11_SGI_11_RII, SF11_SGI_11_v6_RII, SF11_IMS_12_RII, SF11_IMS_12_v6_RII, SF11_COR_13_RII, SF11_COR_13_v6_RII ] - properties: - metadata: - vnf_id: { get_param: vnf_id } - vnf_name: { get_param: vnf_name } - vf_module_id: { get_param: vf_module_id } - -# name: -# str_replace: -# template: Z${CZ_ID}CGWY${VF_ID}${VM_TYPE}${VM_NUM} -# params: -# ${CZ_ID}: {get_param: czid} -# ${VF_ID}: {get_param: vf_inst_number} -# ${VM_TYPE}: DSF -# ${VM_NUM}: "011" - name: {get_param: [cgwy_names, 10]} - config_drive: True - image: {get_param: sf_image_name} - flavor: {get_param: sf_flavor_name} - networks: - - port: {get_resource: sf_int_di2_10_port} - - port: {get_resource: SF11_GN_10_RVMI} - - port: {get_resource: SF11_SGI_11_RVMI} - - port: {get_resource: SF11_IMS_12_RVMI} - - port: {get_resource: SF11_COR_13_RVMI} - - port: {get_resource: SF11_OAM_CALEA_14_PORT} - - port: {get_resource: SF11_INT_ICSR_15_PORT} - personality: - "staros_param.cfg": - str_replace: - template: | - CARDSLOT=$CARD_NUMBER - CARDTYPE=$CARD_TYPE - CPUID=$CPUID - params: - $CARD_NUMBER: 11 - $CARD_TYPE: SFC - $CPUID: 0 - availability_zone: {get_param: availability_zone_0} - scheduler_hints: - group: {get_resource: sf_vpc-servergroup} - - - ### SF12 ###### - # Create port for DI-Internal Network - sf_int_di2_11_port: - type: OS::Neutron::Port - properties: - network: {get_param: cgwy_int_di2_net_name} -# Create port for Transport Interface in SAEGW Context - SF12_GN_10_RVMI: - type: OS::ContrailV2::VirtualMachineInterface - properties: - virtual_network_refs: - - get_param: gn_net_fqdn -# service_health_check_refs: -# - { get_resource: SF12_GN_10_RSHC } - virtual_machine_interface_allowed_address_pairs: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair: - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,0] } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth } - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_gn_rii_v6 } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 } - - SF12_GN_10_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF12_GN_10_RVMI ] - properties: - virtual_network_refs: - - get_param: gn_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF12_GN_10_RVMI - instance_ip_address: { get_param: [sf_gn_ips, 9] } - - SF12_GN_10_v6_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF12_GN_10_RVMI ] - properties: - virtual_network_refs: - - get_param: gn_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF12_GN_10_RVMI - instance_ip_address: { get_param: [sf_gn_v6_ips, 9] } - instance_ip_family: { get_param: instance_ip_family_v6 } - - SF12_GN_10_RSHC: - type: OS::ContrailV2::ServiceHealthCheck - properties: - name: SF12_GN_10_RSHC - service_health_check_properties: - service_health_check_properties_enabled: { get_param: sf_shc_enabled } - service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type } - service_health_check_properties_delay: { get_param: sf_shc_delay } - service_health_check_properties_timeout: { get_param: sf_shc_timeout } - service_health_check_properties_max_retries: { get_param: sf_shc_max_retries } - service_health_check_properties_url_path: { get_param: sf_shc_url_path } - - # Create port for Transport interface(SGi-data) in SGi Context - SF12_SGI_11_RVMI: - type: OS::ContrailV2::VirtualMachineInterface - properties: - virtual_network_refs: - - get_param: sgi_net_fqdn -# service_health_check_refs: -# - { get_resource: SF12_SGI_11_RSHC } - virtual_machine_interface_allowed_address_pairs: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair: - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,1] } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth } - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_sgi_rii_v6 } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 } - - SF12_SGI_11_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF12_SGI_11_RVMI ] - properties: - virtual_network_refs: - - get_param: sgi_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF12_SGI_11_RVMI - instance_ip_address: { get_param: [sf_sgi_prot_ips, 9] } - - SF12_SGI_11_v6_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF12_SGI_11_RVMI ] - properties: - virtual_network_refs: - - get_param: sgi_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF12_SGI_11_RVMI - instance_ip_address: { get_param: [sf_sgi_prot_v6_ips, 9] } - instance_ip_family: { get_param: instance_ip_family_v6 } - - SF12_SGI_11_RSHC: - type: OS::ContrailV2::ServiceHealthCheck - properties: - name: SF12_SGI_11_RSHC - service_health_check_properties: - service_health_check_properties_enabled: { get_param: sf_shc_enabled } - service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type } - service_health_check_properties_delay: { get_param: sf_shc_delay } - service_health_check_properties_timeout: { get_param: sf_shc_timeout } - service_health_check_properties_max_retries: { get_param: sf_shc_max_retries } - service_health_check_properties_url_path: { get_param: sf_shc_url_path } - - # Create port for Transport interface(SGi-ims) in SGi Context - SF12_IMS_12_RVMI: - type: OS::ContrailV2::VirtualMachineInterface - properties: - virtual_network_refs: - - get_param: ims_net_fqdn -# service_health_check_refs: -# - { get_resource: SF12_IMS_12_RSHC } - virtual_machine_interface_allowed_address_pairs: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair: - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,2] } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth } - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_ims_rii_v6 } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 } - - SF12_IMS_12_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF12_IMS_12_RVMI ] - properties: - virtual_network_refs: - - get_param: ims_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF12_IMS_12_RVMI - instance_ip_address: { get_param: [sf_sgi_ims_ips, 9] } - - SF12_IMS_12_v6_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF12_IMS_12_RVMI ] - properties: - virtual_network_refs: - - get_param: ims_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF12_IMS_12_RVMI - instance_ip_address: { get_param: [sf_sgi_ims_v6_ips, 9] } - instance_ip_family: { get_param: instance_ip_family_v6 } - - SF12_IMS_12_RSHC: - type: OS::ContrailV2::ServiceHealthCheck - properties: - name: SF12_IMS_12_RSHC - service_health_check_properties: - service_health_check_properties_enabled: { get_param: sf_shc_enabled } - service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type } - service_health_check_properties_delay: { get_param: sf_shc_delay } - service_health_check_properties_timeout: { get_param: sf_shc_timeout } - service_health_check_properties_max_retries: { get_param: sf_shc_max_retries } - service_health_check_properties_url_path: { get_param: sf_shc_url_path } - - # Create port for Transport Interface in SUPPORT Context - SF12_COR_13_RVMI: - type: OS::ContrailV2::VirtualMachineInterface - properties: - virtual_network_refs: - - get_param: cor_net_fqdn -# service_health_check_refs: -# - { get_resource: SF12_COR_13_RSHC } - virtual_machine_interface_allowed_address_pairs: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair: - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: [bgpaas_ip_address,3] } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth } - - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: vmi_allowed_address_pair_address_mode } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip: - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: sf_cor_rii_v6 } - virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: vmi_allowed_address_pair_prefix_lenth_v6 } - - SF12_COR_13_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF12_COR_13_RVMI ] - properties: - virtual_network_refs: - - get_param: cor_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF12_COR_13_RVMI - instance_ip_address: { get_param: [sf_cor_ips, 9] } - - SF12_COR_13_v6_RII: - type: OS::ContrailV2::InstanceIp - depends_on: [ SF12_COR_13_RVMI ] - properties: - virtual_network_refs: - - get_param: cor_net_fqdn - virtual_machine_interface_refs: - - get_resource: SF12_COR_13_RVMI - instance_ip_address: { get_param: [sf_cor_v6_ips, 9] } - instance_ip_family: { get_param: instance_ip_family_v6 } - - SF12_COR_13_RSHC: - type: OS::ContrailV2::ServiceHealthCheck - properties: - name: SF12_COR_13_RSHC - service_health_check_properties: - service_health_check_properties_enabled: { get_param: sf_shc_enabled } - service_health_check_properties_monitor_type: { get_param: sf_shc_monitor_type } - service_health_check_properties_delay: { get_param: sf_shc_delay } - service_health_check_properties_timeout: { get_param: sf_shc_timeout } - service_health_check_properties_max_retries: { get_param: sf_shc_max_retries } - service_health_check_properties_url_path: { get_param: sf_shc_url_path } - - # Create port for Transport interface in LI Context - SF12_OAM_CALEA_14_PORT: - type: OS::Neutron::Port - properties: - network: {get_param: oam_calea_net_name} - fixed_ips: [{"ip_address": {get_param: [sf_oam_calea_ips, 9]}}] - # Create port for Transport interface in SRP Context - SF12_INT_ICSR_15_PORT: - type: OS::Neutron::Port - properties: - network: {get_param: int_icsr_net_name} - fixed_ips: [{"ip_address": {get_param: [sf_int_icsr_ips, 9]}}] - - # Create VPC SF 12 Instance - sf_server_11: - type: OS::Nova::Server - depends_on: [ SF12_GN_10_RII, SF12_GN_10_v6_RII, SF12_SGI_11_RII, SF12_SGI_11_v6_RII, SF12_IMS_12_RII, SF12_IMS_12_v6_RII, SF12_COR_13_RII, SF12_COR_13_v6_RII ] - properties: - metadata: - vnf_id: { get_param: vnf_id } - vnf_name: { get_param: vnf_name } - vf_module_id: { get_param: vf_module_id } - -# name: -# str_replace: -# template: Z${CZ_ID}CGWY${VF_ID}${VM_TYPE}${VM_NUM} -# params: -# ${CZ_ID}: {get_param: czid} -# ${VF_ID}: {get_param: vf_inst_number} -# ${VM_TYPE}: DSF -# ${VM_NUM}: "012" - name: {get_param: [cgwy_names, 11]} - config_drive: True - image: {get_param: sf_image_name} - flavor: {get_param: sf_flavor_name} - networks: - - port: {get_resource: sf_int_di2_11_port} - - port: {get_resource: SF12_GN_10_RVMI} - - port: {get_resource: SF12_SGI_11_RVMI} - - port: {get_resource: SF12_IMS_12_RVMI} - - port: {get_resource: SF12_COR_13_RVMI} - - port: {get_resource: SF12_OAM_CALEA_14_PORT} - - port: {get_resource: SF12_INT_ICSR_15_PORT} - - personality: - "staros_param.cfg": - str_replace: - template: | - CARDSLOT=$CARD_NUMBER - CARDTYPE=$CARD_TYPE - CPUID=$CPUID - params: - $CARD_NUMBER: 12 - $CARD_TYPE: SFC - $CPUID: 0 - availability_zone: {get_param: availability_zone_0} - scheduler_hints: - group: {get_resource: sf_vpc-servergroup} - - BgpAsAService_GN: - type: OS::ContrailV2::BgpAsAService - depends_on: - - SF3_GN_10_RVMI - - SF4_GN_10_RVMI - - SF5_GN_10_RVMI - - SF6_GN_10_RVMI - - SF7_GN_10_RVMI - - SF8_GN_10_RVMI - - SF9_GN_10_RVMI - - SF10_GN_10_RVMI - - SF11_GN_10_RVMI - - SF12_GN_10_RVMI - - properties: - name: { get_param: [bgpaas_name, 0] } - autonomous_system: { get_param: bgpaas_autonomous_system } - virtual_machine_interface_refs: - - { get_resource: SF3_GN_10_RVMI } - - { get_resource: SF4_GN_10_RVMI } - - { get_resource: SF5_GN_10_RVMI } - - { get_resource: SF6_GN_10_RVMI } - - { get_resource: SF7_GN_10_RVMI } - - { get_resource: SF8_GN_10_RVMI } - - { get_resource: SF9_GN_10_RVMI } - - { get_resource: SF10_GN_10_RVMI } - - { get_resource: SF11_GN_10_RVMI } - - { get_resource: SF12_GN_10_RVMI } - - bgpaas_ip_address: { get_param: [bgpaas_ip_address,0] } - bgpaas_session_attributes: - bgpaas_session_attributes_passive: { get_param: bgpaas_session_attributes_passive } - bgpaas_session_attributes_hold_time: { get_param: bgpaas_session_attributes_hold_time } - bgpaas_session_attributes_admin_down: { get_param: bgpaas_session_attributes_admin_down } - bgpaas_session_attributes_address_families: - bgpaas_session_attributes_address_families_family: - - { get_param: bgpaas_session_attributes_address_families_family_4 } - - { get_param: bgpaas_session_attributes_address_families_family_6 } - bgpaas_session_attributes_family_attributes: - - bgpaas_session_attributes_family_attributes_address_family: { get_param: bgpaas_session_attributes_family_attributes_af_4 } - bgpaas_session_attributes_family_attributes_loop_count: { get_param: bgpaas_session_attributes_family_attributes_loop_count_4 } - bgpaas_session_attributes_family_attributes_prefix_limit: - bgpaas_session_attributes_family_attributes_prefix_limit_maximum: { get_param: bgpaas_session_attributes_family_attributes_prefix_limit_maximum_4 } - - bgpaas_session_attributes_family_attributes_address_family: { get_param: bgpaas_session_attributes_family_attributes_af_6 } - bgpaas_session_attributes_family_attributes_loop_count: { get_param: bgpaas_session_attributes_family_attributes_loop_count_6 } - bgpaas_session_attributes_family_attributes_prefix_limit: - bgpaas_session_attributes_family_attributes_prefix_limit_maximum: { get_param: bgpaas_session_attributes_family_attributes_prefix_limit_maximum_6 } - - BgpAsAService_SGI: - type: OS::ContrailV2::BgpAsAService - depends_on: - - SF3_SGI_11_RVMI - - SF4_SGI_11_RVMI - - SF5_SGI_11_RVMI - - SF6_SGI_11_RVMI - - SF7_SGI_11_RVMI - - SF8_SGI_11_RVMI - - SF9_SGI_11_RVMI - - SF10_SGI_11_RVMI - - SF11_SGI_11_RVMI - - SF12_SGI_11_RVMI - - properties: - name: { get_param: [bgpaas_name, 1] } - autonomous_system: { get_param: bgpaas_autonomous_system } - virtual_machine_interface_refs: - - { get_resource: SF3_SGI_11_RVMI } - - { get_resource: SF4_SGI_11_RVMI } - - { get_resource: SF5_SGI_11_RVMI } - - { get_resource: SF6_SGI_11_RVMI } - - { get_resource: SF7_SGI_11_RVMI } - - { get_resource: SF8_SGI_11_RVMI } - - { get_resource: SF9_SGI_11_RVMI } - - { get_resource: SF10_SGI_11_RVMI } - - { get_resource: SF11_SGI_11_RVMI } - - { get_resource: SF12_SGI_11_RVMI } - - bgpaas_ip_address: { get_param: [bgpaas_ip_address,1] } - bgpaas_session_attributes: - bgpaas_session_attributes_passive: { get_param: bgpaas_session_attributes_passive } - bgpaas_session_attributes_hold_time: { get_param: bgpaas_session_attributes_hold_time } - bgpaas_session_attributes_admin_down: { get_param: bgpaas_session_attributes_admin_down } - bgpaas_session_attributes_address_families: - bgpaas_session_attributes_address_families_family: - - { get_param: bgpaas_session_attributes_address_families_family_4 } - - { get_param: bgpaas_session_attributes_address_families_family_6 } - bgpaas_session_attributes_family_attributes: - - bgpaas_session_attributes_family_attributes_address_family: { get_param: bgpaas_session_attributes_family_attributes_af_4 } - bgpaas_session_attributes_family_attributes_loop_count: { get_param: bgpaas_session_attributes_family_attributes_loop_count_4 } - bgpaas_session_attributes_family_attributes_prefix_limit: - bgpaas_session_attributes_family_attributes_prefix_limit_maximum: { get_param: bgpaas_session_attributes_family_attributes_prefix_limit_maximum_4 } - - bgpaas_session_attributes_family_attributes_address_family: { get_param: bgpaas_session_attributes_family_attributes_af_6 } - bgpaas_session_attributes_family_attributes_loop_count: { get_param: bgpaas_session_attributes_family_attributes_loop_count_6 } - bgpaas_session_attributes_family_attributes_prefix_limit: - bgpaas_session_attributes_family_attributes_prefix_limit_maximum: { get_param: bgpaas_session_attributes_family_attributes_prefix_limit_maximum_6 } - - BgpAsAService_IMS: - type: OS::ContrailV2::BgpAsAService - depends_on: - - SF3_IMS_12_RVMI - - SF4_IMS_12_RVMI - - SF5_IMS_12_RVMI - - SF6_IMS_12_RVMI - - SF7_IMS_12_RVMI - - SF8_IMS_12_RVMI - - SF9_IMS_12_RVMI - - SF10_IMS_12_RVMI - - SF11_IMS_12_RVMI - - SF12_IMS_12_RVMI - - properties: - name: { get_param: [bgpaas_name, 2] } - autonomous_system: { get_param: bgpaas_autonomous_system } - virtual_machine_interface_refs: - - { get_resource: SF3_IMS_12_RVMI } - - { get_resource: SF4_IMS_12_RVMI } - - { get_resource: SF5_IMS_12_RVMI } - - { get_resource: SF6_IMS_12_RVMI } - - { get_resource: SF7_IMS_12_RVMI } - - { get_resource: SF8_IMS_12_RVMI } - - { get_resource: SF9_IMS_12_RVMI } - - { get_resource: SF10_IMS_12_RVMI } - - { get_resource: SF11_IMS_12_RVMI } - - { get_resource: SF12_IMS_12_RVMI } - - bgpaas_ip_address: { get_param: [bgpaas_ip_address,2] } - bgpaas_session_attributes: - bgpaas_session_attributes_passive: { get_param: bgpaas_session_attributes_passive } - bgpaas_session_attributes_hold_time: { get_param: bgpaas_session_attributes_hold_time } - bgpaas_session_attributes_admin_down: { get_param: bgpaas_session_attributes_admin_down } - bgpaas_session_attributes_address_families: - bgpaas_session_attributes_address_families_family: - - { get_param: bgpaas_session_attributes_address_families_family_4 } - - { get_param: bgpaas_session_attributes_address_families_family_6 } - bgpaas_session_attributes_family_attributes: - - bgpaas_session_attributes_family_attributes_address_family: { get_param: bgpaas_session_attributes_family_attributes_af_4 } - bgpaas_session_attributes_family_attributes_loop_count: { get_param: bgpaas_session_attributes_family_attributes_loop_count_4 } - bgpaas_session_attributes_family_attributes_prefix_limit: - bgpaas_session_attributes_family_attributes_prefix_limit_maximum: { get_param: bgpaas_session_attributes_family_attributes_prefix_limit_maximum_4 } - - bgpaas_session_attributes_family_attributes_address_family: { get_param: bgpaas_session_attributes_family_attributes_af_6 } - bgpaas_session_attributes_family_attributes_loop_count: { get_param: bgpaas_session_attributes_family_attributes_loop_count_6 } - bgpaas_session_attributes_family_attributes_prefix_limit: - bgpaas_session_attributes_family_attributes_prefix_limit_maximum: { get_param: bgpaas_session_attributes_family_attributes_prefix_limit_maximum_6 } - - BgpAsAService_COR: - type: OS::ContrailV2::BgpAsAService - depends_on: - - SF3_COR_13_RVMI - - SF4_COR_13_RVMI - - SF5_COR_13_RVMI - - SF6_COR_13_RVMI - - SF7_COR_13_RVMI - - SF8_COR_13_RVMI - - SF9_COR_13_RVMI - - SF10_COR_13_RVMI - - SF11_COR_13_RVMI - - SF12_COR_13_RVMI - - properties: - name: { get_param: [bgpaas_name, 3] } - autonomous_system: { get_param: bgpaas_autonomous_system } - virtual_machine_interface_refs: - - { get_resource: SF3_COR_13_RVMI } - - { get_resource: SF4_COR_13_RVMI } - - { get_resource: SF5_COR_13_RVMI } - - { get_resource: SF6_COR_13_RVMI } - - { get_resource: SF7_COR_13_RVMI } - - { get_resource: SF8_COR_13_RVMI } - - { get_resource: SF9_COR_13_RVMI } - - { get_resource: SF10_COR_13_RVMI } - - { get_resource: SF11_COR_13_RVMI } - - { get_resource: SF12_COR_13_RVMI } - - bgpaas_ip_address: { get_param: [bgpaas_ip_address,3] } - bgpaas_session_attributes: - bgpaas_session_attributes_passive: { get_param: bgpaas_session_attributes_passive } - bgpaas_session_attributes_hold_time: { get_param: bgpaas_session_attributes_hold_time } - bgpaas_session_attributes_admin_down: { get_param: bgpaas_session_attributes_admin_down } - bgpaas_session_attributes_address_families: - bgpaas_session_attributes_address_families_family: - - { get_param: bgpaas_session_attributes_address_families_family_4 } - - { get_param: bgpaas_session_attributes_address_families_family_6 } - bgpaas_session_attributes_family_attributes: - - bgpaas_session_attributes_family_attributes_address_family: { get_param: bgpaas_session_attributes_family_attributes_af_4 } - bgpaas_session_attributes_family_attributes_loop_count: { get_param: bgpaas_session_attributes_family_attributes_loop_count_4 } - bgpaas_session_attributes_family_attributes_prefix_limit: - bgpaas_session_attributes_family_attributes_prefix_limit_maximum: { get_param: bgpaas_session_attributes_family_attributes_prefix_limit_maximum_4 } - - bgpaas_session_attributes_family_attributes_address_family: { get_param: bgpaas_session_attributes_family_attributes_af_6 } - bgpaas_session_attributes_family_attributes_loop_count: { get_param: bgpaas_session_attributes_family_attributes_loop_count_6 } - bgpaas_session_attributes_family_attributes_prefix_limit: - bgpaas_session_attributes_family_attributes_prefix_limit_maximum: { get_param: bgpaas_session_attributes_family_attributes_prefix_limit_maximum_6 } - diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/cloud-nimbus.sh b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/cloud-nimbus.sh deleted file mode 100644 index 48485f3bf6..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/cloud-nimbus.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash -echo "Running first-boot script" -FLAG="first-boot.sh" -echo "First boot run" > ${FLAG} -echo "$vm_name" >> ${FLAG} -touch /var/lib/cloud/instance/payload/launch-params -chmod 644 /var/lib/cloud/instance/payload/launch-params -#for i in $(ls /sys/class/net); do -# echo "Restart $i" >> ${FLAG} -# ifdown ${i} -# ifup ${i} -#done diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-oam-volumes_v1.0.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-oam-volumes_v1.0.env deleted file mode 100644 index b494d8c270..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-oam-volumes_v1.0.env +++ /dev/null @@ -1,6 +0,0 @@ -parameters: - pcrf_oam_vol_size: 500 - pcrf_oam_volume_silver-1: Silver - pcrf_oam_volume_silver-2: Silver - pcrf_oam_vol_name_1: sde1-pcrfx01-oam001-vol-1 - pcrf_oam_vol_name_2: sde1-pcrfx01-oam001-vol-2 \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-oam-volumes_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-oam-volumes_v1.0.yaml deleted file mode 100644 index 9e120547b4..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-oam-volumes_v1.0.yaml +++ /dev/null @@ -1,45 +0,0 @@ -heat_template_version: 2013-05-23 - -parameters: - pcrf_oam_vol_size: - type: number - label: Cinder volume size - description: the size of the Cinder volume - pcrf_oam_vol_name_1: - type: string - label: OAM volume name 1 - description: Assigning name to volume - pcrf_oam_vol_name_2: - type: string - label: OAM volume name 2 - description: Assigning name to volume - pcrf_oam_volume_silver-1: - type: string - label: vm volume type - description: the name of the target volume backend for OAM1 - pcrf_oam_volume_silver-2: - type: string - label: vm volume type - description: the name of the target volume backend for OAM2 - -resources: - pcrf_oam_volume_1: - type: OS::Cinder::Volume - properties: - size: {get_param: pcrf_oam_vol_size} - volume_type: {get_param: pcrf_oam_volume_silver-1} - name: {get_param: pcrf_oam_vol_name_1} - - pcrf_oam_volume_2: - type: OS::Cinder::Volume - properties: - size: {get_param: pcrf_oam_vol_size} - volume_type: {get_param: pcrf_oam_volume_silver-2} - name: {get_param: pcrf_oam_vol_name_2} -outputs: - pcrf_oam_volume_id_1: - description: the oam 001 volume id - value: { get_resource: pcrf_oam_volume_1 } - pcrf_oam_volume_id_2: - description: the oam 002 volume id - value: { get_resource: pcrf_oam_volume_2 } \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-oam_v1.0.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-oam_v1.0.env deleted file mode 100644 index 7e51e674ab..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-oam_v1.0.env +++ /dev/null @@ -1,18 +0,0 @@ -parameters: - pcrf_oam_server_names: ZRDM1PCRF01OAM001,ZRDM1PCRF01OAM002 - pcrf_oam_image_name: PCRF_8.995-ATTM1.0.3.qcow2 - pcrf_oam_flavor_name: lc.4xlarge4 - availabilityzone_name: nova - pcrf_cps_net_name: Mobisupport-25193-I-INT1_int_pcrf_net_0 - pcrf_cps_net_ips: 172.26.16.111,172.26.16.112 - pcrf_arbiter_vip: 172.26.16.115 - pcrf_cps_net_mask: 255.255.255.0 - pcrf_oam_net_name: MNS-25180-L-01_oam_protected_net_0 - pcrf_oam_net_ips: 107.239.64.117,107.239.64.118 - pcrf_oam_net_gw: 107.239.64.1 - pcrf_oam_net_mask: 255.255.248.0 - pcrf_oam_volume_id_1: a4aa05fb-fcdc-457b-8077-6845fdfc3257 - pcrf_oam_volume_id_2: 93d8fc1f-f1c3-4933-86b2-039881ee910f - pcrf_security_group_name: nimbus_security_group - pcrf_vnf_id: 730797234b4a40aa99335157b02871cd - diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-oam_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-oam_v1.0.yaml deleted file mode 100644 index 8f3aae91a8..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-oam_v1.0.yaml +++ /dev/null @@ -1,109 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates multiple PCRF OAM nodes stack - -parameters: - pcrf_oam_server_names: - type: comma_delimited_list - label: PCRF OAM server names - description: name of the PCRF OAM instance - pcrf_oam_image_name: - type: string - label: PCRF OAM image name - description: PCRF OAM image name - pcrf_oam_flavor_name: - type: string - label: PCRF OAM flavor name - description: flavor name of PCRF OAM instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ips: - type: comma_delimited_list - label: CPS network ips - description: CPS network ips - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_arbiter_vip: - type: string - label: OAM Arbiter LB VIP - description: OAM Arbiter LB VIP - pcrf_oam_net_name: - type: string - label: OAM network name - description: OAM network name - pcrf_oam_net_ips: - type: comma_delimited_list - label: OAM network ips - description: OAM network ips - pcrf_oam_net_gw: - type: string - label: CPS network gateway - description: CPS network gateway - pcrf_oam_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_oam_volume_id_1: - type: string - label: CPS OAM 001 Cinder Volume - description: CPS OAM 001 Cinder Volumes - pcrf_oam_volume_id_2: - type: string - label: CPS OAM 002 Cinder Volume - description: CPS OAM 002 Cinder Volumes - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - server_pcrf_oam_001: - type: file:///nested-oam_v1.0.yaml - properties: - pcrf_oam_server_name: { get_param: [pcrf_oam_server_names, 0] } - pcrf_oam_image_name: { get_param: pcrf_oam_image_name } - pcrf_oam_flavor_name: { get_param: pcrf_oam_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_oam_volume_id: { get_param: pcrf_oam_volume_id_1 } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 0] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_oam_net_name: { get_param: pcrf_oam_net_name } - pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 0] } - pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask } - pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw } - pcrf_arbiter_vip: { get_param: pcrf_arbiter_vip } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_oam_002: - type: file:///nested-oam_v1.0.yaml - depends_on: [server_pcrf_oam_001] - properties: - pcrf_oam_server_name: { get_param: [pcrf_oam_server_names, 1] } - pcrf_oam_image_name: { get_param: pcrf_oam_image_name } - pcrf_oam_flavor_name: { get_param: pcrf_oam_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_oam_volume_id: { get_param: pcrf_oam_volume_id_2 } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 1] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_oam_net_name: { get_param: pcrf_oam_net_name } - pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 1] } - pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask } - pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw } - pcrf_arbiter_vip: { get_param: pcrf_arbiter_vip } - pcrf_vnf_id: {get_param: pcrf_vnf_id} diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-pcm-volumes_v1.0.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-pcm-volumes_v1.0.env deleted file mode 100644 index 788365dcd3..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-pcm-volumes_v1.0.env +++ /dev/null @@ -1,4 +0,0 @@ -parameters: - pcrf_pcm_vol_size: 50 - pcrf_pcm_volume_silver: Silver - pcrf_pcm_vol_name_1: sde1-pcrfx01-pcm001-vol-1 diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-pcm-volumes_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-pcm-volumes_v1.0.yaml deleted file mode 100644 index bcc3e89f71..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-pcm-volumes_v1.0.yaml +++ /dev/null @@ -1,28 +0,0 @@ -heat_template_version: 2013-05-23 - -parameters: - pcrf_pcm_vol_size: - type: number - label: Cinder volume size - description: the size of the Cinder volume - pcrf_pcm_vol_name_1: - type: string - label: PCM volume name - description: Assigning name to volume - pcrf_pcm_volume_silver: - type: string - label: vm volume type - description: the name of the target volume backend for PCM - -resources: - pcrf_pcm_volume_1: - type: OS::Cinder::Volume - properties: - size: { get_param: pcrf_pcm_vol_size } - volume_type: { get_param: pcrf_pcm_volume_silver } - name: { get_param: pcrf_pcm_vol_name_1 } - -outputs: - pcrf_pcm_volume_id_1: - description: the pcrf_pcm_volume_id - value: { get_resource: pcrf_pcm_volume_1 } \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-pcm_v1.0.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-pcm_v1.0.env deleted file mode 100644 index b23014d92f..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-pcm_v1.0.env +++ /dev/null @@ -1,16 +0,0 @@ -parameters: - pcrf_pcm_server_names: ZRDM1PCRF01PCM001 - pcrf_pcm_image_name: PCRF_8.995-ATTM1.0.3.qcow2 - pcrf_pcm_flavor_name: lc.2xlarge4 - availabilityzone_name: nova - pcrf_cps_net_name: Mobisupport-25193-I-INT1_int_pcrf_net_0 - pcrf_cps_net_ips: 172.26.16.113 - pcrf_cps_net_mask: 255.255.255.0 - pcrf_oam_net_name: MNS-25180-L-01_oam_protected_net_0 - pcrf_oam_net_ips: 107.239.64.121 - pcrf_oam_net_gw: 107.239.64.1 - pcrf_oam_net_mask: 255.255.248.0 - pcrf_pcm_volume_id_1: 3438a3fe-1241-4390-80f2-d0b86238c40e - pcrf_security_group_name: nimbus_security_group - pcrf_vnf_id: 730797234b4a40aa99335157b02871cd - diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-pcm_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-pcm_v1.0.yaml deleted file mode 100644 index defb373a4f..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-pcm_v1.0.yaml +++ /dev/null @@ -1,80 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates PCRF Cluman stack - -parameters: - pcrf_pcm_server_names: - type: comma_delimited_list - label: PCRF CM server names - description: name of the PCRF CM instance - pcrf_pcm_image_name: - type: string - label: PCRF CM image name - description: PCRF CM image name - pcrf_pcm_flavor_name: - type: string - label: PCRF CM flavor name - description: flavor name of PCRF CM instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ips: - type: comma_delimited_list - label: CPS network ips - description: CPS network ips - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_oam_net_name: - type: string - label: OAM network name - description: OAM network name - pcrf_oam_net_ips: - type: comma_delimited_list - label: OAM network ips - description: OAM network ips - pcrf_oam_net_gw: - type: string - label: CPS network gateway - description: CPS network gateway - pcrf_oam_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_pcm_volume_id_1: - type: string - label: CPS Cluman Cinder Volume - description: CPS Cluman Cinder Volume - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - server_pcrf_pcm_001: - type: nested-pcm_v1.0.yaml - properties: - pcrf_pcm_server_name: { get_param: [pcrf_pcm_server_names, 0] } - pcrf_pcm_image_name: { get_param: pcrf_pcm_image_name } - pcrf_pcm_flavor_name: { get_param: pcrf_pcm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_pcm_volume_id: { get_param: pcrf_pcm_volume_id_1 } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 0] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_oam_net_name: { get_param: pcrf_oam_net_name } - pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 0] } - pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask } - pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw } - pcrf_vnf_id: {get_param: pcrf_vnf_id} diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-ppd_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-ppd_v1.0.yaml deleted file mode 100644 index 8631592097..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-ppd_v1.0.yaml +++ /dev/null @@ -1,286 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates PCRF Policy Director stack - -parameters: - pcrf_ppd_server_names: - type: comma_delimited_list - label: PCRF PD server names - description: name of the PCRF PD instance - pcrf_ppd_image_name: - type: string - label: PCRF PD image name - description: PCRF PD image name - pcrf_ppd_flavor_name: - type: string - label: PCRF PD flavor name - description: flavor name of PCRF PD instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ips: - type: comma_delimited_list - label: CPS network ips - description: CPS network ips - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_lb_internal_vip: - type: string - label: CPS Internal LB VIP - description: CPS Internal LB VIP - pcrf_oam_net_name: - type: string - label: OAM network name - description: OAM network name - pcrf_oam_net_ips: - type: comma_delimited_list - label: OAM network ips - description: OAM network ips - pcrf_oam_net_gw: - type: string - label: CPS network gateway - description: CPS network gateway - pcrf_oam_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_lb_management_vip: - type: string - label: CPS OAM LB VIP - description: CPS OAM LB VIP - pcrf_gx_net_name: - type: string - label: Gx network name - description: Gx network name - pcrf_gx_net_ips: - type: comma_delimited_list - label: Gx network ips - description: Gx network ips - pcrf_gx_net_mask: - type: string - label: Gx network mask - description: Gx network mask - pcrf_sp_net_name: - type: string - label: Sp network name - description: Sp network name - pcrf_sp_net_ips: - type: comma_delimited_list - label: Sp network ips - description: Sp network ips - pcrf_sp_net_mask: - type: string - label: Sp network mask - description: Sp network mask - pcrf_sy_net_name: - type: string - label: Sy network name - description: Sy network name - pcrf_sy_net_ips: - type: comma_delimited_list - label: Sy network ips - description: Sy network ips - pcrf_sy_net_mask: - type: string - label: Sy network mask - description: Sy network mask - pcrf_rx_net_name: - type: string - label: Rx network name - description: Rx network name - pcrf_rx_net_ips: - type: comma_delimited_list - label: Rx network ips - description: Rx network ips - pcrf_rx_net_mask: - type: string - label: Rx network mask - description: Rx network mask - pcrf_sd_net_name: - type: string - label: Sd network name - description: Sd network name - pcrf_sd_net_ips: - type: comma_delimited_list - label: Sd network ips - description: Sd network ips - pcrf_sd_net_mask: - type: string - label: Sd network mask - description: Sd network mask - pcrf_sgi_sy_net_name: - type: string - label: Sgi Sy network name - description: Sgi Sy network name - pcrf_sgi_sy_net_ips: - type: comma_delimited_list - label: Sgi Sy network ips - description: Sgi Sy network ips - pcrf_sgi_sy_net_mask: - type: string - label: Sgi Sy network mask - description: Sgi Sy network mask - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - server_pcrf_ppd_001: - type: nested-ppd_v1.0.yaml - properties: - pcrf_ppd_server_name: { get_param: [pcrf_ppd_server_names, 0] } - pcrf_ppd_image_name: { get_param: pcrf_ppd_image_name } - pcrf_ppd_flavor_name: { get_param: pcrf_ppd_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 0] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_lb_internal_vip: { get_param: pcrf_lb_internal_vip } - pcrf_oam_net_name: { get_param: pcrf_oam_net_name } - pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 0] } - pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask } - pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw } - pcrf_lb_management_vip: { get_param: pcrf_lb_management_vip } - pcrf_gx_net_name: { get_param: pcrf_gx_net_name } - pcrf_gx_net_ip: { get_param: [pcrf_gx_net_ips, 0] } - pcrf_gx_net_mask: { get_param: pcrf_gx_net_mask } - pcrf_sp_net_name: { get_param: pcrf_sp_net_name } - pcrf_sp_net_ip: { get_param: [pcrf_sp_net_ips, 0] } - pcrf_sp_net_mask: { get_param: pcrf_sp_net_mask } - pcrf_sy_net_name: { get_param: pcrf_sy_net_name } - pcrf_sy_net_ip: { get_param: [pcrf_sy_net_ips, 0] } - pcrf_sy_net_mask: { get_param: pcrf_sy_net_mask } - pcrf_rx_net_name: { get_param: pcrf_rx_net_name } - pcrf_rx_net_ip: { get_param: [pcrf_rx_net_ips, 0] } - pcrf_rx_net_mask: { get_param: pcrf_rx_net_mask } - pcrf_sd_net_name: { get_param: pcrf_sd_net_name } - pcrf_sd_net_ip: { get_param: [pcrf_sd_net_ips, 0] } - pcrf_sd_net_mask: { get_param: pcrf_sd_net_mask } - pcrf_sgi_sy_net_name: { get_param: pcrf_sgi_sy_net_name } - pcrf_sgi_sy_net_ip: { get_param: [pcrf_sgi_sy_net_ips, 0] } - pcrf_sgi_sy_net_mask: { get_param: pcrf_sgi_sy_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_ppd_002: - type: nested-ppd_v1.0.yaml - properties: - pcrf_ppd_server_name: { get_param: [pcrf_ppd_server_names, 1] } - pcrf_ppd_image_name: { get_param: pcrf_ppd_image_name } - pcrf_ppd_flavor_name: { get_param: pcrf_ppd_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 1] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_lb_internal_vip: { get_param: pcrf_lb_internal_vip } - pcrf_oam_net_name: { get_param: pcrf_oam_net_name } - pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 1] } - pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask } - pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw } - pcrf_lb_management_vip: { get_param: pcrf_lb_management_vip } - pcrf_gx_net_name: { get_param: pcrf_gx_net_name } - pcrf_gx_net_ip: { get_param: [pcrf_gx_net_ips, 1] } - pcrf_gx_net_mask: { get_param: pcrf_gx_net_mask } - pcrf_sp_net_name: { get_param: pcrf_sp_net_name } - pcrf_sp_net_ip: { get_param: [pcrf_sp_net_ips, 1] } - pcrf_sp_net_mask: { get_param: pcrf_sp_net_mask } - pcrf_sy_net_name: { get_param: pcrf_sy_net_name } - pcrf_sy_net_ip: { get_param: [pcrf_sy_net_ips, 1] } - pcrf_sy_net_mask: { get_param: pcrf_sy_net_mask } - pcrf_rx_net_name: { get_param: pcrf_rx_net_name } - pcrf_rx_net_ip: { get_param: [pcrf_rx_net_ips, 1] } - pcrf_rx_net_mask: { get_param: pcrf_rx_net_mask } - pcrf_sd_net_name: { get_param: pcrf_sd_net_name } - pcrf_sd_net_ip: { get_param: [pcrf_sd_net_ips, 1] } - pcrf_sd_net_mask: { get_param: pcrf_sd_net_mask } - pcrf_sgi_sy_net_name: { get_param: pcrf_sgi_sy_net_name } - pcrf_sgi_sy_net_ip: { get_param: [pcrf_sgi_sy_net_ips, 1] } - pcrf_sgi_sy_net_mask: { get_param: pcrf_sgi_sy_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_ppd_003: - type: nested-ppd_v1.0.yaml - properties: - pcrf_ppd_server_name: { get_param: [pcrf_ppd_server_names, 2] } - pcrf_ppd_image_name: { get_param: pcrf_ppd_image_name } - pcrf_ppd_flavor_name: { get_param: pcrf_ppd_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 2] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_lb_internal_vip: { get_param: pcrf_lb_internal_vip } - pcrf_oam_net_name: { get_param: pcrf_oam_net_name } - pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 2] } - pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask } - pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw } - pcrf_lb_management_vip: { get_param: pcrf_lb_management_vip } - pcrf_gx_net_name: { get_param: pcrf_gx_net_name } - pcrf_gx_net_ip: { get_param: [pcrf_gx_net_ips, 2] } - pcrf_gx_net_mask: { get_param: pcrf_gx_net_mask } - pcrf_sp_net_name: { get_param: pcrf_sp_net_name } - pcrf_sp_net_ip: { get_param: [pcrf_sp_net_ips, 2] } - pcrf_sp_net_mask: { get_param: pcrf_sp_net_mask } - pcrf_sy_net_name: { get_param: pcrf_sy_net_name } - pcrf_sy_net_ip: { get_param: [pcrf_sy_net_ips, 2] } - pcrf_sy_net_mask: { get_param: pcrf_sy_net_mask } - pcrf_rx_net_name: { get_param: pcrf_rx_net_name } - pcrf_rx_net_ip: { get_param: [pcrf_rx_net_ips, 2] } - pcrf_rx_net_mask: { get_param: pcrf_rx_net_mask } - pcrf_sd_net_name: { get_param: pcrf_sd_net_name } - pcrf_sd_net_ip: { get_param: [pcrf_sd_net_ips, 2] } - pcrf_sd_net_mask: { get_param: pcrf_sd_net_mask } - pcrf_sgi_sy_net_name: { get_param: pcrf_sgi_sy_net_name } - pcrf_sgi_sy_net_ip: { get_param: [pcrf_sgi_sy_net_ips, 2] } - pcrf_sgi_sy_net_mask: { get_param: pcrf_sgi_sy_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_ppd_004: - type: nested-ppd_v1.0.yaml - properties: - pcrf_ppd_server_name: { get_param: [pcrf_ppd_server_names, 3] } - pcrf_ppd_image_name: { get_param: pcrf_ppd_image_name } - pcrf_ppd_flavor_name: { get_param: pcrf_ppd_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 3] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_lb_internal_vip: { get_param: pcrf_lb_internal_vip } - pcrf_oam_net_name: { get_param: pcrf_oam_net_name } - pcrf_oam_net_ip: { get_param: [pcrf_oam_net_ips, 3] } - pcrf_oam_net_mask: { get_param: pcrf_oam_net_mask } - pcrf_oam_net_gw: { get_param: pcrf_oam_net_gw } - pcrf_lb_management_vip: { get_param: pcrf_lb_management_vip } - pcrf_gx_net_name: { get_param: pcrf_gx_net_name } - pcrf_gx_net_ip: { get_param: [pcrf_gx_net_ips, 3] } - pcrf_gx_net_mask: { get_param: pcrf_gx_net_mask } - pcrf_sp_net_name: { get_param: pcrf_sp_net_name } - pcrf_sp_net_ip: { get_param: [pcrf_sp_net_ips, 3] } - pcrf_sp_net_mask: { get_param: pcrf_sp_net_mask } - pcrf_sy_net_name: { get_param: pcrf_sy_net_name } - pcrf_sy_net_ip: { get_param: [pcrf_sy_net_ips, 3] } - pcrf_sy_net_mask: { get_param: pcrf_sy_net_mask } - pcrf_rx_net_name: { get_param: pcrf_rx_net_name } - pcrf_rx_net_ip: { get_param: [pcrf_rx_net_ips, 3] } - pcrf_rx_net_mask: { get_param: pcrf_rx_net_mask } - pcrf_sd_net_name: { get_param: pcrf_sd_net_name } - pcrf_sd_net_ip: { get_param: [pcrf_sd_net_ips, 3] } - pcrf_sd_net_mask: { get_param: pcrf_sd_net_mask } - pcrf_sgi_sy_net_name: { get_param: pcrf_sgi_sy_net_name } - pcrf_sgi_sy_net_ip: { get_param: [pcrf_sgi_sy_net_ips, 3] } - pcrf_sgi_sy_net_mask: { get_param: pcrf_sgi_sy_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-ppd_v1.1.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-ppd_v1.1.env deleted file mode 100644 index 10697bcaa5..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-ppd_v1.1.env +++ /dev/null @@ -1,35 +0,0 @@ -parameters: - pcrf_ppd_server_names: ZRDM1PCRF01PPD001,ZRDM1PCRF01PPD002,ZRDM1PCRF01PPD003,ZRDM1PCRF01PPD004 - pcrf_ppd_image_name: PCRF_8.995-ATTM1.0.3.qcow2 - pcrf_ppd_flavor_name: lc.4xlarge4 - availabilityzone_name: nova - pcrf_cps_net_name: Mobisupport-25193-I-INT1_int_pcrf_net_0 - pcrf_cps_net_ips: 172.26.16.3,172.26.16.4,172.26.16.5,172.26.16.6 - pcrf_lb_internal_vip: 172.26.16.114 - pcrf_cps_net_mask: 255.255.255.0 - pcrf_oam_net_name: MNS-25180-L-01_oam_protected_net_0 - pcrf_oam_net_ips: 107.239.64.113,107.239.64.114,107.239.64.115,107.239.64.116 - pcrf_lb_management_vip: 107.239.64.123 - pcrf_oam_net_gw: 107.239.64.1 - pcrf_oam_net_mask: 255.255.248.0 - pcrf_gx_net_name: Mobisupport-25193-I-INT1_cor_pcrf_gx_net_0 - pcrf_gx_net_ips: 107.239.24.67,107.239.24.68,107.239.24.69,107.239.24.70 - pcrf_gx_net_mask: 255.255.255.248 - pcrf_sp_net_name: Mobisupport-25193-I-INT1_cor_pcrf_sp_net_0 - pcrf_sp_net_ips: 107.239.24.75,107.239.24.76,107.239.24.77,107.239.24.78 - pcrf_sp_net_mask: 255.255.255.248 - pcrf_sy_net_name: Mobisupport-25193-I-INT1_cor_pcrf_sy_net_0 - pcrf_sy_net_ips: 107.239.24.83,107.239.24.84,107.239.24.85,107.239.24.86 - pcrf_sy_net_mask: 255.255.255.248 - pcrf_rx_net_name: Mobisupport-25193-I-INT1_cor_pcrf_rx_net_0 - pcrf_rx_net_ips: 107.239.24.91,107.239.24.92,107.239.24.93,107.239.24.94 - pcrf_rx_net_mask: 255.255.255.248 - pcrf_sd_net_name: Mobisupport-25193-I-INT1_cor_pcrf_sd_net_0 - pcrf_sd_net_ips: 107.239.24.99,107.239.24.100,107.239.24.101,107.239.24.102 - pcrf_sd_net_mask: 255.255.255.248 - pcrf_sgi_sy_net_name: Mobisupport-25193-I-INT1_sgi_pcrf_sy_net_0 - pcrf_sgi_sy_net_ips: 107.239.26.131,107.239.26.132,107.239.26.133,107.239.26.134 - pcrf_sgi_sy_net_mask: 255.255.255.248 - pcrf_security_group_name: nimbus_security_group - pcrf_vnf_id: 730797234b4a40aa99335157b02871cd - diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-pps_v1.0.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-pps_v1.0.env deleted file mode 100644 index 18c064c019..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-pps_v1.0.env +++ /dev/null @@ -1,11 +0,0 @@ -parameters: - pcrf_pps_server_names: ZRDM1PCRF01PPS001,ZRDM1PCRF01PPS002,ZRDM1PCRF01PPS003,ZRDM1PCRF01PPS004,ZRDM1PCRF01PPS005,ZRDM1PCRF01PPS006 - pcrf_pps_image_name: PCRF_8.995-ATTM1.0.3.qcow2 - pcrf_pps_flavor_name: lc.3xlarge - availabilityzone_name: nova - pcrf_cps_net_name: Mobisupport-25193-I-INT1_int_pcrf_net_0 - pcrf_cps_net_ips: 172.26.16.7,172.26.16.8,172.26.16.9,172.26.16.10,172.26.16.11,172.26.16.12 - pcrf_cps_net_mask: 255.255.255.0 - pcrf_security_group_name: nimbus_security_group - pcrf_vnf_id: 730797234b4a40aa99335157b02871cd - diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-pps_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-pps_v1.0.yaml deleted file mode 100644 index 0fadd0023d..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-pps_v1.0.yaml +++ /dev/null @@ -1,121 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates PCRF Policy Server stack - -parameters: - pcrf_pps_server_names: - type: comma_delimited_list - label: PCRF PS server names - description: PCRF PS server names - pcrf_pps_image_name: - type: string - label: PCRF PS image name - description: PCRF PS image name - pcrf_pps_flavor_name: - type: string - label: PCRF PS flavor name - description: flavor name of PCRF PS instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ips: - type: comma_delimited_list - label: CPS network ips - description: CPS network ips - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - server_pcrf_pps_001: - type: nested-pps_v1.0.yaml - properties: - pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 0] } - pcrf_pps_image_name: { get_param: pcrf_pps_image_name } - pcrf_pps_flavor_name: { get_param: pcrf_pps_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 0] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_pps_002: - type: nested-pps_v1.0.yaml - properties: - pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 1] } - pcrf_pps_image_name: { get_param: pcrf_pps_image_name } - pcrf_pps_flavor_name: { get_param: pcrf_pps_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 1] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_pps_003: - type: nested-pps_v1.0.yaml - properties: - pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 2] } - pcrf_pps_image_name: { get_param: pcrf_pps_image_name } - pcrf_pps_flavor_name: { get_param: pcrf_pps_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 2] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_pps_004: - type: nested-pps_v1.0.yaml - properties: - pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 3] } - pcrf_pps_image_name: { get_param: pcrf_pps_image_name } - pcrf_pps_flavor_name: { get_param: pcrf_pps_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 3] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_pps_005: - type: nested-pps_v1.0.yaml - properties: - pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 4] } - pcrf_pps_image_name: { get_param: pcrf_pps_image_name } - pcrf_pps_flavor_name: { get_param: pcrf_pps_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 4] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_pps_006: - type: nested-pps_v1.0.yaml - properties: - pcrf_pps_server_name: { get_param: [pcrf_pps_server_names, 5] } - pcrf_pps_image_name: { get_param: pcrf_pps_image_name } - pcrf_pps_flavor_name: { get_param: pcrf_pps_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 5] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-psm_v1.0.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-psm_v1.0.env deleted file mode 100644 index 95e450ef0d..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-psm_v1.0.env +++ /dev/null @@ -1,10 +0,0 @@ -parameters: - pcrf_psm_server_names: ZRDM1PCRF01PSM001,ZRDM1PCRF01PSM002,ZRDM1PCRF01PSM003,ZRDM1PCRF01PSM004,ZRDM1PCRF01PSM005,ZRDM1PCRF01PSM006,ZRDM1PCRF01PSM007,ZRDM1PCRF01PSM008,ZRDM1PCRF01PSM009,ZRDM1PCRF01PSM010,ZRDM1PCRF01PSM011,ZRDM1PCRF01PSM012 - pcrf_psm_image_name: PCRF_8.995-ATTM1.0.3.qcow2 - pcrf_psm_flavor_name: lc.4xlarge4 - availabilityzone_name: nova - pcrf_cps_net_name: Mobisupport-25193-I-INT1_int_pcrf_net_0 - pcrf_cps_net_ips: 172.26.16.63,172.26.16.64,172.26.16.65,172.26.16.66,172.26.16.67,172.26.16.68,172.26.16.69,172.26.16.70,172.26.16.71,172.26.16.72,172.26.16.73,172.26.16.74 - pcrf_cps_net_mask: 255.255.255.0 - pcrf_security_group_name: nimbus_security_group - pcrf_vnf_id: 730797234b4a40aa99335157b02871cd diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-psm_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-psm_v1.0.yaml deleted file mode 100644 index 217b0fe33a..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-psm_v1.0.yaml +++ /dev/null @@ -1,199 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates PCRF Session Manager stack - -parameters: - pcrf_psm_server_names: - type: comma_delimited_list - label: PCRF SM server names - description: name of the PCRF SM instance - pcrf_psm_image_name: - type: string - label: PCRF SM image name - description: PCRF SM image name - pcrf_psm_flavor_name: - type: string - label: PCRF SM flavor name - description: flavor name of PCRF SM instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ips: - type: comma_delimited_list - label: CPS network ips - description: CPS network ips - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - server_pcrf_psm_001: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 0] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 0] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_002: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 1] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 1] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_003: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 2] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 2] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_004: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 3] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 3] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_005: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 4] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 4] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_006: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 5] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 5] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_007: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 6] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 6] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_008: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 7] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 7] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_009: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 8] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 8] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_010: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 9] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 9] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_011: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 10] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 10] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - - server_pcrf_psm_012: - type: nested-psm_v1.0.yaml - properties: - pcrf_psm_server_name: { get_param: [pcrf_psm_server_names, 11] } - pcrf_psm_image_name: { get_param: pcrf_psm_image_name } - pcrf_psm_flavor_name: { get_param: pcrf_psm_flavor_name } - availabilityzone_name: { get_param: availabilityzone_name } - pcrf_security_group_name: { get_param: pcrf_security_group_name } - pcrf_cps_net_name: { get_param: pcrf_cps_net_name } - pcrf_cps_net_ip: { get_param: [pcrf_cps_net_ips, 11] } - pcrf_cps_net_mask: { get_param: pcrf_cps_net_mask } - pcrf_vnf_id: {get_param: pcrf_vnf_id} - diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-swift-container_v1.0.env b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-swift-container_v1.0.env deleted file mode 100644 index 5267ee45ae..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-swift-container_v1.0.env +++ /dev/null @@ -1,3 +0,0 @@ -parameters: - pcrf_swift_container_name_1: PCRF_Config_Container_1 - pcrf_swift_container_purge_on_delete_flag_1: false diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-swift-container_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-swift-container_v1.0.yaml deleted file mode 100644 index ab427bb4c2..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/hot-nimbus-swift-container_v1.0.yaml +++ /dev/null @@ -1,30 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates PCRF Session Manager stack - -parameters: - pcrf_swift_container_name_1: - type: string - label: Swift Container name - description: Swift Container Name - pcrf_swift_container_purge_on_delete_flag_1: - type: boolean - label: Purge on Delete Flag - description: Purge on Delete Flag - -resources: - pcrf_swift_container_1: - type: OS::Swift::Container - properties: - name: { get_param: pcrf_swift_container_name_1 } - PurgeOnDelete: { get_param: pcrf_swift_container_purge_on_delete_flag_1 } - X-Container-Read: ".r:*" - -outputs: - pcrf_swift_container_id_1: - description: the pcrf_swift_container_1 id - value: { get_resource: pcrf_swift_container_1 } - pcrf_swift_container_url_1: - description: the pcrf_swift_container_1 url - value: { get_attr: [ pcrf_swift_container_1, WebsiteURL ] } - \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/mount_iso_script.sh b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/mount_iso_script.sh deleted file mode 100644 index 91df598dc2..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/mount_iso_script.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash - -#. .config -#following would be in the .config file - device_name="/dev/vde" - install_script="install_nimbus.sh" - enable_logic_flag_file=".flag" -#end of config file - -#get the semaphore, 0 - disbaled, 1- enabled -flag=$(cat ${enable_logic_flag_file}) - -#check if device is mounted already -test=$(mount | grep ${device_name}) -if [ "$flag" == "1" ]; then - if [ -e ${device_name} ] && [ ! "${test}" ]; then - #mount the iso image - mount -t iso9660 -v -o loop /dev/vde/ /mnt/iso - #if availabe run the install script (it contains the install.sh steps) - if [ -e "${install_script}" ] && [ -f "${install_script}" ]; then - ${install_script} - fi - #disable the script from attempting to - # mount and run install again until needed; - echo "0" > ${enable_logic_flag_file} - #if nedeed add step to comment out the crontab line here; - fi -else - echo "Auto mounting ISO & run install logic disabled!" -fi - -#cron job -# * * * * * /mount_iso_script.sh - diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/nested-oam_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/nested-oam_v1.0.yaml deleted file mode 100644 index fa3b04e7d3..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/nested-oam_v1.0.yaml +++ /dev/null @@ -1,156 +0,0 @@ -heat_template_version: 2013-05-23 - -description: nested heat template that creates a PCRF OAM node stack - -parameters: - pcrf_oam_server_name: - type: string - label: PCRF OAM server name - description: PCRF OAM server name - pcrf_oam_image_name: - type: string - label: image name - description: PCRF OAM image name - pcrf_oam_flavor_name: - type: string - label: PCRF OAM flavor name - description: flavor name of PCRF OAM instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ip: - type: string - label: CPS network ip - description: CPS network ip - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_arbiter_vip: - type: string - label: OAM Arbiter LB VIP - description: OAM Arbiter LB VIP - pcrf_oam_net_name: - type: string - label: OAM network name - description: OAM network name - pcrf_oam_net_ip: - type: string - label: OAM network ip - description: OAM network ip - pcrf_oam_net_gw: - type: string - label: CPS network gateway - description: CPS network gateway - pcrf_oam_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_oam_volume_id: - type: string - label: CPS OAM Cinder Volume - description: CPS OAM Cinder Volume - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - network: - type: OS::Heat::CloudConfig - properties: - cloud_config: - write_files: - - path: /etc/sysconfig/network-scripts/ifcfg-eth0 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth0 - $ip: { get_param: pcrf_cps_net_ip } - $netmask: { get_param: pcrf_cps_net_mask } - - path: /etc/sysconfig/network-scripts/ifcfg-eth1 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet-gw } - params: - $dev: eth1 - $ip: { get_param: pcrf_oam_net_ip } - $netmask: { get_param: pcrf_oam_net_mask } - $gateway: { get_param: pcrf_oam_net_gw } - runcmd: - - ifdown eth0 && ifup eth0 - - ifdown eth1 && ifup eth1 - script_init: - type: OS::Heat::SoftwareConfig - properties: - group: ungrouped - config: - str_replace: - template: { get_file: cloud-nimbus.sh } - params: - $vm_name: { get_param: pcrf_oam_server_name } - pcrf_server_init: - type: OS::Heat::MultipartMime - properties: - parts: - - config: { get_resource: network} - - config: { get_resource: script_init} - - pcrf_server_oam: - type: OS::Nova::Server - properties: - config_drive: "True" - name: { get_param: pcrf_oam_server_name } - image: { get_param: pcrf_oam_image_name } - flavor: { get_param: pcrf_oam_flavor_name } - availability_zone: { get_param: availabilityzone_name } - networks: - - port: { get_resource: pcrf_oam_port_0} - - port: { get_resource: pcrf_oam_port_1} - user_data_format: RAW - user_data: - get_resource: pcrf_server_init - metadata: - vnf_id: {get_param: pcrf_vnf_id} - - pcrf_oam_port_0: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_cps_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_cps_net_ip } - allowed_address_pairs: - - ip_address: { get_param: pcrf_arbiter_vip } - security_groups: [{ get_param: pcrf_security_group_name }] - - pcrf_oam_port_1: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_oam_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_oam_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - - pcrf_oam_vol_attachment: - type: OS::Cinder::VolumeAttachment - properties: - volume_id: { get_param: pcrf_oam_volume_id } - mountpoint: /dev/vdd - instance_uuid: { get_resource: pcrf_server_oam } - -outputs: - pcrf_oam_vol_attachment_id: - description: the pcrf_oam_vol_attachment_id id - value: { get_resource: pcrf_oam_vol_attachment } diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/nested-pcm_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/nested-pcm_v1.0.yaml deleted file mode 100644 index a3129bb0b9..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/nested-pcm_v1.0.yaml +++ /dev/null @@ -1,150 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates PCRF Cluman stack - -parameters: - pcrf_pcm_server_name: - type: string - label: PCRF CM server name - description: PCRF CM server name - pcrf_pcm_image_name: - type: string - label: image name - description: PCRF CM image name - pcrf_pcm_flavor_name: - type: string - label: PCRF CM flavor name - description: flavor name of PCRF CM instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ip: - type: string - label: CPS network ip - description: CPS network ip - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_oam_net_name: - type: string - label: OAM network name - description: OAM network name - pcrf_oam_net_ip: - type: string - label: OAM network ip - description: OAM network ip - pcrf_oam_net_gw: - type: string - label: CPS network gateway - description: CPS network gateway - pcrf_oam_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_pcm_volume_id: - type: string - label: CPS Cluman Cinder Volume - description: CPS Cluman Cinder Volume - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - network: - type: OS::Heat::CloudConfig - properties: - cloud_config: - write_files: - - path: /etc/sysconfig/network-scripts/ifcfg-eth0 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth0 - $ip: { get_param: pcrf_cps_net_ip } - $netmask: { get_param: pcrf_cps_net_mask } - - path: /etc/sysconfig/network-scripts/ifcfg-eth1 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet-gw } - params: - $dev: eth1 - $ip: { get_param: pcrf_oam_net_ip } - $netmask: { get_param: pcrf_oam_net_mask } - $gateway: { get_param: pcrf_oam_net_gw } - runcmd: - - ifdown eth0 && ifup eth0 - - ifdown eth1 && ifup eth1 - script_init: - type: OS::Heat::SoftwareConfig - properties: - group: ungrouped - config: - str_replace: - template: { get_file: cloud-nimbus.sh } - params: - $vm_name: { get_param: pcrf_pcm_server_name } - pcrf_server_init: - type: OS::Heat::MultipartMime - properties: - parts: - - config: { get_resource: network} - - config: { get_resource: script_init} - - pcrf_server_pcm: - type: OS::Nova::Server - properties: - config_drive: "True" - name: { get_param: pcrf_pcm_server_name } - image: { get_param: pcrf_pcm_image_name } - flavor: { get_param: pcrf_pcm_flavor_name } - availability_zone: { get_param: availabilityzone_name } - networks: - - port: { get_resource: pcrf_pcm_port_0} - - port: { get_resource: pcrf_pcm_port_1} - user_data_format: RAW - user_data: - get_resource: pcrf_server_init - metadata: - vnf_id: {get_param: pcrf_vnf_id} - - pcrf_pcm_port_0: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_cps_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_cps_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - - pcrf_pcm_port_1: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_oam_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_oam_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - - volume_attachment: - type: OS::Cinder::VolumeAttachment - properties: - volume_id: { get_param: pcrf_pcm_volume_id } - mountpoint: /dev/vdd - instance_uuid: { get_resource: pcrf_server_pcm } - -outputs: - pcrf_server_pcm_id: - description: the pcm server id - value: { get_resource: pcrf_server_pcm } \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/nested-ppd_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/nested-ppd_v1.0.yaml deleted file mode 100644 index 169522b64c..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/nested-ppd_v1.0.yaml +++ /dev/null @@ -1,333 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates PCRF Policy Director stack - -parameters: - pcrf_ppd_server_name: - type: string - label: PCRF PD server name - description: PCRF PD server name - pcrf_ppd_image_name: - type: string - label: image name - description: PCRF PD image name - pcrf_ppd_flavor_name: - type: string - label: PCRF PD flavor name - description: flavor name of PCRF PD instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ip: - type: string - label: CPS network ip - description: CPS network ip - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_lb_internal_vip: - type: string - label: CPS Internal LB VIP - description: CPS Internal LB VIP - pcrf_oam_net_name: - type: string - label: OAM network name - description: OAM network name - pcrf_oam_net_ip: - type: string - label: OAM network ip - description: OAM network ip - pcrf_oam_net_gw: - type: string - label: CPS network gateway - description: CPS network gateway - pcrf_oam_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_lb_management_vip: - type: string - label: CPS OAM LB VIP - description: CPS OAM LB VIP - pcrf_gx_net_name: - type: string - label: Gx network name - description: Gx network name - pcrf_gx_net_ip: - type: string - label: Gx network ip - description: Gx network ip - pcrf_gx_net_mask: - type: string - label: Gx network mask - description: Gx network mask - pcrf_sp_net_name: - type: string - label: Sp network name - description: Sp network name - pcrf_sp_net_ip: - type: string - label: Sp network ip - description: Sp network ip - pcrf_sp_net_mask: - type: string - label: Sp network mask - description: Sp network mask - pcrf_sy_net_name: - type: string - label: Sy network name - description: Sy network name - pcrf_sy_net_ip: - type: string - label: Sy network ip - description: Sy network ip - pcrf_sy_net_mask: - type: string - label: Sy network mask - description: Sy network mask - pcrf_rx_net_name: - type: string - label: Rx network name - description: Rx network name - pcrf_rx_net_ip: - type: string - label: Rx network ip - description: Rx network ip - pcrf_rx_net_mask: - type: string - label: Rx network mask - description: Rx network mask - pcrf_sd_net_name: - type: string - label: Sd network name - description: Sd network name - pcrf_sd_net_ip: - type: string - label: Sd network ip - description: Sd network ip - pcrf_sd_net_mask: - type: string - label: Sd network mask - description: Sd network mask - pcrf_sgi_sy_net_name: - type: string - label: Sgi Sy network name - description: Sgi Sy network name - pcrf_sgi_sy_net_ip: - type: string - label: Sgi Sy network ip - description: Sgi Sy network ip - pcrf_sgi_sy_net_mask: - type: string - label: Sgi Sy network mask - description: Sgi Sy network mask - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - network: - type: OS::Heat::CloudConfig - properties: - cloud_config: - write_files: - - path: /etc/sysconfig/network-scripts/ifcfg-eth0 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth0 - $ip: { get_param: pcrf_cps_net_ip } - $netmask: { get_param: pcrf_cps_net_mask } - - path: /etc/sysconfig/network-scripts/ifcfg-eth1 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet-gw } - params: - $dev: eth1 - $ip: { get_param: pcrf_oam_net_ip } - $netmask: { get_param: pcrf_oam_net_mask } - $gateway: { get_param: pcrf_oam_net_gw } - - path: /etc/sysconfig/network-scripts/ifcfg-eth2 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth2 - $ip: { get_param: pcrf_gx_net_ip } - $netmask: { get_param: pcrf_gx_net_mask } - - path: /etc/sysconfig/network-scripts/ifcfg-eth3 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth3 - $ip: { get_param: pcrf_sp_net_ip } - $netmask: { get_param: pcrf_sp_net_mask } - - path: /etc/sysconfig/network-scripts/ifcfg-eth4 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth4 - $ip: { get_param: pcrf_sy_net_ip } - $netmask: { get_param: pcrf_sy_net_mask } - - path: /etc/sysconfig/network-scripts/ifcfg-eth5 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth5 - $ip: { get_param: pcrf_rx_net_ip } - $netmask: { get_param: pcrf_rx_net_mask } - - path: /etc/sysconfig/network-scripts/ifcfg-eth6 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth6 - $ip: { get_param: pcrf_sd_net_ip } - $netmask: { get_param: pcrf_sd_net_mask } - - path: /etc/sysconfig/network-scripts/ifcfg-eth7 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth7 - $ip: { get_param: pcrf_sgi_sy_net_ip } - $netmask: { get_param: pcrf_sgi_sy_net_mask } - runcmd: - - ifdown eth0 && ifup eth0 - - ifdown eth1 && ifup eth1 - - ifdown eth2 && ifup eth2 - - ifdown eth3 && ifup eth3 - - ifdown eth4 && ifup eth4 - - ifdown eth5 && ifup eth5 - - ifdown eth6 && ifup eth6 - - ifdown eth7 && ifup eth7 - script_init: - type: OS::Heat::SoftwareConfig - properties: - group: ungrouped - config: - str_replace: - template: { get_file: cloud-nimbus.sh } - params: - $vm_name: { get_param: pcrf_ppd_server_name } - pcrf_server_init: - type: OS::Heat::MultipartMime - properties: - parts: - - config: { get_resource: network} - - config: { get_resource: script_init} - - pcrf_server_ppd: - type: OS::Nova::Server - properties: - config_drive: "True" - name: { get_param: pcrf_ppd_server_name } - image: { get_param: pcrf_ppd_image_name } - flavor: { get_param: pcrf_ppd_flavor_name } - availability_zone: { get_param: availabilityzone_name } - networks: - - port: { get_resource: pcrf_ppd_port_0} - - port: { get_resource: pcrf_ppd_port_1} - - port: { get_resource: pcrf_ppd_port_2} - - port: { get_resource: pcrf_ppd_port_3} - - port: { get_resource: pcrf_ppd_port_4} - - port: { get_resource: pcrf_ppd_port_5} - - port: { get_resource: pcrf_ppd_port_6} - - port: { get_resource: pcrf_ppd_port_7} - user_data_format: RAW - user_data: - get_resource: pcrf_server_init - metadata: - vnf_id: {get_param: pcrf_vnf_id} - - pcrf_ppd_port_0: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_cps_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_cps_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - allowed_address_pairs: - - ip_address: { get_param: pcrf_lb_internal_vip } - - pcrf_ppd_port_1: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_oam_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_oam_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - allowed_address_pairs: - - ip_address: { get_param: pcrf_lb_management_vip } - - pcrf_ppd_port_2: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_gx_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_gx_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - - pcrf_ppd_port_3: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_sp_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_sp_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - - pcrf_ppd_port_4: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_sy_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_sy_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - - pcrf_ppd_port_5: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_rx_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_rx_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - - pcrf_ppd_port_6: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_sd_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_sd_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - - pcrf_ppd_port_7: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_sgi_sy_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_sgi_sy_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] - diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/nested-pps_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/nested-pps_v1.0.yaml deleted file mode 100644 index 8cb6e1587c..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/nested-pps_v1.0.yaml +++ /dev/null @@ -1,99 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates PCRF Policy Server stack - -parameters: - pcrf_pps_server_name: - type: string - label: PCRF PS server name - description: PCRF PS server name - pcrf_pps_image_name: - type: string - label: PCRF PS image name - description: PCRF PS image name - pcrf_pps_flavor_name: - type: string - label: PCRF PS flavor name - description: flavor name of PCRF PS instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ip: - type: string - label: CPS network ip - description: CPS network ip - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - script_init: - type: OS::Heat::SoftwareConfig - properties: - group: ungrouped - config: - str_replace: - template: { get_file: cloud-nimbus.sh } - params: - $vm_name: { get_param: pcrf_pps_server_name } - network: - type: OS::Heat::CloudConfig - properties: - cloud_config: - write_files: - - path: /etc/sysconfig/network-scripts/ifcfg-eth0 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth0 - $ip: { get_param: pcrf_cps_net_ip } - $netmask: { get_param: pcrf_cps_net_mask } - runcmd: - - ifdown eth0 && ifup eth0 - - pcrf_server_init: - type: OS::Heat::MultipartMime - properties: - parts: - - config: { get_resource: network} - - config: { get_resource: script_init} - - pcrf_server_pps: - type: OS::Nova::Server - properties: - config_drive: "True" - name: { get_param: pcrf_pps_server_name } - image: { get_param: pcrf_pps_image_name } - flavor: { get_param: pcrf_pps_flavor_name } - availability_zone: { get_param: availabilityzone_name } - networks: - - port: { get_resource: pcrf_pps_port_0} - user_data_format: RAW - user_data: - get_resource: pcrf_server_init - metadata: - vnf_id: {get_param: pcrf_vnf_id} - - pcrf_pps_port_0: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_cps_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_cps_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/nested-psm_v1.0.yaml b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/nested-psm_v1.0.yaml deleted file mode 100644 index 64c7484405..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/nested-psm_v1.0.yaml +++ /dev/null @@ -1,99 +0,0 @@ -heat_template_version: 2013-05-23 - -description: heat template that creates PCRF Session Manager stack - -parameters: - pcrf_psm_server_name: - type: string - label: PCRF SM server name - description: PCRF SM server name - pcrf_psm_image_name: - type: string - label: image name - description: PCRF SM image name - pcrf_psm_flavor_name: - type: string - label: PCRF SM flavor name - description: flavor name of PCRF SM instance - availabilityzone_name: - type: string - label: availabilityzone name - description: availabilityzone name - pcrf_cps_net_name: - type: string - label: CPS network name - description: CPS network name - pcrf_cps_net_ip: - type: string - label: CPS network ip - description: CPS network ip - pcrf_cps_net_mask: - type: string - label: CPS network mask - description: CPS network mask - pcrf_security_group_name: - type: string - label: security group name - description: the name of security group - pcrf_vnf_id: - type: string - label: PCRF VNF Id - description: PCRF VNF Id - -resources: - network: - type: OS::Heat::CloudConfig - properties: - cloud_config: - write_files: - - path: /etc/sysconfig/network-scripts/ifcfg-eth0 - permissions: "0644" - content: - str_replace: - template: { get_file: nimbus-ethernet } - params: - $dev: eth0 - $ip: { get_param: pcrf_cps_net_ip } - $netmask: { get_param: pcrf_cps_net_mask } - runcmd: - - ifdown eth0 && ifup eth0 - script_init: - type: OS::Heat::SoftwareConfig - properties: - group: ungrouped - config: - str_replace: - template: { get_file: cloud-nimbus.sh } - params: - $vm_name: { get_param: pcrf_psm_server_name } - pcrf_server_init: - type: OS::Heat::MultipartMime - properties: - parts: - - config: { get_resource: network} - - config: { get_resource: script_init} - - pcrf_server_psm: - type: OS::Nova::Server - properties: - config_drive: "True" - name: { get_param: pcrf_psm_server_name } - image: { get_param: pcrf_psm_image_name } - flavor: { get_param: pcrf_psm_flavor_name } - availability_zone: { get_param: availabilityzone_name } - networks: - - port: { get_resource: psm01_port_0} - user_data_format: RAW - user_data: - get_resource: pcrf_server_init - metadata: - vnf_id: {get_param: pcrf_vnf_id} - #scheduler_hints: {group: { get_resource: servergroup_nimbus }} - - psm01_port_0: - type: OS::Neutron::Port - properties: - network: { get_param: pcrf_cps_net_name } - fixed_ips: - - ip_address: { get_param: pcrf_cps_net_ip } - security_groups: [{ get_param: pcrf_security_group_name }] \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/vnf-module-artifact.json b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/vnf-module-artifact.json deleted file mode 100644 index 70483dcd7f..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/artifacts/vnf-module-artifact.json +++ /dev/null @@ -1,35 +0,0 @@ -[ - { - "vfModuleModelName": "VF_RI2_G6_withArtifacts::module-1", - "vfModuleModelInvariantUUID": "585822c7-4027-4f84-ba50-e9248606f132", - "vfModuleModelVersion": "1.0", - "vfModuleModelUUID": "1e34774e-715e-4fd5-bd08-7b654622f33e.VF_RI2_G6_withArtifacts::module-1.group", - "vfModuleModelDescription": "vf Module Description", - "vfModuleModelCustomizationUUID": "585822c7-4027-4f84-ba50-e9248606f132", - "isBase": true, - "artifacts": [ - "Artifact-UUID1", - "EnvArtifact-UUID2", - "NestedArtifact-UUID3", - "NestedArtifact-UUID4", - "ScriptArtifact-UUID1", - "VolumeArtifact-UUID1", - "VolumeEnvArtifact-UUID1" - ], - "properties": {"test":"test"} - }, - { - "vfModuleModelName": "VF_RI2_G91_withArtifacts::module-1", - "vfModuleModelInvariantUUID": "585822c7-4027-4f84-ba50-e9248606f169", - "vfModuleModelVersion": "1.0", - "vfModuleModelUUID": "1e34774e-715e-4fd5-bd08-7b654622f63g.VF_RI2_G9_withArtifacts::module-1.group", - "vfModuleModelDescription": "vf Module Description", - "vfModuleModelCustomizationUUID": "585822c7-4027-4f84-ba50-e9248606f169", - "isBase": true, - "artifacts": [ - "HeatArtifactE2E-UUIDTest" - - ], - "properties": {"test":"test"} - } -] \ No newline at end of file diff --git a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/notif-structure.json b/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/notif-structure.json deleted file mode 100644 index 4d4cb97fd2..0000000000 --- a/packages/arquillian-unit-tests/src/test/resources/resource-examples/asdc/simpleNotif-V5/notif-structure.json +++ /dev/null @@ -1,156 +0,0 @@ -{ - "serviceName": "test-service", - "serviceInvariantUUID": "585822c7-4027-4f84-ba50-e9248606f134", - "serviceUUID": "1e34774e-715e-4fd5-bd09-7b654622f35i", - "serviceVersion": "5.0", - "serviceArtifacts": - [ - - ], - - "resources": - [ - { - "resourceInstanceName": "resource-1", - "resourceInvariantUUID": "585822c7-4027-4f84-ba50-e9248606f134", - "resourceName": "resourceName-1", - "resourceType": "VF", - "resourceUUID": "585822c7-4027-4f84-ba50-e9248606f136", - "resourceVersion": "3.0", - "category": "category", - "artifacts": - [ - { - "artifactChecksum": "CheckSum", - "artifactDescription": "Meta data for VFModule", - "artifactName": "vnf-module-artifact.json", - - "artifactType": "VF_MODULES_METADATA", - "artifactURL": "vnf-module-artifact.json", - "artifactUUID": "VfArtifact-UUID2", - "artifactVersion": "1.0" - - }, - { - "artifactChecksum": "CheckSum", - "artifactDescription": "Nimbus Heat OAM", - "artifactName": "hot-nimbus-oam_v1.0.yaml", - "artifactTimeout": 100, - "artifactType": "HEAT", - "artifactURL": "hot-nimbus-oam_v1.0.yaml", - "artifactUUID": "Artifact-UUID1", - "artifactVersion": "1.0", - "generatedArtifact": "EnvArtifact-UUID2", - "relatedArtifact": - [ - "NestedArtifact-UUID3", - "ScriptArtifact-UUID1" - ] - }, - - { - "artifactChecksum": "CheckSum", - "artifactDescription": "Nimbus Heat ENV OAM", - "artifactName": "hot-nimbus-oam_v1.0.env", - - "artifactType": "HEAT_ENV", - "artifactURL": "hot-nimbus-oam_v1.0.env", - "artifactUUID": "EnvArtifact-UUID2", - "artifactVersion": "1.0" - - }, - - { - "artifactChecksum": "CheckSum", - "artifactDescription": "Nested OAM", - "artifactName": "nested-oam_v1.0.yaml", - "artifactTimeout": 10, - "artifactType": "HEAT_NESTED", - "artifactURL": "nested-oam_v1.0.yaml", - "artifactUUID": "NestedArtifact-UUID3", - "artifactVersion": "1.0" - - }, - - { - "artifactChecksum": "CheckSum", - "artifactDescription": "Nested PSM", - "artifactName": "nested-psm_v1.0.yaml", - "artifactTimeout": 10, - "artifactType": "HEAT_NESTED", - "artifactURL": "nested-psm_v1.0.yaml", - "artifactUUID": "NestedArtifact-UUID4", - "artifactVersion": "1.0" - - }, - - { - "artifactChecksum": "CheckSum", - "artifactDescription": "Script for Nimbus", - "artifactName": "cloud-nimbus.sh", - - "artifactType": "HEAT_ARTIFACT", - "artifactURL": "cloud-nimbus.sh", - "artifactUUID": "ScriptNimbusArtifact-UUID1", - "artifactVersion": "1.0" - - }, - - { - "artifactChecksum": "CheckSum", - "artifactDescription": "Script for OAM", - "artifactName": "mount_iso_script.sh", - - "artifactType": "HEAT_ARTIFACT", - "artifactURL": "mount_iso_script.sh", - "artifactUUID": "ScriptArtifact-UUID1", - "artifactVersion": "1.0" - - }, - - { - "artifactChecksum": "CheckSum", - "artifactDescription": "Heat Vol for OAM", - "artifactName": "hot-nimbus-oam-volumes_v1.0.yaml", - "artifactTimeout": 10, - "artifactType": "HEAT_VOL", - "artifactURL": "hot-nimbus-oam-volumes_v1.0.yaml", - "artifactUUID": "VolumeArtifact-UUID1", - "artifactVersion": "1.0", - "generatedArtifact": "VolumeEnvArtifact-UUID1", - "relatedArtifact": - [ - "NestedArtifact-UUID4" - ] - - }, - - { - "artifactChecksum": "CheckSum", - "artifactDescription": "Heat Env Vol for OAM", - "artifactName": "hot-nimbus-oam-volumes_v1.0.env", - - "artifactType": "HEAT_ENV", - "artifactURL": "hot-nimbus-oam-volumes_v1.0.env", - "artifactUUID": "VolumeEnvArtifact-UUID1", - "artifactVersion": "1.0" - - }, - { - "artifactChecksum": "CheckSum", - "artifactDescription": "Meta data for VFModule", - "artifactName": "att_nimbus_vsaegw_ht_base_v13_0728v1.yaml", - "artifactTimeout": 100, - "artifactType": "HEAT", - "artifactURL": "att_nimbus_vsaegw_ht_base_v13_0728v1.yaml", - "artifactUUID": "HeatArtifactE2E-UUIDTest", - "artifactVersion": "1.0" - - } - ] - } - ], - - "serviceDescription": "test service for unit testing", - "distributionID": "35120a87-1f82-4276-9735-f6de5a244d66" -} \ No newline at end of file -- cgit 1.2.3-korg