From aedee1fdb2a8f86efcdcdbeb62b50eb9a3e8a1e1 Mon Sep 17 00:00:00 2001 From: vempo Date: Thu, 8 Nov 2018 13:56:23 +0200 Subject: Deleted artifact generator modules Change-Id: Ibad18285edc1181d7247d395efa8f2322e255147 Issue-ID: SDC-1906 Signed-off-by: vempo --- .gitignore | 3 - asdctool/pom.xml | 10 - .../configuration/ConfigurationUploader.java | 28 +- .../src/main/resources/config/configuration.yaml | 1 - catalog-be/pom.xml | 2 - catalog-be/sdc-backend/startup.sh | 2 +- .../src/main/resources/config/configuration.yaml | 1 - .../org/openecomp/sdc/be/config/Configuration.java | 9 - .../onap-sdc-artifact-generator-api/pom.xml | 137 - .../onap/sdc/generator/aai/AaiModelGenerator.java | 62 - .../sdc/generator/aai/model/AllotedResource.java | 29 - .../generator/aai/model/AllotedResourceWidget.java | 33 - .../onap/sdc/generator/aai/model/FlavorWidget.java | 32 - .../onap/sdc/generator/aai/model/ImageWidget.java | 33 - .../onap/sdc/generator/aai/model/L3Network.java | 29 - .../sdc/generator/aai/model/L3NetworkWidget.java | 34 - .../onap/sdc/generator/aai/model/LIntfWidget.java | 32 - .../org/onap/sdc/generator/aai/model/Model.java | 255 - .../onap/sdc/generator/aai/model/OamNetwork.java | 32 - .../sdc/generator/aai/model/ProvidingService.java | 30 - .../org/onap/sdc/generator/aai/model/Resource.java | 52 - .../sdc/generator/aai/model/ResourceWidget.java | 26 - .../org/onap/sdc/generator/aai/model/Service.java | 43 - .../sdc/generator/aai/model/ServiceWidget.java | 30 - .../onap/sdc/generator/aai/model/TenantWidget.java | 33 - .../generator/aai/model/TunnelXconnectWidget.java | 32 - .../sdc/generator/aai/model/VServerWidget.java | 46 - .../org/onap/sdc/generator/aai/model/VfModule.java | 81 - .../sdc/generator/aai/model/VfModuleWidget.java | 34 - .../org/onap/sdc/generator/aai/model/VfWidget.java | 34 - .../onap/sdc/generator/aai/model/VfcWidget.java | 34 - .../sdc/generator/aai/model/VirtualFunction.java | 30 - .../sdc/generator/aai/model/VolumeGroupWidget.java | 34 - .../onap/sdc/generator/aai/model/VolumeWidget.java | 33 - .../org/onap/sdc/generator/aai/model/Widget.java | 196 - .../generator/aai/tosca/CapabilityAssignment.java | 45 - .../sdc/generator/aai/tosca/GroupDefinition.java | 73 - .../onap/sdc/generator/aai/tosca/NodeTemplate.java | 82 - .../generator/aai/tosca/RequirementAssignment.java | 53 - .../sdc/generator/aai/tosca/TopologyTemplate.java | 71 - .../sdc/generator/aai/tosca/ToscaTemplate.java | 82 - .../onap/sdc/generator/aai/types/Cardinality.java | 26 - .../org/onap/sdc/generator/aai/types/Model.java | 55 - .../onap/sdc/generator/aai/types/ModelType.java | 47 - .../onap/sdc/generator/aai/types/ModelWidget.java | 46 - .../onap/sdc/generator/data/AdditionalParams.java | 39 - .../java/org/onap/sdc/generator/data/Artifact.java | 96 - .../org/onap/sdc/generator/data/ArtifactType.java | 27 - .../onap/sdc/generator/data/GenerationData.java | 70 - .../sdc/generator/data/GeneratorConfiguration.java | 36 - .../sdc/generator/data/GeneratorConstants.java | 129 - .../org/onap/sdc/generator/data/GeneratorUtil.java | 104 - .../org/onap/sdc/generator/data/GroupType.java | 26 - .../generator/data/WidgetConfigurationUtil.java | 36 - .../generator/error/IllegalAccessException.java | 29 - .../onap/sdc/generator/intf/ArtifactGenerator.java | 35 - .../org/onap/sdc/generator/intf/Generator.java | 40 - .../logging/ArtifactGeneratorLogResponseCode.java | 68 - .../sdc/generator/logging/CategoryLogLevel.java | 29 - .../org/onap/sdc/generator/logging/StatusCode.java | 26 - .../sdc/generator/logging/annotations/Audit.java | 34 - .../sdc/generator/logging/annotations/Metrics.java | 35 - .../service/ArtifactGenerationService.java | 69 - .../src/main/resources/aai_schema_v10.xsd | 7890 ------------------ .../src/main/resources/aai_schema_v11.xsd | 8486 -------------------- .../src/main/resources/aai_schema_v9.xsd | 7889 ------------------ .../onap-sdc-artifact-generator-core/pom.xml | 113 - .../org/onap/sdc/generator/GeneratorManager.java | 93 - .../java/org/onap/sdc/generator/GeneratorTask.java | 74 - .../onap/sdc/generator/MockArtifactGenerator.java | 77 - .../sdc/generator/aai/AaiArtifactGenerator.java | 664 -- .../sdc/generator/aai/AaiModelGeneratorImpl.java | 271 - .../impl/ArtifactGenerationServiceImpl.java | 87 - .../sdc/generator/util/ArtifactGeneratorUtil.java | 243 - .../generator/ArtifactGenerationServiceTest.java | 1680 ---- .../test/resources/aai/service_vmme_template_1.yml | 98 - .../src/test/resources/aai/vf_vmme_template_1.yml | 1299 --- .../aai2/resource-AllottedResource-template.yml | 78 - .../resources/aai2/resource-Extvl-template.yml | 61 - ...ervice-ServiceWithAllotedVfAndExvl-template.yml | 90 - .../aai3/resource-IpMuxDemux-template.yml | 80 - .../aai3/resource-ServiceAdmin-template.yml | 81 - .../aai3/resource-TunnelXconn-template.yml | 81 - .../aai3/resource-VhnfNonHeat-template.yml | 24 - .../test/resources/aai3/service-SdWan-template.yml | 233 - .../resources/config/Artifact-Generator.properties | 264 - .../src/test/resources/logback.xml | 59 - .../service_vmme_template_1.yml | 99 - .../resource-AllottedResource-template.yml | 60 - ...ervice-ServiceWithAllotedVfAndExvl-template.yml | 90 - ...rvice_vmme_template_InvalidVfModInvUuIdAttr.yml | 194 - .../service_vmme_template_InvalidVfModUuIdAttr.yml | 194 - .../resources/service_vmme_template_ModInvUUID.yml | 194 - .../resources/service_vmme_template_ModelName.yml | 194 - .../resources/service_vmme_template_ModelUUID.yml | 194 - .../service_vmme_template_ModelVersion.yml | 194 - ...-AllottedResource-template_IpMux_WithGroups.yml | 283 - ...thAllottedResourceIpmux-template_WithGroups.yml | 62 - .../service_vmme_template_1.yml | 194 - .../resource-IpMuxDemux-template.yml | 83 - .../resource-TunnelXconn-template.yml | 83 - .../service-Allottedipmux-template.yml | 126 - .../resource-AllottedResource-template_IpMux.yml | 78 - ...e-ServiceWithAllottedResourceIpmux-template.yml | 62 - ...lottedResource1SameInvariant-IpMux-template.yml | 81 - ...lottedResource2SameInvariant-IpMux-template.yml | 81 - ...llottedResourcesIpMuxSameInvariant-template.yml | 74 - ...esourceSameInvariantSameVers-IpMux-template.yml | 81 - ...esourcesIpMuxSameInvariantSameVers-template.yml | 74 - .../testArtifactGeneration2/Resource0-template.yml | 24 - .../service_vmme_template_1.yml | 194 - .../service_vmme_template_1.yml | 194 - .../testArtifactGeneration6/Resource0-template.yml | 24 - .../service_vmme_template_1.yml | 194 - .../service_vmme_template_1.yml | 194 - .../service_vmme_template_1.yml | 194 - .../resource-IpMuxDemux-template_AllRes_VF.yml | 81 - .../resource-ServiceAdmin-template_AllRes_VF.yml | 81 - .../resource-TunnelXconn-template_AllRes_VF.yml | 81 - .../resource-VhnfNonHeat-template_AllRes_VF.yml | 24 - .../service-SdWan-template_AllRes_VF.yml | 233 - ...esource-IpMuxDemux-template_WithOutDepSerId.yml | 80 - ...ource-ServiceAdmin-template_WithOutDepSerId.yml | 81 - ...source-TunnelXconn-template_WithOutDepSerId.yml | 81 - ...source-VhnfNonHeat-template_WithOutDepSerId.yml | 24 - .../service-SdWan-template_WithOutDepSerId.yml | 233 - .../service_vmme_template_1.yml | 194 - .../service_vmme_template_1.yml | 98 - .../vf_vmme_template_1.yml | 1299 --- .../service_vmme_template_1.yml | 98 - .../vf_vmme_template_1.yml | 1299 --- .../service_vmme_template_1.yml | 194 - .../service_vmme_template_1.yml | 98 - .../vf_vmme_template_1.yml | 1299 --- .../resource-AllottedResource-template.yml | 78 - .../resource-Extvl-template.yml | 61 - .../resource-Extvl-template_1.yml | 61 - .../service_vmme_template_1.yml | 139 - .../vf_vmme_template_1.yml | 1299 --- .../ServiceMock-template.yml | 74 - .../VadtranDemo-template.yml | 170 - .../vf_vmme_template_InvalidVfModInvUuIdAttr.yml | 1299 --- .../vf_vmme_template_InvalidVfModUuIdAttr.yml | 1299 --- .../test/resources/vf_vmme_template_ModInvUUID.yml | 1299 --- .../test/resources/vf_vmme_template_ModelName.yml | 1299 --- .../test/resources/vf_vmme_template_ModelUUID.yml | 1299 --- .../resources/vf_vmme_template_ModelVersion.yml | 1299 --- common/onap-sdc-artifact-generator-lib/pom.xml | 23 - common/pom.xml | 1 - common/readMe.txt | 118 - onboarding/pom.xml | 3 - .../TxtInformationArtifactGeneratorImplTest.java | 216 - 152 files changed, 17 insertions(+), 52446 deletions(-) delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/pom.xml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/AaiModelGenerator.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/AllotedResource.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/AllotedResourceWidget.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/FlavorWidget.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/ImageWidget.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/L3Network.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/L3NetworkWidget.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/LIntfWidget.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/Model.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/OamNetwork.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/ProvidingService.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/Resource.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/ResourceWidget.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/Service.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/ServiceWidget.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/TenantWidget.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/TunnelXconnectWidget.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/VServerWidget.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/VfModule.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/VfModuleWidget.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/VfWidget.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/VfcWidget.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/VirtualFunction.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/VolumeGroupWidget.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/VolumeWidget.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/Widget.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/tosca/CapabilityAssignment.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/tosca/GroupDefinition.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/tosca/NodeTemplate.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/tosca/RequirementAssignment.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/tosca/TopologyTemplate.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/tosca/ToscaTemplate.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/types/Cardinality.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/types/Model.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/types/ModelType.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/types/ModelWidget.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/data/AdditionalParams.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/data/Artifact.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/data/ArtifactType.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/data/GenerationData.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/data/GeneratorConfiguration.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/data/GeneratorConstants.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/data/GeneratorUtil.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/data/GroupType.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/data/WidgetConfigurationUtil.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/error/IllegalAccessException.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/intf/ArtifactGenerator.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/intf/Generator.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/logging/ArtifactGeneratorLogResponseCode.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/logging/CategoryLogLevel.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/logging/StatusCode.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/logging/annotations/Audit.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/logging/annotations/Metrics.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/service/ArtifactGenerationService.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/resources/aai_schema_v10.xsd delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/resources/aai_schema_v11.xsd delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/resources/aai_schema_v9.xsd delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/pom.xml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/main/java/org/onap/sdc/generator/GeneratorManager.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/main/java/org/onap/sdc/generator/GeneratorTask.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/main/java/org/onap/sdc/generator/MockArtifactGenerator.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/main/java/org/onap/sdc/generator/aai/AaiArtifactGenerator.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/main/java/org/onap/sdc/generator/aai/AaiModelGeneratorImpl.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/main/java/org/onap/sdc/generator/impl/ArtifactGenerationServiceImpl.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/main/java/org/onap/sdc/generator/util/ArtifactGeneratorUtil.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/java/org/onap/sdc/generator/ArtifactGenerationServiceTest.java delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/aai/service_vmme_template_1.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/aai/vf_vmme_template_1.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/aai2/resource-AllottedResource-template.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/aai2/resource-Extvl-template.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/aai2/service-ServiceWithAllotedVfAndExvl-template.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/aai3/resource-IpMuxDemux-template.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/aai3/resource-ServiceAdmin-template.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/aai3/resource-TunnelXconn-template.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/aai3/resource-VhnfNonHeat-template.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/aai3/service-SdWan-template.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/config/Artifact-Generator.properties delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/logback.xml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/missingResourceTosca/service_vmme_template_1.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/missingVLTosca/resource-AllottedResource-template.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/missingVLTosca/service-ServiceWithAllotedVfAndExvl-template.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/service_vmme_template_InvalidVfModInvUuIdAttr.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/service_vmme_template_InvalidVfModUuIdAttr.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/service_vmme_template_ModInvUUID.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/service_vmme_template_ModelName.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/service_vmme_template_ModelUUID.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/service_vmme_template_ModelVersion.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testAllotedResourceWithDependingSerWithGroups/resource-AllottedResource-template_IpMux_WithGroups.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testAllotedResourceWithDependingSerWithGroups/service-ServiceWithAllottedResourceIpmux-template_WithGroups.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration10/service_vmme_template_1.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration15/resource-IpMuxDemux-template.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration15/resource-TunnelXconn-template.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration15/service-Allottedipmux-template.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration16/resource-AllottedResource-template_IpMux.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration16/service-ServiceWithAllottedResourceIpmux-template.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration17/resource-AllottedResource1SameInvariant-IpMux-template.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration17/resource-AllottedResource2SameInvariant-IpMux-template.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration17/service-ServiceWithAllottedResourcesIpMuxSameInvariant-template.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration18/resource-AllottedResourceSameInvariantSameVers-IpMux-template.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration18/service-ServiceWithAllottedResourcesIpMuxSameInvariantSameVers-template.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration2/Resource0-template.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration4/service_vmme_template_1.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration5/service_vmme_template_1.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration6/Resource0-template.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration6/service_vmme_template_1.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration8/service_vmme_template_1.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration9/service_vmme_template_1.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGenerationAllottedResourceWithVF/resource-IpMuxDemux-template_AllRes_VF.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGenerationAllottedResourceWithVF/resource-ServiceAdmin-template_AllRes_VF.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGenerationAllottedResourceWithVF/resource-TunnelXconn-template_AllRes_VF.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGenerationAllottedResourceWithVF/resource-VhnfNonHeat-template_AllRes_VF.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGenerationAllottedResourceWithVF/service-SdWan-template_AllRes_VF.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenAllottedResourceWithOutDependingServiceId/resource-IpMuxDemux-template_WithOutDepSerId.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenAllottedResourceWithOutDependingServiceId/resource-ServiceAdmin-template_WithOutDepSerId.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenAllottedResourceWithOutDependingServiceId/resource-TunnelXconn-template_WithOutDepSerId.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenAllottedResourceWithOutDependingServiceId/resource-VhnfNonHeat-template_WithOutDepSerId.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenAllottedResourceWithOutDependingServiceId/service-SdWan-template_WithOutDepSerId.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenInvalidInvId/service_vmme_template_1.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenInvalidResourceVersion1/service_vmme_template_1.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenInvalidResourceVersion1/vf_vmme_template_1.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenInvalidResourceVersion2/service_vmme_template_1.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenInvalidResourceVersion2/vf_vmme_template_1.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenInvalidUuId/service_vmme_template_1.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenNoResourceVersion/service_vmme_template_1.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenNoResourceVersion/vf_vmme_template_1.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testSameVLdifferentVersion/resource-AllottedResource-template.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testSameVLdifferentVersion/resource-Extvl-template.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testSameVLdifferentVersion/resource-Extvl-template_1.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testSameVLdifferentVersion/service_vmme_template_1.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testSameVLdifferentVersion/vf_vmme_template_1.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testWidgetinServiceTosca/ServiceMock-template.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testWidgetinServiceTosca/VadtranDemo-template.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/vf_vmme_template_InvalidVfModInvUuIdAttr.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/vf_vmme_template_InvalidVfModUuIdAttr.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/vf_vmme_template_ModInvUUID.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/vf_vmme_template_ModelName.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/vf_vmme_template_ModelUUID.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/vf_vmme_template_ModelVersion.yml delete mode 100644 common/onap-sdc-artifact-generator-lib/pom.xml delete mode 100644 common/readMe.txt delete mode 100644 openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-core/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/informationArtifact/impl/TxtInformationArtifactGeneratorImplTest.java diff --git a/.gitignore b/.gitignore index 7c7a6aeb00..dde14239eb 100644 --- a/.gitignore +++ b/.gitignore @@ -134,8 +134,6 @@ catalog-ui/node_modules/ catalog-ui/npm-debug.log catalog-ui/tests/Coverage/* common-app-api/bin/ -common/openecomp-common-configuration-management/openecomp-configuration-management-cli/dependency-reduced-pom.xml -common/openecomp-sdc-artifact-generator-lib/openecomp-sdc-artifact-generator-core/logs/* data/compute.png data/loadbalancer.png data/mysql.png @@ -186,7 +184,6 @@ openecomp-be/tools/swagger-ui/api-docs/api.json openecomp-ui/node/* sdc-os-chef/.idea/* -catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default/Artifact-Generator.properties catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default/ecomp-error-configuration.yaml catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default/error-configuration.yaml catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default/logback.xml diff --git a/asdctool/pom.xml b/asdctool/pom.xml index bda78a3506..014220c87c 100644 --- a/asdctool/pom.xml +++ b/asdctool/pom.xml @@ -63,16 +63,6 @@ epsdk-fw - - org.onap.sdc.common - onap-sdc-artifact-generator-api - - - - org.onap.sdc.common - onap-sdc-artifact-generator-core - - org.onap.sdc.common onap-common-lib diff --git a/asdctool/src/main/java/org/openecomp/sdc/asdctool/configuration/ConfigurationUploader.java b/asdctool/src/main/java/org/openecomp/sdc/asdctool/configuration/ConfigurationUploader.java index ac75dc8310..d115f9cbb0 100644 --- a/asdctool/src/main/java/org/openecomp/sdc/asdctool/configuration/ConfigurationUploader.java +++ b/asdctool/src/main/java/org/openecomp/sdc/asdctool/configuration/ConfigurationUploader.java @@ -1,3 +1,19 @@ +/* + * Copyright © 2016-2018 AT&T + * + * 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. + */ + package org.openecomp.sdc.asdctool.configuration; import org.openecomp.sdc.be.config.ConfigurationManager; @@ -5,8 +21,6 @@ import org.openecomp.sdc.common.api.ConfigurationSource; import org.openecomp.sdc.common.impl.ExternalConfiguration; import org.openecomp.sdc.common.impl.FSConfigurationSource; -import java.io.File; - public class ConfigurationUploader { public static void uploadConfigurationFiles(String appConfigDir) { @@ -14,15 +28,5 @@ public class ConfigurationUploader { new ConfigurationManager(configurationSource); ExternalConfiguration.setAppVersion(ConfigurationManager.getConfigurationManager().getConfiguration().getAppVersion()); System.setProperty("config.home", appConfigDir); - System.setProperty("artifactgenerator.config", buildArtifactGeneratorPath(appConfigDir)); - } - - private static String buildArtifactGeneratorPath(String appConfigDir) { - StringBuilder artifactGeneratorPath = new StringBuilder(appConfigDir); - if(!appConfigDir.endsWith(File.separator)){ - artifactGeneratorPath.append(File.separator); - } - artifactGeneratorPath.append(ConfigurationManager.getConfigurationManager().getConfiguration().getArtifactGeneratorConfig()); - return artifactGeneratorPath.toString(); } } diff --git a/asdctool/src/main/resources/config/configuration.yaml b/asdctool/src/main/resources/config/configuration.yaml index 14fd1c5123..bf7ae524e0 100644 --- a/asdctool/src/main/resources/config/configuration.yaml +++ b/asdctool/src/main/resources/config/configuration.yaml @@ -29,7 +29,6 @@ minToscaConformanceLevel: 3.0 # These values are necessary for running upgrade migration 1710.0 process enableAutoHealing: false appVersion: 1.1.0 -artifactGeneratorConfig: Artifact-Generator.properties resourcesForUpgrade: 8.0: - org.openecomp.resource.cp.extCP diff --git a/catalog-be/pom.xml b/catalog-be/pom.xml index 5d53e70758..3d32633564 100644 --- a/catalog-be/pom.xml +++ b/catalog-be/pom.xml @@ -702,7 +702,6 @@ false - Artifact-Generator.properties error-configuration.yaml ecomp-error-configuration.yaml logback.xml @@ -768,7 +767,6 @@ ${project.parent.basedir}/catalog-be/src/main/resources/config - Artifact-Generator.properties error-configuration.yaml ecomp-error-configuration.yaml logback.xml diff --git a/catalog-be/sdc-backend/startup.sh b/catalog-be/sdc-backend/startup.sh index 92d029d5c0..b2941372f3 100644 --- a/catalog-be/sdc-backend/startup.sh +++ b/catalog-be/sdc-backend/startup.sh @@ -1,6 +1,6 @@ #!/bin/sh -JAVA_OPTIONS=" ${JAVA_OPTIONS} -Dconfig.home=${JETTY_BASE}/config -Dlog.home=${JETTY_BASE}/logs -Dlogback.configurationFile=${JETTY_BASE}/config/catalog-be/logback.xml -Dconfiguration.yaml=${JETTY_BASE}/config/catalog-be/configuration.yaml -Dartifactgenerator.config=${JETTY_BASE}/config/catalog-be/Artifact-Generator.properties -Donboarding_configuration.yaml=${JETTY_BASE}/config/onboarding-be/onboarding_configuration.yaml" +JAVA_OPTIONS=" ${JAVA_OPTIONS} -Dconfig.home=${JETTY_BASE}/config -Dlog.home=${JETTY_BASE}/logs -Dlogback.configurationFile=${JETTY_BASE}/config/catalog-be/logback.xml -Dconfiguration.yaml=${JETTY_BASE}/config/catalog-be/configuration.yaml -Donboarding_configuration.yaml=${JETTY_BASE}/config/onboarding-be/onboarding_configuration.yaml" cd /root/chef-solo chef-solo -c solo.rb -E ${ENVNAME} diff --git a/catalog-be/src/main/resources/config/configuration.yaml b/catalog-be/src/main/resources/config/configuration.yaml index 3c5565ee36..f51cc8be83 100644 --- a/catalog-be/src/main/resources/config/configuration.yaml +++ b/catalog-be/src/main/resources/config/configuration.yaml @@ -29,7 +29,6 @@ minToscaConformanceLevel: 3.0 # These values are necessary for running upgrade migration 1710.0 process enableAutoHealing: false appVersion: 1.1.0 -artifactGeneratorConfig: Artifact-Generator.properties resourcesForUpgrade: 8.0: - org.openecomp.resource.cp.extCP diff --git a/common-app-api/src/main/java/org/openecomp/sdc/be/config/Configuration.java b/common-app-api/src/main/java/org/openecomp/sdc/be/config/Configuration.java index 383325c368..f7f9834259 100644 --- a/common-app-api/src/main/java/org/openecomp/sdc/be/config/Configuration.java +++ b/common-app-api/src/main/java/org/openecomp/sdc/be/config/Configuration.java @@ -141,7 +141,6 @@ public class Configuration extends BasicConfiguration { private Map genericAssetNodeTypes; private String appVersion; - private String artifactGeneratorConfig; public String getAutoHealingOwner() { return autoHealingOwner; @@ -231,14 +230,6 @@ public class Configuration extends BasicConfiguration { this.appVersion = appVersion; } - public String getArtifactGeneratorConfig() { - return artifactGeneratorConfig; - } - - public void setArtifactGeneratorConfig(String artifactGeneratorConfig) { - this.artifactGeneratorConfig = artifactGeneratorConfig; - } - private String workloadContext; private EnvironmentContext environmentContext; diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/pom.xml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/pom.xml deleted file mode 100644 index baed83b070..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/pom.xml +++ /dev/null @@ -1,137 +0,0 @@ - - - - 4.0.0 - - onap-sdc-artifact-generator-api - onap-sdc-artifact-generator-api - - - onap-common-lib - org.onap.sdc.common - 1.3.3-SNAPSHOT - ../../ - - - - - org.openecomp.sdc - openecomp-sdc-logging-api - ${project.version} - - - org.openecomp.sdc - openecomp-sdc-logging-core - ${project.version} - runtime - - - org.slf4j - slf4j-api - 1.7.10 - - - ch.qos.logback - logback-classic - ${logback.version} - provided - - - ch.qos.logback - logback-core - ${logback.version} - provided - - - com.fasterxml.jackson.core - jackson-databind - ${jackson.version} - - - com.fasterxml.jackson.dataformat - jackson-dataformat-yaml - ${jackson.version} - - - commons-codec - commons-codec - ${commons.codec.version} - - - org.reflections - reflections - ${org.reflections.version} - - - junit - junit - test - - - - - - - org.jvnet.jaxb2.maven2 - maven-jaxb2-plugin - ${mvn.jaxb2.version} - - - generate-sources - - generate - - - - - src/main/resources - org.onap.sdc.generator.aai.xml - target/generated-sources/aai/xml - false - true - false - false - false - - aai_schema_v11.xsd - - true - - -Xannotate - - - - org.jvnet.jaxb2_commons - jaxb2-basics-annotate - 0.6.4 - - - - org.jvnet.jaxb2_commons - jaxb2-annotate-plugin-test-annox-annotations - 1.0.0 - - - - - - - - - diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/AaiModelGenerator.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/AaiModelGenerator.java deleted file mode 100644 index ac39bb4b60..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/AaiModelGenerator.java +++ /dev/null @@ -1,62 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.aai; - -import org.onap.sdc.generator.aai.model.Resource; -import org.onap.sdc.generator.aai.model.Service; -import org.onap.sdc.generator.data.GeneratorConstants; -import org.onap.sdc.generator.logging.CategoryLogLevel; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import org.slf4j.MDC; - -import java.io.StringWriter; - -public interface AaiModelGenerator { - - /** - * Gets instance. - * - * @return the instance - */ - public static AaiModelGenerator getInstance() { - Logger log = LoggerFactory.getLogger(AaiModelGenerator.class.getName()); - try { - return AaiModelGenerator.class.cast( - Class.forName("org.onap.sdc.generator.aai.AaiModelGeneratorImpl").newInstance()); - } catch (Exception exception) { - MDC.put(GeneratorConstants.PARTNER_NAME, GeneratorConstants.GENERATOR_PARTNER_NAME); - MDC.put(GeneratorConstants.ERROR_CATEGORY, CategoryLogLevel.ERROR.name()); - MDC.put(GeneratorConstants.ERROR_CODE, GeneratorConstants.GENERATOR_ERROR_CODE); - MDC.put( - GeneratorConstants.ERROR_DESCRIPTION, GeneratorConstants.GENERATOR_ERROR_SERVICE_INSTANTIATION_FAILED); - StringWriter sw = new StringWriter(); - log.error(sw.toString(), exception); - } - return null; - } - - public String generateModelFor(Service service); - - public String generateModelFor(Resource resource); - - -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/AllotedResource.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/AllotedResource.java deleted file mode 100644 index c6389392f6..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/AllotedResource.java +++ /dev/null @@ -1,29 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.aai.model; - -import org.onap.sdc.generator.aai.types.Cardinality; -import org.onap.sdc.generator.aai.types.Model; - -@Model(widget = Widget.Type.ALLOTTED_RESOURCE, cardinality = Cardinality.UNBOUNDED, - dataDeleteFlag = true) -public class AllotedResource extends Resource { -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/AllotedResourceWidget.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/AllotedResourceWidget.java deleted file mode 100644 index 88cdaa6af1..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/AllotedResourceWidget.java +++ /dev/null @@ -1,33 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.aai.model; - -import org.onap.sdc.generator.aai.types.Cardinality; -import org.onap.sdc.generator.aai.types.Model; -import org.onap.sdc.generator.aai.types.ModelType; -import org.onap.sdc.generator.aai.types.ModelWidget; - - -@Model(widget = Widget.Type.ALLOTTED_RESOURCE, cardinality - = Cardinality.UNBOUNDED, dataDeleteFlag = true) -@ModelWidget(type = ModelType.WIDGET, name = "allotted-resource") -public class AllotedResourceWidget extends ResourceWidget { -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/FlavorWidget.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/FlavorWidget.java deleted file mode 100644 index b08a3d4e27..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/FlavorWidget.java +++ /dev/null @@ -1,32 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.aai.model; - -import org.onap.sdc.generator.aai.types.Cardinality; -import org.onap.sdc.generator.aai.types.Model; -import org.onap.sdc.generator.aai.types.ModelType; -import org.onap.sdc.generator.aai.types.ModelWidget; - -@Model(widget = Widget.Type.FLAVOR, cardinality = Cardinality.UNBOUNDED, dataDeleteFlag = false) -@ModelWidget(type = ModelType.WIDGET, name = "flavor") -public class FlavorWidget extends ResourceWidget { - -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/ImageWidget.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/ImageWidget.java deleted file mode 100644 index aef01d8a5b..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/ImageWidget.java +++ /dev/null @@ -1,33 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.aai.model; - -import org.onap.sdc.generator.aai.types.Cardinality; -import org.onap.sdc.generator.aai.types.Model; -import org.onap.sdc.generator.aai.types.ModelType; -import org.onap.sdc.generator.aai.types.ModelWidget; - -@Model(widget = Widget.Type.IMAGE, cardinality = Cardinality.UNBOUNDED, dataDeleteFlag = false) -@ModelWidget(type = ModelType.WIDGET, name = "image") -public class ImageWidget extends ResourceWidget { - -} - diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/L3Network.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/L3Network.java deleted file mode 100644 index 98713c086b..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/L3Network.java +++ /dev/null @@ -1,29 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.aai.model; - -import org.onap.sdc.generator.aai.types.Cardinality; -import org.onap.sdc.generator.aai.types.Model; - -@Model(widget = Widget.Type.L3_NET, cardinality = Cardinality - .UNBOUNDED, dataDeleteFlag = false) -public class L3Network extends Resource{ -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/L3NetworkWidget.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/L3NetworkWidget.java deleted file mode 100644 index 4b59e99bc9..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/L3NetworkWidget.java +++ /dev/null @@ -1,34 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.aai.model; - -import org.onap.sdc.generator.aai.types.Cardinality; -import org.onap.sdc.generator.aai.types.Model; -import org.onap.sdc.generator.aai.types.ModelType; -import org.onap.sdc.generator.aai.types.ModelWidget; - -@Model(widget = Widget.Type.L3_NET, - cardinality = Cardinality.UNBOUNDED, dataDeleteFlag = true) -@ModelWidget(type = ModelType.WIDGET, name = "l3-network") -public class L3NetworkWidget extends Widget { - -} - diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/LIntfWidget.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/LIntfWidget.java deleted file mode 100644 index d5f00ff50c..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/LIntfWidget.java +++ /dev/null @@ -1,32 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.aai.model; - -import org.onap.sdc.generator.aai.types.Cardinality; -import org.onap.sdc.generator.aai.types.Model; -import org.onap.sdc.generator.aai.types.ModelType; -import org.onap.sdc.generator.aai.types.ModelWidget; - -@Model(widget = Widget.Type.LINT, cardinality = Cardinality.UNBOUNDED, dataDeleteFlag = true) -@ModelWidget(type = ModelType.WIDGET, name = "l-interface") -public class LIntfWidget extends ResourceWidget { - -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/Model.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/Model.java deleted file mode 100644 index 83ded46bd1..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/Model.java +++ /dev/null @@ -1,255 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.aai.model; - -import org.onap.sdc.generator.aai.types.Cardinality; -import org.onap.sdc.generator.aai.types.ModelType; -import org.onap.sdc.generator.data.GeneratorConstants; -import org.onap.sdc.generator.error.IllegalAccessException; - -import java.util.HashSet; -import java.util.Map; -import java.util.Set; - -public abstract class Model { - - protected Set resources = new HashSet<>(); - protected Set widgets = new HashSet<>(); - private String modelId; - private String modelName; - private String modelVersion; - private String modelNameVersionId; - private String modelDescription; - - /** - * Gets model for. - * - * @param toscaType the tosca type - * @return the model for - */ - public static Model getModelFor(String toscaType) { - - Model modelToBeReturned = null; - while (isModelNotSet(toscaType, modelToBeReturned)) { - - switch (toscaType) { - - case "org.openecomp.resource.vf.allottedResource": - modelToBeReturned = new AllotedResource(); - break; - case "org.openecomp.resource.vfc.AllottedResource": - modelToBeReturned = new ProvidingService(); - break; - case "org.openecomp.resource.vfc": - modelToBeReturned = new VServerWidget(); - break; - case "org.openecomp.resource.cp": - case "org.openecomp.cp": - modelToBeReturned = new LIntfWidget(); - break; - case "org.openecomp.resource.vl": - modelToBeReturned = new L3Network(); - break; - case "org.openecomp.resource.vf": - modelToBeReturned = new VirtualFunction(); - break; - case "org.openecomp.groups.vfmodule": - case "org.openecomp.groups.VfModule": - modelToBeReturned = new VfModule(); - break; - case "org.openecomp.resource.vfc.nodes.heat.cinder": - modelToBeReturned = new VolumeWidget(); - break; - default: - modelToBeReturned = null; - break; - } - - toscaType = toscaType.substring(0, toscaType.lastIndexOf(".")); - } - - return modelToBeReturned; - } - - - public abstract boolean addResource(Resource resource); - - public abstract boolean addWidget(Widget resource); - - /** - * Gets widget version id. - * - * @return the widget version id - */ - public String getWidgetId() { - org.onap.sdc.generator.aai.types.Model model = - this.getClass().getAnnotation(org.onap.sdc.generator.aai.types.Model.class); - return Widget.getWidget(model.widget()).getId(); - } - - /** - * Gets invariant id. - * - * @return the invariant id - */ - public String getWidgetInvariantId() { - org.onap.sdc.generator.aai.types.Model model = - this.getClass().getAnnotation(org.onap.sdc.generator.aai.types.Model.class); - return Widget.getWidget(model.widget()).getWidgetId(); - } - - /** - * Gets delete flag. - * - * @return the delete flag - */ - public boolean getDeleteFlag() { - org.onap.sdc.generator.aai.types.Model model = - this.getClass().getAnnotation(org.onap.sdc.generator.aai.types.Model.class); - return model.dataDeleteFlag(); - } - - /** - * Gets cardinality. - * - * @return the cardinality - */ - public Cardinality getCardinality() { - org.onap.sdc.generator.aai.types.Model model = - this.getClass().getAnnotation(org.onap.sdc.generator.aai.types.Model.class); - return model.cardinality(); - } - - public abstract Widget.Type getWidgetType(); - - public String getModelId() { - checkSupported(); - return modelId; - } - - /** - * Gets model type. - * - * @return the model type - */ - public ModelType getModelType() { - if (this instanceof Service) { - return ModelType.SERVICE; - } else if (this instanceof Resource) { - return ModelType.RESOURCE; - } else if (this instanceof Widget) { - return ModelType.WIDGET; - } else { - return null; - } - } - - public String getModelName() { - return modelName; - } - - public String getModelVersion() { - return modelVersion; - } - - public String getModelNameVersionId() { - checkSupported(); - return modelNameVersionId; - } - - public String getModelDescription() { - return modelDescription; - } - - /** - * Populate model identification information. - * - * @param modelIdentInfo the model ident info - */ - public void populateModelIdentificationInformation(Map modelIdentInfo) { - for (Map.Entry entry : modelIdentInfo.entrySet()) { - String property=entry.getKey(); - switch (property) { - - case "vfModuleModelInvariantUUID": - case "serviceInvariantUUID": - case "resourceInvariantUUID": - case "invariantUUID": - case "providing_service_invariant_uuid": - modelId = entry.getValue(); - break; - case "vfModuleModelUUID": - case "resourceUUID": - case "serviceUUID": - case "UUID": - case "providing_service_uuid": - modelNameVersionId = entry.getValue(); - break; - case "vfModuleModelVersion": - case "serviceVersion": - case "resourceversion": - case "version": - modelVersion = entry.getValue(); - break; - case "vfModuleModelName": - case "serviceName": - case "resourceName": - case "name": - modelName = entry.getValue(); - break; - case "serviceDescription": - case "resourceDescription": - case "vf_module_description": - case "description": - modelDescription = entry.getValue(); - break; - case "providing_service_name": - modelName = entry.getValue(); - modelDescription = entry.getValue(); - break; - default: - break; - } - } - - - - } - - public Set getResources() { - return resources; - } - - public Set getWidgets() { - return widgets; - } - - private void checkSupported() { - if (this instanceof Widget) { - throw new IllegalAccessException(GeneratorConstants - .GENERATOR_AAI_ERROR_UNSUPPORTED_WIDGET_OPERATION); - } - } - - private static boolean isModelNotSet(String toscaType, Model modelToBeReturned) { - return toscaType != null && toscaType.lastIndexOf(".") != -1 && modelToBeReturned == null; - } -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/OamNetwork.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/OamNetwork.java deleted file mode 100644 index 72686b5bc2..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/OamNetwork.java +++ /dev/null @@ -1,32 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.aai.model; - -import org.onap.sdc.generator.aai.types.Cardinality; -import org.onap.sdc.generator.aai.types.Model; -import org.onap.sdc.generator.aai.types.ModelType; -import org.onap.sdc.generator.aai.types.ModelWidget; - -@Model(widget = Widget.Type.L3_NET, cardinality = Cardinality.UNBOUNDED, dataDeleteFlag = true) -@ModelWidget(type = ModelType.WIDGET, name = "oam-network") -public class OamNetwork extends Widget { -} - diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/ProvidingService.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/ProvidingService.java deleted file mode 100644 index 3f44fe9b54..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/ProvidingService.java +++ /dev/null @@ -1,30 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.aai.model; - -import org.onap.sdc.generator.aai.types.Cardinality; -import org.onap.sdc.generator.aai.types.Model; - -@Model(widget = Widget.Type.ALLOTTED_RESOURCE, cardinality = Cardinality - .UNBOUNDED, - dataDeleteFlag = false) -public class ProvidingService extends Resource { -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/Resource.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/Resource.java deleted file mode 100644 index 6c7cbc7548..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/Resource.java +++ /dev/null @@ -1,52 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.aai.model; - -public class Resource extends Model { - - @Override - public int hashCode() { - return getModelNameVersionId().hashCode(); - } - - @Override - public boolean equals(Object obj) { - if (obj instanceof Resource) { - return getModelNameVersionId().equals(((Resource) obj).getModelNameVersionId()); - } - return false; - } - - public boolean addResource(Resource resource) { - return resources.add(resource); - } - - public boolean addWidget(Widget widget) { - return widgets.add(widget); - } - - @Override - public Widget.Type getWidgetType() { - org.onap.sdc.generator.aai.types.Model model = - this.getClass().getAnnotation(org.onap.sdc.generator.aai.types.Model.class); - return model.widget(); - } -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/ResourceWidget.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/ResourceWidget.java deleted file mode 100644 index 24975a2a9f..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/ResourceWidget.java +++ /dev/null @@ -1,26 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.aai.model; - -public class ResourceWidget extends Widget { - -} - diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/Service.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/Service.java deleted file mode 100644 index f71ff91f3e..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/Service.java +++ /dev/null @@ -1,43 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.aai.model; - -import org.onap.sdc.generator.aai.types.Cardinality; - -@org.onap.sdc.generator.aai.types.Model(widget = Widget.Type.SERVICE, - cardinality = Cardinality.UNBOUNDED, dataDeleteFlag = true) -public class Service extends Model { - - public boolean addResource(Resource resource) { - return resources.add(resource); - } - - public boolean addWidget(Widget widget) { - return widgets.add(widget); - } - - @Override - public Widget.Type getWidgetType() { - return null; - } - -} - diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/ServiceWidget.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/ServiceWidget.java deleted file mode 100644 index f6eb5fab53..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/ServiceWidget.java +++ /dev/null @@ -1,30 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.aai.model; - -import org.onap.sdc.generator.aai.types.ModelType; -import org.onap.sdc.generator.aai.types.ModelWidget; - -@ModelWidget(type = ModelType.WIDGET, name = "service-instance") -public class ServiceWidget extends Widget { - -} - diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/TenantWidget.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/TenantWidget.java deleted file mode 100644 index 93ca9c5178..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/TenantWidget.java +++ /dev/null @@ -1,33 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.aai.model; - -import org.onap.sdc.generator.aai.types.Cardinality; -import org.onap.sdc.generator.aai.types.Model; -import org.onap.sdc.generator.aai.types.ModelType; -import org.onap.sdc.generator.aai.types.ModelWidget; - -@Model(widget = Widget.Type.TENANT, cardinality = Cardinality.UNBOUNDED, dataDeleteFlag = false) -@ModelWidget(type = ModelType.WIDGET, name = "tenant") -public class TenantWidget extends Widget { - -} - diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/TunnelXconnectWidget.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/TunnelXconnectWidget.java deleted file mode 100644 index 1a8a9fea27..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/TunnelXconnectWidget.java +++ /dev/null @@ -1,32 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.aai.model; - -import org.onap.sdc.generator.aai.types.Cardinality; -import org.onap.sdc.generator.aai.types.Model; -import org.onap.sdc.generator.aai.types.ModelType; -import org.onap.sdc.generator.aai.types.ModelWidget; - -@Model(widget = Widget.Type.TUNNEL_XCONNECT, - cardinality = Cardinality.UNBOUNDED, dataDeleteFlag = true) -@ModelWidget(type = ModelType.WIDGET, name = "tunnel-xconnect") -public class TunnelXconnectWidget extends Widget { -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/VServerWidget.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/VServerWidget.java deleted file mode 100644 index c633f5b338..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/VServerWidget.java +++ /dev/null @@ -1,46 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.aai.model; - -import org.onap.sdc.generator.aai.types.Cardinality; -import org.onap.sdc.generator.aai.types.Model; -import org.onap.sdc.generator.aai.types.ModelType; -import org.onap.sdc.generator.aai.types.ModelWidget; - -@Model(widget = Widget.Type.VSERVER, cardinality = Cardinality.UNBOUNDED, dataDeleteFlag = true) -@ModelWidget(type = ModelType.WIDGET, name = "vserver") -public class VServerWidget extends Widget { - - /** - * Instantiates a new V server widget. - */ - public VServerWidget() { - addWidget(new FlavorWidget()); - addWidget(new ImageWidget()); - addWidget(new TenantWidget()); - addWidget(new VfcWidget()); - } - - public boolean addWidget(Widget widget) { - return widgets.add(widget); - } - -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/VfModule.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/VfModule.java deleted file mode 100644 index 1b715630e4..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/VfModule.java +++ /dev/null @@ -1,81 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.aai.model; - -import org.onap.sdc.generator.aai.types.Cardinality; -import org.onap.sdc.generator.aai.types.Model; - -import java.util.List; - -@Model(widget = Widget.Type.VFMODULE, cardinality = Cardinality.UNBOUNDED, dataDeleteFlag = true) -public class VfModule extends Resource { - - Widget vserver = null; - boolean addlintf = false; - boolean addvolume = false; - - List members; - - public void setMembers(List members) { - this.members = members; - } - - /** - * Adds Widget. - * - * @param widget the widget - * @return the boolean - */ - public boolean addWidget(Widget widget) { - if (widget.memberOf(members)) { - if (vserver == null && widget.getId().equals(new VServerWidget().getId())) { - vserver = widget; - if (addlintf) { - vserver.addWidget(new LIntfWidget()); - } - if (addvolume) { - vserver.addWidget(new VolumeWidget()); - } - } else if (widget.getId().equals(new LIntfWidget().getId())) { - if (vserver != null) { - vserver.addWidget(widget); - return true; - } else { - addlintf = true; - } - return false; - } else if (widget.getId().equals(new VolumeWidget().getId())) { - if (vserver != null) { - vserver.addWidget(widget); - } else { - addvolume = true; - } - return true; - } - if (widget.getId().equals(new OamNetwork().getId())) { - return false; - } - return widgets.add(widget); - } - return false; - } - -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/VfModuleWidget.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/VfModuleWidget.java deleted file mode 100644 index b191538e50..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/VfModuleWidget.java +++ /dev/null @@ -1,34 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.aai.model; - -import org.onap.sdc.generator.aai.types.Cardinality; -import org.onap.sdc.generator.aai.types.Model; -import org.onap.sdc.generator.aai.types.ModelType; -import org.onap.sdc.generator.aai.types.ModelWidget; - -@Model(widget = Widget.Type.VFMODULE, - cardinality = Cardinality.UNBOUNDED, dataDeleteFlag = true) -@ModelWidget(type = ModelType.WIDGET, name = "vf-module") -public class VfModuleWidget extends Widget { - -} - diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/VfWidget.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/VfWidget.java deleted file mode 100644 index 20ea9973aa..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/VfWidget.java +++ /dev/null @@ -1,34 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.aai.model; - -import org.onap.sdc.generator.aai.types.Cardinality; -import org.onap.sdc.generator.aai.types.Model; -import org.onap.sdc.generator.aai.types.ModelType; -import org.onap.sdc.generator.aai.types.ModelWidget; - -@Model(widget = Widget.Type.VF, - cardinality = Cardinality.UNBOUNDED, dataDeleteFlag = true) -@ModelWidget(type = ModelType.WIDGET, name = "generic-vnf") -public class VfWidget extends ResourceWidget { - -} - diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/VfcWidget.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/VfcWidget.java deleted file mode 100644 index 2d08ef8b7d..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/VfcWidget.java +++ /dev/null @@ -1,34 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.aai.model; - -import org.onap.sdc.generator.aai.types.Cardinality; -import org.onap.sdc.generator.aai.types.Model; -import org.onap.sdc.generator.aai.types.ModelType; -import org.onap.sdc.generator.aai.types.ModelWidget; - -@Model(widget = Widget.Type.VFC, - cardinality = Cardinality.UNBOUNDED, dataDeleteFlag = true) -@ModelWidget(type = ModelType.WIDGET, name = "vnfc") -public class VfcWidget extends ResourceWidget { - -} - diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/VirtualFunction.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/VirtualFunction.java deleted file mode 100644 index 3736ebacc3..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/VirtualFunction.java +++ /dev/null @@ -1,30 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.aai.model; - -import org.onap.sdc.generator.aai.types.Cardinality; -import org.onap.sdc.generator.aai.types.Model; - -@Model(widget = Widget.Type.VF, cardinality = Cardinality.UNBOUNDED, dataDeleteFlag = true) -public class VirtualFunction extends Resource { - -} - diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/VolumeGroupWidget.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/VolumeGroupWidget.java deleted file mode 100644 index 918cfa897c..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/VolumeGroupWidget.java +++ /dev/null @@ -1,34 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.aai.model; - -import org.onap.sdc.generator.aai.types.Cardinality; -import org.onap.sdc.generator.aai.types.Model; -import org.onap.sdc.generator.aai.types.ModelType; -import org.onap.sdc.generator.aai.types.ModelWidget; - -@Model(widget = Widget.Type.VOLUME_GROUP, - cardinality = Cardinality.UNBOUNDED, dataDeleteFlag = true) -@ModelWidget(type = ModelType.WIDGET, name = "volume-group") -public class VolumeGroupWidget extends Widget { - -} - diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/VolumeWidget.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/VolumeWidget.java deleted file mode 100644 index e0cdac437a..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/VolumeWidget.java +++ /dev/null @@ -1,33 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.aai.model; - -import org.onap.sdc.generator.aai.types.Cardinality; -import org.onap.sdc.generator.aai.types.Model; -import org.onap.sdc.generator.aai.types.ModelType; -import org.onap.sdc.generator.aai.types.ModelWidget; - -@Model(widget = Widget.Type.VOLUME, cardinality = Cardinality.UNBOUNDED, dataDeleteFlag = true) -@ModelWidget(type = ModelType.WIDGET, name = "volume") -public class VolumeWidget extends ResourceWidget { - -} - diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/Widget.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/Widget.java deleted file mode 100644 index dfb17cc660..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/model/Widget.java +++ /dev/null @@ -1,196 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.aai.model; - -import java.util.Collections; -import java.util.HashSet; -import java.util.List; -import java.util.Properties; -import java.util.Set; - -import org.onap.sdc.generator.aai.types.ModelType; -import org.onap.sdc.generator.aai.types.ModelWidget; -import org.onap.sdc.generator.data.ArtifactType; -import org.onap.sdc.generator.data.GeneratorConstants; -import org.onap.sdc.generator.data.WidgetConfigurationUtil; -import org.onap.sdc.generator.error.IllegalAccessException; - -public abstract class Widget extends Model { - - private Set keys = new HashSet<>(); - - /** - * Gets widget. - * - * @param type the type - * @return the widget - */ - public static Widget getWidget(Type type) { - - switch (type) { - case SERVICE: - return new ServiceWidget(); - case VF: - return new VfWidget(); - case VFC: - return new VfcWidget(); - case VSERVER: - return new VServerWidget(); - case VOLUME: - return new VolumeWidget(); - case FLAVOR: - return new FlavorWidget(); - case TENANT: - return new TenantWidget(); - case VOLUME_GROUP: - return new VolumeGroupWidget(); - case LINT: - return new LIntfWidget(); - case L3_NET: - return new L3NetworkWidget(); - case VFMODULE: - return new VfModuleWidget(); - case IMAGE: - return new ImageWidget(); - case OAM_NETWORK: - return new OamNetwork(); - case ALLOTTED_RESOURCE: - return new AllotedResourceWidget(); - case TUNNEL_XCONNECT: - return new TunnelXconnectWidget(); - default: - return null; - } - - } - - /** - * Gets id. - * - * @return the id - */ - public String getId() { - Properties properties = WidgetConfigurationUtil.getConfig(); - String id = properties.getProperty(ArtifactType.AAI.name() + ".model-version-id." + getName()); - if (id == null) { - throw new IllegalArgumentException(String.format( - GeneratorConstants.GENERATOR_AAI_CONFIGLPROP_NOT_FOUND, - ArtifactType.AAI.name() + ".model-version-id." + getName())); - } - return id; - } - - public ModelType getType() { - ModelWidget widgetModel = this.getClass().getAnnotation(ModelWidget.class); - return widgetModel.type(); - } - - public String getName() { - ModelWidget widgetModel = this.getClass().getAnnotation(ModelWidget.class); - return widgetModel.name(); - } - - /** - * Get Widget Id from properties file. - * @return - Widget Id - */ - public String getWidgetId() { - Properties properties = WidgetConfigurationUtil.getConfig(); - String id = properties.getProperty(ArtifactType.AAI.name() + ".model-invariant-id." - + getName()); - if (id == null) { - throw new IllegalArgumentException(String.format( - GeneratorConstants.GENERATOR_AAI_CONFIGLPROP_NOT_FOUND, - ArtifactType.AAI.name() + ".model-invariant-id." + getName())); - } - return id; - } - - public int hashCode() { - return getId().hashCode(); - } - - @Override - public Type getWidgetType() { - return null; - } - - /** - * Equals. - * - * @param obj Object - * @return the boolean - */ - public boolean equals(Object obj) { - if (obj instanceof Widget) { - if (getId().equals(((Widget) obj).getId())) { - ((Widget) obj).keys.addAll(this.keys); - return true; - } - return false; - } else { - return false; - } - } - - public void addKey(String key) { - this.keys.add(key); - } - - /** - * Member of boolean. - * - * @param keys the keys - * @return the boolean - */ - public boolean memberOf(List keys) { - if (keys == null) { - return false; - } - return !Collections.disjoint(this.keys, keys); - } - - /** - * All instances used boolean. - * - * @param collection the collection - * @return the boolean - */ - public boolean allInstancesUsed(Set collection) { - Set keyCopy = new HashSet<>(keys); - keyCopy.removeAll(collection); - return keyCopy.isEmpty(); - } - - public boolean addResource(Resource resource) { - throw new IllegalAccessException(GeneratorConstants - .GENERATOR_AAI_ERROR_UNSUPPORTED_WIDGET_OPERATION); - } - - public boolean addWidget(Widget widget) { - return true; - } - - public enum Type { - SERVICE, VF, VFC, VSERVER, VOLUME, FLAVOR, TENANT, VOLUME_GROUP, LINT, L3_NET, VFMODULE, IMAGE, - OAM_NETWORK,ALLOTTED_RESOURCE,TUNNEL_XCONNECT - } -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/tosca/CapabilityAssignment.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/tosca/CapabilityAssignment.java deleted file mode 100644 index 99f9771654..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/tosca/CapabilityAssignment.java +++ /dev/null @@ -1,45 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.aai.tosca; - -import java.util.Map; - -public class CapabilityAssignment { - - private Map properties; - private Map attributes; - - public Map getProperties() { - return properties; - } - - public void setProperties(Map properties) { - this.properties = properties; - } - - public Map getAttributes() { - return attributes; - } - - public void setAttributes(Map attributes) { - this.attributes = attributes; - } -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/tosca/GroupDefinition.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/tosca/GroupDefinition.java deleted file mode 100644 index 8892eebd7e..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/tosca/GroupDefinition.java +++ /dev/null @@ -1,73 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.aai.tosca; - -import java.util.List; -import java.util.Map; - -public class GroupDefinition { - - private String type; - private String description; - private Map properties; - private List members; - private Map metadata; - - public String getType() { - return type; - } - - public void setType(String type) { - this.type = type; - } - - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - public Map getProperties() { - return properties; - } - - public void setProperties(Map properties) { - this.properties = properties; - } - - public List getMembers() { - return members; - } - - public void setMembers(List members) { - this.members = members; - } - - public Map getMetadata() { - return metadata; - } - - public void setMetadata(Map metadata) { - this.metadata = metadata; - } -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/tosca/NodeTemplate.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/tosca/NodeTemplate.java deleted file mode 100644 index d58d9e005d..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/tosca/NodeTemplate.java +++ /dev/null @@ -1,82 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.aai.tosca; - -import java.util.List; -import java.util.Map; - -public class NodeTemplate { - - private String type; - private String description; - private Map metadata; - private Map properties; - private List> requirements; - private Map capabilities; - - public String getType() { - return type; - } - - public void setType(String type) { - this.type = type; - } - - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - public Map getProperties() { - return properties; - } - - public void setProperties(Map properties) { - this.properties = properties; - } - - public List> getRequirements() { - return requirements; - } - - public void setRequirements(List> requirements) { - this.requirements = requirements; - } - - public Map getCapabilities() { - return capabilities; - } - - public void setCapabilities(Map capabilities) { - this.capabilities = capabilities; - } - - public Map getMetadata() { - return metadata; - } - - public void setMetadata(Map metadata) { - this.metadata = metadata; - } -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/tosca/RequirementAssignment.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/tosca/RequirementAssignment.java deleted file mode 100644 index 20d36a4ea0..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/tosca/RequirementAssignment.java +++ /dev/null @@ -1,53 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.aai.tosca; - -public class RequirementAssignment { - - private String capability; - private String node; - private String relationship; - - public String getCapability() { - return capability; - } - - public void setCapability(String capability) { - this.capability = capability; - } - - public String getNode() { - return node; - } - - public void setNode(String node) { - this.node = node; - } - - public String getRelationship() { - return relationship; - } - - public void setRelationship(String relationship) { - this.relationship = relationship; - } - -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/tosca/TopologyTemplate.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/tosca/TopologyTemplate.java deleted file mode 100644 index 124c55cc77..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/tosca/TopologyTemplate.java +++ /dev/null @@ -1,71 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.aai.tosca; - -import java.util.HashMap; -import java.util.Map; -import java.util.Objects; - -public class TopologyTemplate { - - private String description; - private Map node_templates; - private Map groups; - - - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - public Map getGroups() { - return groups; - } - - public void setGroups(Map groups) { - this.groups = groups; - } - - public Map getNode_templates() { - return node_templates; - } - - public void setNode_templates(Map node_templates) { - this.node_templates = node_templates; - } - - /** - * Add group. - * - * @param groupKey the group key - * @param groupDefinition the group definition - */ - public void addGroup(String groupKey, GroupDefinition groupDefinition) { - if (Objects.isNull(this.groups)) { - this.groups = new HashMap<>(); - } - this.groups.put(groupKey, groupDefinition); - } - -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/tosca/ToscaTemplate.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/tosca/ToscaTemplate.java deleted file mode 100644 index d92b826071..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/tosca/ToscaTemplate.java +++ /dev/null @@ -1,82 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.aai.tosca; - -import java.util.Map; - -public class ToscaTemplate { - private String toscaDefinitionsVersion; - private Map metadata; - private String description; - private TopologyTemplate topology_template; - - public String getToscaDefinitionsVersion() { - return toscaDefinitionsVersion; - } - - public void setToscaDefinitionsVersion(String toscaDefinitionsVersion) { - this.toscaDefinitionsVersion = toscaDefinitionsVersion; - } - - public Map getMetadata() { - return metadata; - } - - public void setMetadata(Map metadata) { - this.metadata = metadata; - } - - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - public TopologyTemplate getTopology_template() { - return topology_template; - } - - public void setTopology_template(TopologyTemplate topology_template) { - this.topology_template = topology_template; - } - - /** - * Is Service. - * - * @return the boolean - */ - public boolean isService() { - return metadata.containsKey("serviceUUID") - || ("Service".equalsIgnoreCase(metadata.get("Type")) - || ("Service".equalsIgnoreCase(metadata.get("type")))); - } - - public String getModelId() { - return metadata.get("invariantUUID"); - } - - public String getModelVersionId() { - return metadata.get("UUID"); - } - -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/types/Cardinality.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/types/Cardinality.java deleted file mode 100644 index be7c945af9..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/types/Cardinality.java +++ /dev/null @@ -1,26 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.aai.types; - -public enum Cardinality { - - UNBOUNDED -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/types/Model.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/types/Model.java deleted file mode 100644 index 73407a5516..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/types/Model.java +++ /dev/null @@ -1,55 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.aai.types; - -import org.onap.sdc.generator.aai.model.Widget.Type; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -@Target(ElementType.TYPE) -@Retention(RetentionPolicy.RUNTIME) -public @interface Model { - - /** - * Widget widget . type. - * - * @return the widget . type - */ - public Type widget(); - - /** - * Data delete flag boolean. - * - * @return the boolean - */ - public boolean dataDeleteFlag(); - - /** - * Cardinality cardinality. - * - * @return the cardinality - */ - public Cardinality cardinality(); - -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/types/ModelType.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/types/ModelType.java deleted file mode 100644 index 90da359316..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/types/ModelType.java +++ /dev/null @@ -1,47 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.aai.types; - -public enum ModelType { - SERVICE, RESOURCE, WIDGET; - - /** - * Gets model type. - * - * @param modelType the model type - * @return the model type - */ - public static ModelType getModelType(String modelType) { - if (modelType != null) { - switch (modelType.toLowerCase()) { - case "service": - return SERVICE; - case "resource": - return RESOURCE; - case "widget": - return WIDGET; - default: - return null; - } - } - return null; - } -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/types/ModelWidget.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/types/ModelWidget.java deleted file mode 100644 index 6ce16459ba..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/aai/types/ModelWidget.java +++ /dev/null @@ -1,46 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.aai.types; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -@Target(ElementType.TYPE) -@Retention(RetentionPolicy.RUNTIME) -public @interface ModelWidget { - - /** - * Type model type. - * - * @return the model type - */ - public ModelType type(); - - /** - * Name string. - * - * @return the string - */ - public String name(); - -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/data/AdditionalParams.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/data/AdditionalParams.java deleted file mode 100644 index d9cfadec9a..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/data/AdditionalParams.java +++ /dev/null @@ -1,39 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.data; - - -public enum AdditionalParams { - ServiceVersion("serviceVersion"); - - private String name; - - AdditionalParams(String name) { - this.name = name; - } - - public String getName() { - return name; - } -} - - - diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/data/Artifact.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/data/Artifact.java deleted file mode 100644 index d59fbc3bb7..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/data/Artifact.java +++ /dev/null @@ -1,96 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.data; - -public class Artifact { - - String name; - String type; - String groupType; - String description; - String label; - String version; - String checksum; - byte[] payload; - - /** - * Instantiates a new Artifact. - * - * @param type the type - * @param groupType the group type - * @param checksum the checksum - * @param payload the payload - */ - public Artifact(String type, String groupType, String checksum, byte[] payload) { - this.type = type; - this.groupType = groupType; - this.checksum = checksum; - this.payload = payload; - } - - public byte[] getPayload() { - return payload; - } - - public String getChecksum() { - return checksum; - } - - public String getType() { - return type; - } - - public String getGroupType() { - return groupType; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getLabel() { - return label; - } - - public void setLabel(String label) { - this.label = label; - } - - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - public String getVersion() { - return version; - } - - public void setVersion(String version) { - this.version = version; - } -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/data/ArtifactType.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/data/ArtifactType.java deleted file mode 100644 index e844f945ab..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/data/ArtifactType.java +++ /dev/null @@ -1,27 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.data; - -public enum ArtifactType { - OTHER, - AAI, - MODEL_INVENTORY_PROFILE -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/data/GenerationData.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/data/GenerationData.java deleted file mode 100644 index 83a8452797..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/data/GenerationData.java +++ /dev/null @@ -1,70 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.data; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class GenerationData { - - List resultData = new ArrayList<>(); - Map> errorData = new HashMap<>(); - - public void add(List resultData, Map> errorData) { - this.resultData.addAll(resultData); - this.errorData.putAll(errorData); - } - - - public void add(Artifact generatedArtifact) { - resultData.add(generatedArtifact); - } - - /** - * Add. - * - * @param generatorId the generator id - * @param errorCode the error code - */ - public void add(String generatorId, String errorCode) { - List errorIds; - if ((errorIds = errorData.get(generatorId)) == null) { - errorIds = new ArrayList<>(); - errorData.put(generatorId, errorIds); - } - errorIds.add(errorCode); - } - - public void add(GenerationData generationData) { - this.resultData.addAll(generationData.resultData); - this.errorData.putAll(generationData.errorData); - } - - public List getResultData() { - return resultData; - } - - public Map> getErrorData() { - return errorData; - } -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/data/GeneratorConfiguration.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/data/GeneratorConfiguration.java deleted file mode 100644 index af26b2b531..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/data/GeneratorConfiguration.java +++ /dev/null @@ -1,36 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.data; - -import java.util.List; - -public class GeneratorConfiguration { - - private List artifactTypes = null; - - public List getArtifactTypes() { - return artifactTypes; - } - - public void setArtifactTypes(List artifactTypes) { - this.artifactTypes = artifactTypes; - } -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/data/GeneratorConstants.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/data/GeneratorConstants.java deleted file mode 100644 index 8f79aa1503..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/data/GeneratorConstants.java +++ /dev/null @@ -1,129 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.data; - -public class GeneratorConstants { - - public static final String GENERATOR_AAI_GENERATED_ARTIFACT_EXTENSION = "xml"; - - //Error codes - public static final String GENERATOR_INVOCATION_ERROR_CODE = - "ARTIFACT_GENERATOR_INVOCATION_ERROR"; - - - //Error Constants - public static final String GENERATOR_ERROR_INVALID_CLIENT_CONFIGURATION = - "Invalid Client Configuration"; - public static final String GENERATOR_ERROR_ARTIFACT_GENERATION_FAILED = - "Unable to generate artifacts for the provided input"; - public static final String GENERATOR_ERROR_SERVICE_INSTANTIATION_FAILED = - "Artifact Generation Service Instantiation failed"; - - //AAI Generator Error Messages - public static final String GENERATOR_AAI_ERROR_CHECKSUM_MISMATCH = - "Checksum Mismatch for file : %s"; - public static final String GENERATOR_AAI_ERROR_INVALID_TOSCA = - "Invalid format for Tosca YML : %s"; - public static final String GENERATOR_AAI_ERROR_MANDATORY_METADATA_DEFINITION = - "Invalid Service/Resource definition mandatory attribute <%s> missing in Artifact: <%s>"; - public static final String GENERATOR_AAI_ERROR_INVALID_ID = - "Invalid value for mandatory attribute <%s> in Artifact: <%s>"; - public static final String GENERATOR_AAI_ERROR_UNSUPPORTED_WIDGET_OPERATION = - "Operation Not Supported for Widgets"; - public static final String GENERATOR_AAI_ERROR_MISSING_SERVICE_TOSCA = - "Service tosca missing from list of input artifacts"; - public static final String GENERATOR_AAI_ERROR_NULL_RESOURCE_VERSION_IN_SERVICE_TOSCA = - "Invalid Service definition mandatory attribute version missing for resource with UUID: <%s>"; - - public static final String GENERATOR_AAI_ERROR_INVALID_RESOURCE_VERSION_IN_SERVICE_TOSCA = - "Cannot generate artifacts. Invalid Resource version in Service tosca for resource with " - + "UUID: " - + "<%s>"; - public static final String GENERATOR_AAI_ERROR_MISSING_RESOURCE_TOSCA = - "Cannot generate artifacts. Resource Tosca missing for resource with UUID: <%s>"; - - public static final String GENERATOR_AAI_ERROR_MISSING_SERVICE_VERSION = - "Cannot generate artifacts. Service version is not specified"; - - public static final String GENERATOR_AAI_INVALID_SERVICE_VERSION = - "Cannot generate artifacts. Service version is incorrect"; - - //Logging constants - public static final String REQUEST_ID = "uuid"; - public static final String SERVICE_INSTANCE_ID = "serviceInstanceID"; - public static final String PARTNER_NAME = "userId"; - public static final String SERVICE_NAME = "ServiceName"; - public static final String INSTANCE_UUID = "InstanceUUID"; - public static final String REMOTE_HOST = "RemoteHost"; - public static final String CLIENT_IP = "ClientIP"; - public static final String CATEGORY_LOG_LEVEL = "level"; - public static final String STATUS_CODE = "StatusCode"; - public static final String RESPONSE_CODE = "ResponseCode"; - public static final String RESPONSE_DESCRIPTION = "ResponseDescription"; - public static final String ELAPSED_TIME = "ElapsedTime"; - public static final String BEGIN_TIMESTAMP = "BeginTimestamp"; - public static final String TARGET_SERVICE_NAME = "TargetServiceName"; - public static final String TARGET_ENTITY = "TargetEntity"; - public static final String END_TIMESTAMP = "EndTimestamp"; - public static final String ERROR_CATEGORY = "ErrorCategory"; - public static final String ERROR_CODE = "ErrorCode"; - public static final String ERROR_DESCRIPTION = "ErrorDescription"; - public static final String MDC_SDC_INSTANCE_UUID = "SDC_INSTANCE_UUID"; - public static final String SERVICE_METRIC_BEGIN_TIMESTAMP = "SERVICE-METRIC-BEGIN-TIMESTAMP"; - public static final String LOCAL_ADDR = "localAddr"; //map ServerIPAddress from loggingfilter - public static final String BE_FQDN = "beFqdn"; //map ServerFQDN from logging filter - public static final String ARTIFACT_MODEL_INFO = "ARTIFACT_MODEL_INFO"; - - public static final String GENERATOR_ERROR_CODE = "300F"; - public static final String GENERATOR_PARTNER_NAME = "SDC Catalog"; - public static final String GENERATOR_METRICS_TARGET_ENTITY = "SDC Catalog"; - public static final String GENERATOR_METRICS_FAILURE_RESPONSE_CODE = "300E"; - public static final String GENERATOR_METRICS_FAILURE_RESPONSE_DESC = "Artifact generation " - + "failed for artifact type %s"; - public static final String GENERATOR_METRICS_SUCCESS_RESPONSE_CODE = "010"; - public static final String GENERATOR_METRICS_SUCCESS_RESPONSE_DESC = "Artifacts for type %s " - + "were generated successfully"; - public static final String GENERATOR_AUDIT_NO_ARTIFACT_TYPE_RESPONSE_DESC = "No Artifact Type " - + "found" ; - - //AAI Generator Error Messages for Logging - public static final String GENERATOR_AAI_ERROR_INVALID_TOSCA_MSG = - "Invalid format for Tosca YML"; - public static final String GENERATOR_AAI_ERROR_MANDATORY_METADATA_DEFINITION_MSG = - "Invalid Service/Resource definition mandatory attribute"; - public static final String GENERATOR_AAI_ERROR_MISSING_SERVICE_TOSCA_MSG = - "Service tosca missing from list of input artifacts"; - public static final String GENERATOR_ERROR_INVALID_CLIENT_CONFIGURATION_MSG = - "Invalid Client Configuration"; - public static final String GENERATOR_ERROR_ARTIFACT_GENERATION_FAILED_MSG = - "Unable to generate artifacts for the provided input"; - public static final String GENERATOR_AAI_CONFIGFILE_NOT_FOUND = - "Cannot generate artifacts. Artifact Generator Configuration file not found at %s"; - public static final String GENERATOR_AAI_CONFIGLOCATION_NOT_FOUND = - "Cannot generate artifacts. artifactgenerator.config system property not configured"; - public static final String GENERATOR_AAI_CONFIGLPROP_NOT_FOUND = - "Cannot generate artifacts. Widget configuration not found for %s"; - public static final String GENERATOR_AAI_PROVIDING_SERVICE_MISSING = - "Cannot generate artifacts. Providing Service is missing for allotted resource %s"; - public static final String GENERATOR_AAI_PROVIDING_SERVICE_METADATA_MISSING = - "Cannot generate artifacts. Providing Service Metadata is missing for allotted resource %s"; - public static final int ID_LENGTH = 36; -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/data/GeneratorUtil.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/data/GeneratorUtil.java deleted file mode 100644 index 918fa1e0a8..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/data/GeneratorUtil.java +++ /dev/null @@ -1,104 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.data; - -import com.fasterxml.jackson.databind.DeserializationFeature; -import com.fasterxml.jackson.databind.ObjectMapper; -import com.fasterxml.jackson.dataformat.yaml.YAMLFactory; -import org.apache.commons.codec.digest.DigestUtils; - -import java.io.IOException; -import java.util.Base64; - -/** - * Utility method class for artifact generation. - */ -public class GeneratorUtil { - /** - * Translate tosca yaml into the provided model class. - * - * @param tosca Tosca file content - * @param classOfT Model class for the translated object - * @param Template parameter for the return object - * @return Object model for the provided tosca yaml file - */ - public static T translateTosca(String tosca, Class classOfT) throws IOException { - T tos; - //changing file - ObjectMapper mapper = new ObjectMapper(new YAMLFactory()); // jackson data-bind - mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false); - tos = mapper.readValue(tosca, classOfT); - return tos; - } - - /** - * Decodes Base64 encode byte array input. - * - * @param input Base64 encoded byte array - * @return Decoded byte array - */ - public static byte[] decoder(byte[] input) { - if (input != null) { - byte[] output = Base64.getDecoder().decode(input); - return output; - } - return null; - } - - /** - * Encode a byte array input using Base64 encoding. - * - * @param input Input byte array to be encoded - * @return Base64 encoded byte array - */ - public static byte[] encode(byte[] input) { - if (input != null) { - byte[] output = Base64.getEncoder().encode(input); - return output; - } - return null; - } - - /** - * Calculate the checksum for a given input. - * - * @param input Byte array for which the checksum has to be calculated - * @return Calculated checksum of the input byte array - */ - public static String checkSum(byte[] input) { - String checksum = null; - if (input != null) { - checksum = (DigestUtils.md5Hex(input)).toUpperCase(); - } - return checksum; - } - - /** - * Check if string is empty or null. - * - * @param input Input String - * @return true if string is empty/null and false otherwise - */ - public static boolean isEmpty(String input) { - return input == null || input.length() == 0; - } - -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/data/GroupType.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/data/GroupType.java deleted file mode 100644 index 69a8484885..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/data/GroupType.java +++ /dev/null @@ -1,26 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.data; - -public enum GroupType { - DEPLOYMENT, - OTHER -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/data/WidgetConfigurationUtil.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/data/WidgetConfigurationUtil.java deleted file mode 100644 index ab2da6caca..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/data/WidgetConfigurationUtil.java +++ /dev/null @@ -1,36 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.data; - -import java.util.Properties; - -public class WidgetConfigurationUtil { - - private static Properties config ; - - public static Properties getConfig() { - return config; - } - - public static void setConfig(Properties config) { - WidgetConfigurationUtil.config = config; - } -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/error/IllegalAccessException.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/error/IllegalAccessException.java deleted file mode 100644 index 823af87fcc..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/error/IllegalAccessException.java +++ /dev/null @@ -1,29 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.error; - -public class IllegalAccessException extends RuntimeException { - - public IllegalAccessException(String message) { - super(message); - } - -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/intf/ArtifactGenerator.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/intf/ArtifactGenerator.java deleted file mode 100644 index 7e198df4bb..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/intf/ArtifactGenerator.java +++ /dev/null @@ -1,35 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.intf; - -import org.onap.sdc.generator.data.Artifact; -import org.onap.sdc.generator.data.GenerationData; - -import java.util.List; -import java.util.Map; - - -public interface ArtifactGenerator { - - public GenerationData generateArtifact(List input, - Map additionalParams); - -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/intf/Generator.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/intf/Generator.java deleted file mode 100644 index 069316a577..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/intf/Generator.java +++ /dev/null @@ -1,40 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.intf; - -import org.onap.sdc.generator.data.ArtifactType; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -@Target(ElementType.TYPE) -@Retention(RetentionPolicy.RUNTIME) -public @interface Generator { - - /** - * Artifact type artifact type. - * - * @return the artifact type - */ - public ArtifactType artifactType(); -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/logging/ArtifactGeneratorLogResponseCode.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/logging/ArtifactGeneratorLogResponseCode.java deleted file mode 100644 index 17507f1474..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/logging/ArtifactGeneratorLogResponseCode.java +++ /dev/null @@ -1,68 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.logging; - -import java.util.HashMap; -import java.util.Map; - -public enum ArtifactGeneratorLogResponseCode { - INTERNAL_SERVER_ERROR(201), - MISSING_CONFIG_PROPERTIES_FILE(202), - MISSING_SYSTME_PROPERY_CONFIGURATION(203), - MANDATORY_ATTRIBUTE_MISSING(313), - SERVICE_TOSCA_MISSING(314), - INVALID_TOSCA_YAML(315), - INVALID_CLIENT_CONFIGURATION(316), - UNABLE_TO_GENERATE_ARTIFACT(317), - MISSING_WIDGET_CONFIGURATION(318), - INVALID_ID_VALUE(319), - MISSING_SERVICE_VERSION(320), - INVALID_SERVICE_VERSION(321), - MISSING_RESOURCE_VERSION(322), - INVALID_RESOURCE_VERSION(323), - MISSING_PRO_SERVICE(324), - MISSING_PRO_SERVICE_METADATA(325), - RESOURCE_TOSCA_MISSING(326); - - - private static Map mapValueToEnum = new HashMap<>(); - - static { - for (ArtifactGeneratorLogResponseCode responseCode : - ArtifactGeneratorLogResponseCode.values()) { - mapValueToEnum.put(responseCode.value, responseCode); - } - } - - private int value; - - ArtifactGeneratorLogResponseCode(int value) { - this.value = value; - } - - public static ArtifactGeneratorLogResponseCode parseValue(int value) { - return mapValueToEnum.get(value); - } - - public int getValue() { - return value; - } -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/logging/CategoryLogLevel.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/logging/CategoryLogLevel.java deleted file mode 100644 index 930b5c78d0..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/logging/CategoryLogLevel.java +++ /dev/null @@ -1,29 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.logging; - -public enum CategoryLogLevel { - INFO, - WARN, - DEBUG, - ERROR, - FATAL -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/logging/StatusCode.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/logging/StatusCode.java deleted file mode 100644 index 0eb3b6d3b6..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/logging/StatusCode.java +++ /dev/null @@ -1,26 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.logging; - -public enum StatusCode { - COMPLETE, - ERROR -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/logging/annotations/Audit.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/logging/annotations/Audit.java deleted file mode 100644 index c56bd4a5f1..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/logging/annotations/Audit.java +++ /dev/null @@ -1,34 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.logging.annotations; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -/** - * Indicates a method for auditing during artifact generation. - */ -@Target(ElementType.METHOD) -@Retention(RetentionPolicy.RUNTIME) -public @interface Audit { -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/logging/annotations/Metrics.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/logging/annotations/Metrics.java deleted file mode 100644 index 468ab6412b..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/logging/annotations/Metrics.java +++ /dev/null @@ -1,35 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.logging.annotations; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -/** - * Indicates a method for metrics recording during artifact generation. - * - */ -@Target(ElementType.METHOD) -@Retention(RetentionPolicy.RUNTIME) -public @interface Metrics { -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/service/ArtifactGenerationService.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/service/ArtifactGenerationService.java deleted file mode 100644 index 60a90e9a9e..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/java/org/onap/sdc/generator/service/ArtifactGenerationService.java +++ /dev/null @@ -1,69 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.service; - -import org.onap.sdc.generator.data.Artifact; -import org.onap.sdc.generator.data.GenerationData; -import org.onap.sdc.generator.data.GeneratorConstants; -import org.onap.sdc.generator.logging.CategoryLogLevel; -import org.openecomp.sdc.logging.api.Logger; -import org.openecomp.sdc.logging.api.LoggerFactory; -import org.slf4j.MDC; - -import java.util.List; -import java.util.Map; - - -/** - * Artifact Generation Service interface. - */ -public interface ArtifactGenerationService { - - - /** - * Method to get artifact generation service implementation. - * - * @return Artifact generation implementation instance - */ - public static ArtifactGenerationService lookup() { - - Logger log = LoggerFactory.getLogger(ArtifactGenerationService.class.getName()); - log.debug("Instantiating Artifact Generation Service"); - try { - return ArtifactGenerationService.class.cast( - Class.forName("org.openecomp.sdc.generator.impl.ArtifactGenerationServiceImpl") - .newInstance()); - } catch (Exception exception) { - MDC.put(GeneratorConstants.PARTNER_NAME, GeneratorConstants.GENERATOR_PARTNER_NAME); - MDC.put(GeneratorConstants.ERROR_CATEGORY, CategoryLogLevel.ERROR.name()); - MDC.put(GeneratorConstants.ERROR_CODE, GeneratorConstants.GENERATOR_ERROR_CODE); - MDC.put( - GeneratorConstants.ERROR_DESCRIPTION, GeneratorConstants.GENERATOR_ERROR_SERVICE_INSTANTIATION_FAILED); - log.error(GeneratorConstants.GENERATOR_ERROR_SERVICE_INSTANTIATION_FAILED, exception); - } - log.debug(GeneratorConstants.GENERATOR_ERROR_SERVICE_INSTANTIATION_FAILED); - return null; - } - - public GenerationData generateArtifact(List input, String overridingConfiguration, - Map additionalParams); - -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/resources/aai_schema_v10.xsd b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/resources/aai_schema_v10.xsd deleted file mode 100644 index 31a5ba89f5..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/resources/aai_schema_v10.xsd +++ /dev/null @@ -1,7890 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - specific type of node in the A&AI graph") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - URL to the specific resource") - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="A - keyword provided by A&AI to indicate an attribute.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Value - of the attribute.") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Key - part of a key/value pair") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Value - part of a key/value pair") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="A - keyword provided by A&AI to indicate type of node.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="URL - to the object in A&AI.") - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="OAM - network, to be deprecated shortly. Do not use for new purposes. - ",nameProps="network-name",indexedProps="cvlan-tag,network-uuid,network-name",dependentOn="cloud-region",container="oam-networks") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="UUID - of the network. Unique across a cloud-region") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Name - of the network.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="cvlan-id") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for VNF firewall rule so customer cannot send customer traffic - over this oam network") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for VNF firewall rule so customer cannot send customer traffic - over this oam network") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of OAM networks, to be deprecated shortly. Do not use for new - purposes. ") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Digital - virtual switch metadata, used by SDN-C to configure VCEs. A&AI - needs to receive this data from the PO deployment team and - administer it using the provisioningTool.sh into A&AI. - ",indexedProps="vcenter-url,switch-name",dependentOn="cloud-region",container="dvs-switches") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="DVS - switch name") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="URL - used to reach the vcenter") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of digital virtual switch metadata used for vmWare VCEs and - VPEs.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Availability - zone, a collection of compute - hosts/pservers",indexedProps="availability-zone-name",dependentOn="cloud-region",container="availability-zones") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Name - of the availability zone. Unique across a cloud region") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Type - of hypervisor. Source of truth should define valid values.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="State - that indicates whether the availability zone should be used, - etc. Source of truth should define valid values.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Serves - a PATCH like function. Does not enforce concurrency control. Clear - each usage with AAI team.") - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="APIs - that are more action related than REST (e.g., notify, update).") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="A - collection of C tags (vlan tags) grouped for a specific - purpose.",indexedProps="availability-zone-name",dependentOn="complex",container="ctag-pools") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="The - Target provider edge router") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Name - of the availability zone") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Describes - what the intended purpose of this pool is.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Comma - separated list of ctags") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of physical locations that can house - cloud-regions.",indexedProps="identity-url,data-center-code,complex-name,physical-location-id",searchable="physical-location-id,data-center-code,complex-name,street1,street2,postal-code",uniqueProps="physical-location-id",container="complexes",namespace="cloud-infrastructure") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - identifier for physical location, e.g., CLLI") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Data - center code which can be an alternate way to identify a - complex") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Gamma - complex name for LCP instance.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="URL - of the keystone identity service") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Type, - e.g., central office, data center.") - - - - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of physical locations that can house cloud-regions.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Persistent - block-level - storage.",indexedProps="volume-group-name,vnf-type,heat-stack-id,volume-group-id",searchable="volume-group-name",dependentOn="cloud-region",container="volume-groups") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - ID of volume-group.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Name - of the volume group.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Heat - stack id corresponding to this volume-group") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="String - capturing type of vnf, that was intended to identify the ASDC - resource. This field has been overloaded and clients should - expect changes to occur in the future to this field as ASDC - matures.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Orchestration - status of this volume-group") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="captures - the id of all the configuration used to customize the resource - for the service.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of persistent block-level storage.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Ephemeral - Block storage - volume.",indexedProps="volume-id",dependentOn="vserver",container="volumes") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - ID of block storage volume relative to the vserver.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="URL - to endpoint where AAI can get more details") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of ephemeral Block storage volumes.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="IPv4 - Address - Range",indexedProps="l3-interface-ipv4-address,vlan-id-inner,neutron-network-id,neutron-subnet-id",dependentOn="vlan,l-interface") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="IP - address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Prefix - length, 32 for single address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Inner - VLAN tag") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Outer - VLAN tag") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Indicator - of fixed or floating address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Neutron - network id of the interface that address belongs to") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Neutron - id of subnet that address belongs to") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="IPv6 - Address - Range",indexedProps="l3-interface-ipv6-address,vlan-id-inner,neutron-network-id,neutron-subnet-id",dependentOn="vlan,l-interface") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="IP - address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Prefix - length, 128 for single address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Inner - VLAN tag") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Outer - VLAN tag") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Indicator - of fixed or floating address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Neutron - network id of the interface that address belongs to") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Neutron - id of subnet that address belongs to") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Definition - of - vlan",indexedProps="vlan-interface,vlan-id-inner,vpn-id",uniqueProps="vpn-id",dependentOn="l-interface",container="vlans") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="String - that identifies the interface") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Inner - VLAN tag") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Outer - VLAN tag") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Captures - the numeric part of the speed") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Captures - the units corresponding to the speed") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - to describe (the service associated with) the vlan") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Whether - customer is going to use this VLAN for backdoor connection to - another customer premise device.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - indicates the customers VPN ID associated with this vlan") - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="SR-IOV - Virtual Function (not to be confused with virtual network - function)",indexedProps="pci-id,vf-vlan-filter,vf-mac-filter,vf-vlan-strip,neutron-network-id",dependentOn="l-interface",container="sriov-vfs") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="PCI - ID used to identify the sriov-vf") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - metadata provides option to specify list of VLAN filters applied - on VF to pass the traffic to VM.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="When - MAC filters are specified, VF-agent service configures VFs to do - MAC level filtering before the traffic is passed to VM.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="When - this field is set to true, VF will configured to strip the outer - TAG before the traffic is passed to VM.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - option ensures anti VLAN spoof checks are done at the VF level - to comply with security. The disable check will also be honored - per the VNF needs for trusted VMs.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - option ensures anti MAC spoof checks are done at the VF level to - comply with security. The disable check will also be honored per - the VNF needs for trusted VMs.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - option defines the set of Mirror objects which essentially - mirrors the traffic from source to set of collector VNF Ports.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - option, if set to true, sets the VF in promiscuous mode and - allows all broadcast traffic to reach the VM") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - option, if set to true, sets the VF in promiscuous mode and - allows unknown multicast traffic to reach the VM") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - option, if set to true, sets the VF in promiscuous mode and - allows unknown unicast traffic to reach the VM") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - option, if set to true, instructs to insert outer tag after - traffic comes out of VM.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - option is used to set the link status. Valid values as of 1607 - are on, off, and auto.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Neutron - network id of the interface") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of SR-IOV Virtual Functions.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Logical - interfaces, e.g., a - vnic.",indexedProps="macaddr,interface-id,interface-name,network-name",dependentOn="generic-vnf,newvce,vpe,p-interface,vserver,lag-interface",container="l-interfaces") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Name - given to the interface") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="E.g., - CUSTOMER, UPLINK, etc.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Questionably - placed - v6 ip addr of this interface (is in vr-lan-interface - from Mary B.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="URL - to endpoint where AAI can get more details") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="ID - of interface") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="MAC - address for the interface") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Name - of the network") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Whether - A&AI should be managing this interface of not. Could have - value like CUSTOMER") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Human - friendly text regarding this interface.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of logical interfaces.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Virtual - Servers, aka virtual machine or - VM.",nameProps="vserver-name",indexedProps="is-closed-loop-disabled,prov-status,vserver-name,vserver-id,in-maint,vserver-name2",searchable="vserver-name,vserver-id,vserver-name2",dependentOn="tenant",container="vservers") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - identifier for this vserver relative to its tenant") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Name - of vserver") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Alternative - name of vserver") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Trigger - for operational monitoring of this resource by Service Assurance - systems.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="URL - to endpoint where AAI can get more details") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="Used - to indicate whether or not this object is in maintenance mode - (maintenance mode = true). This field (in conjunction with - prov-status) is used to suppress alarms and vSCL on VNFs/VMs.") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="Used - to indicate whether closed loop function is enabled on this - node") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of virtual Servers, aka virtual machines or VMs.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Openstack - tenant",nameProps="tenant-name",indexedProps="tenant-name,tenant-id",searchable="tenant-name,tenant-id",dependentOn="cloud-region",container="tenants") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - id relative to the cloud-region.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Readable - name of tenant") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of openstack tenants.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Openstack - flavor.",nameProps="flavor-name",indexedProps="flavor-name,flavor-id",dependentOn="cloud-region",container="flavors") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Flavor - id, expected to be unique across cloud-region.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Flavor - name") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Number - of CPUs") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Amount - of memory") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Disk - space") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Amount - of ephemeral disk space") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="amount - of swap space allocation") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="whether - flavor is available to all users or private to the tenant it was - created in.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="URL - to endpoint where AAI can get more details") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Boolean - as to whether this flavor is no longer enabled") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of openstack flavors.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Openstack - group-assignment used to store exclusivity groups - (EG).",nameProps="group-name",indexedProps="group-id,group-type,group-name",dependentOn="cloud-region",container="group-assignments") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Group - id, expected to be unique across cloud-region.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Group - type - the type of group this instance refers to") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Group - name - name assigned to the group") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Group - description - description of the group") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of openstack group assignments") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Openstack - snapshot",nameProps="snapshot-name",uniqueProps="snapshot-id",indexedProps="application,snapshot-name,application-vendor,snapshot-id,application-version,prev-snapshot-id",dependentOn="cloud-region",container="snapshots") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Snapshot - id, this is the key UUID assoc associated in glance with the - snapshots.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Snapshot - name") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Operating - system architecture") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - common name of the operating system distribution in lowercase") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - operating system version as specified by the distributor.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - application that the image instantiates.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - vendor of the application.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - version of the application.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="URL - to endpoint where AAI can get more details") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - field contains the UUID of the previous snapshot (if any).") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of openstack snapshots") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Key/value - pairs",indexedProps="metaname",dependentOn="tenant,image,service-instance,connector,model",container="metadata") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true) - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of metadatum (key/value pairs)") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Openstack - image.",nameProps="image-name",indexedProps="application,image-name,application-vendor,image-id,application-version",dependentOn="cloud-region",container="images") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Image - id, expected to be unique across cloud region") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Image - name") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Operating - system architecture.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - common name of the operating system distribution in lowercase") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - operating system version as specified by the distributor.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - application that the image instantiates.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - vendor of the application.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - version of the application.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="URL - to endpoint where AAI can get more details") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collectio - of Openstack images.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of availability zones") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="cloud-region - designates an installation of a cloud cluster or region or - instantiation. In AT&Ts OPENECOMP cloud, this could be an LCP - or DCP. Cloud regions are uniquely identified by a composite key, - cloud-owner + cloud-region-id. The format of the cloud-owner is - vendor-cloudname and we will use OPENECOMP for AT&T's - OPENECOMP.",indexedProps="cloud-owner,cloud-region-id,cloud-type,owner-defined-type",nameProps="owner-defined-type",container="cloud-regions",namespace="cloud-infrastructure") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Identifies - the vendor and cloud name, e.g., OPENECOMP. First part of - composite key should be formatted as vendor-cloudname") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Identifier - used by the vendor for the region. Second part of composite - key") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Type - of the cloud (e.g., openstack)") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Cloud-owner - defined type indicator (e.g., DCP, LCP)") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Software - version employed at the site") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="URL - of the keystone identity service") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Zone - where the cloud is homed") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="complex - name for cloud-region instance") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(maximumDepth="0") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Network - profile populated by SDN-GP for - SNMP",indexedProps="nm-profile-name",container="network-profiles",namespace="cloud-infrastructure") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - name of network profile.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Encrypted - SNMP community string") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of network profiles") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Physical - interface (e.g., - nic)",indexedProps="interface-name,prov-status",nameProps="prov-status",dependentOn="vpls-pe,pserver,pnf",container="p-interfaces") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Name - that identifies the physical interface") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Captures - the numeric part of the speed") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Captures - the units corresponding to the speed") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Nature - of the services and connectivity on this port.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="CLEI - or other specification for p-interface hardware.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Role - specification for p-interface hardware.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Indicates - the physical properties of the interface.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Trigger - for operational monitoring of this resource by Service Assurance - systems.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of physical interfaces.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Link - aggregate - interface",indexedProps="interface-name,interface-id,interface-role",dependentOn="generic-vnf,pserver,vpe,vpls-pe,pnf",container="lag-interfaces") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Name - that identifies the link aggregate interface") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Captures - the numeric part of the speed") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Captures - the units corresponding to the speed") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="ID - of interface") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Role - assigned to this Interface, should use values as defined in - OPENECOMP Yang - models.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Trigger - for operational monitoring of this resource by Service Assurance - systems.") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of link aggregate interfaces.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Compute - host whose hostname must be unique and must exactly match what is - sent as a relationship to a - vserver.",nameProps="pserver-name2",indexedProps="hostname,in-maint,pserver-id,pserver-name2,inv-status",searchable="hostname,pserver-name2,pserver-id,ipv4-oam-address",container="pservers",namespace="cloud-infrastructure") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Value - from executing hostname on the compute node.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="PTNII - name") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Number - of cpus") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Disk - size, in GBs") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="RAM - size, in MBs") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Equipment - type. Source of truth should define valid values.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Equipment - vendor. Source of truth should define valid values.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Equipment - model. Source of truth should define valid values.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Fully-qualified - domain name") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="URL - to endpoint where AAI can get more details") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - to configure device, also used for troubleshooting and is IP - used for traps generated by device.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Serial - number, may be queried") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="IPV4 - Loopback 0 address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="IPV6 - Loopback 0 address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="IPV4 - AIM address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="IPV6 - AIM address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="IPV6 - OAM address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="CANOPI's - inventory status. Only set with values exactly as defined by - CANOPI.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="ID - of Pserver") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="internet - topology of Pserver") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="used - to indicate whether or not this object is in maintenance mode - (maintenance mode = true). This field (in conjunction with - prov-status) is used to suppress alarms and vSCL on VNFs/VMs.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="alternative - pserver name") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="purpose - of pserver") - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of compute hosts.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Virtual - organization of cloud infrastructure elements in a data center - context",nameProps="vdc-name",indexedProps="vdc-name,vdc-id",container="virtual-data-centers",namespace="cloud-infrastructure") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - ID of the vdc") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Name - of the virtual data center") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Virtual - organization of cloud infrastructure elements in a data center - context") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Namespace - for cloud infrastructure.") - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata - (nameProps="name",indexedProps="assignment-group-uuid,openecomp-uuid,name",uniqueProps="openecomp-uuid",container="license-key-resources",namespace="license-management") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true) - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of resource instances used to connect a variety of disparate - inventory - widgets",indexedProps="resource-instance-id,persona-model-id,persona-model-version,widget-model-id,widget-model-version",container="connectors",namespace="business") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - id of resource instance.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model id for this resource or service model.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model version for this resource or service model.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC data dictionary widget model. This maps directly to the - A&AI widget.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC data dictionary version of the widget model.This maps - directly to the A&AI version of the widget.") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of resource instances used to connect a variety of disparate - inventory widgets") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Represents - the specifics of a tunnel cross connect piece of a resource that - gets separately - allotted",uniqueProps="id",indexedProps="id",dependentOn="allotted-resource",container="tunnel-xconnects") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Allotted - Resource id UUID assigned to this instance.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - WAN uplink bandwidth for WAN1") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - WAN downlink bandwidth for WAN1") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - WAN uplink bandwidth for WAN2") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - WAN downlink bandwidth for WAN2") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Concurrency - value") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - object is used to store the specific tunnel cross connect aspects - of an allotted resource") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Represents - a slice or partial piece of a resource that gets separately - allotted",nameProps="description",uniqueProps="id",indexedProps="id,persona-model-id,persona-model-version",dependentOn="service-instance",container="allotted-resources") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Allotted - Resource id UUID assigned to this instance.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - descriptive information assigned to this allotted resource - instance") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Link - back to more information in the controller") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model id for this resource or service model.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model version for this resource or service model.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Concurrency - value") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - object is used to store slices of services being offered") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Instance - of a - service",indexedProps="service-instance-id,persona-model-id,persona-model-version,widget-model-id,widget-model-version,service-instance-name,service-instance-location-id",nameProps="service-instance-name",searchable="service-instance-id,service-instance-name",uniqueProps="service-instance-id",dependentOn="service-subscription",container="service-instances") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Uniquely - identifies this instance of a service") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - field will store a name assigned to the service-instance.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model id for this resource or service model.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model version for this resource or service model.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC data dictionary widget model. This maps directly to the - A&AI widget.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC data dictionary version of the widget model.This maps - directly to the A&AI version of the widget.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Indicates - the total bandwidth to be used for this service.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="indicates - the upstream bandwidth this service will use on the WAN1 port of - the physical device.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="indicates - the downstream bandwidth this service will use on the WAN1 port - of the physical device.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="indicates - the upstream bandwidth this service will use on the WAN2 port of - the physical device.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="indicates - the downstream bandwidth this service will use on the WAN2 port - of the physical device.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="URL - customers will use to access the vHN Portal.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Operational - status of the service-instance.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="An - identifier that customers assign to the location where this - service is being used.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of service instances") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Object - that group service - instances.",indexedProps="service-type",dependentOn="customer",container="service-subscriptions") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Value - defined by orchestration to identify this service across - OPENECOMP.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - property will be deleted from A&AI in the near future. Only - stop gap solution.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of objects that group service instances.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="customer - identifiers to provide linkage back to BSS - information.",nameProps="subscriber-name",indexedProps="subscriber-name,global-customer-id,subscriber-type",searchable="subscriber-name,global-customer-id",uniqueProps="global-customer-id,subscriber-name",alternateKeys1="subscriber-name",container="customers",namespace="business") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Global - customer id used across OPENECOMP to uniquely identify - customer.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Subscriber - name, an alternate way to retrieve a customer.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Subscriber - type, a way to provide VID with only the INFRA - customers.",defaultValue="CUST") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of customer identifiers to provide linkage back to BSS - information.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Namespace - for business related constructs") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Image - object that pertain to a VNF that doesn't have associated - vservers. This is a - kludge.",indexedProps="application,openecomp-uuid,application-vendor,application-version",uniqueProps="openecomp-uuid",container="vnf-images",namespace="service-design-and-creation") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - ID of this asset") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - application that the image instantiates.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - vendor of the application.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - version of the application.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="URL - to endpoint where AAI can get more details") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of image objects that pertain to a VNF that doesn't have - associated vservers. This is a kludge.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Stand-in - for service model definitions. Likely to be deprecated in favor of - models from - ASDC.",indexedProps="service-description,service-id",container="services",namespace="service-design-and-creation") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="This - gets defined by others to provide a unique ID for the service, - we accept what is sent.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Description - of the service") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="URL - to endpoint where AAI can get more details") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="service - version") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of service model definitions. Likely to be deprecated in favor of - models from ASDC.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Early - definition of server/resource pairings, likely to be replaced by - models. No new use should be made of - this.",indexedProps="service-type,vnf-type",container="service-capabilities",namespace="service-design-and-creation") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="This - gets defined by others to provide a unique ID for the service, - we accept what is sent.") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="String - capturing type of vnf, that was intended to identify the ASDC - resource. This field has been overloaded and clients should - expect changes to occur in the future to this field as ASDC - matures.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of service capabilities.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - is how we would capture constraints defining allowed sets of - elements.",uniqueProps="element-choice-set-uuid",indexedProps="element-choice-set-uuid",allowDirectRead="true",allowDirectWrite="false",container="element-choice-sets") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,autoGenerateUuid="true") - - - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - is how we would capture constraints defining allowed sets of - elements.",uniqueProps="constrained-element-set-uuid",indexedProps="constrained-element-set-uuid",allowDirectRead="true",allowDirectWrite="false",container="constrained-element-sets") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,autoGenerateUuid="true") - - - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - is how we would capture constraints defining allowed sets of - elements.",uniqueProps="model-constraint-uuid",indexedProps="model-constraint-uuid",allowDirectRead="true",allowDirectWrite="false",container="model-constraints") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,autoGenerateUuid="true") - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Defines - how other models combine to make up a higher-level - model.",uniqueProps="model-element-uuid",indexedProps="model-element-uuid",allowDirectRead="true",allowDirectWrite="false",container="model-elements") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,autoGenerateUuid="true") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Indicates - whether this element was created as part of instantiation from - this model") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="How - many of this type of element are required/allowed") - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Defines - how other models combine to make up a higher-level - model.",uniqueProps="model-element-uuid",indexedProps="model-element-uuid",allowDirectRead="true",allowDirectWrite="false",container="model-elements") - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Defines - how other models combine to make up a higher-level model") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Describes - new constraints on this model element that are not part of that - model's definition") - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Subgraph - definition provided by ASDC to describe a specific version of an - inventory asset and its connections related to ASDC - models",nameProps="model-name",indexedProps="model-version-id,model-name,model-version",uniqueProps="model-version-id",container="model-vers",namespace="service-design-and-creation") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - identifier corresponding to one version of a model in ASDC") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Name - of the model, which can change from version to version.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Version") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Description") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Subgraph - definition provided by ASDC to describe an inventory asset and its - connections related to ASDC models, independent of - version",nameProps="model-type",indexedProps="model-invariant-id,model-type",uniqueProps="model-invariant-id",container="models",namespace="service-design-and-creation") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - identifier corresponding to the main definition of a model in - ASDC") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Type - of the model, e.g., service, resource, widget, etc.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of subgraph definitions provided by ASDC to describe the inventory - assets and their connections related to ASDC models") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="TBD",uniqueProps="related-lookup-uuid",indexedProps="related-lookup-uuid",allowDirectRead="true",allowDirectWrite="false",container="related-lookups") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,autoGenerateUuid="true") - - - - - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="TBD",uniqueProps="property-constraint-uuid",indexedProps="property-constraint-uuid",allowDirectRead="true",allowDirectWrite="false",container="property-constraints") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,autoGenerateUuid="true") - - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="TBD",uniqueProps="named-query-element-uuid",indexedProps="named-query-element-uuid",allowDirectRead="true",allowDirectWrite="false",container="named-query-elements") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,autoGenerateUuid="true") - - - - - - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="TBD",nameProps="named-query-name",uniqueProps="named-query-uuid",indexedProps="named-query-uuid,named-query-name",container="named-queries",namespace="service-design-and-creation") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true) - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="TBD",nameProps="named-query-name",uniqueProps="named-query-uuid",indexedProps="named-query-uuid,named-query-name",container="named-queries",namespace="service-design-and-creation") - - - - - - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Namespace - for objects managed by ASDC") - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Logical - links generally connect l-interfaces but are used to express - logical connectivity between two - points",indexedProps="link-name,persona-model-id,persona-model-version,widget-model-id,widget-model-version,link-id,prov-status,circuit-id,purpose",uniqueProps="link-id",nameProps="prov-status,circuit-id",container="logical-links",namespace="network") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="e.g., - evc-name, or - vnf-nameA_interface-nameA_vnf-nameZ_interface-nameZ") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Type - of logical link, e.g., evc") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Captures - the numeric part of the speed") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Captures - the units corresponding to the speed") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="v4, - v6, or ds for dual stack (should be openecomp-ip-version)") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="For - example, static or BGP") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model id for this resource or service model.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model version for this resource or service model.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC data dictionary widget model. This maps directly to the - A&AI widget.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC data dictionary version of the widget model.This maps - directly to the A&AI version of the widget.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Indication - of operational status of the logical link.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Trigger - for operational monitoring of this VNF by BAU Service Assurance - systems.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Indication - of the network use of the logical link.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Alias - or alternate name (CLCI or D1 name).") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="UUID - of the logical-link, SDNC generates this.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Circuit - id") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Reason - for this entity, role it is playing") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of logical connections") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(indexedProps="cos",dependentOn="site-pair",container="classes-of-service") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="unique - identifier of probe") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="identifier - of probe") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="type - of probe") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="class-of-service - of probe") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(indexedProps="site-pair-id",uniqueProps="site-pair-id",dependentOn="routing-instance",container="site-pairs") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="unique - identifier of probe") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Prefix - address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Prefix - address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="ip - version, v4, v6") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Hostname - of the destination equipment to which SLAs are measured - against.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - type of destinatination equipment. Could be Router, UCPE, etc.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="probe - within a set") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(indexedProps="routing-instance-id",uniqueProps="routing-instance-id",dependentOn="site-pair-set",container="routing-instances") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - id of routing instance") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="rpm - owner") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="set - of probes related to generic-vnf routing instance") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Set - of instances for probes used to measure service level - agreements",indexedProps="site-pair-set-id",uniqueProps="site-pair-set-id",container="site-pair-sets",namespace="network") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - id of site pair set.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of sets of instances for probes related to generic-vnf") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="VPN - binding",nameProps="vpn-name,vpn-type",indexedProps="vpn-name,vpn-id,global-route-target,vpn-type",searchable="vpn-name",uniqueProps="vpn-id",container="vpn-bindings",namespace="network") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="VPN - ID, globally unique within A&AI") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="VPN - Name") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Number - used to identify a VPN, globally unique in the network") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - platform associated with the VPN example AVPN, Mobility") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Type - of the vpn, should be taken from enumerated/valid values") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - to distinguish the distinct VPN routes of separate customers who - connect to the provider in an MPLS network.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Role - assigned to this route target") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="l3-networks - relate to vpn-bindings") - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="VPLS - Provider Edge - routers.",indexedProps="prov-status,equipment-name",container="vpls-pes",namespace="network") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true) - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Trigger - for operational monitoring of this VNF by BAU Service Assurance - systems.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Address - tail-f uses to configure vpe, also used for troubleshooting and - is IP used for traps generated by VPE - (v4-loopback0-ip-address).") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Client - should send valid enumerated value, e.g., VPLS-PE.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Temporary - location for stag to get to VCE") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of VPLS Provider Edge routers") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(indexedProps="multicast-configuration-id",uniqueProps="multicast-configuration-id",container="multicast-configurations",namespace="network") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - id of multicast configuration.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="protocol - of multicast configuration") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="rp - type of multicast configuration") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="multicast - configuration of generic-vnf ip-address") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(dependentOn="port-group",indexedProps="cvlan-tag",container="cvlan-tags") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="See - mis-na-virtualization-platform.yang") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - to capture the network interfaces of this - VCE",nameProps="port-group-name",indexedProps="port-group-id,heat-stack-id,interface-id,interface-name,switch-name",dependentOn="vce",container="port-groups") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - ID of the interface") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Neutron - network id of this Interface") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Neutron - network name of this Interface") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Role - assigned to this Interface, should use values as defined in - OPENECOMP Yang models.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Unique - ID for port group in vmware") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Likely - to duplicate value of neutron network name") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="DVS - or standard switch name (should be non-null for port groups - associated with DVS)") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Orchestration - status of this VNF, mastered by MSO") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Heat - stack id corresponding to this instance, managed by MSO") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Corresponds - to the SDN-C catalog id used to configure this VCE") - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Metadata - for license - group.",indexedProps="group-uuid,resource-uuid",dependentOn="generic-vnf,vce,vpe",container="licenses") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - ID for the license group the resource belongs to, should be - uuid.") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - ID of a license resource. ") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Concurrency - value") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Licenses - to be allocated across resources, keyed by group-uuid and - resource-uuid, related to license management") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Metadata - for entitlement - group.",indexedProps="group-uuid,resource-uuid",dependentOn="generic-vnf,vce,vpe",container="entitlements") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - ID for the entitlement group the resource comes from, should be - uuid.") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - ID of an entitlement resource. ") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Concurrency - value") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Entitlements, - keyed by group-uuid and resource-uuid, related to license - management") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Virtual - Customer Edge Router, used specifically for Gamma. This object is - deprecated.",nameProps="vnf-name",indexedProps="vnf-name,vnf-name2,vnf-type,heat-stack-id,vnf-id,interface-name,regional-resource-zone,vpe-id,prov-status,service-id",searchable="vnf-id,vnf-name,vnf-name2",uniqueProps="vnf-id",container="vces",namespace="network",extendsFrom="vnf") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - id of VNF. This is unique across the graph.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Name - of VNF.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Alternate - name of VNF.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="String - capturing type of vnf, that was intended to identify the ASDC - resource. This field has been overloaded and clients should - expect changes to occur in the future to this field as ASDC - matures.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Unique - identifier of service from ASDC. Expect this to change as ASDC - matures.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Regional - way of organizing pservers, source of truth should define - values") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Trigger - for operational monitoring of this resource by Service Assurance - systems.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Indicator - for whether the resource is considered operational") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="License - key") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Network - role being played by this VNF") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Orchestration - status of this VNF, mastered by MSO") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Heat - stack id corresponding to this instance, managed by MSO") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Corresponds - to the SDN-C catalog id used to configure this VCE") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Unique - ID of VPE connected to this VCE.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Valid - v6 IP address for the WAN Link on this router. Implied length of - /64.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Address - tail-f uses to configure vce, also used for troubleshooting and - is IP used for traps generated by VCE.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Loopback0 - address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Entitlement - resource uuid") - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of Virtual Customer Edge Routers, used specifically for Gamma. - This object is deprecated.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Relationship-list - must include related to info for - complex.",nameProps="vnf-name",indexedProps="vnf-name,vnf-name2,vnf-type,heat-stack-id,vnf-id,regional-resource-zone,prov-status,service-id",searchable="vnf-id,vnf-name,vnf-name2",uniqueProps="vnf-id",container="vpes",namespace="network",extendsFrom="vnf") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - id of VNF. This is unique across the graph.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Name - of VNF.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Alternate - name of VNF.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="String - capturing type of vnf, that was intended to identify the ASDC - resource. This field has been overloaded and clients should - expect changes to occur in the future to this field as ASDC - matures.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Unique - identifier of service from ASDC") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Regional - way of organizing pservers, source of truth should define - values") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Trigger - for operational monitoring of this resource by Service Assurance - systems.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Indicator - for whether the resource is considered operational") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="License - key") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Client - should send valid enumerated value") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Orchestration - status of this VNF, mastered by MSO") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Heat - stack id corresponding to this instance, managed by MSO") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Corresponds - to the SDN-C catalog id used to configure this VCE") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Address - tail-f uses to configure vpe, also used for troubleshooting and - is IP used for traps generated by VPE - (v4-loopback0-ip-address).") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Prefix - length for oam-address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Gateway - address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Loopback0 - address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Temporary - location for stag to get to VCE") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="as-number - of the VPE") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="details - regarding the vpe operation") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="indicates - whether vpe access uses SSH") - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Virtual - provider edge router. In 1504, A&AI will populate this object - through an M&P and tool provided to operations.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(indexedProps="vnfc-name,prov-status,vnfc-type,vnfc-function-code,ipaddress-v4-oam-vip,in-maint,is-closed-loop-disabled,group-notation",searchable="vnfc-name",container="vnfcs",namespace="network") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - ID of vnfc.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="function - code") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="type") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="prov - status of this vnfc") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Orchestration - status of this VNF, mastered by APP-C") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Oam - V4 vip address of this vnfc") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="used - to indicate whether or not this object is in maintenance mode - (maintenance mode = true)") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="used - to indicate whether closed loop function is enabled on this - node") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Group - notation of VNFC") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="virtual - network components associated with a vserver from application - controller.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(indexedProps="subnet-id,subnet-name",nameProps="subnet-name",uniqueProps="subnet-id",dependentOn="l3-network",container="subnets") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Subnet - ID, should be UUID.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Name - associated with the subnet.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Neutron - id of this subnet") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="gateway - ip address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="network - start address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="cidr - mask") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="ip - version") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Orchestration - status of this VNF, mastered by MSO") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="dhcp - enabled") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - start address reserved for use by dhcp") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - last address reserved for use by dhcp") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(indexedProps="vlan-id-inner",dependentOn="l3-network",container="ctag-assignments") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="id.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Openstack - segmentation - assignment.",indexedProps="segmentation-id",dependentOn="l3-network",container="segmentation-assignments") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Route - Table Reference id, UUID assigned to this instance.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Concurrency - value") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of openstack segmentation assignments") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Generic - network - definition",nameProps="network-name",indexedProps="heat-stack-id,network-uuid,service-id,network-id,network-name,persona-model-id,persona-model-version,widget-model-id,widget-model-version,contrail-network-fqdn,network-role",searchable="network-name",uniqueProps="network-id",container="l3-networks",namespace="network") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Network - ID, should be uuid. Unique across A&AI.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Name - of the network, governed by some naming convention..") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Type - of the network - who defines these values?") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Role - the network plans - who defines these values?") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Network - technology - who defines these values?") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Neutron - network id of this Interface") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="Set - to true if bound to VPN") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Unique - identifier of service from ASDC") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="network - role instance") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Orchestration - status of this VNF, mastered by MSO") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Heat - stack id corresponding to this instance, managed by MSO") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Corresponds - to the SDN-C catalog id used to configure this VCE") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Contrail - FQDN for the network") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model id for this resource or service model.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model version for this resource or service model.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="captures - the id of all the configuration used to customize the resource - for the service.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC data dictionary widget model. This maps directly to the - A&AI widget.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC data dictionary version of the widget model.This maps - directly to the A&AI version of the widget.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Name - associated with the physical network.") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="boolean - indicatating whether or not network is a provider network.") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="boolean - indicatating whether or not network is a shared network.") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="boolean - indicatating whether or not network is an external network.") - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Relates - to tenant (or is it a child of tenant), complex, service, - vpn-binding") - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(nameProps="network-policy-fqdn",indexedProps="network-policy-id,network-policy-fqdn",searchable="network-policy-fqdn",uniqueProps="network-policy-id",container="network-policies",namespace="network") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="UUID - representing unique key to this instance") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Contrail - FQDN for the policy") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="ID - for the openStack Heat instance") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="a - deployment unit of - VNFCs",indexedProps="vf-module-id,vf-module-name,heat-stack-id,persona-model-id,persona-model-version,widget-model-id,widget-model-version,contrail-service-instance-fqdn",searchable="vf-module-name",dependentOn="generic-vnf",container="vf-modules") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - ID of vf-module.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Name - of vf-module") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Heat - stack id corresponding to this instance.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="orchestration - status of this vf-module, mastered by MSO") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="used - to indicate whether or not this object is base vf module") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model id for this resource or service model.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model version for this resource or service model.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="captures - the id of all the configuration used to customize the resource - for the service.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC data dictionary widget model. This maps directly to the - A&AI widget.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC data dictionary version of the widget model.This maps - directly to the A&AI version of the widget.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - Contrail unique ID for a service-instance") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of vf-modules, a deployment unit of VNFCs") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="General - purpose - VNF",nameProps="vnf-name",indexedProps="is-closed-loop-disabled,vnf-name2,vnf-type,heat-stack-id,in-maint,vnf-name,vnf-id,regional-resource-zone,prov-status,service-id,persona-model-id,persona-model-version,widget-model-id,widget-model-version",searchable="vnf-id,vnf-name,vnf-name2",uniqueProps="vnf-id",container="generic-vnfs",namespace="network",extendsFrom="vnf") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - id of VNF. This is unique across the graph.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Name - of VNF.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Alternate - name of VNF.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="String - capturing type of vnf, that was intended to identify the ASDC - resource. This field has been overloaded and clients should - expect changes to occur in the future to this field as ASDC - matures.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Unique - identifier of service from ASDC") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Regional - way of organizing pservers, source of truth should define - values") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Trigger - for operational monitoring of this resource by Service Assurance - systems.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Indicator - for whether the resource is considered operational") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="License - key") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Client - should send valid enumerated value") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Orchestration - status of this VNF, used by MSO.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Heat - stack id corresponding to this instance, managed by MSO") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Corresponds - to the SDN-C catalog id used to configure this VCE") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="identifier - of managed by OPENECOMP or customer") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Address - tail-f uses to configure generic-vnf, also used for - troubleshooting and is IP used for traps generated by - generic-vnf.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="v4 - Loopback0 address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="v6 - Loopback address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="v6 - management address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="number - of vcpus ordered for this instance of VNF, used for VNFs with no - vservers/flavors") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="units - associated with vcpu, used for VNFs with no vservers/flavors") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="number - of GB of memory ordered for this instance of VNF, used for VNFs - with no vservers/flavors") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="units - associated with vmemory, used for VNFs with no - vservers/flavors") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="number - of vdisks ordered for this instance of VNF, used for VNFs with - no vservers/flavors") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="units - associated with vdisk, used for VNFs with no vservers/flavors") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="used - to indicate whether or not this object is in maintenance mode - (maintenance mode = true). This field (in conjunction with - prov-status) is used to suppress alarms and vSCL on VNFs/VMs.") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="used - to indicate whether closed loop function is enabled on this - node") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="details - regarding the generic-vnf operation") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="indicates - whether generic-vnf access uses SSH") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="UUID - of the Entitlement group used for licensing VNFs") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="UUID - of the specific entitlement resource") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="UUID - of the license assignment group") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="UUID - of the actual license resource") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model id for this resource or service model.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model version for this resource or service model.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="captures - the id of all the configuration used to customize the resource - for the service.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC data dictionary widget model. This maps directly to the - A&AI widget.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC data dictionary version of the widget model.This maps - directly to the A&AI version of the widget.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="as-number - of the VNF") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="represents - sub zone of the rr plane") - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of VNFs") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="LAG - links can connect - lag-interfaces",indexedProps="link-name",container="lag-links",namespace="network") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Alphabetical - concatenation of lag-interface names") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of link aggregation connections") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - object fills in the gaps from vce that were incorporated into - generic-vnf. This object will be retired with - vce.",nameProps="vnf-name",indexedProps="vnf-name,vnf-name2,vnf-type,heat-stack-id,prov-status,vnf-id2",searchable="vnf-id2,vnf-name,vnf-name2",uniqueProps="vnf-id2",container="newvces",namespace="network") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - id of VNF, can't use same attribute name right now until we - promote this new object") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Name - of VNF.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Alternate - name of VNF.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="String - capturing type of vnf, that was intended to identify the ASDC - resource. This field has been overloaded and clients should - expect changes to occur in the future to this field as ASDC - matures.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Trigger - for operational monitoring of this VNF by BAU Service Assurance - systems.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Indicator - for whether the resource is considered operational") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="License - key") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Address - tail-f uses to configure vpe, also used for troubleshooting and - is IP used for traps generated by VPE - (v4-loopback0-ip-address).") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Client - should send valid enumerated value, e.g., VPE.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="v4 - Loopback0 address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Orchestration - status of this VNF, mastered by MSO.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Heat - stack id corresponding to this instance, managed by MSO") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Corresponds - to the SDN-C catalog id used to configure this VCE") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - object fills in the gaps from vce that were incorporated into - generic-vnf. This object will be retired with vce.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="PNF - represents a physical network function. typically equipment used - in the D1 world. in 1607, this will be populated by SDN-C to - represent a premises router that a uCPE connects to. But this can - be used to represent any physical device that is not an OPENECOMP - node or - uCPE.",indexedProps="pnf-name,orchestration-status,inv-status",searchable="pnf-name",uniqueProps="pnf-name",container="pnfs",namespace="network") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="unique - name of Physical Network Function.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="name - of Physical Network Function.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="source - of name2") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="id - of pnf") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Equipment - type. Source of truth should define valid values.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Equipment - vendor. Source of truth should define valid values.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Equipment - model. Source of truth should define valid values.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="identifier - of managed by OPENECOMP or customer") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="ipv4-oam-address - with new naming convention for IP addresses") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="sw-version - is the version of SW for the hosted application on the PNF.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="orchestration-status - is the status of orchestration on the PNF.") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="Used - to indicate whether or not this object is in maintenance mode - (maintenance mode = true). This field (in conjunction with - prov-status) is used to suppress alarms and vSCL on VNFs/VMs.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="ID - of the physical frame (relay rack) where pnf is installed.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Serial - number of the device") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="IPV4 - Loopback 0 address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="IPV6 - Loopback 0 address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="IPV4 - AIM address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="IPV6 - AIM address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="IPV6 - OAM address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="CANOPI's - inventory status. Only set with values exactly as defined by - CANOPI.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of Physical Network Functions.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of physical connections, typically between - p-interfaces",indexedProps="circuit-id,link-name",alternateKeys1="circuit-id",container="physical-links",namespace="network") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="e.g., - hostnameA_p-connection_nameA_hostnameZ+p_connection-nameZ") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Captures - the numeric part of the speed") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Captures - the units corresponding to the speed") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Circuit - it") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Dual - access mode (e.g., primary, secondary") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="To - provide information on who manages this circuit. A&AI or 3rd - party transport provider") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Name - of the service Provider on this link.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of physical connections, typically between p-interfaces") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="vig-server - contains information about a vig server used for - IPSec-configuration. Populated by SDN-C from - 1607",indexedProps="vig-address-type",dependentOn="ipsec-configuration",container="vig-servers") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="indicates - whether the VIG is for AVPN or INTERNET") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="v4 - IP of the vig server") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="v6 - IP of the vig server") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="IPSec - configuration node will contain various configuration data for the - NMTE VNF. This node will have an edge to the generic-vnf (vnf type - = TE). Starting 1607, this data will be populated by - SDN-C",indexedProps="ipsec-configuration-id",uniqueProps="ipsec-configuration-id",container="ipsec-configurations",namespace="network") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="UUID - of this configuration") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Indicate - the type of VIG server like AVPN, INTERNET, BOTH") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Encryption - values like 3des-cbc, des-cbc, aes-128-cbc, aes-192-cbc, - aes-265-cbc") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="OPENECOMP - can offer a shared DMZ or a DMZ specific to a customer") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Network - address of shared DMZ") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="If - the DMZ is a custom DMZ, this field will indicate the customer - information") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="can - be 1 or 2") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Contains - values like md5, sha1, sha256, sha384") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Encyption - values like 3des-cbc, des-cbc, aes-128-cbc, aes-192-cbc, - aes-265-cbc") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Diffie-Hellman - group like DH-GROUP2, DH-GROUP5, DH-GROUP14") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Group - name defined in VIG for clients using aggressive mode") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="pre-shared - key for the above group name ") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Lifetime - for IKEv1 SA") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="md5, - sha1, sha256, sha384") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="3des-cbc, - des-cbc, aes-128-cbc, aes-192-cbc, aes-265-cbc") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Life - time for IPSec SA") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="enable - PFS or not") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="user - ID for xAuth, sm-user,ucpeHostName,nmteHostName") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Encrypted - using the Juniper $9$ algorithm") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - time between DPD probe") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Maximum - number of DPD before claiming the tunnel is down") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Openstack - route table - reference.",nameProps="route-table-reference-fqdn",uniqueProps="route-table-reference-id",indexedProps="route-table-reference-id,route-table-reference-fqdn",container="route-table-references",namespace="network") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Route - Table Reference id, UUID assigned to this instance.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="FQDN - entry in the route table.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Concurrency - value") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of openstack route table references") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="General - mechanism for grouping - instances",nameProps="description",uniqueProps="id",indexedProps="id,description,type,sub-type",container="instance-groups",namespace="network") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Instance - Group ID, UUID assigned to this instance.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Descriptive - text to help identify the usage of this instance-group") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Only - valid value today is lower case ha for high availability") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Valid - values for ha type are [geo-activeactive, geo-activestandby, - local-activeactive, local-activestandby]") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Concurrency - value") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of openstack route table references") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Namespace - for network inventory resources.") - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Internal - map to define some reserved properties of a - vertex",uniqueProps="aai-unique-key",indexedProps="aai-unique-key,source-of-truth,aai-node-type") - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Internal - map to define the properties of an edge and interpret the map - EdgeRules",edgeInfo="edgeLabel,direction,multiplicityRule,isParent,usesResource,hasDelTarget,SVC-INFRA,SVC-INFRA-REV") - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="QueryParameters - for performing a named-query or model query") - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="InstanceFilters - for performing a named-query or model query") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="ModelAndNamedQuerySearch - holds query-parameters and instance-properties for performing a - named-query or model query") - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Property - holder for query properties or instance properties") - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Inventory - item for response list",container="inventory-response-items") - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Container - for inventory items in response list",container="response-list") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Response - container for the results of a named-query or model query") - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Abstract - vnf - class",indexedProps="vnf-id",uniqueProps="vnf-id",inheritors="vce,vpe,generic-vnf",isAbstract="true") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - id of VNF. This is unique across the graph.") - - - - - - - diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/resources/aai_schema_v11.xsd b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/resources/aai_schema_v11.xsd deleted file mode 100644 index 4ce1297629..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/resources/aai_schema_v11.xsd +++ /dev/null @@ -1,8486 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - specific type of node in the A&AI graph") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - URL to the specific resource") - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="A - keyword provided by A&AI to indicate an attribute.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Value - of the attribute.") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Key - part of a key/value pair") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Value - part of a key/value pair") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="A - keyword provided by A&AI to indicate type of node.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="URL - to the object in A&AI.") - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="OAM - network, to be deprecated shortly. Do not use for new purposes. - ",nameProps="network-name",indexedProps="cvlan-tag,network-uuid,network-name",dependentOn="cloud-region",container="oam-networks") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="UUID - of the network. Unique across a cloud-region") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Name - of the network.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="cvlan-id") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for VNF firewall rule so customer cannot send customer traffic - over this oam network") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for VNF firewall rule so customer cannot send customer traffic - over this oam network") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of OAM networks, to be deprecated shortly. Do not use for new - purposes. ") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Digital - virtual switch metadata, used by SDN-C to configure VCEs. A&AI - needs to receive this data from the PO deployment team and - administer it using the provisioningTool.sh into A&AI. - ",indexedProps="vcenter-url,switch-name",dependentOn="cloud-region",container="dvs-switches") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="DVS - switch name") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="URL - used to reach the vcenter") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of digital virtual switch metadata used for vmWare VCEs and - GenericVnfs.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Availability - zone, a collection of compute - hosts/pservers",indexedProps="availability-zone-name",dependentOn="cloud-region",container="availability-zones") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Name - of the availability zone. Unique across a cloud region") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Type - of hypervisor. Source of truth should define valid values.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="State - that indicates whether the availability zone should be used, - etc. Source of truth should define valid values.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Serves - a PATCH like function. Does not enforce concurrency control. Clear - each usage with AAI team.") - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="APIs - that are more action related than REST (e.g., notify, update).") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="A - collection of C tags (vlan tags) grouped for a specific - purpose.",indexedProps="availability-zone-name",dependentOn="complex",container="ctag-pools") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="The - Target provider edge router") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Name - of the availability zone") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Describes - what the intended purpose of this pool is.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Comma - separated list of ctags") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of physical locations that can house - cloud-regions.",indexedProps="identity-url,data-center-code,complex-name,physical-location-id",searchable="physical-location-id,data-center-code,complex-name,street1,street2,postal-code",uniqueProps="physical-location-id",container="complexes",namespace="cloud-infrastructure") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - identifier for physical location, e.g., CLLI") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Data - center code which can be an alternate way to identify a - complex") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Gamma - complex name for LCP instance.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="URL - of the keystone identity service") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Type, - e.g., central office, data center.") - - - - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of physical locations that can house cloud-regions.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Persistent - block-level - storage.",indexedProps="volume-group-name,vnf-type,heat-stack-id,volume-group-id",searchable="volume-group-id,volume-group-name",dependentOn="cloud-region",container="volume-groups") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - ID of volume-group.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Name - of the volume group.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Heat - stack id corresponding to this volume-group") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="String - capturing type of vnf, that was intended to identify the ASDC - resource. This field has been overloaded in service-specific - ways and clients should expect changes to occur in the future to - this field as ECOMP matures.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Orchestration - status of this volume-group") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="captures - the id of all the configuration used to customize the resource - for the service.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="helps - relate the volume group to the vf-module whose components will - require the volume group") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of persistent block-level storage.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Ephemeral - Block storage - volume.",indexedProps="volume-id",dependentOn="vserver",container="volumes") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - ID of block storage volume relative to the vserver.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="URL - to endpoint where AAI can get more details") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of ephemeral Block storage volumes.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="IPv4 - Address - Range",indexedProps="l3-interface-ipv4-address,vlan-id-inner,neutron-network-id,neutron-subnet-id",dependentOn="vlan,l-interface") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="IP - address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Prefix - length, 32 for single address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Inner - VLAN tag") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Outer - VLAN tag") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Indicator - of fixed or floating address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Neutron - network id of the interface that address belongs to") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Neutron - id of subnet that address belongs to") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="IPv6 - Address - Range",indexedProps="l3-interface-ipv6-address,vlan-id-inner,neutron-network-id,neutron-subnet-id",dependentOn="vlan,l-interface") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="IP - address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Prefix - length, 128 for single address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Inner - VLAN tag") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Outer - VLAN tag") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Indicator - of fixed or floating address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Neutron - network id of the interface that address belongs to") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Neutron - id of subnet that address belongs to") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Definition - of - vlan",indexedProps="vlan-interface,vlan-id-inner,vpn-key",dependentOn="l-interface",container="vlans") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="String - that identifies the interface") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Inner - VLAN tag") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Outer - VLAN tag") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Captures - the numeric part of the speed") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Captures - the units corresponding to the speed") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - to describe (the service associated with) the vlan") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Whether - customer is going to use this VLAN for backdoor connection to - another customer premise device.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - indicates the customers VPN ID associated with this vlan") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Status - of a vnf's vlan interface, on which the customer circuit - resides, mastered by SDN-C.") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="used - to indicate whether or not this object is in maintenance mode - (maintenance mode = true)") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Prov - Status of the VLAN configuration related to a logical interface. - Valid values [PREPROV/NVTPROV/PROV].") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="Flag - indicating the interface uses the IP Unnumbered configuration.") - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="SR-IOV - Virtual Function (not to be confused with virtual network - function)",indexedProps="pci-id,vf-vlan-filter,vf-mac-filter,vf-vlan-strip,neutron-network-id",dependentOn="l-interface",container="sriov-vfs") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="PCI - ID used to identify the sriov-vf") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - metadata provides option to specify list of VLAN filters applied - on VF to pass the traffic to VM.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="When - MAC filters are specified, VF-agent service configures VFs to do - MAC level filtering before the traffic is passed to VM.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="When - this field is set to true, VF will configured to strip the outer - TAG before the traffic is passed to VM.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - option ensures anti VLAN spoof checks are done at the VF level - to comply with security. The disable check will also be honored - per the VNF needs for trusted VMs.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - option ensures anti MAC spoof checks are done at the VF level to - comply with security. The disable check will also be honored per - the VNF needs for trusted VMs.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - option defines the set of Mirror objects which essentially - mirrors the traffic from source to set of collector VNF Ports.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - option, if set to true, sets the VF in promiscuous mode and - allows all broadcast traffic to reach the VM") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - option, if set to true, sets the VF in promiscuous mode and - allows unknown multicast traffic to reach the VM") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - option, if set to true, sets the VF in promiscuous mode and - allows unknown unicast traffic to reach the VM") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - option, if set to true, instructs to insert outer tag after - traffic comes out of VM.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - option is used to set the link status. Valid values as of 1607 - are on, off, and auto.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Neutron - network id of the interface") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of SR-IOV Virtual Functions.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Logical - interfaces, e.g., a - vnic.",indexedProps="macaddr,interface-id,interface-name,network-name",dependentOn="generic-vnf,newvce,p-interface,vserver,lag-interface",container="l-interfaces") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Name - given to the interface") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="E.g., - CUSTOMER, UPLINK, etc.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Questionably - placed - v6 ip addr of this interface (is in vr-lan-interface - from Mary B.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="URL - to endpoint where AAI can get more details") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="ID - of interface") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="MAC - address for the interface") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Name - of the network") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Whether - A&AI should be managing this interface of not. Could have - value like CUSTOMER") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Human - friendly text regarding this interface.") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="boolean - indicatating whether or not port is a mirrored.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="used - to indicate whether or not this object is in maintenance mode - (maintenance mode = true)") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Prov - Status of the logical interface. Valid values - [PREPROV/NVTPROV/PROV].") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="Flag - indicating the interface uses the IP Unnumbered configuration.") - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of logical interfaces.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Virtual - Servers, aka virtual machine or - VM.",nameProps="vserver-name",indexedProps="is-closed-loop-disabled,prov-status,vserver-name,vserver-id,in-maint,vserver-name2",searchable="vserver-id,vserver-name,vserver-name2",dependentOn="tenant",container="vservers") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - identifier for this vserver relative to its tenant") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Name - of vserver") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Alternative - name of vserver") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Trigger - for operational monitoring of this resource by Service Assurance - systems.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="URL - to endpoint where AAI can get more details") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="Used - to indicate whether or not this object is in maintenance mode - (maintenance mode = true). This field (in conjunction with - prov-status) is used to suppress alarms and vSCL on VNFs/VMs.") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="Used - to indicate whether closed loop function is enabled on this - node") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of virtual Servers, aka virtual machines or VMs.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Openstack - tenant",nameProps="tenant-name",indexedProps="tenant-name,tenant-id,tenant-context",searchable="tenant-id,tenant-name",dependentOn="cloud-region",container="tenants") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - id relative to the cloud-region.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Readable - name of tenant") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - field will store the tenant context.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of openstack tenants.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Openstack - flavor.",nameProps="flavor-name",indexedProps="flavor-name,flavor-id",dependentOn="cloud-region",container="flavors") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Flavor - id, expected to be unique across cloud-region.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Flavor - name") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Number - of CPUs") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Amount - of memory") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Disk - space") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Amount - of ephemeral disk space") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="amount - of swap space allocation") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="whether - flavor is available to all users or private to the tenant it was - created in.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="URL - to endpoint where AAI can get more details") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Boolean - as to whether this flavor is no longer enabled") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of openstack flavors.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Openstack - group-assignment used to store exclusivity groups - (EG).",nameProps="group-name",indexedProps="group-id,group-type,group-name",searchable="group-id,group-name",dependentOn="cloud-region",container="group-assignments") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Group - id, expected to be unique across cloud-region.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Group - type - the type of group this instance refers to") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Group - name - name assigned to the group") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Group - description - description of the group") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of openstack group assignments") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Openstack - snapshot",nameProps="snapshot-name",uniqueProps="snapshot-id",indexedProps="application,snapshot-name,application-vendor,snapshot-id,application-version,prev-snapshot-id",dependentOn="cloud-region",container="snapshots") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Snapshot - id, this is the key UUID assoc associated in glance with the - snapshots.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Snapshot - name") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Operating - system architecture") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - common name of the operating system distribution in lowercase") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - operating system version as specified by the distributor.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - application that the image instantiates.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - vendor of the application.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - version of the application.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="URL - to endpoint where AAI can get more details") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - field contains the UUID of the previous snapshot (if any).") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of openstack snapshots") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Key/value - pairs",indexedProps="metaname",dependentOn="tenant,image,service-instance,connector,model",container="metadata") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true) - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of metadatum (key/value pairs)") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Openstack - image.",nameProps="image-name",indexedProps="application,image-name,application-vendor,image-id,application-version",dependentOn="cloud-region",container="images") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Image - id, expected to be unique across cloud region") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Image - name") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Operating - system architecture.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - common name of the operating system distribution in lowercase") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - operating system version as specified by the distributor.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - application that the image instantiates.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - vendor of the application.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - version of the application.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="URL - to endpoint where AAI can get more details") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collectio - of Openstack images.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of availability zones") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="cloud-region - designates an installation of a cloud cluster or region or - instantiation. In AT&Ts AIC cloud, this could be an LCP or - DCP. Cloud regions are uniquely identified by a composite key, - cloud-owner + cloud-region-id. The format of the cloud-owner is - vendor-cloudname and we will use att-aic for AT&T's - AIC.",indexedProps="cloud-owner,cloud-region-id,cloud-type,owner-defined-type",nameProps="owner-defined-type",container="cloud-regions",namespace="cloud-infrastructure") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Identifies - the vendor and cloud name, e.g., att-aic. First part of - composite key should be formatted as vendor-cloudname") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Identifier - used by the vendor for the region. Second part of composite - key") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Type - of the cloud (e.g., openstack)") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Cloud-owner - defined type indicator (e.g., dcp, lcp)") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Software - version employed at the site. NOTE - THIS FIELD IS NOT KEPT UP - TO DATE.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="URL - of the keystone identity service") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Zone - where the cloud is homed. NOTE - THIS FIELD IS NOT CORRECTLY - POPULATED.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="complex - name for cloud-region instance. NOTE - THIS FIELD IS NOT - CORRECTLY POPULATED.") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="Whether - the cloud region supports (true) or does not support (false) - SR-IOV automation.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(maximumDepth="0") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Network - profile populated by SDN-GP for - SNMP",indexedProps="nm-profile-name",container="network-profiles",namespace="cloud-infrastructure") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - name of network profile.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Encrypted - SNMP community string") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of network profiles") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="SR-IOV - Physical - Function",indexedProps="pf-pci-id",dependentOn="p-interface",container="sriov-pfs") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Identifier - for the sriov-pf") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of SR-IOV Physical Functions.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Physical - interface (e.g., - nic)",indexedProps="interface-name,prov-status",nameProps="prov-status",dependentOn="vpls-pe,pserver,pnf",container="p-interfaces") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Name - that identifies the physical interface") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Captures - the numeric part of the speed") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Captures - the units corresponding to the speed") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Nature - of the services and connectivity on this port.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="CLEI - or other specification for p-interface hardware.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Role - specification for p-interface hardware.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Indicates - the physical properties of the interface.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Trigger - for operational monitoring of this resource by Service Assurance - systems.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="used - to indicate whether or not this object is in maintenance mode - (maintenance mode = true)") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="inventory - status") - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of physical interfaces.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Link - aggregate - interface",indexedProps="interface-name,interface-id,interface-role",dependentOn="generic-vnf,pserver,vpls-pe,pnf",container="lag-interfaces") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Name - that identifies the link aggregate interface") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Human - friendly text regarding this interface.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Captures - the numeric part of the speed") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Captures - the units corresponding to the speed") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="ID - of interface") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Role - assigned to this Interface, should use values as defined in - ECOMP Yang models.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Trigger - for operational monitoring of this resource by Service Assurance - systems.") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="used - to indicate whether or not this object is in maintenance mode - (maintenance mode = true)") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of link aggregate interfaces.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Compute - host whose hostname must be unique and must exactly match what is - sent as a relationship to a - vserver.",nameProps="pserver-name2",indexedProps="hostname,in-maint,pserver-id,pserver-name2,inv-status",searchable="hostname,pserver-name2,pserver-id,ipv4-oam-address",container="pservers",namespace="cloud-infrastructure") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Value - from executing hostname on the compute node.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="PTNII - name") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Number - of cpus") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Disk - size, in GBs") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="RAM - size, in MBs") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Equipment - type. Source of truth should define valid values.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Equipment - vendor. Source of truth should define valid values.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Equipment - model. Source of truth should define valid values.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Fully-qualified - domain name") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="URL - to endpoint where AAI can get more details") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - to configure device, also used for troubleshooting and is IP - used for traps generated by device.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Serial - number, may be queried") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="IPV4 - Loopback 0 address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="IPV6 - Loopback 0 address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="IPV4 - AIM address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="IPV6 - AIM address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="IPV6 - OAM address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="CANOPI's - inventory status. Only set with values exactly as defined by - CANOPI.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="ID - of Pserver") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="internet - topology of Pserver") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="used - to indicate whether or not this object is in maintenance mode - (maintenance mode = true). This field (in conjunction with - prov-status) is used to suppress alarms and vSCL on VNFs/VMs.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="alternative - pserver name") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="purpose - of pserver") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Prov - Status of this device (not under canopi control) Valid values - [PREPROV/NVTPROV/PROV]") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Indicates - who owns and or manages the device.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - host profile that defines the configuration of the pserver.") - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of compute hosts.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Virtual - organization of cloud infrastructure elements in a data center - context",nameProps="vdc-name",indexedProps="vdc-name,vdc-id",container="virtual-data-centers",namespace="cloud-infrastructure") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - ID of the vdc") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Name - of the virtual data center") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Virtual - organization of cloud infrastructure elements in a data center - context") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Namespace - for cloud infrastructure.") - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="OBSOLETE - OBJECT: do not - use",nameProps="name",indexedProps="assignment-group-uuid,att-uuid,name",uniqueProps="att-uuid",container="license-key-resources",namespace="license-management") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true) - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of resource instances used to connect a variety of disparate - inventory - widgets",indexedProps="resource-instance-id,model-invariant-id,model-version-id,widget-model-id,widget-model-version",container="connectors",namespace="business") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - id of resource instance.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model id for this resource or service - model.",visibility="deployment",requires="model-version-id",dbAlias="model-invariant-id-local") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model version for this resource or service - model.",visibility="deployment",requires="model-invariant-id",dbAlias="model-version-id-local") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model version for this resource or service - model.",visibility="internal",dataCopy="service-design-and-creation/models/model/{model-invariant-id}/model-vers/model-ver/{model-version-id}#model-version") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC data dictionary widget model. This maps directly to the - A&AI widget.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC data dictionary version of the widget model.This maps - directly to the A&AI version of the widget.") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of resource instances used to connect a variety of disparate - inventory widgets") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Represents - the specifics of a tunnel cross connect piece of a resource that - gets separately - allotted",uniqueProps="id",indexedProps="id",dependentOn="allotted-resource",container="tunnel-xconnects") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Allotted - Resource id UUID assigned to this instance.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - WAN uplink bandwidth for WAN1") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - WAN downlink bandwidth for WAN1") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - WAN uplink bandwidth for WAN2") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - WAN downlink bandwidth for WAN2") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Concurrency - value") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - object is used to store the specific tunnel cross connect aspects - of an allotted resource") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Represents - a slice or partial piece of a resource that gets separately - allotted",nameProps="description",uniqueProps="id",indexedProps="id,model-invariant-id,model-version-id,type,role",dependentOn="service-instance",container="allotted-resources") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Allotted - Resource id UUID assigned to this instance.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - descriptive information assigned to this allotted resource - instance") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Link - back to more information in the controller") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model id for this resource or service - model.",visibility="deployment",requires="model-version-id",dbAlias="model-invariant-id-local") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model version for this resource or service - model.",visibility="deployment",requires="model-invariant-id",dbAlias="model-version-id-local") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model version for this resource or service - model.",visibility="internal",dataCopy="service-design-and-creation/models/model/{model-invariant-id}/model-vers/model-ver/{model-version-id}#model-version") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Concurrency - value") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Orchestration - status") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Indicator - for whether the resource is considered operational") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Generic - description of the type of allotted resource.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="role - in the network that this resource will be providing.") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - object is used to store slices of services being offered") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Instance - of a - service",indexedProps="service-instance-id,model-invariant-id,model-version-id,widget-model-id,widget-model-version,service-instance-name,service-instance-location-id,orchestration-status,environment-context,workload-context",nameProps="service-instance-name",searchable="service-instance-id,service-instance-name",uniqueProps="service-instance-id",dependentOn="service-subscription",container="service-instances") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Uniquely - identifies this instance of a service") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - field will store a name assigned to the service-instance.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="String - capturing type of service.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="String - capturing the service role.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - field will store the environment context assigned to the - service-instance.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - field will store the workload context assigned to the - service-instance.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model id for this resource or service - model.",visibility="deployment",requires="model-version-id",dbAlias="model-invariant-id-local") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model version for this resource or service - model.",visibility="deployment",requires="model-invariant-id",dbAlias="model-version-id-local") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model version for this resource or service - model.",visibility="internal",dataCopy="service-design-and-creation/models/model/{model-invariant-id}/model-vers/model-ver/{model-version-id}#model-version") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC data dictionary widget model. This maps directly to the - A&AI widget.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC data dictionary version of the widget model.This maps - directly to the A&AI version of the widget.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Indicates - the total bandwidth to be used for this service.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="indicates - the upstream bandwidth this service will use on the WAN1 port of - the physical device.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="indicates - the downstream bandwidth this service will use on the WAN1 port - of the physical device.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="indicates - the upstream bandwidth this service will use on the WAN2 port of - the physical device.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="indicates - the downstream bandwidth this service will use on the WAN2 port - of the physical device.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="URL - customers will use to access the vHN Portal.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="An - identifier that customers assign to the location where this - service is being used.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Path - to the controller object.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Orchestration - status of this service.") - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of service instances") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Object - that group service - instances.",indexedProps="service-type",dependentOn="customer",container="service-subscriptions",crossEntityReference="service-instance,service-type") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Value - defined by orchestration to identify this service across - ECOMP.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - property will be deleted from A&AI in the near future. Only - stop gap solution.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of objects that group service instances.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="customer - identifiers to provide linkage back to BSS - information.",nameProps="subscriber-name",indexedProps="subscriber-name,global-customer-id,subscriber-type",searchable="global-customer-id,subscriber-name",uniqueProps="global-customer-id",container="customers",namespace="business") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Global - customer id used across ECOMP to uniquely identify customer.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Subscriber - name, an alternate way to retrieve a customer.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Subscriber - type, a way to provide VID with only the INFRA - customers.",defaultValue="CUST") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of customer identifiers to provide linkage back to BSS - information.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Namespace - for business related constructs") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Image - object that pertain to a VNF that doesn't have associated - vservers. This is a - kludge.",indexedProps="application,vnf-image-uuid,application-vendor,application-version",uniqueProps="vnf-image-uuid",container="vnf-images",namespace="service-design-and-creation") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - ID of this asset") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - application that the image instantiates.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - vendor of the application.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - version of the application.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="URL - to endpoint where AAI can get more details") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of image objects that pertain to a VNF that doesn't have - associated vservers. This is a kludge.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Stand-in - for service model definitions. Likely to be deprecated in favor of - models from ASDC. Does not strictly map to ASDC - services.",indexedProps="service-description,service-id",container="services",namespace="service-design-and-creation") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="This - gets defined by others to provide a unique ID for the service, - we accept what is sent.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Description - of the service") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="URL - to endpoint where AAI can get more details") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="service - version") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of service model definitions. Likely to be deprecated in favor of - models from ASDC.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Early - definition of server/resource pairings, likely to be replaced by - models. No new use should be made of - this.",indexedProps="service-type,vnf-type",container="service-capabilities",namespace="service-design-and-creation") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="This - gets defined by others to provide a unique ID for the service, - we accept what is sent.") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="String - capturing type of vnf, that was intended to identify the ASDC - resource. This field has been overloaded in service-specific - ways and clients should expect changes to occur in the future to - this field as ECOMP matures.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of service capabilities.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - is how we would capture constraints defining allowed sets of - elements.",uniqueProps="element-choice-set-uuid",indexedProps="element-choice-set-uuid",allowDirectRead="true",allowDirectWrite="false",container="element-choice-sets") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,autoGenerateUuid="true") - - - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - is how we would capture constraints defining allowed sets of - elements.",uniqueProps="constrained-element-set-uuid",indexedProps="constrained-element-set-uuid",allowDirectRead="true",allowDirectWrite="false",container="constrained-element-sets") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,autoGenerateUuid="true") - - - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - is how we would capture constraints defining allowed sets of - elements.",uniqueProps="model-constraint-uuid",indexedProps="model-constraint-uuid",allowDirectRead="true",allowDirectWrite="false",container="model-constraints") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,autoGenerateUuid="true") - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Defines - how other models combine to make up a higher-level - model.",uniqueProps="model-element-uuid",indexedProps="model-element-uuid",allowDirectRead="true",allowDirectWrite="false",container="model-elements") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,autoGenerateUuid="true") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Indicates - whether this element was created as part of instantiation from - this model") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="How - many of this type of element are required/allowed") - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Defines - how other models combine to make up a higher-level model") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Describes - new constraints on this model element that are not part of that - model's definition") - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Subgraph - definition provided by ASDC to describe a specific version of an - inventory asset and its connections related to ASDC - models",nameProps="model-name",indexedProps="model-version-id,model-name,model-version",uniqueProps="model-version-id",container="model-vers") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - identifier corresponding to one version of a model in ASDC") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Name - of the model, which can change from version to version.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Version") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Description") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Subgraph - definition provided by ASDC to describe an inventory asset and its - connections related to ASDC models, independent of - version",nameProps="model-type",indexedProps="model-invariant-id,model-type",uniqueProps="model-invariant-id",container="models",namespace="service-design-and-creation") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - identifier corresponding to the main definition of a model in - ASDC") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Type - of the model, e.g., service, resource, widget, etc.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of subgraph definitions provided by ASDC to describe the inventory - assets and their connections related to ASDC models") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="TBD",uniqueProps="related-lookup-uuid",indexedProps="related-lookup-uuid",allowDirectRead="true",allowDirectWrite="false",container="related-lookups") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,autoGenerateUuid="true") - - - - - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="TBD",uniqueProps="property-constraint-uuid",indexedProps="property-constraint-uuid",allowDirectRead="true",allowDirectWrite="false",container="property-constraints") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,autoGenerateUuid="true") - - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="TBD",uniqueProps="named-query-element-uuid",indexedProps="named-query-element-uuid",allowDirectRead="true",allowDirectWrite="false",container="named-query-elements") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,autoGenerateUuid="true") - - - - - - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="TBD",nameProps="named-query-name",uniqueProps="named-query-uuid",indexedProps="named-query-uuid,named-query-name",container="named-queries",namespace="service-design-and-creation") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true) - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="TBD",nameProps="named-query-name",uniqueProps="named-query-uuid",indexedProps="named-query-uuid,named-query-name",container="named-queries",namespace="service-design-and-creation") - - - - - - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Namespace - for objects managed by ASDC") - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Logical - links generally connect l-interfaces but are used to express - logical connectivity between two - points",indexedProps="link-name,model-invariant-id,model-version-id,widget-model-id,widget-model-version,link-id,prov-status,circuit-id,purpose",uniqueProps="link-id",container="logical-links",namespace="network",searchable="link-name") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="e.g., - evc-name, or - vnf-nameA_interface-nameA_vnf-nameZ_interface-nameZ") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="used - to indicate whether or not this object is in maintenance mode - (maintenance mode = true). This field (in conjunction with - prov-status) is used to suppress alarms and vSCL on VNFs/VMs.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Type - of logical link, e.g., evc") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Captures - the numeric part of the speed") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Captures - the units corresponding to the speed") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="v4, - v6, or ds for dual stack (should be att-ip-version)") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="For - example, static or BGP") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model id for this resource or service - model.",visibility="deployment",requires="model-version-id",dbAlias="model-invariant-id-local") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model version for this resource or service - model.",visibility="deployment",requires="model-invariant-id",dbAlias="model-version-id-local") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model version for this resource or service - model.",visibility="internal",dataCopy="service-design-and-creation/models/model/{model-invariant-id}/model-vers/model-ver/{model-version-id}#model-version") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC data dictionary widget model. This maps directly to the - A&AI widget.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC data dictionary version of the widget model.This maps - directly to the A&AI version of the widget.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Indication - of operational status of the logical link.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Trigger - for operational monitoring of this VNF by BAU Service Assurance - systems.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Indication - of the network use of the logical link.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Alias - or alternate name (CLCI or D1 name).") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="UUID - of the logical-link, SDNC generates this.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Circuit - id") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Reason - for this entity, role it is playing") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of logical connections") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(indexedProps="cos",dependentOn="site-pair",container="classes-of-service") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="unique - identifier of probe") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="identifier - of probe") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="type - of probe") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="class-of-service - of probe") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(indexedProps="site-pair-id",uniqueProps="site-pair-id",dependentOn="routing-instance",container="site-pairs") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="unique - identifier of probe") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Prefix - address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Prefix - address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="ip - version, v4, v6") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Hostname - of the destination equipment to which SLAs are measured - against.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - type of destinatination equipment. Could be Router, UCPE, etc.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="probe - within a set") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(indexedProps="routing-instance-id",dependentOn="site-pair-set",container="routing-instances") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - id of routing instance") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="rpm - owner") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="set - of probes related to generic-vnf routing instance") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Set - of instances for probes used to measure service level - agreements",indexedProps="site-pair-set-id",uniqueProps="site-pair-set-id",container="site-pair-sets",namespace="network") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - id of site pair set.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of sets of instances for probes related to generic-vnf") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Route - target - information",container="route-targets",dependentOn="vpn-binding",canBeLinked="true") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Number - used to identify an RT, globally unique in the network") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Role - assigned to this route target") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of route target information") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="VPN - binding",nameProps="vpn-name,vpn-type",indexedProps="vpn-name,vpn-id,vpn-type",searchable="vpn-id,vpn-name",uniqueProps="vpn-id",container="vpn-bindings",namespace="network") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="VPN - ID, globally unique within A&AI") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="VPN - Name") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - platform associated with the VPN example AVPN, Mobility") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Type - of the vpn, should be taken from enumerated/valid values") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="region - of customer vpn") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="id - for this customer vpn") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - to distinguish the distinct VPN routes of separate customers who - connect to the provider in an MPLS network.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="l3-networks - relate to vpn-bindings") - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="VPLS - Provider Edge - routers.",indexedProps="prov-status,equipment-name",container="vpls-pes",namespace="network") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true) - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Trigger - for operational monitoring of this VNF by BAU Service Assurance - systems.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Address - tail-f uses to configure generic-vnf, also used for - troubleshooting and is IP used for traps generated by GenericVnf - (v4-loopback0-ip-address).") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Client - should send valid enumerated value, e.g., VPLS-PE.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Temporary - location for stag to get to VCE") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of VPLS Provider Edge routers") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(indexedProps="multicast-configuration-id",uniqueProps="multicast-configuration-id",container="multicast-configurations",namespace="network") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - id of multicast configuration.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="protocol - of multicast configuration") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="rp - type of multicast configuration") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="multicast - configuration of generic-vnf ip-address") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(dependentOn="port-group",indexedProps="cvlan-tag",container="cvlan-tags") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="See - mis-na-virtualization-platform.yang") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - to capture the network interfaces of this - VCE",nameProps="port-group-name",indexedProps="port-group-id,heat-stack-id,interface-id,interface-name,switch-name",dependentOn="vce",container="port-groups") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - ID of the interface") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Neutron - network id of this Interface") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Neutron - network name of this Interface") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Role - assigned to this Interface, should use values as defined in - ECOMP Yang models.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Unique - ID for port group in vmware") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Likely - to duplicate value of neutron network name") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="DVS - or standard switch name (should be non-null for port groups - associated with DVS)") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Orchestration - status of this VNF, mastered by MSO") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Heat - stack id corresponding to this instance, managed by MSO") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Corresponds - to the SDN-C catalog id used to configure this VCE") - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Metadata - for license - group.",indexedProps="group-uuid,resource-uuid",dependentOn="generic-vnf,vce",container="licenses") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - ID for the license group the resource belongs to, should be - uuid.") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - ID of a license resource. ") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Concurrency - value") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Licenses - to be allocated across resources, keyed by group-uuid and - resource-uuid, related to license management") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Metadata - for entitlement - group.",indexedProps="group-uuid,resource-uuid",dependentOn="generic-vnf,vce",container="entitlements") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - ID for the entitlement group the resource comes from, should be - uuid.") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - ID of an entitlement resource. ") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Concurrency - value") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Entitlements, - keyed by group-uuid and resource-uuid, related to license - management") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Virtual - Customer Edge Router, used specifically for Gamma. This object is - deprecated.",nameProps="vnf-name",indexedProps="vnf-name,vnf-name2,vnf-type,heat-stack-id,vnf-id,interface-name,regional-resource-zone,vpe-id,prov-status,service-id",searchable="vnf-id,vnf-name,vnf-name2",uniqueProps="vnf-id",container="vces",namespace="network",extendsFrom="vnf") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - id of VNF. This is unique across the graph.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Name - of VNF.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Alternate - name of VNF.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="String - capturing type of vnf, that was intended to identify the ASDC - resource. This field has been overloaded in service-specific - ways and clients should expect changes to occur in the future to - this field as ECOMP matures.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Unique - identifier of service, does not strictly map to ASDC services, - SOON TO BE DEPRECATED.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Regional - way of organizing pservers, source of truth should define - values") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Trigger - for operational monitoring of this resource by Service Assurance - systems.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Indicator - for whether the resource is considered operational") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="OBSOLETE - - do not use") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Network - role being played by this VNF") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Orchestration - status of this VNF, mastered by MSO") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Heat - stack id corresponding to this instance, managed by MSO") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Corresponds - to the SDN-C catalog id used to configure this VCE") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Unique - ID of VPE connected to this VCE.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Valid - v6 IP address for the WAN Link on this router. Implied length of - /64.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Address - tail-f uses to configure vce, also used for troubleshooting and - is IP used for traps generated by VCE.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Loopback0 - address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="OBSOLETE - - see child relationships") - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of Virtual Customer Edge Routers, used specifically for Gamma. - This object is deprecated.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(indexedProps="vnfc-name,prov-status,nfc-function,nfc-naming-code,ipaddress-v4-oam-vip,in-maint,is-closed-loop-disabled,group-notation,model-invariant-id,model-version-id",searchable="vnfc-name",container="vnfcs",namespace="network") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - ID of vnfc.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Short - code that is used in naming instances of the item being - modeled") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="English - description of function that the specific resource deployment is - providing. Assigned as part of the customization of a resource - in a service") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="prov - status of this vnfc") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Orchestration - status of this VNF, mastered by APP-C") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Oam - V4 vip address of this vnfc") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="used - to indicate whether or not this object is in maintenance mode - (maintenance mode = true)") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="used - to indicate whether closed loop function is enabled on this - node") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Group - notation of VNFC") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model id for this resource or service - model.",visibility="deployment",requires="model-version-id") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model version for this resource or service - model.",visibility="deployment",requires="model-invariant-id") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="virtual - network components associated with a vserver from application - controller.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(indexedProps="subnet-id,subnet-name",nameProps="subnet-name",uniqueProps="subnet-id",dependentOn="l3-network",container="subnets") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Subnet - ID, should be UUID.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Name - associated with the subnet.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Neutron - id of this subnet") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="gateway - ip address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="network - start address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="cidr - mask") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="ip - version") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Orchestration - status of this VNF, mastered by MSO") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="dhcp - enabled") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - start address reserved for use by dhcp") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - last address reserved for use by dhcp") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="role - of the subnet, referenced when assigning IPs") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(indexedProps="vlan-id-inner",dependentOn="l3-network",container="ctag-assignments") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="id.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Openstack - segmentation - assignment.",indexedProps="segmentation-id",dependentOn="l3-network",container="segmentation-assignments") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Route - Table Reference id, UUID assigned to this instance.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Concurrency - value") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of openstack segmentation assignments") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Generic - network - definition",nameProps="network-name",indexedProps="heat-stack-id,network-uuid,service-id,network-id,network-name,model-invariant-id,model-version-id,widget-model-id,widget-model-version,contrail-network-fqdn,network-role",searchable="network-id,network-name",uniqueProps="network-id",container="l3-networks",namespace="network") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Network - ID, should be uuid. Unique across A&AI.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Name - of the network, governed by some naming convention..") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Type - of the network - who defines these values?") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Role - the network plans - who defines these values?") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Network - technology - who defines these values?") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Neutron - network id of this Interface") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="Set - to true if bound to VPN") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Unique - identifier of service from ASDC. Does not strictly map to ASDC - services. SOON TO BE DEPRECATED") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="network - role instance") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Orchestration - status of this VNF, mastered by MSO") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Heat - stack id corresponding to this instance, managed by MSO") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Corresponds - to the SDN-C catalog id used to configure this VCE") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Contrail - FQDN for the network") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model id for this resource or service - model.",visibility="deployment",requires="model-version-id",dbAlias="model-invariant-id-local") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model version for this resource or service - model.",visibility="deployment",requires="model-invariant-id",dbAlias="model-version-id-local") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model version for this resource or service - model.",visibility="internal",dataCopy="service-design-and-creation/models/model/{model-invariant-id}/model-vers/model-ver/{model-version-id}#model-version") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="captures - the id of all the configuration used to customize the resource - for the service.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC data dictionary widget model. This maps directly to the - A&AI widget.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC data dictionary version of the widget model.This maps - directly to the A&AI version of the widget.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Name - associated with the physical network.") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="boolean - indicatating whether or not network is a provider network.") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="boolean - indicatating whether or not network is a shared network.") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="boolean - indicatating whether or not network is an external network.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Path - to the controller object.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Indicator - for whether the resource is considered operational.") - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Relates - to tenant (or is it a child of tenant), complex, service, - vpn-binding") - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(nameProps="network-policy-fqdn",indexedProps="network-policy-id,network-policy-fqdn",searchable="network-policy-id,network-policy-fqdn",uniqueProps="network-policy-id",container="network-policies",namespace="network") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="UUID - representing unique key to this instance") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Contrail - FQDN for the policy") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="ID - for the openStack Heat instance") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="a - deployment unit of - VNFCs",indexedProps="vf-module-id,vf-module-name,heat-stack-id,model-invariant-id,model-version-id,widget-model-id,widget-model-version,contrail-service-instance-fqdn",searchable="vf-module-id,vf-module-name",dependentOn="generic-vnf",container="vf-modules") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - ID of vf-module.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Name - of vf-module") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Heat - stack id corresponding to this instance.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="orchestration - status of this vf-module, mastered by MSO") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="used - to indicate whether or not this object is base vf module") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model id for this resource or service - model.",visibility="deployment",requires="model-version-id",dbAlias="model-invariant-id-local") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model version for this resource or service - model.",visibility="deployment",requires="model-invariant-id",dbAlias="model-version-id-local") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model version for this resource or service - model.",visibility="internal",dataCopy="service-design-and-creation/models/model/{model-invariant-id}/model-vers/model-ver/{model-version-id}#model-version") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="captures - the id of all the configuration used to customize the resource - for the service.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC data dictionary widget model. This maps directly to the - A&AI widget.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC data dictionary version of the widget model.This maps - directly to the A&AI version of the widget.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - Contrail unique ID for a service-instance") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - index will track the number of modules of a given type that have - been deployed in a VNF, starting with 0, and always choosing the - lowest available digit") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Path - to the controller object.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of vf-modules, a deployment unit of VNFCs") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="General - purpose - VNF",nameProps="vnf-name",indexedProps="is-closed-loop-disabled,vnf-name2,vnf-type,heat-stack-id,in-maint,vnf-name,vnf-id,regional-resource-zone,prov-status,service-id,model-invariant-id,model-version-id,widget-model-id,widget-model-version,nf-type,nf-function,nf-naming-code,nf-role",searchable="vnf-id,vnf-name,vnf-name2",uniqueProps="vnf-id",container="generic-vnfs",namespace="network",extendsFrom="vnf",containsSuggestibleProps="true",suggestionAliases="VNFs") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - id of VNF. This is unique across the graph.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Name - of VNF.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Alternate - name of VNF.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="String - capturing type of vnf, that was intended to identify the ASDC - resource. This field has been overloaded in service-specific - ways and clients should expect changes to occur in the future to - this field as ECOMP matures.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Unique - identifier of service, does not necessarily map to ASDC service - models. SOON TO BE DEPRECATED") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Regional - way of organizing pservers, source of truth should define - values") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Trigger - for operational monitoring of this resource by Service Assurance - systems.",suggestibleOnSearch="true") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Indicator - for whether the resource is considered operational. Valid values - are in-service-path and out-of-service-path.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="OBSOLETE - - do not use") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Client - should send valid enumerated value") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Orchestration - status of this VNF, used by MSO.",suggestibleOnSearch="true") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Heat - stack id corresponding to this instance, managed by MSO") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Corresponds - to the SDN-C catalog id used to configure this VCE") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="identifier - of managed by ATT or customer") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Address - tail-f uses to configure generic-vnf, also used for - troubleshooting and is IP used for traps generated by - generic-vnf.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="v4 - Loopback0 address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="v6 - Loopback address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="v6 - management address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="number - of vcpus ordered for this instance of VNF, used for VNFs with no - vservers/flavors, to be used only by uCPE") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="units - associated with vcpu, used for VNFs with no vservers/flavors, to - be used only by uCPE") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="number - of GB of memory ordered for this instance of VNF, used for VNFs - with no vservers/flavors, to be used only by uCPE") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="units - associated with vmemory, used for VNFs with no vservers/flavors, - to be used only by uCPE") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="number - of vdisks ordered for this instance of VNF, used for VNFs with - no vservers/flavors, to be used only uCPE") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="units - associated with vdisk, used for VNFs with no vservers/flavors, - to be used only by uCPE") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="used - to indicate whether or not this object is in maintenance mode - (maintenance mode = true). This field (in conjunction with - prov-status) is used to suppress alarms and vSCL on VNFs/VMs.") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="used - to indicate whether closed loop function is enabled on this - node") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="details - regarding the generic-vnf operation, PLEASE DISCONTINUE USE OF - THIS FIELD.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="indicates - whether generic-vnf access uses SSH") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="UUID - of the Entitlement group used for licensing VNFs, OBSOLETE - See - child relationships.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="UUID - of the specific entitlement resource. OBSOLETE - See child - relationships.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="UUID - of the license assignment group. OBSOLETE - See child - relationships.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="UUID - of the actual license resource. OBSOLETE - See child - relationships.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model id for this resource or service - model.",visibility="deployment",requires="model-version-id",dbAlias="model-invariant-id-local") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model version for this resource or service - model.",visibility="deployment",requires="model-invariant-id",dbAlias="model-version-id-local") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model version for this resource or service - model.",visibility="internal",dataCopy="service-design-and-creation/models/model/{model-invariant-id}/model-vers/model-ver/{model-version-id}#model-version") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="captures - the id of all the configuration used to customize the resource - for the service.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC data dictionary widget model. This maps directly to the - A&AI widget.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC data dictionary version of the widget model.This maps - directly to the A&AI version of the widget.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="as-number - of the VNF") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="represents - sub zone of the rr plane") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Generic - description of the type of NF",suggestibleOnSearch="true") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="English - description of Network function that the specific VNF deployment - is providing") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="role - in the network that this model will be - providing",suggestibleOnSearch="true") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="string - assigned to this model used for naming purposes") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Path - to the controller object.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Gateway - address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Prefix - length for oam-address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Temporary - location for S-TAG to get to VCE") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Network - Management profile of this VNF") - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of VNFs") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="LAG - links can connect - lag-interfaces",indexedProps="link-name",container="lag-links",namespace="network") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Alphabetical - concatenation of lag-interface names") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of link aggregation connections") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - object fills in the gaps from vce that were incorporated into - generic-vnf. This object will be retired with - vce.",nameProps="vnf-name",indexedProps="vnf-name,vnf-name2,vnf-type,heat-stack-id,prov-status,vnf-id2",searchable="vnf-id2,vnf-name,vnf-name2",uniqueProps="vnf-id2",container="newvces",namespace="network") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - id of VNF, can't use same attribute name right now until we - promote this new object") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Name - of VNF.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Alternate - name of VNF.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="String - capturing type of vnf, that was intended to identify the ASDC - resource. This field has been overloaded in service-specific - ways and clients should expect changes to occur in the future to - this field as ECOMP matures.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Trigger - for operational monitoring of this VNF by BAU Service Assurance - systems.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Indicator - for whether the resource is considered operational") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="OBSOLETE - - do not use") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Address - tail-f uses to configure generic-vnf, also used for - troubleshooting and is IP used for traps generated by GenericVnf - (v4-loopback0-ip-address).") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Client - should send valid enumerated value.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="v4 - Loopback0 address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Orchestration - status of this VNF, mastered by MSO.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Heat - stack id corresponding to this instance, managed by MSO") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Corresponds - to the SDN-C catalog id used to configure this VCE") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - object fills in the gaps from vce that were incorporated into - generic-vnf. This object will be retired with vce.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="PNF - represents a physical network function. typically equipment used - in the D1 world. in 1607, this will be populated by SDN-C to - represent a premises router that a uCPE connects to. But this can - be used to represent any physical device that is not an AIC node - or - uCPE.",indexedProps="pnf-name,orchestration-status,inv-status",searchable="pnf-name",uniqueProps="pnf-name",container="pnfs",namespace="network") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="unique - name of Physical Network Function.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="name - of Physical Network Function.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="source - of name2") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="id - of pnf") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Equipment - type. Source of truth should define valid values.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Equipment - vendor. Source of truth should define valid values.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Equipment - model. Source of truth should define valid values.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="identifier - of managed by ATT or customer") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="ipv4-oam-address - with new naming convention for IP addresses") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="sw-version - is the version of SW for the hosted application on the PNF.") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="Used - to indicate whether or not this object is in maintenance mode - (maintenance mode = true). This field (in conjunction with - prov-status) is used to suppress alarms and vSCL on VNFs/VMs.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="ID - of the physical frame (relay rack) where pnf is installed.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Serial - number of the device") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="IPV4 - Loopback 0 address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="IPV6 - Loopback 0 address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="IPV4 - AIM address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="IPV6 - AIM address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="IPV6 - OAM address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="CANOPI's - inventory status. Only set with values exactly as defined by - CANOPI.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Prov - Status of this device (not under canopi control) Valid values - [PREPROV/NVTPROV/PROV]") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Nf - Role is the role performed by this instance in the network.") - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of Physical Network Functions.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of physical connections, typically between - p-interfaces",indexedProps="circuit-id,link-name",alternateKeys1="circuit-id",container="physical-links",namespace="network",searchable="link-name,circuit-id") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="e.g., - hostnameA_p-connection_nameA_hostnameZ+p_connection-nameZ") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Captures - the numeric part of the speed") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Captures - the units corresponding to the speed") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Circuit - it") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Dual - access mode (e.g., primary, secondary") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="To - provide information on who manages this circuit. A&AI or 3rd - party transport provider") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Name - of the service Provider on this link.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of physical connections, typically between p-interfaces") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="vig-server - contains information about a vig server used for - IPSec-configuration. Populated by SDN-C from - 1607",indexedProps="vig-address-type",dependentOn="ipsec-configuration",container="vig-servers") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="indicates - whether the VIG is for AVPN or INTERNET") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="v4 - IP of the vig server") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="v6 - IP of the vig server") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="IPSec - configuration node will contain various configuration data for the - NMTE VNF. This node will have an edge to the generic-vnf (vnf type - = TE). Starting 1607, this data will be populated by - SDN-C",indexedProps="ipsec-configuration-id",uniqueProps="ipsec-configuration-id",container="ipsec-configurations",namespace="network") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="UUID - of this configuration") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Indicate - the type of VIG server like AVPN, INTERNET, BOTH") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Encryption - values like 3des-cbc, des-cbc, aes-128-cbc, aes-192-cbc, - aes-265-cbc") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="ATT - can offer a shared DMZ or a DMZ specific to a customer") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Network - address of shared DMZ") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="If - the DMZ is a custom DMZ, this field will indicate the customer - information") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="can - be 1 or 2") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Contains - values like md5, sha1, sha256, sha384") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Encyption - values like 3des-cbc, des-cbc, aes-128-cbc, aes-192-cbc, - aes-265-cbc") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Diffie-Hellman - group like DH-GROUP2, DH-GROUP5, DH-GROUP14") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Group - name defined in VIG for clients using aggressive mode") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="pre-shared - key for the above group name ") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Lifetime - for IKEv1 SA") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="md5, - sha1, sha256, sha384") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="3des-cbc, - des-cbc, aes-128-cbc, aes-192-cbc, aes-265-cbc") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Life - time for IPSec SA") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="enable - PFS or not") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="user - ID for xAuth, sm-user,ucpeHostName,nmteHostName") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Encrypted - using the Juniper $9$ algorithm") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - time between DPD probe") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Maximum - number of DPD before claiming the tunnel is down") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Openstack - route table - reference.",nameProps="route-table-reference-fqdn",uniqueProps="route-table-reference-id",indexedProps="route-table-reference-id,route-table-reference-fqdn",container="route-table-references",namespace="network") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Route - Table Reference id, UUID assigned to this instance.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="FQDN - entry in the route table.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Concurrency - value") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of openstack route table references") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="General - mechanism for grouping - instances",nameProps="description",uniqueProps="id",searchable="id,description",indexedProps="id,description,type,sub-type",container="instance-groups",namespace="network") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="role - of the instance group.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="ASDC - model id for this resource or service model.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="ASDC - model version uid for this resource model.") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Instance - Group ID, UUID assigned to this instance.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Descriptive - text to help identify the usage of this instance-group") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Only - valid value today is lower case ha for high availability") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Valid - values for ha type are [geo-activeactive, geo-activestandby, - local-activeactive, local-activestandby]") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Concurrency - value") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of openstack route table references") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="A - zone is a grouping of assets in a location homing to the same - connections into the - CBB",nameProps="zone-name",indexedProps="zone-id,design-type,zone-context",uniqueProps="zone-id",container="zones",namespace="network") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Code - assigned by AIC to the zone") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="English - name associated with the zone") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Design - of zone [Medium/Large…]") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Context - of zone [production/test]") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Status - of a zone.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Concurrency - value") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of zones") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Namespace - for network inventory resources.") - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Internal - map to define some reserved properties of a - vertex",uniqueProps="aai-unique-key",indexedProps="aai-unique-key,source-of-truth,aai-node-type,aai-uri") - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Internal - map to define the properties of an edge and interpret the map - EdgeRules",edgeInfo="edgeLabel,direction,multiplicityRule,isParent,usesResource,hasDelTarget,SVC-INFRA,SVC-INFRA-REV") - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Allows - for legacy POST of old-style and new-style models") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - identifier corresponding to the main definition of a model in - ASDC") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - identifier corresponding to one version of a model in ASDC") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Type - of the model, e.g., service, resource, widget, etc.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Name - of the model, which can change from version to version.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Invariant - unique ID which does not change from version to version") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Version") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Description") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="QueryParameters - for performing a named-query or model query") - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="InstanceFilters - for performing a named-query or model query") - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="SecondaryFilts - for performing a named-query or model query") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="ModelAndNamedQuerySearch - holds query-parameters and instance-properties for performing a - named-query or model query") - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Property - holder for query properties or instance properties") - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Extra - properties for inventory item for response list") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Inventory - item for response list",container="inventory-response-items") - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Container - for inventory items in response list",container="response-list") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Response - container for the results of a named-query or model query") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Abstract - vnf - class",indexedProps="vnf-id",uniqueProps="vnf-id",inheritors="vce,generic-vnf",isAbstract="true") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - id of VNF. This is unique across the graph.") - - - - - - - \ No newline at end of file diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/resources/aai_schema_v9.xsd b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/resources/aai_schema_v9.xsd deleted file mode 100644 index c362e6a2dd..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-api/src/main/resources/aai_schema_v9.xsd +++ /dev/null @@ -1,7889 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - specific type of node in the A&AI graph") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - URL to the specific resource") - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="A - keyword provided by A&AI to indicate an attribute.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Value - of the attribute.") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Key - part of a key/value pair") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Value - part of a key/value pair") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="A - keyword provided by A&AI to indicate type of node.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="URL - to the object in A&AI.") - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="OAM - network, to be deprecated shortly. Do not use for new purposes. - ",nameProps="network-name",indexedProps="cvlan-tag,network-uuid,network-name",dependentOn="cloud-region",container="oam-networks") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="UUID - of the network. Unique across a cloud-region") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Name - of the network.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="cvlan-id") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for VNF firewall rule so customer cannot send customer traffic - over this oam network") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for VNF firewall rule so customer cannot send customer traffic - over this oam network") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of OAM networks, to be deprecated shortly. Do not use for new - purposes. ") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Digital - virtual switch metadata, used by SDN-C to configure VCEs. A&AI - needs to receive this data from the PO deployment team and - administer it using the provisioningTool.sh into A&AI. - ",indexedProps="vcenter-url,switch-name",dependentOn="cloud-region",container="dvs-switches") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="DVS - switch name") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="URL - used to reach the vcenter") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of digital virtual switch metadata used for vmWare VCEs and - VPEs.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Availability - zone, a collection of compute - hosts/pservers",indexedProps="availability-zone-name",dependentOn="cloud-region",container="availability-zones") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Name - of the availability zone. Unique across a cloud region") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Type - of hypervisor. Source of truth should define valid values.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="State - that indicates whether the availability zone should be used, - etc. Source of truth should define valid values.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Serves - a PATCH like function. Does not enforce concurrency control. Clear - each usage with AAI team.") - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="APIs - that are more action related than REST (e.g., notify, update).") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="A - collection of C tags (vlan tags) grouped for a specific - purpose.",indexedProps="availability-zone-name",dependentOn="complex",container="ctag-pools") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="The - Target provider edge router") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Name - of the availability zone") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Describes - what the intended purpose of this pool is.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Comma - separated list of ctags") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of physical locations that can house - cloud-regions.",indexedProps="identity-url,data-center-code,complex-name,physical-location-id",searchable="physical-location-id,data-center-code,complex-name,street1,street2,postal-code",uniqueProps="physical-location-id",container="complexes",namespace="cloud-infrastructure") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - identifier for physical location, e.g., CLLI") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Data - center code which can be an alternate way to identify a - complex") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Gamma - complex name for LCP instance.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="URL - of the keystone identity service") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Type, - e.g., central office, data center.") - - - - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of physical locations that can house cloud-regions.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Persistent - block-level - storage.",indexedProps="volume-group-name,vnf-type,heat-stack-id,volume-group-id",searchable="volume-group-name",dependentOn="cloud-region",container="volume-groups") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - ID of volume-group.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Name - of the volume group.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Heat - stack id corresponding to this volume-group") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="String - capturing type of vnf, that was intended to identify the ASDC - resource. This field has been overloaded and clients should - expect changes to occur in the future to this field as ASDC - matures.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Orchestration - status of this volume-group") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="captures - the id of all the configuration used to customize the resource - for the service.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of persistent block-level storage.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Ephemeral - Block storage - volume.",indexedProps="volume-id",dependentOn="vserver",container="volumes") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - ID of block storage volume relative to the vserver.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="URL - to endpoint where AAI can get more details") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of ephemeral Block storage volumes.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="IPv4 - Address - Range",indexedProps="l3-interface-ipv4-address,vlan-id-inner,neutron-network-id,neutron-subnet-id",dependentOn="vlan,l-interface") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="IP - address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Prefix - length, 32 for single address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Inner - VLAN tag") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Outer - VLAN tag") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Indicator - of fixed or floating address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Neutron - network id of the interface that address belongs to") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Neutron - id of subnet that address belongs to") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="IPv6 - Address - Range",indexedProps="l3-interface-ipv6-address,vlan-id-inner,neutron-network-id,neutron-subnet-id",dependentOn="vlan,l-interface") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="IP - address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Prefix - length, 128 for single address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Inner - VLAN tag") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Outer - VLAN tag") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Indicator - of fixed or floating address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Neutron - network id of the interface that address belongs to") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Neutron - id of subnet that address belongs to") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Definition - of - vlan",indexedProps="vlan-interface,vlan-id-inner,vpn-id",uniqueProps="vpn-id",dependentOn="l-interface",container="vlans") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="String - that identifies the interface") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Inner - VLAN tag") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Outer - VLAN tag") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Captures - the numeric part of the speed") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Captures - the units corresponding to the speed") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - to describe (the service associated with) the vlan") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Whether - customer is going to use this VLAN for backdoor connection to - another customer premise device.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - indicates the customers VPN ID associated with this vlan") - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="SR-IOV - Virtual Function (not to be confused with virtual network - function)",indexedProps="pci-id,vf-vlan-filter,vf-mac-filter,vf-vlan-strip,neutron-network-id",dependentOn="l-interface",container="sriov-vfs") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="PCI - ID used to identify the sriov-vf") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - metadata provides option to specify list of VLAN filters applied - on VF to pass the traffic to VM.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="When - MAC filters are specified, VF-agent service configures VFs to do - MAC level filtering before the traffic is passed to VM.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="When - this field is set to true, VF will configured to strip the outer - TAG before the traffic is passed to VM.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - option ensures anti VLAN spoof checks are done at the VF level - to comply with security. The disable check will also be honored - per the VNF needs for trusted VMs.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - option ensures anti MAC spoof checks are done at the VF level to - comply with security. The disable check will also be honored per - the VNF needs for trusted VMs.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - option defines the set of Mirror objects which essentially - mirrors the traffic from source to set of collector VNF Ports.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - option, if set to true, sets the VF in promiscuous mode and - allows all broadcast traffic to reach the VM") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - option, if set to true, sets the VF in promiscuous mode and - allows unknown multicast traffic to reach the VM") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - option, if set to true, sets the VF in promiscuous mode and - allows unknown unicast traffic to reach the VM") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - option, if set to true, instructs to insert outer tag after - traffic comes out of VM.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - option is used to set the link status. Valid values as of 1607 - are on, off, and auto.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Neutron - network id of the interface") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of SR-IOV Virtual Functions.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Logical - interfaces, e.g., a - vnic.",indexedProps="macaddr,interface-id,interface-name,network-name",dependentOn="generic-vnf,newvce,vpe,p-interface,vserver,lag-interface",container="l-interfaces") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Name - given to the interface") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="E.g., - CUSTOMER, UPLINK, etc.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Questionably - placed - v6 ip addr of this interface (is in vr-lan-interface - from Mary B.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="URL - to endpoint where AAI can get more details") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="ID - of interface") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="MAC - address for the interface") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Name - of the network") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Whether - A&AI should be managing this interface of not. Could have - value like CUSTOMER") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Human - friendly text regarding this interface.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of logical interfaces.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Virtual - Servers, aka virtual machine or - VM.",nameProps="vserver-name",indexedProps="is-closed-loop-disabled,prov-status,vserver-name,vserver-id,in-maint,vserver-name2",searchable="vserver-name,vserver-id,vserver-name2",dependentOn="tenant",container="vservers") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - identifier for this vserver relative to its tenant") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Name - of vserver") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Alternative - name of vserver") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Trigger - for operational monitoring of this resource by Service Assurance - systems.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="URL - to endpoint where AAI can get more details") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="Used - to indicate whether or not this object is in maintenance mode - (maintenance mode = true). This field (in conjunction with - prov-status) is used to suppress alarms and vSCL on VNFs/VMs.") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="Used - to indicate whether closed loop function is enabled on this - node") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of virtual Servers, aka virtual machines or VMs.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Openstack - tenant",nameProps="tenant-name",indexedProps="tenant-name,tenant-id",searchable="tenant-name,tenant-id",dependentOn="cloud-region",container="tenants") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - id relative to the cloud-region.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Readable - name of tenant") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of openstack tenants.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Openstack - flavor.",nameProps="flavor-name",indexedProps="flavor-name,flavor-id",dependentOn="cloud-region",container="flavors") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Flavor - id, expected to be unique across cloud-region.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Flavor - name") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Number - of CPUs") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Amount - of memory") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Disk - space") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Amount - of ephemeral disk space") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="amount - of swap space allocation") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="whether - flavor is available to all users or private to the tenant it was - created in.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="URL - to endpoint where AAI can get more details") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Boolean - as to whether this flavor is no longer enabled") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of openstack flavors.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Openstack - group-assignment used to store exclusivity groups - (EG).",nameProps="group-name",indexedProps="group-id,group-type,group-name",dependentOn="cloud-region",container="group-assignments") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Group - id, expected to be unique across cloud-region.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Group - type - the type of group this instance refers to") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Group - name - name assigned to the group") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Group - description - description of the group") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of openstack group assignments") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Openstack - snapshot",nameProps="snapshot-name",uniqueProps="snapshot-id",indexedProps="application,snapshot-name,application-vendor,snapshot-id,application-version,prev-snapshot-id",dependentOn="cloud-region",container="snapshots") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Snapshot - id, this is the key UUID assoc associated in glance with the - snapshots.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Snapshot - name") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Operating - system architecture") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - common name of the operating system distribution in lowercase") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - operating system version as specified by the distributor.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - application that the image instantiates.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - vendor of the application.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - version of the application.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="URL - to endpoint where AAI can get more details") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - field contains the UUID of the previous snapshot (if any).") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of openstack snapshots") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Key/value - pairs",indexedProps="metaname",dependentOn="tenant,image,service-instance,connector,model",container="metadata") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true) - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of metadatum (key/value pairs)") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Openstack - image.",nameProps="image-name",indexedProps="application,image-name,application-vendor,image-id,application-version",dependentOn="cloud-region",container="images") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Image - id, expected to be unique across cloud region") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Image - name") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Operating - system architecture.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - common name of the operating system distribution in lowercase") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - operating system version as specified by the distributor.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - application that the image instantiates.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - vendor of the application.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - version of the application.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="URL - to endpoint where AAI can get more details") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collectio - of Openstack images.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of availability zones") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="cloud-region - designates an installation of a cloud cluster or region or - instantiation. In AT&Ts openecomp cloud, this could be an LCP - or DCP. Cloud regions are uniquely identified by a composite key, - cloud-owner + cloud-region-id. The format of the cloud-owner is - vendor-cloudname and we will use openecomp-openecomp for - AT&T's - openecomp.",indexedProps="cloud-owner,cloud-region-id,cloud-type,owner-defined-type",nameProps="owner-defined-type",container="cloud-regions",namespace="cloud-infrastructure") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Identifies - the vendor and cloud name, e.g., openecomp-openecomp. First part - of composite key should be formatted as vendor-cloudname") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Identifier - used by the vendor for the region. Second part of composite - key") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Type - of the cloud (e.g., openstack)") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Cloud-owner - defined type indicator (e.g., DCP, LCP)") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Software - version employed at the site") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="URL - of the keystone identity service") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Zone - where the cloud is homed") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="complex - name for cloud-region instance") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(maximumDepth="0") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Network - profile populated by SDN-GP for - SNMP",indexedProps="nm-profile-name",container="network-profiles",namespace="cloud-infrastructure") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - name of network profile.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Encrypted - SNMP community string") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of network profiles") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Physical - interface (e.g., - nic)",indexedProps="interface-name,prov-status",nameProps="prov-status",dependentOn="vpls-pe,pserver,pnf",container="p-interfaces") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Name - that identifies the physical interface") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Captures - the numeric part of the speed") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Captures - the units corresponding to the speed") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Nature - of the services and connectivity on this port.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="CLEI - or other specification for p-interface hardware.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Role - specification for p-interface hardware.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Indicates - the physical properties of the interface.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Trigger - for operational monitoring of this resource by Service Assurance - systems.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of physical interfaces.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Link - aggregate - interface",indexedProps="interface-name,interface-id,interface-role",dependentOn="generic-vnf,pserver,vpe,vpls-pe,pnf",container="lag-interfaces") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Name - that identifies the link aggregate interface") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Captures - the numeric part of the speed") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Captures - the units corresponding to the speed") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="ID - of interface") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Role - assigned to this Interface, should use values as defined in - OPENECOMP Yang models.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Trigger - for operational monitoring of this resource by Service Assurance - systems.") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of link aggregate interfaces.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Compute - host whose hostname must be unique and must exactly match what is - sent as a relationship to a - vserver.",nameProps="pserver-name2",indexedProps="hostname,in-maint,pserver-id,pserver-name2,inv-status",searchable="hostname,pserver-name2,pserver-id,ipv4-oam-address",container="pservers",namespace="cloud-infrastructure") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Value - from executing hostname on the compute node.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="PTNII - name") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Number - of cpus") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Disk - size, in GBs") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="RAM - size, in MBs") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Equipment - type. Source of truth should define valid values.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Equipment - vendor. Source of truth should define valid values.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Equipment - model. Source of truth should define valid values.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Fully-qualified - domain name") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="URL - to endpoint where AAI can get more details") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - to configure device, also used for troubleshooting and is IP - used for traps generated by device.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Serial - number, may be queried") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="IPV4 - Loopback 0 address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="IPV6 - Loopback 0 address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="IPV4 - AIM address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="IPV6 - AIM address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="IPV6 - OAM address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="CANOPI's - inventory status. Only set with values exactly as defined by - CANOPI.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="ID - of Pserver") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="internet - topology of Pserver") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="used - to indicate whether or not this object is in maintenance mode - (maintenance mode = true). This field (in conjunction with - prov-status) is used to suppress alarms and vSCL on VNFs/VMs.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="alternative - pserver name") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="purpose - of pserver") - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of compute hosts.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Virtual - organization of cloud infrastructure elements in a data center - context",nameProps="vdc-name",indexedProps="vdc-name,vdc-id",container="virtual-data-centers",namespace="cloud-infrastructure") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - ID of the vdc") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Name - of the virtual data center") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Virtual - organization of cloud infrastructure elements in a data center - context") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Namespace - for cloud infrastructure.") - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(nameProps="name",indexedProps="assignment-group-uuid,openecomp-uuid,name",uniqueProps="openecomp-uuid",container="license-key-resources",namespace="license-management") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true) - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of resource instances used to connect a variety of disparate - inventory - widgets",indexedProps="resource-instance-id,persona-model-id,persona-model-version,widget-model-id,widget-model-version",container="connectors",namespace="business") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - id of resource instance.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model id for this resource or service model.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model version for this resource or service model.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC data dictionary widget model. This maps directly to the - A&AI widget.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC data dictionary version of the widget model.This maps - directly to the A&AI version of the widget.") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of resource instances used to connect a variety of disparate - inventory widgets") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Represents - the specifics of a tunnel cross connect piece of a resource that - gets separately - allotted",uniqueProps="id",indexedProps="id",dependentOn="allotted-resource",container="tunnel-xconnects") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Allotted - Resource id UUID assigned to this instance.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - WAN uplink bandwidth for WAN1") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - WAN downlink bandwidth for WAN1") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - WAN uplink bandwidth for WAN2") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - WAN downlink bandwidth for WAN2") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Concurrency - value") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - object is used to store the specific tunnel cross connect aspects - of an allotted resource") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Represents - a slice or partial piece of a resource that gets separately - allotted",nameProps="description",uniqueProps="id",indexedProps="id,persona-model-id,persona-model-version",dependentOn="service-instance",container="allotted-resources") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Allotted - Resource id UUID assigned to this instance.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - descriptive information assigned to this allotted resource - instance") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Link - back to more information in the controller") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model id for this resource or service model.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model version for this resource or service model.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Concurrency - value") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - object is used to store slices of services being offered") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Instance - of a - service",indexedProps="service-instance-id,persona-model-id,persona-model-version,widget-model-id,widget-model-version,service-instance-name,service-instance-location-id",nameProps="service-instance-name",searchable="service-instance-id,service-instance-name",uniqueProps="service-instance-id",dependentOn="service-subscription",container="service-instances") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Uniquely - identifies this instance of a service") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - field will store a name assigned to the service-instance.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model id for this resource or service model.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model version for this resource or service model.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC data dictionary widget model. This maps directly to the - A&AI widget.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC data dictionary version of the widget model.This maps - directly to the A&AI version of the widget.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Indicates - the total bandwidth to be used for this service.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="indicates - the upstream bandwidth this service will use on the WAN1 port of - the physical device.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="indicates - the downstream bandwidth this service will use on the WAN1 port - of the physical device.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="indicates - the upstream bandwidth this service will use on the WAN2 port of - the physical device.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="indicates - the downstream bandwidth this service will use on the WAN2 port - of the physical device.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="URL - customers will use to access the vHN Portal.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Operational - status of the service-instance.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="An - identifier that customers assign to the location where this - service is being used.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of service instances") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Object - that group service - instances.",indexedProps="service-type",dependentOn="customer",container="service-subscriptions") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Value - defined by orchestration to identify this service across - OPENECOMP.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - property will be deleted from A&AI in the near future. Only - stop gap solution.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of objects that group service instances.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="customer - identifiers to provide linkage back to BSS - information.",nameProps="subscriber-name",indexedProps="subscriber-name,global-customer-id,subscriber-type",searchable="subscriber-name,global-customer-id",uniqueProps="global-customer-id,subscriber-name",alternateKeys1="subscriber-name",container="customers",namespace="business") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Global - customer id used across OPENECOMP to uniquely identify - customer.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Subscriber - name, an alternate way to retrieve a customer.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Subscriber - type, a way to provide VID with only the INFRA - customers.",defaultValue="CUST") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of customer identifiers to provide linkage back to BSS - information.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Namespace - for business related constructs") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Image - object that pertain to a VNF that doesn't have associated - vservers. This is a - kludge.",indexedProps="application,openecomp-uuid,application-vendor,application-version",uniqueProps="openecomp-uuid",container="vnf-images",namespace="service-design-and-creation") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - ID of this asset") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - application that the image instantiates.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - vendor of the application.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - version of the application.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="URL - to endpoint where AAI can get more details") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of image objects that pertain to a VNF that doesn't have - associated vservers. This is a kludge.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Stand-in - for service model definitions. Likely to be deprecated in favor of - models from - ASDC.",indexedProps="service-description,service-id",container="services",namespace="service-design-and-creation") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="This - gets defined by others to provide a unique ID for the service, - we accept what is sent.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Description - of the service") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="URL - to endpoint where AAI can get more details") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="service - version") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of service model definitions. Likely to be deprecated in favor of - models from ASDC.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Early - definition of server/resource pairings, likely to be replaced by - models. No new use should be made of - this.",indexedProps="service-type,vnf-type",container="service-capabilities",namespace="service-design-and-creation") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="This - gets defined by others to provide a unique ID for the service, - we accept what is sent.") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="String - capturing type of vnf, that was intended to identify the ASDC - resource. This field has been overloaded and clients should - expect changes to occur in the future to this field as ASDC - matures.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of service capabilities.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - is how we would capture constraints defining allowed sets of - elements.",uniqueProps="element-choice-set-uuid",indexedProps="element-choice-set-uuid",allowDirectRead="true",allowDirectWrite="false",container="element-choice-sets") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,autoGenerateUuid="true") - - - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - is how we would capture constraints defining allowed sets of - elements.",uniqueProps="constrained-element-set-uuid",indexedProps="constrained-element-set-uuid",allowDirectRead="true",allowDirectWrite="false",container="constrained-element-sets") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,autoGenerateUuid="true") - - - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - is how we would capture constraints defining allowed sets of - elements.",uniqueProps="model-constraint-uuid",indexedProps="model-constraint-uuid",allowDirectRead="true",allowDirectWrite="false",container="model-constraints") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,autoGenerateUuid="true") - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Defines - how other models combine to make up a higher-level - model.",uniqueProps="model-element-uuid",indexedProps="model-element-uuid",allowDirectRead="true",allowDirectWrite="false",container="model-elements") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,autoGenerateUuid="true") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Indicates - whether this element was created as part of instantiation from - this model") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="How - many of this type of element are required/allowed") - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Defines - how other models combine to make up a higher-level - model.",uniqueProps="model-element-uuid",indexedProps="model-element-uuid",allowDirectRead="true",allowDirectWrite="false",container="model-elements") - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Defines - how other models combine to make up a higher-level model") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Describes - new constraints on this model element that are not part of that - model's definition") - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Subgraph - definition provided by ASDC to describe a specific version of an - inventory asset and its connections related to ASDC - models",nameProps="model-name",indexedProps="model-version-id,model-name,model-version",uniqueProps="model-version-id",container="model-vers",namespace="service-design-and-creation") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - identifier corresponding to one version of a model in ASDC") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Name - of the model, which can change from version to version.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Version") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Description") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Subgraph - definition provided by ASDC to describe an inventory asset and its - connections related to ASDC models, independent of - version",nameProps="model-type",indexedProps="model-invariant-id,model-type",uniqueProps="model-invariant-id",container="models",namespace="service-design-and-creation") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - identifier corresponding to the main definition of a model in - ASDC") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Type - of the model, e.g., service, resource, widget, etc.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of subgraph definitions provided by ASDC to describe the inventory - assets and their connections related to ASDC models") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="TBD",uniqueProps="related-lookup-uuid",indexedProps="related-lookup-uuid",allowDirectRead="true",allowDirectWrite="false",container="related-lookups") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,autoGenerateUuid="true") - - - - - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="TBD",uniqueProps="property-constraint-uuid",indexedProps="property-constraint-uuid",allowDirectRead="true",allowDirectWrite="false",container="property-constraints") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,autoGenerateUuid="true") - - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="TBD",uniqueProps="named-query-element-uuid",indexedProps="named-query-element-uuid",allowDirectRead="true",allowDirectWrite="false",container="named-query-elements") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,autoGenerateUuid="true") - - - - - - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="TBD",nameProps="named-query-name",uniqueProps="named-query-uuid",indexedProps="named-query-uuid,named-query-name",container="named-queries",namespace="service-design-and-creation") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true) - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="TBD",nameProps="named-query-name",uniqueProps="named-query-uuid",indexedProps="named-query-uuid,named-query-name",container="named-queries",namespace="service-design-and-creation") - - - - - - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Namespace - for objects managed by ASDC") - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Logical - links generally connect l-interfaces but are used to express - logical connectivity between two - points",indexedProps="link-name,persona-model-id,persona-model-version,widget-model-id,widget-model-version,link-id,prov-status,circuit-id,purpose",uniqueProps="link-id",nameProps="prov-status,circuit-id",container="logical-links",namespace="network") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="e.g., - evc-name, or - vnf-nameA_interface-nameA_vnf-nameZ_interface-nameZ") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Type - of logical link, e.g., evc") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Captures - the numeric part of the speed") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Captures - the units corresponding to the speed") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="v4, - v6, or ds for dual stack (should be openecomp-ip-version)") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="For - example, static or BGP") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model id for this resource or service model.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model version for this resource or service model.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC data dictionary widget model. This maps directly to the - A&AI widget.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC data dictionary version of the widget model.This maps - directly to the A&AI version of the widget.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Indication - of operational status of the logical link.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Trigger - for operational monitoring of this VNF by BAU Service Assurance - systems.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Indication - of the network use of the logical link.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Alias - or alternate name (CLCI or D1 name).") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="UUID - of the logical-link, SDNC generates this.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Circuit - id") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Reason - for this entity, role it is playing") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of logical connections") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(indexedProps="cos",dependentOn="site-pair",container="classes-of-service") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="unique - identifier of probe") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="identifier - of probe") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="type - of probe") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="class-of-service - of probe") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(indexedProps="site-pair-id",uniqueProps="site-pair-id",dependentOn="routing-instance",container="site-pairs") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="unique - identifier of probe") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Prefix - address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Prefix - address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="ip - version, v4, v6") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Hostname - of the destination equipment to which SLAs are measured - against.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - type of destinatination equipment. Could be Router, UCPE, etc.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="probe - within a set") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(indexedProps="routing-instance-id",uniqueProps="routing-instance-id",dependentOn="site-pair-set",container="routing-instances") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - id of routing instance") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="rpm - owner") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="set - of probes related to generic-vnf routing instance") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Set - of instances for probes used to measure service level - agreements",indexedProps="site-pair-set-id",uniqueProps="site-pair-set-id",container="site-pair-sets",namespace="network") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - id of site pair set.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of sets of instances for probes related to generic-vnf") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="VPN - binding",nameProps="vpn-name,vpn-type",indexedProps="vpn-name,vpn-id,global-route-target,vpn-type",searchable="vpn-name",uniqueProps="vpn-id",container="vpn-bindings",namespace="network") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="VPN - ID, globally unique within A&AI") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="VPN - Name") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Number - used to identify a VPN, globally unique in the network") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - platform associated with the VPN example AVPN, Mobility") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Type - of the vpn, should be taken from enumerated/valid values") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - to distinguish the distinct VPN routes of separate customers who - connect to the provider in an MPLS network.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Role - assigned to this route target") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="l3-networks - relate to vpn-bindings") - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="VPLS - Provider Edge - routers.",indexedProps="prov-status,equipment-name",container="vpls-pes",namespace="network") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true) - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Trigger - for operational monitoring of this VNF by BAU Service Assurance - systems.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Address - tail-f uses to configure vpe, also used for troubleshooting and - is IP used for traps generated by VPE - (v4-loopback0-ip-address).") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Client - should send valid enumerated value, e.g., VPLS-PE.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Temporary - location for stag to get to VCE") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of VPLS Provider Edge routers") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(indexedProps="multicast-configuration-id",uniqueProps="multicast-configuration-id",container="multicast-configurations",namespace="network") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - id of multicast configuration.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="protocol - of multicast configuration") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="rp - type of multicast configuration") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="multicast - configuration of generic-vnf ip-address") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(dependentOn="port-group",indexedProps="cvlan-tag",container="cvlan-tags") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="See - mis-na-virtualization-platform.yang") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - to capture the network interfaces of this - VCE",nameProps="port-group-name",indexedProps="port-group-id,heat-stack-id,interface-id,interface-name,switch-name",dependentOn="vce",container="port-groups") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - ID of the interface") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Neutron - network id of this Interface") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Neutron - network name of this Interface") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Role - assigned to this Interface, should use values as defined in - OPENECOMP Yang models.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Unique - ID for port group in vmware") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Likely - to duplicate value of neutron network name") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="DVS - or standard switch name (should be non-null for port groups - associated with DVS)") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Orchestration - status of this VNF, mastered by MSO") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Heat - stack id corresponding to this instance, managed by MSO") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Corresponds - to the SDN-C catalog id used to configure this VCE") - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Metadata - for license - group.",indexedProps="group-uuid,resource-uuid",dependentOn="generic-vnf,vce,vpe",container="licenses") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - ID for the license group the resource belongs to, should be - uuid.") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - ID of a license resource. ") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Concurrency - value") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Licenses - to be allocated across resources, keyed by group-uuid and - resource-uuid, related to license management") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Metadata - for entitlement - group.",indexedProps="group-uuid,resource-uuid",dependentOn="generic-vnf,vce,vpe",container="entitlements") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - ID for the entitlement group the resource comes from, should be - uuid.") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - ID of an entitlement resource. ") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Concurrency - value") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Entitlements, - keyed by group-uuid and resource-uuid, related to license - management") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Virtual - Customer Edge Router, used specifically for Gamma. This object is - deprecated.",nameProps="vnf-name",indexedProps="vnf-name,vnf-name2,vnf-type,heat-stack-id,vnf-id,interface-name,regional-resource-zone,vpe-id,prov-status,service-id",searchable="vnf-id,vnf-name,vnf-name2",uniqueProps="vnf-id",container="vces",namespace="network",extendsFrom="vnf") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - id of VNF. This is unique across the graph.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Name - of VNF.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Alternate - name of VNF.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="String - capturing type of vnf, that was intended to identify the ASDC - resource. This field has been overloaded and clients should - expect changes to occur in the future to this field as ASDC - matures.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Unique - identifier of service from ASDC. Expect this to change as ASDC - matures.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Regional - way of organizing pservers, source of truth should define - values") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Trigger - for operational monitoring of this resource by Service Assurance - systems.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Indicator - for whether the resource is considered operational") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="License - key") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Network - role being played by this VNF") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Orchestration - status of this VNF, mastered by MSO") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Heat - stack id corresponding to this instance, managed by MSO") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Corresponds - to the SDN-C catalog id used to configure this VCE") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Unique - ID of VPE connected to this VCE.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Valid - v6 IP address for the WAN Link on this router. Implied length of - /64.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Address - tail-f uses to configure vce, also used for troubleshooting and - is IP used for traps generated by VCE.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Loopback0 - address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Entitlement - resource uuid") - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of Virtual Customer Edge Routers, used specifically for Gamma. - This object is deprecated.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Relationship-list - must include related to info for - complex.",nameProps="vnf-name",indexedProps="vnf-name,vnf-name2,vnf-type,heat-stack-id,vnf-id,regional-resource-zone,prov-status,service-id",searchable="vnf-id,vnf-name,vnf-name2",uniqueProps="vnf-id",container="vpes",namespace="network",extendsFrom="vnf") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - id of VNF. This is unique across the graph.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Name - of VNF.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Alternate - name of VNF.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="String - capturing type of vnf, that was intended to identify the ASDC - resource. This field has been overloaded and clients should - expect changes to occur in the future to this field as ASDC - matures.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Unique - identifier of service from ASDC") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Regional - way of organizing pservers, source of truth should define - values") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Trigger - for operational monitoring of this resource by Service Assurance - systems.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Indicator - for whether the resource is considered operational") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="License - key") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Client - should send valid enumerated value") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Orchestration - status of this VNF, mastered by MSO") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Heat - stack id corresponding to this instance, managed by MSO") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Corresponds - to the SDN-C catalog id used to configure this VCE") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Address - tail-f uses to configure vpe, also used for troubleshooting and - is IP used for traps generated by VPE - (v4-loopback0-ip-address).") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Prefix - length for oam-address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Gateway - address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Loopback0 - address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Temporary - location for stag to get to VCE") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="as-number - of the VPE") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="details - regarding the vpe operation") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="indicates - whether vpe access uses SSH") - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Virtual - provider edge router. In 1504, A&AI will populate this object - through an M&P and tool provided to operations.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(indexedProps="vnfc-name,prov-status,vnfc-type,vnfc-function-code,ipaddress-v4-oam-vip,in-maint,is-closed-loop-disabled,group-notation",searchable="vnfc-name",container="vnfcs",namespace="network") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - ID of vnfc.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="function - code") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="type") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="prov - status of this vnfc") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Orchestration - status of this VNF, mastered by APP-C") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Oam - V4 vip address of this vnfc") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="used - to indicate whether or not this object is in maintenance mode - (maintenance mode = true)") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="used - to indicate whether closed loop function is enabled on this - node") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Group - notation of VNFC") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="virtual - network components associated with a vserver from application - controller.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(indexedProps="subnet-id,subnet-name",nameProps="subnet-name",uniqueProps="subnet-id",dependentOn="l3-network",container="subnets") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Subnet - ID, should be UUID.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Name - associated with the subnet.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Neutron - id of this subnet") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="gateway - ip address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="network - start address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="cidr - mask") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="ip - version") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Orchestration - status of this VNF, mastered by MSO") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="dhcp - enabled") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - start address reserved for use by dhcp") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - last address reserved for use by dhcp") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(indexedProps="vlan-id-inner",dependentOn="l3-network",container="ctag-assignments") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="id.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Openstack - segmentation - assignment.",indexedProps="segmentation-id",dependentOn="l3-network",container="segmentation-assignments") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Route - Table Reference id, UUID assigned to this instance.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Concurrency - value") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of openstack segmentation assignments") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Generic - network - definition",nameProps="network-name",indexedProps="heat-stack-id,network-uuid,service-id,network-id,network-name,persona-model-id,persona-model-version,widget-model-id,widget-model-version,contrail-network-fqdn,network-role",searchable="network-name",uniqueProps="network-id",container="l3-networks",namespace="network") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Network - ID, should be uuid. Unique across A&AI.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Name - of the network, governed by some naming convention..") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Type - of the network - who defines these values?") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Role - the network plans - who defines these values?") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Network - technology - who defines these values?") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Neutron - network id of this Interface") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="Set - to true if bound to VPN") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Unique - identifier of service from ASDC") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="network - role instance") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Orchestration - status of this VNF, mastered by MSO") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Heat - stack id corresponding to this instance, managed by MSO") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Corresponds - to the SDN-C catalog id used to configure this VCE") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Contrail - FQDN for the network") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model id for this resource or service model.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model version for this resource or service model.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="captures - the id of all the configuration used to customize the resource - for the service.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC data dictionary widget model. This maps directly to the - A&AI widget.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC data dictionary version of the widget model.This maps - directly to the A&AI version of the widget.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Name - associated with the physical network.") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="boolean - indicatating whether or not network is a provider network.") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="boolean - indicatating whether or not network is a shared network.") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="boolean - indicatating whether or not network is an external network.") - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Relates - to tenant (or is it a child of tenant), complex, service, - vpn-binding") - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(nameProps="network-policy-fqdn",indexedProps="network-policy-id,network-policy-fqdn",searchable="network-policy-fqdn",uniqueProps="network-policy-id",container="network-policies",namespace="network") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="UUID - representing unique key to this instance") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Contrail - FQDN for the policy") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="ID - for the openStack Heat instance") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="a - deployment unit of - VNFCs",indexedProps="vf-module-id,vf-module-name,heat-stack-id,persona-model-id,persona-model-version,widget-model-id,widget-model-version,contrail-service-instance-fqdn",searchable="vf-module-name",dependentOn="generic-vnf",container="vf-modules") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - ID of vf-module.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Name - of vf-module") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Heat - stack id corresponding to this instance.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="orchestration - status of this vf-module, mastered by MSO") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="used - to indicate whether or not this object is base vf module") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model id for this resource or service model.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model version for this resource or service model.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="captures - the id of all the configuration used to customize the resource - for the service.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC data dictionary widget model. This maps directly to the - A&AI widget.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC data dictionary version of the widget model.This maps - directly to the A&AI version of the widget.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - Contrail unique ID for a service-instance") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of vf-modules, a deployment unit of VNFCs") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="General - purpose - VNF",nameProps="vnf-name",indexedProps="is-closed-loop-disabled,vnf-name2,vnf-type,heat-stack-id,in-maint,vnf-name,vnf-id,regional-resource-zone,prov-status,service-id,persona-model-id,persona-model-version,widget-model-id,widget-model-version",searchable="vnf-id,vnf-name,vnf-name2",uniqueProps="vnf-id",container="generic-vnfs",namespace="network",extendsFrom="vnf") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - id of VNF. This is unique across the graph.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Name - of VNF.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Alternate - name of VNF.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="String - capturing type of vnf, that was intended to identify the ASDC - resource. This field has been overloaded and clients should - expect changes to occur in the future to this field as ASDC - matures.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Unique - identifier of service from ASDC") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Regional - way of organizing pservers, source of truth should define - values") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Trigger - for operational monitoring of this resource by Service Assurance - systems.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Indicator - for whether the resource is considered operational") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="License - key") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Client - should send valid enumerated value") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Orchestration - status of this VNF, used by MSO.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Heat - stack id corresponding to this instance, managed by MSO") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Corresponds - to the SDN-C catalog id used to configure this VCE") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="identifier - of managed by openecomp or customer") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Address - tail-f uses to configure generic-vnf, also used for - troubleshooting and is IP used for traps generated by - generic-vnf.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="v4 - Loopback0 address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="v6 - Loopback address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="v6 - management address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="number - of vcpus ordered for this instance of VNF, used for VNFs with no - vservers/flavors") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="units - associated with vcpu, used for VNFs with no vservers/flavors") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="number - of GB of memory ordered for this instance of VNF, used for VNFs - with no vservers/flavors") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="units - associated with vmemory, used for VNFs with no - vservers/flavors") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="number - of vdisks ordered for this instance of VNF, used for VNFs with - no vservers/flavors") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="units - associated with vdisk, used for VNFs with no vservers/flavors") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="used - to indicate whether or not this object is in maintenance mode - (maintenance mode = true). This field (in conjunction with - prov-status) is used to suppress alarms and vSCL on VNFs/VMs.") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="used - to indicate whether closed loop function is enabled on this - node") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="details - regarding the generic-vnf operation") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="indicates - whether generic-vnf access uses SSH") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="UUID - of the Entitlement group used for licensing VNFs") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="UUID - of the specific entitlement resource") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="UUID - of the license assignment group") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="UUID - of the actual license resource") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model id for this resource or service model.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC model version for this resource or service model.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="captures - the id of all the configuration used to customize the resource - for the service.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC data dictionary widget model. This maps directly to the - A&AI widget.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="the - ASDC data dictionary version of the widget model.This maps - directly to the A&AI version of the widget.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="as-number - of the VNF") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="represents - sub zone of the rr plane") - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of VNFs") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="LAG - links can connect - lag-interfaces",indexedProps="link-name",container="lag-links",namespace="network") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Alphabetical - concatenation of lag-interface names") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of link aggregation connections") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - object fills in the gaps from vce that were incorporated into - generic-vnf. This object will be retired with - vce.",nameProps="vnf-name",indexedProps="vnf-name,vnf-name2,vnf-type,heat-stack-id,prov-status,vnf-id2",searchable="vnf-id2,vnf-name,vnf-name2",uniqueProps="vnf-id2",container="newvces",namespace="network") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - id of VNF, can't use same attribute name right now until we - promote this new object") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Name - of VNF.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Alternate - name of VNF.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="String - capturing type of vnf, that was intended to identify the ASDC - resource. This field has been overloaded and clients should - expect changes to occur in the future to this field as ASDC - matures.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Trigger - for operational monitoring of this VNF by BAU Service Assurance - systems.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Indicator - for whether the resource is considered operational") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="License - key") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Address - tail-f uses to configure vpe, also used for troubleshooting and - is IP used for traps generated by VPE - (v4-loopback0-ip-address).") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Client - should send valid enumerated value, e.g., VPE.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="v4 - Loopback0 address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Orchestration - status of this VNF, mastered by MSO.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Heat - stack id corresponding to this instance, managed by MSO") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Corresponds - to the SDN-C catalog id used to configure this VCE") - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="This - object fills in the gaps from vce that were incorporated into - generic-vnf. This object will be retired with vce.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="PNF - represents a physical network function. typically equipment used - in the D1 world. in 1607, this will be populated by SDN-C to - represent a premises router that a uCPE connects to. But this can - be used to represent any physical device that is not an openecomp - node or - uCPE.",indexedProps="pnf-name,orchestration-status,inv-status",searchable="pnf-name",uniqueProps="pnf-name",container="pnfs",namespace="network") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="unique - name of Physical Network Function.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="name - of Physical Network Function.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="source - of name2") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="id - of pnf") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Equipment - type. Source of truth should define valid values.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Equipment - vendor. Source of truth should define valid values.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Equipment - model. Source of truth should define valid values.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="identifier - of managed by openecomp or customer") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="ipv4-oam-address - with new naming convention for IP addresses") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="sw-version - is the version of SW for the hosted application on the PNF.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="orchestration-status - is the status of orchestration on the PNF.") - - - - - - - @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="Used - to indicate whether or not this object is in maintenance mode - (maintenance mode = true). This field (in conjunction with - prov-status) is used to suppress alarms and vSCL on VNFs/VMs.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="ID - of the physical frame (relay rack) where pnf is installed.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Serial - number of the device") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="IPV4 - Loopback 0 address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="IPV6 - Loopback 0 address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="IPV4 - AIM address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="IPV6 - AIM address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="IPV6 - OAM address") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="CANOPI's - inventory status. Only set with values exactly as defined by - CANOPI.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of Physical Network Functions.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of physical connections, typically between - p-interfaces",indexedProps="circuit-id,link-name",alternateKeys1="circuit-id",container="physical-links",namespace="network") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="e.g., - hostnameA_p-connection_nameA_hostnameZ+p_connection-nameZ") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Captures - the numeric part of the speed") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Captures - the units corresponding to the speed") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Circuit - it") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Dual - access mode (e.g., primary, secondary") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="To - provide information on who manages this circuit. A&AI or 3rd - party transport provider") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Name - of the service Provider on this link.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of physical connections, typically between p-interfaces") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="vig-server - contains information about a vig server used for - IPSec-configuration. Populated by SDN-C from - 1607",indexedProps="vig-address-type",dependentOn="ipsec-configuration",container="vig-servers") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="indicates - whether the VIG is for AVPN or INTERNET") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="v4 - IP of the vig server") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="v6 - IP of the vig server") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="IPSec - configuration node will contain various configuration data for the - NMTE VNF. This node will have an edge to the generic-vnf (vnf type - = TE). Starting 1607, this data will be populated by - SDN-C",indexedProps="ipsec-configuration-id",uniqueProps="ipsec-configuration-id",container="ipsec-configurations",namespace="network") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="UUID - of this configuration") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Indicate - the type of VIG server like AVPN, INTERNET, BOTH") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Encryption - values like 3des-cbc, des-cbc, aes-128-cbc, aes-192-cbc, - aes-265-cbc") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="openecomp - can offer a shared DMZ or a DMZ specific to a customer") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Network - address of shared DMZ") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="If - the DMZ is a custom DMZ, this field will indicate the customer - information") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="can - be 1 or 2") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Contains - values like md5, sha1, sha256, sha384") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Encyption - values like 3des-cbc, des-cbc, aes-128-cbc, aes-192-cbc, - aes-265-cbc") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Diffie-Hellman - group like DH-GROUP2, DH-GROUP5, DH-GROUP14") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Group - name defined in VIG for clients using aggressive mode") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="pre-shared - key for the above group name ") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Lifetime - for IKEv1 SA") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="md5, - sha1, sha256, sha384") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="3des-cbc, - des-cbc, aes-128-cbc, aes-192-cbc, aes-265-cbc") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Life - time for IPSec SA") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="enable - PFS or not") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="user - ID for xAuth, sm-user,ucpeHostName,nmteHostName") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Encrypted - using the Juniper $9$ algorithm") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="The - time between DPD probe") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Maximum - number of DPD before claiming the tunnel is down") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Used - for optimistic concurrency. Must be empty on create, valid on - update and delete.") - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Openstack - route table - reference.",nameProps="route-table-reference-fqdn",uniqueProps="route-table-reference-id",indexedProps="route-table-reference-id,route-table-reference-fqdn",container="route-table-references",namespace="network") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Route - Table Reference id, UUID assigned to this instance.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="FQDN - entry in the route table.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Concurrency - value") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of openstack route table references") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="General - mechanism for grouping - instances",nameProps="description",uniqueProps="id",indexedProps="id,description,type,sub-type",container="instance-groups",namespace="network") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Instance - Group ID, UUID assigned to this instance.") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Descriptive - text to help identify the usage of this instance-group") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Only - valid value today is lower case ha for high availability") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Valid - values for ha type are [geo-activeactive, geo-activestandby, - local-activeactive, local-activestandby]") - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Concurrency - value") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Collection - of openstack route table references") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Namespace - for network inventory resources.") - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Internal - map to define some reserved properties of a - vertex",uniqueProps="aai-unique-key",indexedProps="aai-unique-key,source-of-truth,aai-node-type") - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Internal - map to define the properties of an edge and interpret the map - EdgeRules",edgeInfo="edgeLabel,direction,multiplicityRule,isParent,usesResource,hasDelTarget,SVC-INFRA,SVC-INFRA-REV") - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="QueryParameters - for performing a named-query or model query") - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="InstanceFilters - for performing a named-query or model query") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="ModelAndNamedQuerySearch - holds query-parameters and instance-properties for performing a - named-query or model query") - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Property - holder for query properties or instance properties") - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Inventory - item for response list",container="inventory-response-items") - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Container - for inventory items in response list",container="response-list") - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Response - container for the results of a named-query or model query") - - - - - - - - - - - - - - - - - - - @org.openecomp.aai.annotations.Metadata(description="Abstract - vnf - class",indexedProps="vnf-id",uniqueProps="vnf-id",inheritors="vce,vpe,generic-vnf",isAbstract="true") - - - - - - - @org.openecomp.aai.annotations.Metadata(isKey=true,description="Unique - id of VNF. This is unique across the graph.") - - - - - - - diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/pom.xml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/pom.xml deleted file mode 100644 index 0bd8b7607c..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/pom.xml +++ /dev/null @@ -1,113 +0,0 @@ - - - 4.0.0 - - onap-sdc-artifact-generator-core - onap-sdc-artifact-generator-core - - - onap-common-lib - org.onap.sdc.common - 1.3.3-SNAPSHOT - ../../pom.xml - - - - - org.aspectj - aspectjrt - - - org.slf4j - slf4j-api - - - com.fasterxml.jackson.core - jackson-databind - - - com.fasterxml.jackson.core - jackson-annotations - - - com.fasterxml.jackson.dataformat - jackson-dataformat-yaml - - - commons-codec - commons-codec - - - org.openecomp.sdc - openecomp-sdc-logging-api - ${project.version} - - - org.openecomp.sdc - openecomp-sdc-logging-core - ${project.version} - runtime - - - org.onap.sdc.common - onap-sdc-artifact-generator-api - ${project.version} - - - org.testng - testng - test - - - commons-io - commons-io - test - - - org.reflections - reflections - ${org.reflections.version} - - - - - - - - org.codehaus.mojo - aspectj-maven-plugin - 1.8 - - - 1.8 - 1.8 - 1.8 - - - - - compile - - test-compile - - - - - org.aspectj - aspectjtools - ${aspectj.version} - - - - - - - - org.codehaus.mojo - aspectj-maven-plugin - - - - diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/main/java/org/onap/sdc/generator/GeneratorManager.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/main/java/org/onap/sdc/generator/GeneratorManager.java deleted file mode 100644 index 92314418f3..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/main/java/org/onap/sdc/generator/GeneratorManager.java +++ /dev/null @@ -1,93 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator; - -import com.fasterxml.jackson.databind.ObjectMapper; -import org.onap.sdc.generator.data.ArtifactType; -import org.onap.sdc.generator.data.GeneratorConfiguration; -import org.onap.sdc.generator.data.GeneratorConstants; -import org.onap.sdc.generator.intf.ArtifactGenerator; -import org.onap.sdc.generator.intf.Generator; -import org.onap.sdc.generator.util.ArtifactGeneratorUtil; -import org.openecomp.sdc.logging.api.Logger; -import org.openecomp.sdc.logging.api.LoggerFactory; -import org.reflections.Reflections; - -import static org.onap.sdc.generator.util.ArtifactGeneratorUtil.logError; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import java.util.Set; - -public class GeneratorManager { - - private static Logger log = LoggerFactory.getLogger(GeneratorManager.class.getName()); - private static Map generators = new HashMap<>(); - - /** - * Gets active artifact generators. - * - * @param clientConfiguration the client configuration - * @return the active artifact generators - * @throws Exception the exception - */ - public static List getActiveArtifactGenerators(String clientConfiguration) - throws Exception { - - if (generators.isEmpty()) { - log.debug("Getting list of active generators"); - Reflections reflections = new Reflections("org.onap.sdc.generator"); - Set> annotated = reflections.getTypesAnnotatedWith(Generator.class); - for (Class clazz : annotated) { - Generator generator = clazz.getAnnotation(Generator.class); - generators.put(generator.artifactType(), (ArtifactGenerator) clazz.newInstance()); - } - } - - log.debug("Parsing generator configuration from the client configuration : " - + clientConfiguration); - GeneratorConfiguration gf = getGeneratorConfiguration(clientConfiguration); - List generatorList = new ArrayList<>(); - if (gf.getArtifactTypes() != null && !gf.getArtifactTypes().isEmpty()) { - for (ArtifactType type : gf.getArtifactTypes()) { - if (generators.get(type) != null) { - generatorList.add(generators.get(type)); - } - } - } - - return generatorList; - } - - private static GeneratorConfiguration getGeneratorConfiguration(String jsonConfiguration) { - try { - return new ObjectMapper().readValue(jsonConfiguration, GeneratorConfiguration.class); - } catch (Exception exception) { - ArtifactGeneratorUtil - .logError(GeneratorConstants.GENERATOR_ERROR_INVALID_CLIENT_CONFIGURATION, exception); - throw new IllegalArgumentException( - GeneratorConstants.GENERATOR_ERROR_INVALID_CLIENT_CONFIGURATION, exception); - } - } - -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/main/java/org/onap/sdc/generator/GeneratorTask.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/main/java/org/onap/sdc/generator/GeneratorTask.java deleted file mode 100644 index 66004ec89b..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/main/java/org/onap/sdc/generator/GeneratorTask.java +++ /dev/null @@ -1,74 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator; - -import org.onap.sdc.generator.data.Artifact; -import org.onap.sdc.generator.data.GenerationData; -import org.onap.sdc.generator.intf.ArtifactGenerator; -import org.openecomp.sdc.logging.api.Logger; -import org.openecomp.sdc.logging.api.LoggerFactory; - -import java.util.LinkedList; -import java.util.List; -import java.util.Map; -import java.util.concurrent.RecursiveTask; - -public class GeneratorTask extends RecursiveTask { - - private static Logger log = LoggerFactory.getLogger(GeneratorTask.class.getName()); - - List input; - List generators; - Map additionalParams; - - /** - * Instantiates a new Generator task. - * - * @param generators the generators - * @param input the input - * @param additionalParams the additional params - */ - public GeneratorTask(List generators, List input, - Map additionalParams ) { - this.input = input; - this.generators = generators; - this.additionalParams = additionalParams; - } - - @Override - protected GenerationData compute() { - if (generators.size() == 1) { - log.debug("Instantiating Generator : " + generators.get(0).getClass().getName()); - return generators.remove(0).generateArtifact(input, additionalParams); - } else { - LinkedList generator = new LinkedList<>(); - generator.add(generators.remove(0)); - GeneratorTask tobeDone = new GeneratorTask(generator, input, additionalParams); - GeneratorTask tobeForked = - new GeneratorTask(new LinkedList(generators), input, additionalParams); - tobeForked.fork(); - GenerationData output = tobeDone.compute(); - output.add(tobeForked.join()); - return output; - } - } - -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/main/java/org/onap/sdc/generator/MockArtifactGenerator.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/main/java/org/onap/sdc/generator/MockArtifactGenerator.java deleted file mode 100644 index 6babf721dc..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/main/java/org/onap/sdc/generator/MockArtifactGenerator.java +++ /dev/null @@ -1,77 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator; - -import org.onap.sdc.generator.data.*; -import org.onap.sdc.generator.intf.ArtifactGenerator; -import org.onap.sdc.generator.intf.Generator; - -import java.util.Date; -import java.util.List; -import java.util.Map; - -@Generator(artifactType = ArtifactType.OTHER) -public class MockArtifactGenerator implements ArtifactGenerator { - - @Override - public GenerationData generateArtifact(List input, - Map additionalParams) { - final GenerationData data = new GenerationData(); - - String staticArtifactName = "MOCK_Generator-Static-Artifact.xml"; - String staticArtifactLabel = "MOCK-Generator-Static-Artifact"; - final String dynamicArtifactName = "MOCK_Generator-Dynamic-Artifact.xml"; - final String dynamicArtifactLabel = "MOCK-Generator-Dynamic-Artifact"; - String staticArtifact = getStaticArtifact(); - String dynamicArtifact = getDynamicArtifact(); - - Artifact staticArtifactModel = new Artifact(ArtifactType.OTHER.name(), GroupType.OTHER.name(), - GeneratorUtil.checkSum(staticArtifact.getBytes()), - GeneratorUtil.encode(staticArtifact.getBytes())); - staticArtifactModel.setName(staticArtifactName); - staticArtifactModel.setLabel(staticArtifactLabel); - staticArtifactModel.setDescription("Mock Generator"); - - Artifact dynamicArtifactModel = new Artifact(ArtifactType.OTHER.name(), GroupType.OTHER.name(), - GeneratorUtil.checkSum(dynamicArtifact.getBytes()), - GeneratorUtil.encode(dynamicArtifact.getBytes())); - dynamicArtifactModel.setName(dynamicArtifactName); - dynamicArtifactModel.setLabel(dynamicArtifactLabel); - dynamicArtifactModel.setDescription("Mock Generator"); - - data.add(staticArtifactModel); - data.add(dynamicArtifactModel); - - return data; - - } - - private String getStaticArtifact() { - return "Hi I'm Static"; - } - - private String getDynamicArtifact() { - return - "Hi I'm Static" - + new Date() + ""; - } - -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/main/java/org/onap/sdc/generator/aai/AaiArtifactGenerator.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/main/java/org/onap/sdc/generator/aai/AaiArtifactGenerator.java deleted file mode 100644 index 0a1677e797..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/main/java/org/onap/sdc/generator/aai/AaiArtifactGenerator.java +++ /dev/null @@ -1,664 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.aai; - -import java.io.File; -import java.io.FileInputStream; -import java.io.IOException; -import java.util.Collection; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Iterator; -import java.util.LinkedList; -import java.util.List; -import java.util.Map; -import java.util.Objects; -import java.util.Properties; -import java.util.Set; -import org.onap.sdc.generator.aai.model.AllotedResource; -import org.onap.sdc.generator.aai.model.L3NetworkWidget; -import org.onap.sdc.generator.aai.model.Model; -import org.onap.sdc.generator.aai.model.ProvidingService; -import org.onap.sdc.generator.aai.model.Resource; -import org.onap.sdc.generator.aai.model.Service; -import org.onap.sdc.generator.aai.model.TunnelXconnectWidget; -import org.onap.sdc.generator.aai.model.VfModule; -import org.onap.sdc.generator.aai.model.Widget; -import org.onap.sdc.generator.aai.tosca.GroupDefinition; -import org.onap.sdc.generator.aai.tosca.NodeTemplate; -import org.onap.sdc.generator.aai.tosca.ToscaTemplate; -import org.onap.sdc.generator.aai.types.ModelType; -import org.onap.sdc.generator.data.AdditionalParams; -import org.onap.sdc.generator.data.Artifact; -import org.onap.sdc.generator.data.ArtifactType; -import org.onap.sdc.generator.data.GenerationData; -import org.onap.sdc.generator.data.GeneratorConstants; -import org.onap.sdc.generator.data.GeneratorUtil; -import org.onap.sdc.generator.data.GroupType; -import org.onap.sdc.generator.data.WidgetConfigurationUtil; -import org.onap.sdc.generator.intf.ArtifactGenerator; -import org.onap.sdc.generator.intf.Generator; -import org.onap.sdc.generator.logging.annotations.Audit; -import org.onap.sdc.generator.util.ArtifactGeneratorUtil; -import org.openecomp.sdc.logging.api.Logger; -import org.openecomp.sdc.logging.api.LoggerFactory; -import org.slf4j.MDC; - -@Generator(artifactType = ArtifactType.AAI) -public class AaiArtifactGenerator implements ArtifactGenerator { - - private static final Logger log = LoggerFactory.getLogger(AaiArtifactGenerator.class.getName()); - - /** - * Implementation of the method to generate AAI artifacts. - * - * @param input List of input tosca files - * @return Translated/Error data as a {@link GenerationData} object - */ - @Override - @Audit - public GenerationData generateArtifact(List input, - Map additionalParams) { - try { - if (input != null && input.size() != 0 ) { - ArtifactGeneratorUtil.initializeArtifactLoggingContext(input.get(0)); - } - initWidgetConfiguration(); - return generateArtifactInternal(input, additionalParams); - } catch (Exception exception) { - ArtifactGeneratorUtil.logError(exception.getMessage(), exception); - GenerationData generationData = new GenerationData(); - generationData.add(ArtifactType.AAI.name(), exception.getMessage()); - return generationData; - } - } - - /** - * Helper method to generate AAI artifacts. - * - * @param input List of input tosca files - * @return Translated/Error data as a {@link GenerationData} object - */ - private GenerationData generateArtifactInternal(List input, - Map additionalParams) { - final GenerationData generationData = new GenerationData(); - - List resources = new LinkedList<>(); - Map idTypeStore = new HashMap<>(); - Map resourcesVersion = new HashMap<>(); - - List toscas = new LinkedList<>(); - - String serviceVersion = additionalParams.get(AdditionalParams.ServiceVersion.getName()); - if (serviceVersion == null) { - throw new IllegalArgumentException(GeneratorConstants - .GENERATOR_AAI_ERROR_MISSING_SERVICE_VERSION); - } else { - String versionRegex = "^[1-9]\\d*(\\.0)$"; - if (! (serviceVersion.matches(versionRegex))) { - throw new IllegalArgumentException(GeneratorConstants - .GENERATOR_AAI_INVALID_SERVICE_VERSION); - } - } - - for (Artifact inputArtifact : input) { - ToscaTemplate tosca = getToscaModel(inputArtifact, serviceVersion); - validateTosca(tosca, inputArtifact); - ToscaTemplate processedTosca = preProcessingTosca(tosca); - toscas.add(processedTosca); - } - - //Get the service tosca from the list of artifacts - ToscaTemplate serviceTosca = getServiceTosca(toscas); - if (serviceTosca == null) { - throw new IllegalArgumentException(GeneratorConstants - .GENERATOR_AAI_ERROR_MISSING_SERVICE_TOSCA); - } - - Service service = new Service(); - //Populate basic service model metadata - service.populateModelIdentificationInformation(serviceTosca.getMetadata()); - - if (serviceTosca.getTopology_template() != null - && serviceTosca.getTopology_template().getNode_templates() != null) { - processServiceTosca(service, idTypeStore,resourcesVersion, serviceTosca); - } - validateResourceToscaAgainstService(idTypeStore, toscas); - - //Process the resource tosca files - List currentToscaResources = new LinkedList<>(); - while (toscas.size() > 0) { - ToscaTemplate resourceTemplate = toscas.remove(0); - String resourceUuId = resourceTemplate.getMetadata().get("UUID"); - String mapValue = idTypeStore.get(resourceUuId); - if (mapValue == null) { - log.warn( - "Additional tosca file found with resource version id : " - + resourceUuId); - continue; - } - //update resource version with version from service tosca - String resourceVersion = resourcesVersion.get(resourceUuId); - resourceTemplate.getMetadata().put("version", resourceVersion); - Model model = Model.getModelFor(idTypeStore.get(resourceTemplate.getModelVersionId())); - - log.debug("Inside Resource artifact generation for resource"); - model.populateModelIdentificationInformation( - resourceTemplate.getMetadata()); //Get base resource metadata information - //Found model from the type store so removing the same - idTypeStore.remove(model.getModelNameVersionId()); - if (resourceTemplate.getTopology_template() != null - && resourceTemplate.getTopology_template().getNode_templates() != null) { - processVfTosca(idTypeStore, resourceTemplate, model); - } - - //Process group information from tosca for vfModules - if (resourceTemplate.getTopology_template() != null - && resourceTemplate.getTopology_template().getGroups() != null) { - processVfModule(resources, currentToscaResources, resourceTemplate, model); - } else { - model.getWidgets().clear(); - } - - if ("Tunnel XConnect".equals(resourceTemplate.getMetadata().get("subcategory")) - && "Allotted Resource".equals(resourceTemplate.getMetadata().get("category"))) { - model.addWidget(new TunnelXconnectWidget()); - } - - resources.add((Resource) model); - currentToscaResources - .clear(); //Clearing the current tosca resource list for the next iteration - } - - AaiModelGenerator modelGenerator = AaiModelGenerator.getInstance(); - //Generate AAI XML service model - MDC.put(GeneratorConstants.ARTIFACT_MODEL_INFO , service.getModelName() + "," + getArtifactLabel(service)); - String aaiServiceModel = modelGenerator.generateModelFor(service); - generationData.add(getServiceArtifact(service, aaiServiceModel)); - - //Generate AAI XML resource model - for (Resource res : resources) { - MDC.put(GeneratorConstants.ARTIFACT_MODEL_INFO , res.getModelName() + "," + getArtifactLabel(res)); - String aaiResourceModel = modelGenerator.generateModelFor(res); - generationData.add(getResourceArtifact(res, aaiResourceModel)); - } - - //Resetting logging parameters since they get overridden while writing metrics logs - // recursively for service, resource and widgets. - if (input != null && input.size() != 0 ) { - ArtifactGeneratorUtil.initializeArtifactLoggingContext(input.get(0)); - } - - return generationData; - } - - private void validateResourceToscaAgainstService(Map idTypeStore, - List toscas) { - for (String resourceUuidFromService : idTypeStore.keySet()) { - Iterator itr = toscas.iterator(); - boolean toscaFound = false; - while (itr.hasNext()) { - ToscaTemplate toscaTemplate = itr.next(); - String resourceUuId = toscaTemplate.getMetadata().get("UUID"); - if (resourceUuidFromService.equals(resourceUuId)) { - toscaFound = true; - break; - } - } - if (!toscaFound) { - throw new IllegalArgumentException( - String.format(GeneratorConstants.GENERATOR_AAI_ERROR_MISSING_RESOURCE_TOSCA, resourceUuidFromService)); - } - } - - } - - private ToscaTemplate preProcessingTosca(ToscaTemplate tosca) { - if (tosca.getTopology_template() != null - && tosca.getTopology_template().getNode_templates() != null) { - Collection coll = - tosca.getTopology_template().getNode_templates().values(); - for (NodeTemplate node : coll) { - - if (node.getType().contains("org.openecomp.resource.vf.") && node.getMetadata().get("category") - .equals("Allotted Resource")) { - node.setType("org.openecomp.resource.vf.allottedResource"); - } - if (node.getType().contains("org.openecomp.resource.vfc.") && node.getMetadata().get - ("category") - .equals("Allotted Resource")) { - node.setType("org.openecomp.resource.vfc.AllottedResource"); - } - } - } - return tosca; - } - - private void processVfTosca(Map idTypeStore, ToscaTemplate resourceTemplate, - Model model) { - Set keys = resourceTemplate.getTopology_template().getNode_templates().keySet(); - boolean flag = false; - for (String key : keys) { - NodeTemplate node = resourceTemplate.getTopology_template().getNode_templates().get(key); - Model resourceNode = Model.getModelFor(node.getType()); - if (resourceNode != null) { - if (resourceNode instanceof ProvidingService) { - flag = true; - Map properties = new HashMap<>(); - Map nodeProperties = node.getProperties(); - if (nodeProperties.get("providing_service_uuid") == null || nodeProperties.get( - "providing_service_invariant_uuid") == null) { - throw new IllegalArgumentException(String.format( - GeneratorConstants.GENERATOR_AAI_PROVIDING_SERVICE_METADATA_MISSING - , model.getModelId())); - } - for (String key1 : nodeProperties.keySet()) { - if (nodeProperties.get(key1) instanceof String) { - properties.put(key1, nodeProperties.get(key1).toString()); - } - } - properties.put("version","1.0"); - resourceNode.populateModelIdentificationInformation(properties); - model.addResource((Resource) resourceNode); - } else if (resourceNode instanceof Resource && !(resourceNode.getWidgetType().equals( - Widget.Type - .L3_NET))) { - idTypeStore.put(resourceNode.getModelNameVersionId(), node.getType()); - model.addResource((Resource) resourceNode); - } - } - } - if(model instanceof AllotedResource){ - if(!flag) { - throw new IllegalArgumentException(String.format( - GeneratorConstants.GENERATOR_AAI_PROVIDING_SERVICE_MISSING, - model.getModelId())); - } - } - } - - /* private void vfWarnScenario(Map idTypeStore, ToscaTemplate resourceTemplate) { - if (idTypeStore.size() == 0) { - //Log message for extra model file - log.warn( - "Additional tosca file found with resource version id : " - + resourceTemplate.getModelVersionId()); - } else { - //Log message for missing model files.. Replace with logger statement - log.warn("Service-Resource Tosca mapping not found for : " - + idTypeStore.keySet().toString()); - } - return; - }*/ - - private void processVfModule(List resources, List currentToscaResources, - ToscaTemplate resourceTemplate, Model model) { - log.debug("Inside Resource artifact generation for group/vfModule"); - Collection groups = - resourceTemplate.getTopology_template().getGroups().values(); - Set nodeNameListForGroups = new HashSet<>(); - for (GroupDefinition gd : groups) { - Model group = Model.getModelFor(gd.getType()); - if (group != null) { - group.populateModelIdentificationInformation(gd.getMetadata()); - Map properties = new HashMap<>(); - Map groupProperties = gd.getProperties(); - for (String key : groupProperties.keySet()) { - if (groupProperties.get(key) instanceof String) { - properties.put(key, groupProperties.get(key).toString()); - } - } - group.populateModelIdentificationInformation(properties); - if (group instanceof VfModule && !currentToscaResources.contains(group)) { - if (gd.getMembers() != null && !gd.getMembers().isEmpty()) { - ((VfModule) group).setMembers(gd.getMembers()); - nodeNameListForGroups.addAll(gd.getMembers()); - Set groupMembers = new HashSet<>(gd.getMembers()); - - for (String member : groupMembers) { - NodeTemplate node = - resourceTemplate.getTopology_template().getNode_templates().get(member); - if (node != null) { - Model resourceNode; - //L3-network inside vf-module to be generated as Widget a special handling. - if (node.getType().contains("org.openecomp.resource.vl")) { - resourceNode = new L3NetworkWidget(); - } else { - resourceNode = Model.getModelFor(node.getType()); - } - if (resourceNode != null) { - if (!(resourceNode instanceof Resource)) { - Widget widget = (Widget) resourceNode; - widget.addKey(member); - //Add the widget element encountered - // in the resource tosca in the resource model - boolean isAdded = group.addWidget(widget); - - //Add only widgets which are members of vf module and remove others - if (isAdded) { - model.addWidget(widget); - } - } - } - } - } - } - - model.addResource((Resource) group); //Added group (VfModule) to the (VF) model - currentToscaResources - .add((Resource) group); //Adding the VfModule group to file specific resources - //Check if we have already encountered the same VfModule across all the artifacts - if (!resources.contains(group)) { - resources.add((Resource) group); - } - } - } - } - - Iterator iter = model.getWidgets().iterator(); - while (iter.hasNext()) { - iter.next().allInstancesUsed(nodeNameListForGroups); - iter.remove(); - } - } - - private void processServiceTosca(Service service, Map idTypeStore,Map resourcesVersion,ToscaTemplate serviceTosca) { - Collection coll = - serviceTosca.getTopology_template().getNode_templates().values(); - log.debug("Inside Service Tosca "); - //Get the resource/widgets in the service according to the node-template types - for (NodeTemplate node : coll) { - Model model = Model.getModelFor(node.getType()); - if (model != null) { - model.populateModelIdentificationInformation(node.getMetadata()); - if (model instanceof Resource) { - String resourceVersion = node.getMetadata().get("version"); - validateVersion(resourceVersion,model.getModelNameVersionId()); - //Keeping track of resource types and - // their uuid for identification during resource tosca processing - idTypeStore.put(model.getModelNameVersionId(), node.getType()); - resourcesVersion.put(model.getModelNameVersionId(),resourceVersion); - service.addResource((Resource) model); - } else { - service.addWidget((Widget) model); - } - } - } - } - - /** - * Create Service artifact model from the AAI xml model string. - * - * @param serviceModel Model of the service artifact - * @param aaiServiceModel AAI model as string - * @return Generated {@link Artifact} model for the service - */ - private Artifact getServiceArtifact(Model serviceModel, String aaiServiceModel) { - return getArtifactForModel(serviceModel, aaiServiceModel); - } - - private Artifact getArtifactForModel(Model serviceModel, String aaiServiceModel) { - Artifact artifact = - new Artifact(ArtifactType.MODEL_INVENTORY_PROFILE.name(), GroupType.DEPLOYMENT.name(), - GeneratorUtil.checkSum(aaiServiceModel.getBytes()), - GeneratorUtil.encode(aaiServiceModel.getBytes())); - String serviceArtifactName = getArtifactName(serviceModel); - String serviceArtifactLabel = getArtifactLabel(serviceModel); - artifact.setName(serviceArtifactName); - artifact.setLabel(serviceArtifactLabel); - String description = getArtifactDescription(serviceModel); - artifact.setDescription(description); - return artifact; - } - - /** - * Create Resource artifact model from the AAI xml model string. - * - * @param resourceModel Model of the resource artifact - * @param aaiResourceModel AAI model as string - * @return Generated {@link Artifact} model for the resource - */ - private Artifact getResourceArtifact(Model resourceModel, String aaiResourceModel) { - return getArtifactForModel(resourceModel, aaiResourceModel); - } - - /** - * Method to generate the artifact name for an AAI model. - * - * @param model AAI artifact model - * @return Model artifact name - */ - private String getArtifactName(Model model) { - StringBuilder artifactName = new StringBuilder(ArtifactType.AAI.name()); - artifactName.append("-"); - - String truncatedArtifactName = truncateName(model.getModelName()); - artifactName.append(truncatedArtifactName); - - artifactName.append("-"); - artifactName.append(model.getModelType().name().toLowerCase()); - artifactName.append("-"); - artifactName.append(model.getModelVersion()); - artifactName.append("."); - artifactName.append(GeneratorConstants.GENERATOR_AAI_GENERATED_ARTIFACT_EXTENSION); - return artifactName.toString(); - } - - private String getArtifactLabel(Model model) { - StringBuilder artifactName = new StringBuilder(ArtifactType.AAI.name()); - artifactName.append("-"); - artifactName.append(model.getModelType().name().toLowerCase()); - artifactName.append("-"); - artifactName.append(hashCodeUuId(model.getModelNameVersionId())); - return (artifactName.toString()).replaceAll("[^a-zA-Z0-9 +]+", "-"); - } - - private int hashCodeUuId(String uuId) { - int hashcode = 0; - for (int i = 0; i < uuId.length(); i++) { - hashcode = 31 * hashcode + uuId.charAt(i); - } - return hashcode; - } - - - private String truncateName(String name) { - String truncatedName = name; - if (name.length() >= 200) { - truncatedName = name.substring(0, 199); - } - return truncatedName; - } - - private String getArtifactDescription(Model model) { - String artifactDesc = model.getModelDescription(); - if (model.getModelType().equals(ModelType.SERVICE)) { - artifactDesc = "AAI Service Model"; - } else if (model.getModelType().equals(ModelType.RESOURCE)) { - artifactDesc = "AAI Resource Model"; - } - return artifactDesc; - } - - private void validateVersion(String version, String uuId) { - String versionRegex = "^[0-9]\\d*(\\.\\d+)$"; - if (null == version || Objects.equals(version, "")) { - throw new IllegalArgumentException(String - .format(GeneratorConstants.GENERATOR_AAI_ERROR_NULL_RESOURCE_VERSION_IN_SERVICE_TOSCA, - uuId)); - } else if ( version.equals("0.0") || !(version.matches(versionRegex))) { - throw new IllegalArgumentException(String - .format(GeneratorConstants.GENERATOR_AAI_ERROR_INVALID_RESOURCE_VERSION_IN_SERVICE_TOSCA, - uuId)); - } - } - /** - * Get the tosca java model from the tosca input artifact. - * - * @param input Input tosca file and its metadata information as {@link Artifact} object - * @return Translated {@link ToscaTemplate tosca} object - */ - - private ToscaTemplate getToscaModel(Artifact input, String serviceVersion) - throws SecurityException { - byte[] decodedInput = GeneratorUtil.decoder(input.getPayload()); - String checksum = GeneratorUtil.checkSum(decodedInput); - ToscaTemplate tosca; - if (checksum.equalsIgnoreCase(input.getChecksum())) { - try { - log.debug("Input yaml name " + input.getName() + "payload " + new String(decodedInput)); - tosca = GeneratorUtil.translateTosca(new String(decodedInput), ToscaTemplate.class); - tosca.getMetadata().put("version", serviceVersion); - return tosca; - } catch (Exception exception) { - throw new IllegalArgumentException( - String.format(GeneratorConstants.GENERATOR_AAI_ERROR_INVALID_TOSCA, input.getName()), exception); - } - } else { - throw new SecurityException(GeneratorConstants.GENERATOR_AAI_ERROR_CHECKSUM_MISMATCH); - } - } - - private void validateTosca(ToscaTemplate tosca, Artifact input) { - log.debug("Validating tosca for Artifact: " + input.getName()); - if (tosca.getMetadata().containsKey("invariantUUID")) { - if (tosca.getMetadata().get("invariantUUID") == null - || Objects.equals(tosca.getMetadata().get("invariantUUID"), "")) { - throw new IllegalArgumentException(String - .format(GeneratorConstants.GENERATOR_AAI_ERROR_MANDATORY_METADATA_DEFINITION, - "invariantUUID", - input.getName())); - } else if (tosca.getMetadata().get("invariantUUID").length() != GeneratorConstants.ID_LENGTH) { - throw new IllegalArgumentException(String.format( - GeneratorConstants.GENERATOR_AAI_ERROR_INVALID_ID, "invariantUUID", input.getName())); - } - } - - if (tosca.getMetadata().containsKey("UUID")) { - if (tosca.getMetadata().get("UUID") == null || Objects.equals(tosca.getMetadata().get("UUID"), "")) { - throw new IllegalArgumentException(String - .format(GeneratorConstants.GENERATOR_AAI_ERROR_MANDATORY_METADATA_DEFINITION, "UUID", - input.getName())); - } else if (tosca.getMetadata().get("UUID").length() != GeneratorConstants.ID_LENGTH) { - throw new IllegalArgumentException(String - .format(GeneratorConstants.GENERATOR_AAI_ERROR_INVALID_ID, "UUID", input.getName())); - } - - } - if (tosca.getMetadata().containsKey("name")) { - if (tosca.getMetadata().get("name") == null || Objects.equals(tosca.getMetadata().get("name"), "")) { - throw new IllegalArgumentException(String - .format(GeneratorConstants.GENERATOR_AAI_ERROR_MANDATORY_METADATA_DEFINITION, "name", - input.getName())); - } - } - - if (tosca.getTopology_template() != null && tosca.getTopology_template().getGroups() != null) { - validateVfModule(tosca, input); - } - } - - private void validateVfModule(ToscaTemplate tosca, Artifact input) { - - Collection groups = tosca.getTopology_template().getGroups().values(); - for (GroupDefinition gd : groups) { - Model group = Model.getModelFor(gd.getType()); - if (group instanceof VfModule) { - if (gd.getMetadata().containsKey("vfModuleModelName") - && gd.getMetadata().get("vfModuleModelName") == null) { - throw new IllegalArgumentException(String - .format(GeneratorConstants.GENERATOR_AAI_ERROR_MANDATORY_METADATA_DEFINITION, - "vfModuleModelName", - input.getName())); - } - if (gd.getMetadata().containsKey("vfModuleModelInvariantUUID") - && gd.getMetadata().get("vfModuleModelInvariantUUID") == null) { - throw new IllegalArgumentException(String - .format(GeneratorConstants.GENERATOR_AAI_ERROR_MANDATORY_METADATA_DEFINITION, - "vfModuleModelInvariantUUID", input.getName())); - } else if (gd.getMetadata().get("vfModuleModelInvariantUUID").length() != GeneratorConstants.ID_LENGTH) { - throw new IllegalArgumentException(String.format( - GeneratorConstants.GENERATOR_AAI_ERROR_INVALID_ID, "vfModuleModelInvariantUUID", - input.getName())); - } - - if (gd.getMetadata().containsKey("vfModuleModelUUID") - && gd.getMetadata().get("vfModuleModelUUID") == null) { - throw new IllegalArgumentException(String - .format(GeneratorConstants.GENERATOR_AAI_ERROR_MANDATORY_METADATA_DEFINITION, - "vfModuleModelUUID", - input.getName())); - } else if (gd.getMetadata().get("vfModuleModelUUID").length() != GeneratorConstants.ID_LENGTH) { - throw new IllegalArgumentException(String.format( - GeneratorConstants.GENERATOR_AAI_ERROR_INVALID_ID, "vfModuleModelUUID", - input.getName())); - } - if (gd.getMetadata().containsKey("vfModuleModelVersion") - && gd.getMetadata().get("vfModuleModelVersion") == null) { - throw new IllegalArgumentException(String - .format(GeneratorConstants.GENERATOR_AAI_ERROR_MANDATORY_METADATA_DEFINITION, - "vfModuleModelVersion", - input.getName())); - } - } - } - } - - /** - * Identify the service tosca artifact from the list of translated tosca inputs. - * - * @param input List of translated {@link ToscaTemplate tosca} object models - * @return Identified service {@link ToscaTemplate tosca} - */ - private ToscaTemplate getServiceTosca(List input) { - Iterator iter = input.iterator(); - while (iter.hasNext()) { - ToscaTemplate tosca = iter.next(); - if (tosca.isService()) { - iter.remove(); - return tosca; - } - } - return null; - } - - private void initWidgetConfiguration() throws IOException { - log.debug("Getting Widget Configuration"); - String configLocation = System.getProperty("artifactgenerator.config"); - Properties properties; - if (configLocation != null) { - File file = new File(configLocation); - if (file.exists()) { - properties = new Properties(); - properties.load(new FileInputStream(file)); - WidgetConfigurationUtil.setConfig(properties); - } else { - throw new IllegalArgumentException(String.format( - GeneratorConstants.GENERATOR_AAI_CONFIGFILE_NOT_FOUND, - configLocation)); - } - } else { - throw new IllegalArgumentException(GeneratorConstants.GENERATOR_AAI_CONFIGLOCATION_NOT_FOUND); - } - } - -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/main/java/org/onap/sdc/generator/aai/AaiModelGeneratorImpl.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/main/java/org/onap/sdc/generator/aai/AaiModelGeneratorImpl.java deleted file mode 100644 index fcb0deb66b..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/main/java/org/onap/sdc/generator/aai/AaiModelGeneratorImpl.java +++ /dev/null @@ -1,271 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.aai; - -import org.onap.sdc.generator.aai.model.Resource; -import org.onap.sdc.generator.aai.model.Service; -import org.onap.sdc.generator.aai.model.Widget; -import org.onap.sdc.generator.aai.xml.*; -import org.onap.sdc.generator.logging.annotations.Metrics; -import org.openecomp.sdc.logging.api.Logger; -import org.openecomp.sdc.logging.api.LoggerFactory; -import org.w3c.dom.DOMException; - -import javax.xml.bind.JAXBContext; -import javax.xml.bind.JAXBException; -import javax.xml.bind.Marshaller; -import java.io.StringWriter; -import java.util.List; -import java.util.Set; - -/** - * Implementation of the {@link AaiModelGenerator} which generates the XML models from the - * Service/Resource/Widget java models. - */ -public class AaiModelGeneratorImpl implements AaiModelGenerator { - private static Logger log = LoggerFactory.getLogger(AaiModelGeneratorImpl.class.getName()); - - /** - * Method to generate the AAI model for a Service. - * - * @param service Java object model representing an AAI {@link Service} model - * @return XML representation of the service model in String format - */ - @Override - @Metrics - public String generateModelFor(Service service) { - //Create a JAXB Model for AAI service model - Model aaiServiceModel = new Model(); - log.debug("Generating Model for Service with ModelName: " + service.getModelName()); - // after new model - aaiServiceModel.setModelInvariantId(service.getModelId()); - aaiServiceModel.setModelVers(new ModelVers()); - ModelVer modelVer = new ModelVer(); - modelVer.setModelDescription(service.getModelDescription()); - modelVer.setModelName(service.getModelName()); - modelVer.setModelVersion(service.getModelVersion()); - modelVer.setModelVersionId(service.getModelNameVersionId()); - modelVer.setModelElements(new ModelElements()); - ModelElements modelElements = modelVer.getModelElements(); - //Populate basic model details - aaiServiceModel - .setModelType(service.getModelType().name().toLowerCase()); //Using enum name as model type - List modelElementList = modelElements.getModelElement(); - - //Add service base widget model element - ModelElement serviceWidgetModelRelationshipElement = - createRelationshipModelElement(getNewDataDelFlagValue(service.getDeleteFlag()), - service.getWidgetId(),service.getWidgetInvariantId()); - modelElementList.add(serviceWidgetModelRelationshipElement); - - //Add the resource model elements - ModelElements serviceModelElements = serviceWidgetModelRelationshipElement.getModelElements(); - List serviceModelElementList = serviceModelElements.getModelElement(); - Set serviceResources = service.getResources(); - if (serviceResources != null && !serviceResources.isEmpty()) { - for (Resource resourceModel : serviceResources) { - ModelElement aaiResourceModelElement = - createRelationshipModelElement(getNewDataDelFlagValue(resourceModel.getDeleteFlag()), - resourceModel.getModelNameVersionId(),resourceModel.getModelId()); - serviceModelElementList.add(aaiResourceModelElement); - } - } - - //Add the widget model elements - Set serviceWidgets = service.getWidgets(); - if (serviceWidgets != null && !serviceWidgets.isEmpty()) { - for (Widget widgetModel : serviceWidgets) { - ModelElement widgetModelElement = - createRelationshipModelElement(getNewDataDelFlagValue(widgetModel.getDeleteFlag()), - widgetModel.getId(),widgetModel.getWidgetId()); - serviceModelElementList.add(widgetModelElement); - } - } - ModelVers modelVers = aaiServiceModel.getModelVers(); - List modelVerList = modelVers.getModelVer(); - modelVerList.add(modelVer); - return getModelAsString(aaiServiceModel); - } - - /** - * Method to generate the AAI model for a Resource. - * - * @param resource Java object model representing an AAI {@link Resource} model - * @return XML representation of the resource model in String format - */ - @Override - @Metrics - public String generateModelFor(Resource resource) { - //Create a JAXB Model for AAI Resource model - Model aaiResourceModel = new Model(); - log.debug("Generating Model for Resource with ModelName: " + resource.getModelName()); - aaiResourceModel.setModelInvariantId(resource.getModelId()); - aaiResourceModel.setModelVers(new ModelVers()); - ModelVer modelVer = new ModelVer(); - modelVer.setModelDescription(resource.getModelDescription()); - modelVer.setModelName(resource.getModelName()); - modelVer.setModelVersion(resource.getModelVersion()); - modelVer.setModelVersionId(resource.getModelNameVersionId()); - modelVer.setModelElements(new ModelElements()); - ModelElements modelElements = modelVer.getModelElements(); - aaiResourceModel - .setModelType(resource.getModelType().name().toLowerCase()); //Using enum name as model type - List modelElementList = modelElements.getModelElement(); - - //Add resource base widget model element - ModelElement resourceWidgetModelRelationshipElement = - createRelationshipModelElement(getNewDataDelFlagValue(resource.getDeleteFlag()), - resource.getWidgetId(),resource.getWidgetInvariantId()); - modelElementList.add(resourceWidgetModelRelationshipElement); - - //Add the child resources to the base widget model element list - ModelElements baseResourceWidgetModelElements = - resourceWidgetModelRelationshipElement.getModelElements(); - List baseResourceWidgetModelElementList = - baseResourceWidgetModelElements.getModelElement(); - Set childResources = resource.getResources(); - if (childResources != null && !childResources.isEmpty()) { - for (Resource childResourceModel : childResources) { - ModelElement aaiChildResourceModelElement = createRelationshipModelElement( - getNewDataDelFlagValue(childResourceModel.getDeleteFlag()), - childResourceModel.getModelNameVersionId(),childResourceModel.getModelId()); - baseResourceWidgetModelElementList.add(aaiChildResourceModelElement); - } - } - //Add resource widgets/resources to the resource widget model relationship element - Set resourceWidgets = resource.getWidgets(); - if (resourceWidgets != null && !resourceWidgets.isEmpty()) { - generateWidgetChildren(resourceWidgetModelRelationshipElement, resourceWidgets); - } - - ModelVers modelVers = aaiResourceModel.getModelVers(); - List modelVerList = modelVers.getModelVer(); - modelVerList.add(modelVer); - return getModelAsString(aaiResourceModel); - - } - - /** - * Method to create the holding the relationship value for a - * resource/widget - * model. - * - * @param newDataDelFlag Value of the attribute for - * a widget/resource in - * the model xml - * @param relationshipValue Value of the attribute - * for the widget/resource in - * the model xml - * @return Java object representation for the holding the - relationship - */ - private ModelElement createRelationshipModelElement(String newDataDelFlag, - String modelVersionId,String - modelInvariantId) { - ModelElement relationshipModelElement = new ModelElement(); - relationshipModelElement.setNewDataDelFlag(newDataDelFlag); //Set new-data-del-flag value - relationshipModelElement.setCardinality("unbounded"); - RelationshipList relationShipList = new RelationshipList(); - final List relationships = relationShipList.getRelationship(); - Relationship relationship = new Relationship(); - relationship.setRelatedTo("model-ver"); - List relationshipDataList = relationship.getRelationshipData(); - - RelationshipData modelVersionRelationshipData = new RelationshipData(); - modelVersionRelationshipData.setRelationshipKey("model-ver.model-version-id"); - modelVersionRelationshipData.setRelationshipValue( - modelVersionId); //Set the widget/resource name-version-uuid as value - relationshipDataList.add(modelVersionRelationshipData); - RelationshipData modelInvariantRelationshipData = new RelationshipData(); - modelInvariantRelationshipData.setRelationshipKey("model.model-invariant-id"); - modelInvariantRelationshipData.setRelationshipValue( - modelInvariantId); - relationshipDataList.add(modelInvariantRelationshipData); - relationships.add(relationship); - relationshipModelElement.setRelationshipList(relationShipList); - relationshipModelElement.setModelElements(new ModelElements()); - return relationshipModelElement; - } - - /** - * Method to create the child model elements of the widget. Handles the generation of recursive - * child widget elements (if any) - * - * @param parent Reference to the parent widget model element - * @param widgetChildrenSet Set of children obtained from the tosca/widget definition - */ - private void generateWidgetChildren(ModelElement parent, Set widgetChildrenSet) { - for (Widget widget : widgetChildrenSet) { - Set widgetSubChildren = widget.getWidgets(); - if (widgetSubChildren != null && !widgetSubChildren.isEmpty()) { - ModelElement widgetChildRelationshipElement = - createRelationshipModelElement(getNewDataDelFlagValue(widget.getDeleteFlag()), - widget.getId(),widget.getWidgetId()); - //Recursive call for getting the children of widgets (if any) - generateWidgetChildren(widgetChildRelationshipElement, widgetSubChildren); - parent.getModelElements().getModelElement().add(widgetChildRelationshipElement); - } else { - ModelElement widgetChildRelationshipElement = - createRelationshipModelElement(getNewDataDelFlagValue(widget.getDeleteFlag()), - widget.getId(),widget.getWidgetId() - ); - parent.getModelElements().getModelElement().add(widgetChildRelationshipElement); - } - } - } - - /** - * Converts the data delete flag value from boolean to String as per AAI model. - * - * @param delFlag Boolean value as true/false from the annotation - * @return Converted value to a flag as per AAI model - */ - private String getNewDataDelFlagValue(boolean delFlag) { - if (delFlag) { - return "T"; - } else { - return "F"; - } - } - - /** - * JAXB marshalling helper method to convert the Java object model to XML String. - * - * @param model Java Object model of a service/widget/resource - * @return XML representation of the Java model in String format - */ - private String getModelAsString(Model model) { - JAXBContext jaxbContext; - StringWriter modelStringWriter = new StringWriter(); - try { - jaxbContext = JAXBContext.newInstance(Model.class); - Marshaller jaxbMarshaller = jaxbContext.createMarshaller(); - jaxbMarshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true); - jaxbMarshaller.setProperty(Marshaller.JAXB_ENCODING, "US-ASCII"); - jaxbMarshaller.setProperty(Marshaller.JAXB_FRAGMENT, Boolean.TRUE); - jaxbMarshaller.marshal(model, modelStringWriter); - } catch (JAXBException jaxbException) { - throw new DOMException(DOMException.SYNTAX_ERR, jaxbException.getMessage()); - } - - return modelStringWriter.toString(); - } -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/main/java/org/onap/sdc/generator/impl/ArtifactGenerationServiceImpl.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/main/java/org/onap/sdc/generator/impl/ArtifactGenerationServiceImpl.java deleted file mode 100644 index d6a934d58a..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/main/java/org/onap/sdc/generator/impl/ArtifactGenerationServiceImpl.java +++ /dev/null @@ -1,87 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.impl; - -import org.onap.sdc.generator.GeneratorManager; -import org.onap.sdc.generator.GeneratorTask; -import org.onap.sdc.generator.data.Artifact; -import org.onap.sdc.generator.data.GenerationData; -import org.onap.sdc.generator.data.GeneratorConstants; -import org.onap.sdc.generator.intf.ArtifactGenerator; -import org.onap.sdc.generator.service.ArtifactGenerationService; -import org.onap.sdc.generator.util.ArtifactGeneratorUtil; -import org.openecomp.sdc.logging.api.Logger; -import org.openecomp.sdc.logging.api.LoggerFactory; - -import java.util.List; -import java.util.Map; -import java.util.concurrent.ForkJoinPool; - -import static org.onap.sdc.generator.util.ArtifactGeneratorUtil.logError; - -/** - * Artifact Generation Service implementation class. - */ -public class ArtifactGenerationServiceImpl implements ArtifactGenerationService { - - private static Logger log = - LoggerFactory.getLogger(ArtifactGenerationServiceImpl.class.getName()); - - /** - * Artifact generator method. - * - * @param input List of input files as {@link Artifact} models - * @param overridingConfiguration Configuration data for invoking generators - * @param additionalParams Additional Parameters - * @return Generated artifacts/Error data in a {@link GenerationData} object - */ - @Override - public GenerationData generateArtifact(List input, String overridingConfiguration, - Map additionalParams) { - try { - //Initialize artifact generation logging context - ArtifactGeneratorUtil.initializeLoggingContext(); - - List generatorsToBeUsed = - GeneratorManager.getActiveArtifactGenerators(overridingConfiguration); - if (generatorsToBeUsed.size() > 0) { - return ForkJoinPool.commonPool().invoke(new GeneratorTask(generatorsToBeUsed, input, - additionalParams)); - } else { - return new GenerationData(); - } - } catch (IllegalArgumentException iae) { - //Invalid client configuration - ArtifactGeneratorUtil - .logError(GeneratorConstants.GENERATOR_ERROR_ARTIFACT_GENERATION_FAILED, iae); - GenerationData errorData = new GenerationData(); - errorData.add(GeneratorConstants.GENERATOR_INVOCATION_ERROR_CODE, iae.getMessage()); - return errorData; - } catch (Exception ex) { - ArtifactGeneratorUtil - .logError(GeneratorConstants.GENERATOR_ERROR_ARTIFACT_GENERATION_FAILED, ex); - GenerationData errorData = new GenerationData(); - errorData.add(GeneratorConstants.GENERATOR_INVOCATION_ERROR_CODE, - GeneratorConstants.GENERATOR_ERROR_ARTIFACT_GENERATION_FAILED); - return errorData; - } - } -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/main/java/org/onap/sdc/generator/util/ArtifactGeneratorUtil.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/main/java/org/onap/sdc/generator/util/ArtifactGeneratorUtil.java deleted file mode 100644 index afb61f873b..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/main/java/org/onap/sdc/generator/util/ArtifactGeneratorUtil.java +++ /dev/null @@ -1,243 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator.util; - -import org.onap.sdc.generator.data.Artifact; -import org.onap.sdc.generator.logging.ArtifactGeneratorLogResponseCode; -import org.onap.sdc.generator.logging.CategoryLogLevel; -import org.onap.sdc.generator.logging.StatusCode; -import org.openecomp.sdc.logging.api.Logger; -import org.openecomp.sdc.logging.api.LoggerFactory; -import org.slf4j.MDC; - -import java.io.PrintWriter; -import java.io.StringWriter; -import java.net.InetAddress; -import java.net.UnknownHostException; -import java.text.DateFormat; -import java.text.SimpleDateFormat; -import java.util.Date; -import java.util.TimeZone; - -import static org.onap.sdc.generator.data.GeneratorConstants.*; -import static org.onap.sdc.generator.logging.ArtifactGeneratorLogResponseCode.*; - - -public class ArtifactGeneratorUtil { - - private static Logger log = LoggerFactory.getLogger(ArtifactGeneratorUtil.class.getName()); - private static final String LOG_UTC_DATE_FORMAT = "yyyy-MM-dd'T'HH:mm:ss.SSS"; - - /** - * Artifact Generator Error logging Helper. - * @param errorDescription Description of the error - */ - public static void logError(String errorDescription) { - logError(errorDescription, ""); - } - - /** - * Artifact Generator Error logging Helper. - * @param errorDescription Description of the error - * @param ex Exception object for stackstrace - */ - public static void logError(String errorDescription, Exception ex) { - StringWriter sw = new StringWriter(); - ex.printStackTrace(new PrintWriter(sw)); - String detailMessage = sw.toString(); - logError(CategoryLogLevel.ERROR, errorDescription, detailMessage); - } - - /** - * Artifact Generator Error logging Helper. - * @param errorDescription Description of the error - * @param detailMessage Detailed Error message - */ - public static void logError(String errorDescription, String detailMessage) { - logError(CategoryLogLevel.ERROR, errorDescription, detailMessage); - } - - /** - * Artifact Generator Error logging Helper. - * @param errorCategory ERROR - * @param errorDescription Description of the error - * @param detailMessage Detailed Error message - */ - public static void logError(CategoryLogLevel errorCategory, - String errorDescription, String detailMessage) { - MDC.put(ERROR_CATEGORY, errorCategory.name()); - MDC.put(STATUS_CODE, StatusCode.ERROR.name()); - artifactGeneratorErrorLogProcessor(errorCategory,errorDescription); - log.error(detailMessage); - resetLoggingContext(); - } - - /** - * Initialize generic MDC attributes for logging the current request. - * - */ - public static void initializeLoggingContext() { - log.debug("Initializing generic logging context "); - MDC.put(PARTNER_NAME, GENERATOR_PARTNER_NAME); - MDC.put(SERVICE_METRIC_BEGIN_TIMESTAMP, String.valueOf(System.currentTimeMillis())); - MDC.put(INSTANCE_UUID, MDC_SDC_INSTANCE_UUID); - MDC.put(STATUS_CODE, StatusCode.COMPLETE.name()); - MDC.put(CLIENT_IP, MDC.get(REMOTE_HOST)); - - try { - InetAddress ip = InetAddress.getLocalHost(); - MDC.put(LOCAL_ADDR, ip.getHostAddress()); - String hostname = ip.getHostName(); - MDC.put(BE_FQDN, hostname); - } catch (UnknownHostException uhe) { - log.error("Failed to get server FQDN", uhe); - } - - if (log.isDebugEnabled()) { - MDC.put(CATEGORY_LOG_LEVEL, CategoryLogLevel.DEBUG.name()); - } else if (log.isInfoEnabled()) { - MDC.put(CATEGORY_LOG_LEVEL, CategoryLogLevel.INFO.name()); - } else if (log.isWarnEnabled()) { - MDC.put(CATEGORY_LOG_LEVEL, CategoryLogLevel.WARN.name()); - } else if (log.isErrorEnabled()) { - MDC.put(CATEGORY_LOG_LEVEL, CategoryLogLevel.ERROR.name()); - } - } - - /** - * Initialize MDC for logging the current artifact request. - * - * @param artifact Current artifact - */ - public static void initializeArtifactLoggingContext(Artifact artifact) { - log.debug("Initializing logging context for " + artifact.getLabel()); - MDC.put(REQUEST_ID, artifact.getLabel()); - MDC.put(SERVICE_NAME, artifact.getType()); - MDC.put(SERVICE_INSTANCE_ID, artifact.getName()); - } - - /** - * Reset the logging context after a Audit/Metrics logging operation. - */ - public static void resetLoggingContext() { - MDC.remove(ERROR_CATEGORY); - MDC.remove(ERROR_CODE); - MDC.remove(STATUS_CODE); - MDC.remove(ERROR_DESCRIPTION); - MDC.remove(BEGIN_TIMESTAMP); - MDC.remove(END_TIMESTAMP); - MDC.remove(ELAPSED_TIME); - MDC.put(STATUS_CODE, StatusCode.COMPLETE.name()); - MDC.remove(RESPONSE_CODE); - MDC.remove(RESPONSE_DESCRIPTION); - MDC.remove(TARGET_ENTITY); - MDC.remove(TARGET_SERVICE_NAME); - } - - /** - * Convert timestamp to UTC format date string. - * - * @param timeStamp UTC timestamp to be converted to the UTC Date format. - * @return UTC formatted Date string from timestamp. - */ - public static String getLogUtcDateStringFromTimestamp(Date timeStamp) { - DateFormat df = new SimpleDateFormat(LOG_UTC_DATE_FORMAT); - df.setTimeZone(TimeZone.getTimeZone("GMT")); - return df.format(timeStamp); - } - - /** - * Artifact Gnenerator Error logging Helper. - * - * @param errorCategory WARN or ERROR. - * @param errorDescription Description of the error. - */ - public static void artifactGeneratorErrorLogProcessor(CategoryLogLevel errorCategory, - String errorDescription) { - MDC.put(ERROR_CATEGORY, errorCategory.name()); - if (errorDescription != null) { - String errorType = ""; - switch (errorCategory) { - case WARN: - errorType = "W"; - break; - case ERROR: - errorType = "E"; - break; - case FATAL: - errorType = "F"; - break; - default: - break; - } - MDC.put(ERROR_CODE, getLogResponseCode(errorDescription) + errorType); - } - MDC.put(ERROR_DESCRIPTION, errorDescription); - } - - - /** - * - * @return Audit log code corresponding to the Artifact Generator exception. - */ - public static int getLogResponseCode(String errorDescription) { - ArtifactGeneratorLogResponseCode responseCode = INTERNAL_SERVER_ERROR; - if (errorDescription.contains(GENERATOR_AAI_ERROR_MANDATORY_METADATA_DEFINITION_MSG)) { - responseCode = MANDATORY_ATTRIBUTE_MISSING; - } else if (errorDescription.contains(GENERATOR_AAI_ERROR_INVALID_TOSCA_MSG)) { - responseCode = INVALID_TOSCA_YAML; - } else if (errorDescription.contains(GENERATOR_AAI_ERROR_MISSING_SERVICE_TOSCA_MSG)) { - responseCode = SERVICE_TOSCA_MISSING; - } else if (errorDescription.contains(GENERATOR_ERROR_INVALID_CLIENT_CONFIGURATION_MSG)) { - responseCode = INVALID_CLIENT_CONFIGURATION; - } else if (errorDescription.contains(GENERATOR_ERROR_ARTIFACT_GENERATION_FAILED_MSG)) { - responseCode = UNABLE_TO_GENERATE_ARTIFACT; - } else if (errorDescription.contains(GENERATOR_AAI_CONFIGLOCATION_NOT_FOUND.split("%s")[0])) { - responseCode = MISSING_SYSTME_PROPERY_CONFIGURATION; - } else if (errorDescription.contains(GENERATOR_AAI_CONFIGFILE_NOT_FOUND.split("%s")[0])) { - responseCode = MISSING_CONFIG_PROPERTIES_FILE; - } else if (errorDescription.contains(GENERATOR_AAI_CONFIGLPROP_NOT_FOUND.split("%s")[0])) { - responseCode = MISSING_WIDGET_CONFIGURATION; - } else if (errorDescription.contains(GENERATOR_AAI_ERROR_INVALID_ID.split("%s")[0])) { - responseCode = INVALID_ID_VALUE; - } else if (errorDescription.contains(GENERATOR_AAI_ERROR_MISSING_RESOURCE_TOSCA.split("%s")[0])) - { - responseCode = RESOURCE_TOSCA_MISSING; - } else if(errorDescription.contains(GENERATOR_AAI_ERROR_MISSING_SERVICE_VERSION)) { - responseCode = MISSING_SERVICE_VERSION; - } else if(errorDescription.contains(GENERATOR_AAI_INVALID_SERVICE_VERSION)) - { - responseCode = INVALID_SERVICE_VERSION; - } else if(errorDescription.contains(GENERATOR_AAI_ERROR_NULL_RESOURCE_VERSION_IN_SERVICE_TOSCA. - split("%s")[0])) { - responseCode = MISSING_RESOURCE_VERSION; - } else if(errorDescription.contains( - GENERATOR_AAI_ERROR_INVALID_RESOURCE_VERSION_IN_SERVICE_TOSCA.split("%s")[0])) { - responseCode = INVALID_RESOURCE_VERSION; - } else if(errorDescription.contains(GENERATOR_AAI_PROVIDING_SERVICE_MISSING.split("%s")[0])) { - responseCode = MISSING_PRO_SERVICE; - } else if(errorDescription.contains( - GENERATOR_AAI_PROVIDING_SERVICE_METADATA_MISSING.split("%s")[0])) { - responseCode = MISSING_PRO_SERVICE_METADATA; - } - return responseCode.getValue(); - } -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/java/org/onap/sdc/generator/ArtifactGenerationServiceTest.java b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/java/org/onap/sdc/generator/ArtifactGenerationServiceTest.java deleted file mode 100644 index 2599d550ef..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/java/org/onap/sdc/generator/ArtifactGenerationServiceTest.java +++ /dev/null @@ -1,1680 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.onap.sdc.generator; - -import org.apache.commons.io.FileUtils; -import org.onap.sdc.generator.aai.tosca.GroupDefinition; -import org.onap.sdc.generator.data.AdditionalParams; -import org.onap.sdc.generator.data.GenerationData; -import org.onap.sdc.generator.data.GeneratorConstants; -import org.onap.sdc.generator.impl.ArtifactGenerationServiceImpl; -import org.onap.sdc.generator.aai.model.Resource; -import org.onap.sdc.generator.aai.model.Service; -import org.onap.sdc.generator.aai.model.Widget; -import org.onap.sdc.generator.aai.tosca.NodeTemplate; -import org.onap.sdc.generator.aai.tosca.ToscaTemplate; -import org.onap.sdc.generator.aai.xml.Model; -import org.onap.sdc.generator.aai.xml.ModelElement; -import org.onap.sdc.generator.aai.xml.ModelElements; -import org.onap.sdc.generator.aai.xml.ModelVer; -import org.onap.sdc.generator.aai.xml.Relationship; -import org.onap.sdc.generator.aai.xml.RelationshipData; -import org.onap.sdc.generator.data.Artifact; -import org.onap.sdc.generator.data.ArtifactType; -import org.onap.sdc.generator.data.GeneratorUtil; -import org.onap.sdc.generator.data.GroupType; -import org.testng.Assert; -import org.testng.annotations.BeforeSuite; -import org.testng.annotations.Test; - -import java.io.ByteArrayInputStream; -import java.io.File; -import java.io.FileInputStream; -import java.io.FileOutputStream; -import java.io.IOException; -import java.io.InputStream; -import java.io.OutputStream; - -import java.net.URL; -import java.util.*; -import javax.xml.bind.JAXBContext; -import javax.xml.bind.JAXBException; -import javax.xml.bind.Unmarshaller; - -@SuppressWarnings("Duplicates") -public class ArtifactGenerationServiceTest { - - private static final String aaiArtifactType = ArtifactType.AAI.name(); - private static final String aaiArtifactGroupType = GroupType.DEPLOYMENT.name(); - private static final String generatorConfig = "{\"artifactTypes\": [\"OTHER\",\"AAI\"]}"; - private final Properties properties = new Properties(); - private final Map additionalParams = new HashMap<>(); - private final Map resourcesVersion = new HashMap<>(); - - @BeforeSuite - public void loadProperties() throws Exception{ - loadConfigFromClasspath(properties); - additionalParams.put(AdditionalParams.ServiceVersion.getName(), "1.0"); - } - - @Test - public void testArtifactGeneration() { - // Sunny day scenario service with VF anf vfmodule - try { - - ArtifactGenerationServiceImpl obj = new ArtifactGenerationServiceImpl(); - List toscas = new LinkedList<>(); - String aaiResourceBasePaths = "aai/"; - List inputArtifacts = init(aaiResourceBasePaths); - GenerationData data = obj.generateArtifact(inputArtifacts, generatorConfig, additionalParams); - if (data.getErrorData().isEmpty()) { - for (Artifact inputArtifact : inputArtifacts) { - toscas.add(getToscaModel(inputArtifact)); - } - List resultData = data.getResultData(); - - /*for( int i = 0 ; i < resultData.size() ; i++) { - Artifact artifact = resultData.get(i); - String fileName = artifact.getName(); - while(fileName.contains(":")){ - fileName = fileName.replace(":",""); - } - File targetFile =new File("src/test/resources/"+fileName); - OutputStream outStream = new FileOutputStream(targetFile); - outStream.write(Base64.getDecoder().decode(artifact.getPayload())); - }*/ - - Assert.assertEquals(resultData.size(),5); // 1-service,1-VF-resource,1-vfmodule and 2 - // others - Map outputArtifactMap = populateAAIGeneratedModelStore(resultData); - testServiceTosca(toscas, outputArtifactMap); - testResourceTosca(toscas.iterator(), outputArtifactMap); - } else { - Assert.fail("error encountered : " + data.getErrorData().get("AAI")); - } - - } catch (Exception e) { - Assert.fail(e.getMessage()); - } - } - - @Test - public void testWidgetinServiceTosca() { - // Sunny day scenario service with VF and extra widget like CP anf vf has vfmodule without - // member - try { - ArtifactGenerationServiceImpl obj = new ArtifactGenerationServiceImpl(); - List toscas = new LinkedList<>(); - String aaiResourceBasePaths = "testWidgetinServiceTosca/"; - List inputArtifacts = init(aaiResourceBasePaths); - GenerationData data = obj.generateArtifact(inputArtifacts, generatorConfig, additionalParams); - if (data.getErrorData().isEmpty()) { - for (Artifact inputArtifact : inputArtifacts) { - toscas.add(getToscaModel(inputArtifact)); - } - List resultData = data.getResultData(); - Assert.assertEquals(resultData.size(),5); // 1-service,1-VF-resource,1-vfmodule and 2 - // others - Map outputArtifactMap = populateAAIGeneratedModelStore(resultData); - testServiceTosca(toscas, outputArtifactMap); - testResourceTosca(toscas.iterator(), outputArtifactMap); - } else { - Assert.fail("error encountered : " + data.getErrorData().get("AAI")); - } - - } catch (Exception e) { - Assert.fail(e.getMessage()); - } - } - - @Test - public void testSameVLdifferentVersion() { - // Sunny day scenario service with VF and extra widget like CP anf vf has vfmodule without - // member - try { - ArtifactGenerationServiceImpl obj = new ArtifactGenerationServiceImpl(); - List toscas = new LinkedList<>(); - String aaiResourceBasePaths = "testSameVLdifferentVersion/"; - List inputArtifacts = init(aaiResourceBasePaths); - GenerationData data = obj.generateArtifact(inputArtifacts, generatorConfig, additionalParams); - if (data.getErrorData().isEmpty()) { - for (Artifact inputArtifact : inputArtifacts) { - toscas.add(getToscaModel(inputArtifact)); - } - List resultData = data.getResultData(); - Assert.assertEquals(resultData.size(),8); - // others - Map outputArtifactMap = populateAAIGeneratedModelStore(resultData); - testServiceTosca(toscas, outputArtifactMap); - testResourceTosca(toscas.iterator(), outputArtifactMap); - } else { - Assert.fail("error encountered : " + data.getErrorData().get("AAI")); - } - - } catch (Exception e) { - Assert.fail(e.getMessage()); - } - } - - @Test - public void testArtifactGenerationAllottedResourceAndL3Network() { - // Sunny day scenario service with allotted resource and L3-network - try { - ArtifactGenerationServiceImpl obj = new ArtifactGenerationServiceImpl(); - List toscas = new LinkedList<>(); - String aaiResourceBasePaths = "aai2/"; - List inputArtifacts = init(aaiResourceBasePaths); - GenerationData data = obj.generateArtifact(inputArtifacts, generatorConfig, additionalParams); - if (data.getErrorData().isEmpty()) { - for (Artifact inputArtifact : inputArtifacts) { - toscas.add(getToscaModel(inputArtifact)); - } - List resultData = data.getResultData(); - - Assert.assertEquals(resultData.size(),5); - // and 2 - // others - Map outputArtifactMap = populateAAIGeneratedModelStore(resultData); - testServiceTosca(toscas, outputArtifactMap); - testResourceTosca(toscas.iterator(), outputArtifactMap); - } else { - Assert.fail("error encountered : " + data.getErrorData().get("AAI")); - } - - } catch (Exception e) { - Assert.fail(e.getMessage()); - } - } - - @Test(dependsOnMethods = {"testArtifactGeneration"}) - public void testWhenMissingTosca() { - try { - //Missing Service tosca test case - String aaiResourceBasePaths = "testArtifactGeneration2/"; - List inputArtifacts = init(aaiResourceBasePaths); - ArtifactGenerationServiceImpl obj = new ArtifactGenerationServiceImpl(); - GenerationData data = obj.generateArtifact(inputArtifacts, generatorConfig, additionalParams); - Assert.assertEquals(data.getErrorData().get("AAI").get(0),"Service tosca missing from list of input artifacts"); - } catch (Exception e) { - Assert.fail(e.getMessage()); - } - } - - @Test(dependsOnMethods = {"testWhenMissingTosca"}) - public void testWhenInvaildConfig() { - try { - //Invalid config test case - String generatorConfig1 = "{\"artifactTypes\": [\"ABC\"]}"; - String aaiResourceBasePaths = "testArtifactGeneration2/"; - List inputArtifacts = init(aaiResourceBasePaths); - ArtifactGenerationServiceImpl obj = new ArtifactGenerationServiceImpl(); - GenerationData data = obj.generateArtifact(inputArtifacts, generatorConfig1, additionalParams); - Assert.assertEquals(data.getErrorData().get("ARTIFACT_GENERATOR_INVOCATION_ERROR").get(0),"Invalid Client Configuration"); - } catch (Exception e) { - Assert.fail(e.getMessage()); - } - } - - @Test(dependsOnMethods = {"testArtifactGeneration"}) - public void testWhenOnlyServToscaNoResTosca() { - try { - //Testing only service tosca no resource Tosca - String aaiResourceBasePaths = "testArtifactGeneration4/"; - List inputArtifacts = init(aaiResourceBasePaths); - ArtifactGenerationServiceImpl obj = new ArtifactGenerationServiceImpl(); - List toscas = new LinkedList<>(); - GenerationData data = obj.generateArtifact(inputArtifacts, generatorConfig, additionalParams); - List resultData = data.getResultData(); - if (data.getErrorData().isEmpty()) { - for (Artifact inputArtifact : inputArtifacts) { - toscas.add(getToscaModel(inputArtifact)); - } - } - Assert.assertEquals(resultData.size(),3); // 1-service and 2-Others - Map outputArtifactMap = populateAAIGeneratedModelStore(resultData); - testServiceTosca(toscas, outputArtifactMap); - } catch (Exception e) { - Assert.fail(e.getMessage()); - } - } - - @Test(dependsOnMethods = {"testArtifactGeneration"}) - public void testWhenInvaildYaml() { - try { - //Invalid Yaml file test case - String aaiResourceBasePaths = "testArtifactGeneration5/"; - List inputArtifacts = init(aaiResourceBasePaths); - ArtifactGenerationServiceImpl obj = new ArtifactGenerationServiceImpl(); - GenerationData data = obj.generateArtifact(inputArtifacts, generatorConfig, additionalParams); - Assert.assertEquals(data.getErrorData().get("AAI").get(0),"Invalid format for Tosca YML : " + inputArtifacts.get(0).getName()); - } catch (Exception e) { - Assert.fail(e.getMessage()); - } - } - - @Test(dependsOnMethods = {"testArtifactGeneration"}) - public void testWhenExtraResToscaNotPartOfServ() { - try { - // Valid scenario with extra resource tosca which is not part of Service - String aaiResourceBasePaths = "testArtifactGeneration6/"; - List inputArtifacts = init(aaiResourceBasePaths); - ArtifactGenerationServiceImpl obj = new ArtifactGenerationServiceImpl(); - List toscas = new LinkedList<>(); - GenerationData data = obj.generateArtifact(inputArtifacts, generatorConfig, additionalParams); - List resultData = data.getResultData(); - if (data.getErrorData().isEmpty()) { - for (Artifact inputArtifact : inputArtifacts) { - toscas.add(getToscaModel(inputArtifact)); - } - } - Assert.assertEquals(resultData.size(),3); // 1-service and 2 Others - Map outputArtifactMap = populateAAIGeneratedModelStore(resultData); - testServiceTosca(toscas, outputArtifactMap); - } catch (Exception e) { - Assert.fail(e.getMessage()); - } - } - - - @Test - public void testWhenInvUuIdAttrMissing() { - try { - // mandatory attribute missing - String aaiResourceBasePaths = "testArtifactGeneration8/"; - List inputArtifacts = init(aaiResourceBasePaths); - ArtifactGenerationServiceImpl obj = new ArtifactGenerationServiceImpl(); - GenerationData data = obj.generateArtifact(inputArtifacts, generatorConfig, additionalParams); - Assert.assertEquals( - data.getErrorData().get("AAI").get(0),"Invalid Service/Resource definition mandatory attribute missing in Artifact: <" + - inputArtifacts.get(0).getName() + ">"); - - } catch (Exception e) { - Assert.fail(e.getMessage()); - } - } - - @Test - public void testErrorWhenInvalidInvId() { - try { - //Invariant Id in service tosca of length not 36 - String aaiResourceBasePaths = "testErrorWhenInvalidInvId/"; - List inputArtifacts = init(aaiResourceBasePaths); - ArtifactGenerationServiceImpl obj = new ArtifactGenerationServiceImpl(); - GenerationData data = obj.generateArtifact(inputArtifacts, generatorConfig, additionalParams); - Assert.assertEquals( - data.getErrorData().get("AAI").get(0),String.format( - GeneratorConstants.GENERATOR_AAI_ERROR_INVALID_ID, - "invariantUUID",inputArtifacts.get(0).getName())); - - } catch (Exception e) { - Assert.fail(e.getMessage()); - } - } - - @Test - public void testWhenUuIdAttrMissing() { - try { - //mandatory attribute missing - String aaiResourceBasePaths = "testArtifactGeneration9/"; - List inputArtifacts = init(aaiResourceBasePaths); - ArtifactGenerationServiceImpl obj = new ArtifactGenerationServiceImpl(); - GenerationData data = obj.generateArtifact(inputArtifacts, generatorConfig, additionalParams); - Assert.assertEquals( - data.getErrorData().get("AAI").get(0),"Invalid Service/Resource definition mandatory attribute missing in Artifact: <" + - inputArtifacts.get(0).getName() + ">"); - - } catch (Exception e) { - Assert.fail(e.getMessage()); - } - } - - @Test - public void testErrorWhenInvalidUuId() { - try { - //UUID Id in service tosca of length not 36 - String aaiResourceBasePaths = "testErrorWhenInvalidUuId/"; - List inputArtifacts = init(aaiResourceBasePaths); - ArtifactGenerationServiceImpl obj = new ArtifactGenerationServiceImpl(); - GenerationData data = obj.generateArtifact(inputArtifacts, generatorConfig, additionalParams); - Assert.assertEquals( - data.getErrorData().get("AAI").get(0),String.format( - GeneratorConstants.GENERATOR_AAI_ERROR_INVALID_ID, - "UUID",inputArtifacts.get(0).getName())); - - } catch (Exception e) { - Assert.fail(e.getMessage()); - } - } - - @Test - public void testWhenNameAttrMissing() { - try { - //mandatory attribute missing - String aaiResourceBasePaths = "testArtifactGeneration10/"; - List inputArtifacts = init(aaiResourceBasePaths); - ArtifactGenerationServiceImpl obj = new ArtifactGenerationServiceImpl(); - GenerationData data = obj.generateArtifact(inputArtifacts, generatorConfig, additionalParams); - Assert.assertEquals( - data.getErrorData().get("AAI").get(0),"Invalid Service/Resource definition mandatory attribute missing in Artifact: <" + - inputArtifacts.get(0).getName() + ">"); - - } catch (Exception e) { - Assert.fail(e.getMessage()); - } - } - - @Test //(dependsOnMethods = {"testArtifactGeneration"}) - public void testWhenVfModInvUuIdAttrMissing() { - try { - //mandatory attribute missing - List inputArtifacts = new ArrayList<>(); - readPayloadFromResource(inputArtifacts, "service_vmme_template_ModInvUUID.yml"); - readPayloadFromResource(inputArtifacts, "vf_vmme_template_ModInvUUID.yml"); - ArtifactGenerationServiceImpl obj = new ArtifactGenerationServiceImpl(); - GenerationData data = obj.generateArtifact(inputArtifacts, generatorConfig, additionalParams); - Assert.assertEquals( - data.getErrorData().get("AAI").get(0),"Invalid Service/Resource definition mandatory attribute missing in Artifact: <" + - inputArtifacts.get(1).getName() + ">"); - - } catch (Exception e) { - Assert.fail(e.getMessage()); - } - } - - public static void readPayload(List inputArtifacts, InputStream fis, String fileName) throws - IOException { - byte[] payload = new byte[fis.available()]; - fis.read(payload); - String checksum = GeneratorUtil.checkSum(payload); - byte[] encodedPayload = GeneratorUtil.encode(payload); - Artifact artifact = new Artifact(aaiArtifactType, aaiArtifactGroupType, checksum, encodedPayload); - artifact.setName(fileName); - artifact.setLabel(fileName); - artifact.setDescription(fileName); - artifact.setVersion("1.0"); - System.out.println(artifact.getName()); - inputArtifacts.add(artifact); - } - - @Test - public void testWhenInvalidVfModInvUuIdAttr() { - try { - //invalid id since not of length 36 for - List inputArtifacts = new ArrayList<>(); - readPayloadFromResource(inputArtifacts, "service_vmme_template_InvalidVfModInvUuIdAttr.yml"); - - readPayloadFromResource(inputArtifacts, "vf_vmme_template_InvalidVfModInvUuIdAttr.yml"); - ArtifactGenerationServiceImpl obj = new ArtifactGenerationServiceImpl(); - GenerationData data = obj.generateArtifact(inputArtifacts, generatorConfig, additionalParams); - Assert.assertEquals( - data.getErrorData().get("AAI").get(0),String.format( - GeneratorConstants.GENERATOR_AAI_ERROR_INVALID_ID, - "vfModuleModelInvariantUUID", inputArtifacts.get(1).getName() )); - - } catch (Exception e) { - Assert.fail(e.getMessage()); - } - } - - @Test //(dependsOnMethods = {"testArtifactGeneration"}) - public void testWhenVfModNameAttrMissing() { - try { - //mandatory attribute missing - List inputArtifacts = new ArrayList<>(); - readPayloadFromResource(inputArtifacts, "service_vmme_template_ModelName.yml"); - - readPayloadFromResource(inputArtifacts, "vf_vmme_template_ModelName.yml"); - ArtifactGenerationServiceImpl obj = new ArtifactGenerationServiceImpl(); - GenerationData data = obj.generateArtifact(inputArtifacts, generatorConfig, additionalParams); - Assert.assertEquals( - data.getErrorData().get("AAI").get(0),"Invalid Service/Resource definition mandatory attribute missing in Artifact: <" + - inputArtifacts.get(1).getName() + ">"); - - } catch (Exception e) { - Assert.fail(e.getMessage()); - } - } - - /*public static void readPayload(List inputArtifacts,InputStream fis, String fileName) - throws - IOException { - byte[] payload = new byte[fis.available()]; - fis.read(payload); - String checksum = GeneratorUtil.checkSum(payload); - byte[] encodedPayload = GeneratorUtil.encode(payload); - Artifact artifact = new Artifact(aaiArtifactType, aaiArtifactGroupType, checksum, encodedPayload); - artifact.setName(fileName); - artifact.setLabel(fileName); - artifact.setDescription(fileName); - artifact.setVersion("1.0"); - System.out.println(artifact.getName()); - inputArtifacts.add(artifact); - }*/ - - @Test //(dependsOnMethods = {"testArtifactGeneration"}) - public void testWhenVfModUuIdAttrMissing() { - try { - //mandatory attribute missing in Artifact - List inputArtifacts = new ArrayList<>(); - readPayloadFromResource(inputArtifacts, "service_vmme_template_ModelUUID.yml"); - - readPayloadFromResource(inputArtifacts, "vf_vmme_template_ModelUUID.yml"); - ArtifactGenerationServiceImpl obj = new ArtifactGenerationServiceImpl(); - GenerationData data = obj.generateArtifact(inputArtifacts, generatorConfig, additionalParams); - Assert.assertEquals( - data.getErrorData().get("AAI").get(0),"Invalid Service/Resource definition mandatory " + - "attribute missing in Artifact: <" + - inputArtifacts.get(1).getName() + ">"); - - } catch (Exception e) { - Assert.fail(e.getMessage()); - } - } - - @Test - public void testWhenInvalidVfModUuIdAttr() { - try { - //invalid id since not of length 36 for - List inputArtifacts = new ArrayList<>(); - readPayloadFromResource(inputArtifacts, "service_vmme_template_InvalidVfModUuIdAttr.yml"); - - readPayloadFromResource(inputArtifacts, "vf_vmme_template_InvalidVfModUuIdAttr.yml"); - ArtifactGenerationServiceImpl obj = new ArtifactGenerationServiceImpl(); - GenerationData data = obj.generateArtifact(inputArtifacts, generatorConfig, additionalParams); - Assert.assertEquals( - data.getErrorData().get("AAI").get(0),String.format( - GeneratorConstants.GENERATOR_AAI_ERROR_INVALID_ID, - "vfModuleModelUUID", inputArtifacts.get(1).getName() )); - - } catch (Exception e) { - Assert.fail(e.getMessage()); - } - } - - @Test //(dependsOnMethods = {"testArtifactGeneration"}) - public void testWhenVfModVersionAttrMissing() { - try { - //mandatory attribute missing - List inputArtifacts = new ArrayList<>(); - readPayloadFromResource(inputArtifacts, "service_vmme_template_ModelVersion.yml"); - - readPayloadFromResource(inputArtifacts, "vf_vmme_template_ModelVersion.yml"); - ArtifactGenerationServiceImpl obj = new ArtifactGenerationServiceImpl(); - GenerationData data = obj.generateArtifact(inputArtifacts, generatorConfig, additionalParams); - Assert.assertEquals( - data.getErrorData().get("AAI").get(0),"Invalid Service/Resource definition mandatory attribute missing in Artifact: <" + - inputArtifacts.get(1).getName() + ">"); - - } catch (Exception e) { - Assert.fail(e.getMessage()); - } - } - - @Test - public void testErrorWhenNoSystemPropConfigured() throws Exception { - String configLoc = System.getProperty("artifactgenerator.config"); - try { - System.clearProperty("artifactgenerator.config"); - ArtifactGenerationServiceImpl obj = new ArtifactGenerationServiceImpl(); - String aaiResourceBasePaths = "aai/"; - List inputArtifacts = init(aaiResourceBasePaths); - GenerationData data = obj.generateArtifact(inputArtifacts, generatorConfig, additionalParams); - Assert.assertEquals(false,data.getErrorData().isEmpty()); - Assert.assertEquals(data.getErrorData(). - get("AAI").get(0), GeneratorConstants.GENERATOR_AAI_CONFIGLOCATION_NOT_FOUND); - } catch (Exception e) { - Assert.fail(e.getMessage()); - } - finally{ - System.setProperty("artifactgenerator.config",configLoc); - } - } - - @Test - public void testErrorWhenNoWidgetInConfig() throws Exception { - String configLoc = System.getProperty("artifactgenerator.config"); - final File configFile = new File(configLoc); - String configDir = configLoc.substring(0, configLoc.lastIndexOf(File.separator)); - final File tempFile = new File(configDir + File.separator + "temp.properties"); - try { - //copy orignal Artifact-Generator.properties to temp.properties for backup - FileUtils.copyFile(configFile, tempFile); - - String serviceWidgetName = ArtifactType.AAI.name()+".model-version-id."+Widget.getWidget - (Widget.Type.SERVICE) - .getName(); - String assertMsg = ArtifactType.AAI.name() + ".model-version-id." +Widget.getWidget - (Widget.Type.SERVICE).getName(); - - //Remove property from Artifact-Generator.properties - properties.remove(serviceWidgetName); - try (OutputStream fos = new FileOutputStream(new File(configLoc))) { - properties.store(fos,null); - } - - ArtifactGenerationServiceImpl obj = new ArtifactGenerationServiceImpl(); - String aaiResourceBasePaths = "aai/"; - List inputArtifacts = init(aaiResourceBasePaths); - GenerationData data = obj.generateArtifact(inputArtifacts, generatorConfig, additionalParams); - Assert.assertEquals(false,data.getErrorData().isEmpty()); - String errMsg = String.format(GeneratorConstants.GENERATOR_AAI_CONFIGLPROP_NOT_FOUND,assertMsg); - Assert.assertEquals(data.getErrorData().get("AAI").get(0),errMsg); - } catch (Exception e) { - Assert.fail(e.getMessage()); - } - finally{ - if(tempFile.exists()){ - //Revert the changes - FileUtils.copyFile(tempFile, configFile); - loadConfigFromClasspath(properties); - tempFile.delete(); - } - } - } - - @Test - public void testErrorWhenNoFileAtConfigLocation() throws Exception { - String configLoc = System.getProperty("artifactgenerator.config"); - try { - System.setProperty("artifactgenerator.config",configLoc + File.separator + "testErrorWhenNoFileAtConfigLocation"); - ArtifactGenerationServiceImpl obj = new ArtifactGenerationServiceImpl(); - String aaiResourceBasePaths = "aai/"; - List inputArtifacts = init(aaiResourceBasePaths); - GenerationData data = obj.generateArtifact(inputArtifacts, generatorConfig, additionalParams); - Assert.assertEquals(data.getErrorData().isEmpty(),false); - Assert.assertEquals(data.getErrorData().get("AAI").get(0),String.format( - GeneratorConstants.GENERATOR_AAI_CONFIGFILE_NOT_FOUND,System.getProperty - ("artifactgenerator.config"))); - } catch (Exception e) { - Assert.fail(e.getMessage()); - } - finally{ - System.setProperty("artifactgenerator.config",configLoc); - } - } - - @Test - public void testErrorWhenNoServiceVersion() { - // scenario service with VF anf vfmodule but no service version in additional parameter - try { - additionalParams.clear(); - ArtifactGenerationServiceImpl obj = new ArtifactGenerationServiceImpl(); - String aaiResourceBasePaths = "aai/"; - List inputArtifacts = init(aaiResourceBasePaths); - GenerationData data = obj.generateArtifact(inputArtifacts, generatorConfig, additionalParams); - Assert.assertEquals(data.getErrorData().isEmpty(),false); - Assert.assertEquals(data.getErrorData().get("AAI").get(0), - GeneratorConstants.GENERATOR_AAI_ERROR_MISSING_SERVICE_VERSION); - } catch (Exception e) { - Assert.fail(e.getMessage()); - } - finally{ - additionalParams.put(AdditionalParams.ServiceVersion.getName(),"1.0"); - } - } - - @Test - public void testArtifactGenerationWithServiceVersion() { - // Sunny day scenario service with VF anf vfmodule and service version as adiitional parameter - try { - additionalParams.put(AdditionalParams.ServiceVersion.getName(),"9.0"); - ArtifactGenerationServiceImpl obj = new ArtifactGenerationServiceImpl(); - List toscas = new LinkedList<>(); - String aaiResourceBasePaths = "aai/"; - List inputArtifacts = init(aaiResourceBasePaths); - GenerationData data = obj.generateArtifact(inputArtifacts, generatorConfig, additionalParams); - if (data.getErrorData().isEmpty()) { - for (Artifact inputArtifact : inputArtifacts) { - toscas.add(getToscaModel(inputArtifact)); - } - List resultData = data.getResultData(); - - /*for( int i = 0 ; i < resultData.size() ; i++) { - Artifact artifact = resultData.get(i); - String fileName = artifact.getName(); - while(fileName.contains(":")){ - fileName = fileName.replace(":",""); - } - File targetFile =new File("src/test/resources/"+fileName); - OutputStream outStream = new FileOutputStream(targetFile); - outStream.write(Base64.getDecoder().decode(artifact.getPayload())); - }*/ - - Assert.assertEquals(resultData.size(),5); // 1-service,1-VF-resource,1-vfmodule and 2 - // others - Map outputArtifactMap = populateAAIGeneratedModelStore(resultData); - testServiceTosca(toscas, outputArtifactMap); - testResourceTosca(toscas.iterator(), outputArtifactMap); - } else { - Assert.fail("error encountered : " + data.getErrorData().get("AAI")); - } - - } catch (Exception e) { - Assert.fail(e.getMessage()); - } - finally{ - additionalParams.put(AdditionalParams.ServiceVersion.getName(),"1.0"); - } - } - - @Test - public void testErrorWhenInvalidServiceVersion() { - // scenario service with VF anf vfmodule but invalid service version in additional parameter - try { - ArtifactGenerationServiceImpl obj = new ArtifactGenerationServiceImpl(); - String aaiResourceBasePaths = "aai/"; - List inputArtifacts = init(aaiResourceBasePaths); - - additionalParams.put(AdditionalParams.ServiceVersion.getName(),"1"); - GenerationData data = obj.generateArtifact(inputArtifacts, generatorConfig, additionalParams); - Assert.assertEquals(data.getErrorData().isEmpty(),false); - Assert.assertEquals(data.getErrorData().get("AAI").get(0), - GeneratorConstants.GENERATOR_AAI_INVALID_SERVICE_VERSION); - - additionalParams.put(AdditionalParams.ServiceVersion.getName(),"0.1"); - data = obj.generateArtifact(inputArtifacts, generatorConfig, additionalParams); - Assert.assertEquals(data.getErrorData().isEmpty(),false); - Assert.assertEquals(data.getErrorData().get("AAI").get(0), - GeneratorConstants.GENERATOR_AAI_INVALID_SERVICE_VERSION); - - additionalParams.put(AdditionalParams.ServiceVersion.getName(),"0.0"); - data = obj.generateArtifact(inputArtifacts, generatorConfig, additionalParams); - Assert.assertEquals(data.getErrorData().isEmpty(),false); - Assert.assertEquals(data.getErrorData().get("AAI").get(0), - GeneratorConstants.GENERATOR_AAI_INVALID_SERVICE_VERSION); - - } catch (Exception e) { - Assert.fail(e.getMessage()); - } - finally{ - additionalParams.put(AdditionalParams.ServiceVersion.getName(),"1.0"); - } - } - - @Test - public void testMissingResourceTosca() { - try { - //Service with resource but seperate resource tosca not coming as input. - String aaiResourceBasePaths = "missingResourceTosca/"; - List inputArtifacts = init(aaiResourceBasePaths); - ArtifactGenerationServiceImpl obj = new ArtifactGenerationServiceImpl(); - GenerationData data = obj.generateArtifact(inputArtifacts, generatorConfig, additionalParams); - Assert.assertEquals(data.getErrorData().get("AAI").get(0),"Cannot generate artifacts. Resource Tosca missing for resource with UUID: "); - } catch (Exception e) { - Assert.fail(e.getMessage()); - } - } - @Test - public void testMissingVLTosca() { - try { - //Service with VL but seperate VL tosca not coming as input artifact. - String aaiResourceBasePaths = "missingVLTosca/"; - List inputArtifacts = init(aaiResourceBasePaths); - ArtifactGenerationServiceImpl obj = new ArtifactGenerationServiceImpl(); - GenerationData data = obj.generateArtifact(inputArtifacts, generatorConfig, additionalParams); - Assert.assertEquals(data.getErrorData().get("AAI").get(0),"Cannot generate artifacts. Resource Tosca missing for resource with UUID: <3f8fa4d2-2b86-4b36-bbc8-ffb8f9f57468>"); - } catch (Exception e) { - Assert.fail(e.getMessage()); - } - } - - @Test - public void testErrorWhenNoResourceVersion() { - // scenario service with VF but missing resource version in service tosca - try { - ArtifactGenerationServiceImpl obj = new ArtifactGenerationServiceImpl(); - String aaiResourceBasePaths = "testErrorWhenNoResourceVersion/"; - List inputArtifacts = init(aaiResourceBasePaths); - GenerationData data = obj.generateArtifact(inputArtifacts, generatorConfig, additionalParams); - Assert.assertEquals(data.getErrorData().isEmpty(),false); - Assert.assertEquals(data.getErrorData().get("AAI").get(0), - "Invalid Service definition mandatory attribute version missing for resource with UUID: "); - } catch (Exception e) { - Assert.fail(e.getMessage()); - } - } - - @Test - public void testErrorWhenInvalidResourceVersion1() { - // scenario service with VF but invalid resource version 0.0 in service tosca - try { - ArtifactGenerationServiceImpl obj = new ArtifactGenerationServiceImpl(); - String aaiResourceBasePaths = "testErrorWhenInvalidResourceVersion1/"; - List inputArtifacts = init(aaiResourceBasePaths); - GenerationData data = obj.generateArtifact(inputArtifacts, generatorConfig, additionalParams); - Assert.assertEquals(data.getErrorData().isEmpty(),false); - Assert.assertEquals(data.getErrorData().get("AAI").get(0), - "Cannot generate artifacts. Invalid Resource version in Service tosca for resource with UUID: "); - } catch (Exception e) { - Assert.fail(e.getMessage()); - } - } - - @Test - public void testErrorWhenInvalidResourceVersion2() { - // scenario service with VF but invalid resource version 1 in service tosca - try { - ArtifactGenerationServiceImpl obj = new ArtifactGenerationServiceImpl(); - String aaiResourceBasePaths = "testErrorWhenInvalidResourceVersion2/"; - List inputArtifacts = init(aaiResourceBasePaths); - GenerationData data = obj.generateArtifact(inputArtifacts, generatorConfig, additionalParams); - Assert.assertEquals(data.getErrorData().isEmpty(),false); - Assert.assertEquals(data.getErrorData().get("AAI").get(0), - "Cannot generate artifacts. Invalid Resource version in Service tosca for resource with UUID: "); - } catch (Exception e) { - Assert.fail(e.getMessage()); - } - } - - @Test - public void testArtifactGenerationAllottedResourceWithIpMuxAndTunnelXConn() { - try { - ArtifactGenerationServiceImpl obj = new ArtifactGenerationServiceImpl(); - List toscas = new LinkedList<>(); - String aaiResourceBasePaths = "testArtifactGeneration15/"; - List inputArtifacts = init(aaiResourceBasePaths); - GenerationData data = obj.generateArtifact(inputArtifacts, generatorConfig, additionalParams); - if (data.getErrorData().isEmpty()) { - for (Artifact inputArtifact : inputArtifacts) { - toscas.add(getToscaModel(inputArtifact)); - } - List resultData = data.getResultData(); - - Assert.assertEquals(resultData.size(),5); - Map outputArtifactMap = populateAAIGeneratedModelStore(resultData); - testServiceTosca(toscas, outputArtifactMap); - testResourceTosca(toscas.iterator(), outputArtifactMap); - } else { - Assert.fail("error encountered : " + data.getErrorData().get("AAI")); - } - - } catch (Exception e) { - Assert.fail(e.getMessage()); - } - } - -// @Test - public void testErrorWhenAllottedResourceWithOutProvidingServiceId() { - try { - ArtifactGenerationServiceImpl obj = new ArtifactGenerationServiceImpl(); - String aaiResourceBasePaths = "testErrorWhenAllottedResourceWithOutDependingServiceId/"; - List inputArtifacts = init(aaiResourceBasePaths); - GenerationData data = obj.generateArtifact(inputArtifacts, generatorConfig, additionalParams); - Assert.assertEquals(data.getErrorData().isEmpty(),false); - Assert.assertEquals(data.getErrorData().get("AAI").get(0),String.format - (GeneratorConstants.GENERATOR_AAI_PROVIDING_SERVICE_METADATA_MISSING, "707b2850-e830-4b00-9902-879f44ac05a4")); - } catch (Exception e) { - Assert.fail(e.getMessage()); - } - } - - @Test - public void testArtifactGenerationWithoutAllottedResource() { - try { - ArtifactGenerationServiceImpl obj = new ArtifactGenerationServiceImpl(); - String aaiResourceBasePaths = "testArtifactGeneration16/"; - List inputArtifacts = init(aaiResourceBasePaths); - GenerationData data = obj.generateArtifact(inputArtifacts, generatorConfig, additionalParams); - Assert.assertEquals(data.getErrorData().isEmpty(),false); - Assert.assertEquals(data.getErrorData().get("AAI").get(0),String.format - (GeneratorConstants.GENERATOR_AAI_PROVIDING_SERVICE_MISSING, "a54a5235-b69d-4f8a-838b-d011e6783fa5")); - } catch (Exception e) { - Assert.fail(e.getMessage()); - } - } - - @Test - public void testArtifactGenerationAllottedResourceIpmuxSameInvariantDiffVersion() { - try { - ArtifactGenerationServiceImpl obj = new ArtifactGenerationServiceImpl(); - List toscas = new LinkedList<>(); - String aaiResourceBasePaths = "testArtifactGeneration17/"; - List inputArtifacts = init(aaiResourceBasePaths); - GenerationData data = obj.generateArtifact(inputArtifacts, generatorConfig, additionalParams); - if (data.getErrorData().isEmpty()) { - for (Artifact inputArtifact : inputArtifacts) { - toscas.add(getToscaModel(inputArtifact)); - } - List resultData = data.getResultData(); - - Assert.assertEquals(resultData.size(),5); - Map outputArtifactMap = populateAAIGeneratedModelStore(resultData); - testServiceTosca(toscas, outputArtifactMap); - testResourceTosca(toscas.iterator(), outputArtifactMap); - } else { - Assert.fail("error encountered : " + data.getErrorData().get("AAI")); - } - - } catch (Exception e) { - Assert.fail(e.getMessage()); - } - } - - @Test - public void testArtifactGenerationAllottedResourceIpmuxSameInvariantSameVersion() { - try { - ArtifactGenerationServiceImpl obj = new ArtifactGenerationServiceImpl(); - List toscas = new LinkedList<>(); - String aaiResourceBasePaths = "testArtifactGeneration18/"; - List inputArtifacts = init(aaiResourceBasePaths); - GenerationData data = obj.generateArtifact(inputArtifacts, generatorConfig, additionalParams); - if (data.getErrorData().isEmpty()) { - for (Artifact inputArtifact : inputArtifacts) { - toscas.add(getToscaModel(inputArtifact)); - } - List resultData = data.getResultData(); - - - Assert.assertEquals(resultData.size(),4); - Map outputArtifactMap = populateAAIGeneratedModelStore(resultData); - testServiceTosca(toscas, outputArtifactMap); - testResourceTosca(toscas.iterator(), outputArtifactMap); - } else { - Assert.fail("error encountered : " + data.getErrorData().get("AAI")); - } - - } catch (Exception e) { - Assert.fail(e.getMessage()); - } - } - - @Test - public void testArtifactGenerationAllottedResourceIpmuxWithGroups() { - try { - ArtifactGenerationServiceImpl obj = new ArtifactGenerationServiceImpl(); - List toscas = new LinkedList<>(); - String aaiResourceBasePaths = "testAllotedResourceWithDependingSerWithGroups/"; - List inputArtifacts = init(aaiResourceBasePaths); - GenerationData data = obj.generateArtifact(inputArtifacts, generatorConfig, additionalParams); - if (data.getErrorData().isEmpty()) { - for (Artifact inputArtifact : inputArtifacts) { - toscas.add(getToscaModel(inputArtifact)); - } - List resultData = data.getResultData(); - - Assert.assertEquals(resultData.size(),5); - Map outputArtifactMap = populateAAIGeneratedModelStore(resultData); - testServiceTosca(toscas, outputArtifactMap); - testResourceTosca(toscas.iterator(), outputArtifactMap); - } else { - Assert.fail("error encountered : " + data.getErrorData().get("AAI")); - } - - } catch (Exception e) { - Assert.fail(e.getMessage()); - } - } - - @Test - public void testArtifactGenerationAllottedResourceWithVF() { - try { - ArtifactGenerationServiceImpl obj = new ArtifactGenerationServiceImpl(); - List toscas = new LinkedList<>(); - String aaiResourceBasePaths = "testArtifactGenerationAllottedResourceWithVF/"; - List inputArtifacts = init(aaiResourceBasePaths); - GenerationData data = obj.generateArtifact(inputArtifacts, generatorConfig, additionalParams); - if (data.getErrorData().isEmpty()) { - for (Artifact inputArtifact : inputArtifacts) { - toscas.add(getToscaModel(inputArtifact)); - } - List resultData = data.getResultData(); - - Assert.assertEquals(resultData.size(),7); - Map outputArtifactMap = populateAAIGeneratedModelStore(resultData); - testServiceTosca(toscas, outputArtifactMap); - testResourceTosca(toscas.iterator(), outputArtifactMap); - } else { - Assert.fail("error encountered : " + data.getErrorData().get("AAI")); - } - - } catch (Exception e) { - Assert.fail(e.getMessage()); - } - } - - - //@Test - public void testServiceTosca(List toscas, Map outputArtifactMap) { - try { - ToscaTemplate serviceTosca = getServiceTosca(toscas); - if (serviceTosca == null) { - Assert.fail("Service Tosca not found"); - } - serviceTosca.getMetadata().put("version", "1.0"); - Service service = new Service(); - service.populateModelIdentificationInformation(serviceTosca.getMetadata()); - String serviceNameVersionId = service.getModelNameVersionId(); - Model serviceAAIModel = getAAIModelByNameVersionId(serviceNameVersionId, outputArtifactMap); - validateServiceModelMetadata(service, serviceAAIModel); - //Validate Service instance base widget - ModelVer modelVersion = serviceAAIModel.getModelVers().getModelVer().get(0); - - List matchedServiceBaseWidgetElements = - getModelElementbyRelationshipValue( modelVersion.getModelElements(), - Widget.getWidget(Widget.Type.SERVICE).getId()); - validateMatchedModelElementsInService(matchedServiceBaseWidgetElements, - Widget.getWidget(Widget.Type.SERVICE).getName()); - - validateWidgetIds(matchedServiceBaseWidgetElements, Widget.getWidget(Widget.Type.SERVICE).getName(), - Widget.getWidget(Widget.Type.SERVICE).getWidgetId()); - - ModelElements baseServiceWidgetModelElements = - matchedServiceBaseWidgetElements.get(0).getModelElements(); - - - Map nodeTemplateIdTypeStore = getNodeTemplateTypeStore(serviceTosca); - if (nodeTemplateIdTypeStore != null) { - for (String key : nodeTemplateIdTypeStore.keySet()) { - if (nodeTemplateIdTypeStore.get(key).contains("org.openecomp.resource.vf")) { - List matchedResourceElements = - getModelElementbyRelationshipValue(baseServiceWidgetModelElements, key); - if (nodeTemplateIdTypeStore.get(key).contains("org.openecomp.resource.vf.allottedResource")){ - validateMatchedModelElementsInService(matchedResourceElements, - Widget.getWidget(Widget.Type.ALLOTTED_RESOURCE).getName()); - }else { - validateMatchedModelElementsInService(matchedResourceElements, - Widget.getWidget(Widget.Type.VF).getName()); - } - - //Validate uuid and invariantuuid are populated in model-ver.model-version-id and model.model-invariant-id - Assert.assertEquals(matchedResourceElements.get(0).getRelationshipList() - .getRelationship().get(0) - .getRelationshipData().get(0).getRelationshipValue(),key); - - Assert.assertEquals(matchedResourceElements.get(0).getRelationshipList().getRelationship().get(0) - .getRelationshipData().get(1).getRelationshipValue(), nodeTemplateIdTypeStore - .get(key+"-INV_UID")); - } else if(nodeTemplateIdTypeStore.get(key).contains("org.openecomp.resource.vl")){ - //validate l3-network in service tosca - List matchedResourceElements = - getModelElementbyRelationshipValue(baseServiceWidgetModelElements, key); - validateMatchedModelElementsInService(matchedResourceElements, - Widget.getWidget(Widget.Type.L3_NET).getName()); - //Validate uuid and invariantuuid are populated in model-ver.model-version-id and model.model-invariant-id - Assert.assertEquals(matchedResourceElements.get(0).getRelationshipList() - .getRelationship().get(0) - .getRelationshipData().get(0).getRelationshipValue(),key); - - Assert.assertEquals(matchedResourceElements.get(0).getRelationshipList().getRelationship().get(0) - .getRelationshipData().get(1).getRelationshipValue(), nodeTemplateIdTypeStore - .get(key+"-INV_UID")); - } - } - - - System.out.println(); - - } - } catch (IllegalArgumentException e) { - Assert.fail(e.getMessage()); //Can come while populating metadata - } - } - - private void validateWidgetIds(List matchedServiceBaseWidgetElements, - String widgetName, String widgetInvUuId) { - Assert.assertEquals(matchedServiceBaseWidgetElements.get(0).getRelationshipList().getRelationship().get(0) - .getRelationshipData().get(0).getRelationshipValue(), properties.getProperty(ArtifactType.AAI.name() - + ".model-version-id."+ widgetName)); - - Assert.assertEquals(matchedServiceBaseWidgetElements.get(0).getRelationshipList().getRelationship().get(0) - .getRelationshipData().get(1).getRelationshipValue(), widgetInvUuId); - } - - - public void testL3NetworkResourceTosca(Map outputArtifactMap , ToscaTemplate - resourceTosca) { - try { - if (resourceTosca != null) { - Resource resource = new Resource(); - resource.populateModelIdentificationInformation(resourceTosca.getMetadata()); - String resourceNameVersionId = resource.getModelNameVersionId(); - Model resourceAAIModel = - getAAIModelByNameVersionId(resourceNameVersionId, outputArtifactMap); - if (resourceAAIModel != null) { - validateResourceModelMetadata(resource, resourceAAIModel); - //Validate Resource instance base widget - - ModelVer modelVersion = resourceAAIModel.getModelVers().getModelVer().get(0); - - List matchedVFBaseWidgetElements = - getModelElementbyRelationshipValue(modelVersion.getModelElements(), - Widget.getWidget(Widget.Type.L3_NET).getId()); - validateMatchedModelElementsInService(matchedVFBaseWidgetElements, - Widget.getWidget(Widget.Type.L3_NET).getName()); - - validateWidgetIds(matchedVFBaseWidgetElements, Widget.getWidget(Widget.Type.L3_NET).getName(), - Widget.getWidget(Widget.Type.L3_NET).getWidgetId()); - - }else { - System.out.println("Resource mapping not found for " + resourceNameVersionId); - } - } - - }catch (IllegalArgumentException e) { - Assert.fail(e.getMessage()); //Can come while populating metadata - } - - } - - public void testAllottedResourceTosca(Map outputArtifactMap , ToscaTemplate - resourceTosca) { - try { - if (resourceTosca != null) { - Resource resource = new Resource(); - resource.populateModelIdentificationInformation(resourceTosca.getMetadata()); - String resourceNameVersionId = resource.getModelNameVersionId(); - Model resourceAAIModel = - getAAIModelByNameVersionId(resourceNameVersionId, outputArtifactMap); - if (resourceAAIModel != null) { - validateResourceModelMetadata(resource, resourceAAIModel); - //Validate Resource instance base widget - - ModelVer modelVersion = resourceAAIModel.getModelVers().getModelVer().get(0); - - List matchedVFBaseWidgetElements = - getModelElementbyRelationshipValue(modelVersion.getModelElements(), - Widget.getWidget(Widget.Type.ALLOTTED_RESOURCE).getId()); - validateMatchedModelElementsInService(matchedVFBaseWidgetElements, - Widget.getWidget(Widget.Type.ALLOTTED_RESOURCE).getName()); - - validateWidgetIds(matchedVFBaseWidgetElements, Widget.getWidget(Widget.Type.ALLOTTED_RESOURCE).getName(), - Widget.getWidget(Widget.Type.ALLOTTED_RESOURCE).getWidgetId()); - - Map dependingServiceDetails = getProvidingServiceDetails(resourceTosca); - - ModelElements containedModelElements = modelVersion.getModelElements().getModelElement(). - get(0).getModelElements(); - Assert.assertEquals( containedModelElements.getModelElement().get(0).getRelationshipList() - .getRelationship().get(0).getRelationshipData().get(0).getRelationshipValue(), - dependingServiceDetails.get("providing_service_uuid")); - - Assert.assertEquals(containedModelElements.getModelElement().get(0).getRelationshipList() - .getRelationship().get(0).getRelationshipData().get(1).getRelationshipValue(), - dependingServiceDetails.get("providing_service_invariant_uuid")); - - if("Allotted Resource".equals(resourceTosca.getMetadata().get("category")) && - "Tunnel XConnect".equals(resourceTosca.getMetadata().get("subcategory"))) { - - List matchedTunnelXConnectWidgetElements = - getModelElementbyRelationshipValue(containedModelElements, - Widget.getWidget(Widget.Type.TUNNEL_XCONNECT).getId()); - validateMatchedModelElementsInService(matchedTunnelXConnectWidgetElements, - Widget.getWidget(Widget.Type.TUNNEL_XCONNECT).getName()); - - validateWidgetIds(matchedTunnelXConnectWidgetElements, Widget.getWidget(Widget.Type.TUNNEL_XCONNECT).getName(), - Widget.getWidget(Widget.Type.TUNNEL_XCONNECT).getWidgetId()); - } - - }else { - System.out.println("Resource mapping not found for " + resourceNameVersionId); - } - } - - }catch (IllegalArgumentException e) { - Assert.fail(e.getMessage()); //Can come while populating metadata - } - - } - - public Map getProvidingServiceDetails(ToscaTemplate resourceTemplate) { -Set keys = resourceTemplate.getTopology_template().getNode_templates().keySet(); - -Map nodeProperties =null; -for(String key : keys) { -NodeTemplate node = resourceTemplate.getTopology_template().getNode_templates().get(key); -if(node.getType().equals("org.openecomp.resource.vfc.AllottedResource")) { -nodeProperties = node.getProperties(); - } -} - - return nodeProperties; - } - - public void testVfTosca(Map outputArtifactMap , ToscaTemplate resourceTosca) { - try { - //ToscaTemplate resourceTosca = getResourceTosca(toscas); - //resourceTosca.getTopology_template().getGroups(). - if (resourceTosca != null) { - Resource resource = new Resource(); - resource.populateModelIdentificationInformation(resourceTosca.getMetadata()); - String resourceNameVersionId = resource.getModelNameVersionId(); - Model resourceAAIModel = - getAAIModelByNameVersionId(resourceNameVersionId, outputArtifactMap); - if (resourceAAIModel != null) { - validateResourceModelMetadata(resource, resourceAAIModel); - //Validate Resource instance base widget - - ModelVer modelVersion = resourceAAIModel.getModelVers().getModelVer().get(0); - - List matchedVFBaseWidgetElements = - getModelElementbyRelationshipValue(modelVersion.getModelElements(), - Widget.getWidget(Widget.Type.VF).getId()); - validateMatchedModelElementsInService(matchedVFBaseWidgetElements, - Widget.getWidget(Widget.Type.VF).getName()); - - validateWidgetIds(matchedVFBaseWidgetElements, Widget.getWidget(Widget.Type.VF).getName(), - Widget.getWidget(Widget.Type.VF).getWidgetId()); - - ModelElements baseResourceWidgetModelElements = - matchedVFBaseWidgetElements.get(0).getModelElements(); - if (resourceTosca.getTopology_template() != null) { - Map groupIdTypeStore = getGroupsTypeStore(resourceTosca); - - if (baseResourceWidgetModelElements.getModelElement().size() != - groupIdTypeStore.size()) { - Assert.fail("Missing VFModule in VF model.xml"); - } - - for (String key : groupIdTypeStore.keySet()) { - - List matchedResourceElements = - getModelElementbyRelationshipValue(baseResourceWidgetModelElements, key); - validateMatchedModelElementsInService(matchedResourceElements, - Widget.getWidget(Widget.Type.VFMODULE).getName()); - Model resourceAAIVFModel = getAAIModelByNameVersionId(key, outputArtifactMap); - Map vfModuleModelMetadata = - getVFModuleMetadataTosca(resourceTosca, key); - Map vfModuleMembers = getVFModuleMembersTosca(resourceTosca, key); - - validateVFModelMetadata(vfModuleModelMetadata, resourceAAIVFModel); - - - ModelVer modelVfVersion = resourceAAIVFModel.getModelVers().getModelVer().get(0); - - List matchedVFModuleBaseWidgetElements = - getModelElementbyRelationshipValue(modelVfVersion.getModelElements(), - Widget.getWidget(Widget.Type.VFMODULE).getId()); - validateMatchedModelElementsInService(matchedVFModuleBaseWidgetElements, - Widget.getWidget(Widget.Type.VFMODULE).getName()); - validateWidgetIds(matchedVFModuleBaseWidgetElements, Widget.getWidget(Widget.Type.VFMODULE) - .getName(), Widget.getWidget(Widget.Type.VFMODULE).getWidgetId()); - - ModelElements baseResourceVFModuleWidgetModelElements = - matchedVFModuleBaseWidgetElements.get(0).getModelElements(); - if (vfModuleMembers.containsKey("l3-network")) { - //Validate l3 - List matchedL3NetworkElements = - getModelElementbyRelationshipValue(baseResourceVFModuleWidgetModelElements, - Widget.getWidget(Widget.Type.L3_NET).getId()); - validateMatchedModelElementsInService(matchedL3NetworkElements, - Widget.getWidget(Widget.Type.L3_NET).getName()); - validateWidgetIds(matchedL3NetworkElements, Widget.getWidget(Widget.Type.L3_NET) - .getName(), Widget.getWidget(Widget.Type.L3_NET).getWidgetId()); - } - if (vfModuleMembers.containsKey("vserver")) { - //Validate vserver - List matchedVserverElements = - getModelElementbyRelationshipValue(baseResourceVFModuleWidgetModelElements, - Widget.getWidget(Widget.Type.VSERVER).getId()); - validateMatchedModelElementsInService(matchedVserverElements, - Widget.getWidget(Widget.Type.VSERVER).getName()); - ModelElements vserverWidgetModelElements = - matchedVserverElements.get(0).getModelElements(); - - validateWidgetIds(matchedVserverElements, Widget.getWidget(Widget.Type.VSERVER) - .getName(), Widget.getWidget(Widget.Type.VSERVER).getWidgetId()); - - - //Validate vserver->vfc - List matchedVfcElements = - getModelElementbyRelationshipValue(vserverWidgetModelElements, - Widget.getWidget(Widget.Type.VFC).getId()); - validateMatchedModelElementsInService(matchedVfcElements, - Widget.getWidget(Widget.Type.VFC).getName()); - validateWidgetIds(matchedVfcElements, Widget.getWidget(Widget.Type.VFC).getName(), - Widget.getWidget(Widget.Type.VFC).getWidgetId()); - - //Validate vserver->Image - List matchedImageElements = - getModelElementbyRelationshipValue(vserverWidgetModelElements, - Widget.getWidget(Widget.Type.IMAGE).getId()); - validateMatchedModelElementsInService(matchedImageElements, - Widget.getWidget(Widget.Type.IMAGE).getName()); - validateWidgetIds(matchedImageElements, Widget.getWidget(Widget.Type.IMAGE) - .getName(), Widget.getWidget(Widget.Type.IMAGE).getWidgetId()); - - - //Validate vserver->Flavor - List matchedFlavorElements = - getModelElementbyRelationshipValue(vserverWidgetModelElements, - Widget.getWidget(Widget.Type.FLAVOR).getId()); - validateMatchedModelElementsInService(matchedFlavorElements, - Widget.getWidget(Widget.Type.FLAVOR).getName()); - validateWidgetIds(matchedFlavorElements, Widget.getWidget(Widget.Type.FLAVOR).getName(), - Widget.getWidget(Widget.Type.FLAVOR).getWidgetId()); - - //Validate vserver->Tenant - List matchedTenantElements = - getModelElementbyRelationshipValue(vserverWidgetModelElements, - Widget.getWidget(Widget.Type.TENANT).getId()); - validateMatchedModelElementsInService(matchedTenantElements, - Widget.getWidget(Widget.Type.TENANT).getName()); - validateWidgetIds(matchedTenantElements, Widget.getWidget(Widget.Type.TENANT).getName(), - Widget.getWidget(Widget.Type.TENANT).getWidgetId()); - - //Validate vserver->l-interface - if (vfModuleMembers.containsKey("l-interface")) { - List matchedLinterfaceElements = - getModelElementbyRelationshipValue(vserverWidgetModelElements, - Widget.getWidget(Widget.Type.LINT).getId()); - validateMatchedModelElementsInService(matchedLinterfaceElements, - Widget.getWidget(Widget.Type.LINT).getName()); - validateWidgetIds(matchedLinterfaceElements, Widget.getWidget(Widget.Type.LINT).getName(), - Widget.getWidget(Widget.Type.LINT).getWidgetId()); - } - //Validate vserver->volume - if (vfModuleMembers.containsKey("volume")) { - List matchedVolumeElements = - getModelElementbyRelationshipValue(vserverWidgetModelElements, - Widget.getWidget(Widget.Type.VOLUME).getId()); - validateMatchedModelElementsInService(matchedVolumeElements, - Widget.getWidget(Widget.Type.VOLUME).getName()); - validateWidgetIds(matchedVolumeElements, Widget.getWidget(Widget.Type.VOLUME).getName(), - Widget.getWidget(Widget.Type.VOLUME).getWidgetId()); - } - } - } - } - } else { - System.out.println("Resource mapping not found for " + resourceNameVersionId); - } - } - - } catch (IllegalArgumentException e) { - Assert.fail(e.getMessage()); //Can come while populating metadata - } - - } - - private void validateMatchedModelElementsInService(List matchedModelElements, - String modelType) { - if (matchedModelElements.isEmpty()) { - Assert.fail(modelType + " not present "); - } - if (matchedModelElements.size() > 1) { - Assert.fail("More than one " + modelType + " present "); - } - } - - private Map getNodeTemplateTypeStore(ToscaTemplate toscaTemplate) { - if (toscaTemplate.getTopology_template() != null) { - Map nodeTemplateMap = - toscaTemplate.getTopology_template().getNode_templates(); - Map nodeTemplateIdTypeStore = new LinkedHashMap<>(); - if (nodeTemplateMap != null) { - for (Map.Entry e : nodeTemplateMap.entrySet()) { - String uuid = e.getValue().getMetadata().get("resourceUUID"); - if (GeneratorUtil.isEmpty(uuid)) { - uuid = e.getValue().getMetadata().get("UUID"); - if (GeneratorUtil.isEmpty(uuid)) { - Assert.fail("UUID Not found"); - } - } - if(e.getValue().getType().contains("org.openecomp.resource.vf.")&& (e.getValue() - .getMetadata().get("category").equals("Allotted Resource"))) - { - e.getValue().setType("org.openecomp.resource.vf.allottedResource"); - } - nodeTemplateIdTypeStore.put(uuid, e.getValue().getType()); - resourcesVersion.put(uuid,e.getValue().getMetadata().get - ("version")); - //Populate invraintUuId for V9 - String invUuId = e.getValue().getMetadata().get("invariantUUID"); - nodeTemplateIdTypeStore.put(uuid+"-INV_UID" , invUuId); - } - } - return nodeTemplateIdTypeStore; - } else { - return null; - } - } - - private Map getGroupsTypeStore(ToscaTemplate toscaTemplate) { - if (toscaTemplate.getTopology_template() != null) { - Map groupDefinitionMap = - toscaTemplate.getTopology_template().getGroups(); - Map groupDefinitionIdTypeStore = new LinkedHashMap<>(); - if (groupDefinitionMap != null) { - for (Map.Entry e : groupDefinitionMap.entrySet()) { - if (e.getValue().getType().contains("org.openecomp.groups.VfModule")) { - String uuid = e.getValue().getMetadata().get("vfModuleModelUUID"); - if (GeneratorUtil.isEmpty(uuid)) { - uuid = e.getValue().getMetadata().get("UUID"); - if (GeneratorUtil.isEmpty(uuid)) { - Assert.fail("UUID Not found"); - } - } - groupDefinitionIdTypeStore.put(uuid, e.getValue().getType()); - } - } - } - return groupDefinitionIdTypeStore; - } else { - return null; - } - - } - - private void validateServiceModelMetadata(Service serviceToscaModel, Model generatedAAIModel) { - ModelVer modelVersion = generatedAAIModel.getModelVers().getModelVer().get(0); - Assert.assertEquals(serviceToscaModel.getModelNameVersionId(), - modelVersion.getModelVersionId()); - Assert.assertEquals(serviceToscaModel.getModelId(), generatedAAIModel.getModelInvariantId()); - Assert.assertEquals(serviceToscaModel.getModelName(), modelVersion.getModelName()); - Assert.assertEquals(additionalParams.get(AdditionalParams.ServiceVersion.getName()), modelVersion - .getModelVersion()); - Assert.assertEquals(serviceToscaModel.getModelDescription(), - modelVersion.getModelDescription()); - - } - - private void validateResourceModelMetadata(Resource resouerceToscaModel, - Model generatedAAIModel) { - ModelVer modelVersion = generatedAAIModel.getModelVers().getModelVer().get(0); - Assert.assertEquals(resouerceToscaModel.getModelNameVersionId(), - modelVersion.getModelVersionId()); - Assert.assertEquals(resouerceToscaModel.getModelId(), generatedAAIModel.getModelInvariantId()); - Assert.assertEquals(resouerceToscaModel.getModelName(), modelVersion.getModelName()); - Assert - .assertEquals(resouerceToscaModel.getModelVersion(), modelVersion.getModelVersion()); - Assert.assertEquals(resouerceToscaModel.getModelDescription(), - modelVersion.getModelDescription()); - - } - - private void validateVFModelMetadata(Map vfModuleModelMetadata, - Model generatedAAIModel) { - ModelVer modelVersion = generatedAAIModel.getModelVers().getModelVer().get(0); - Assert.assertEquals(vfModuleModelMetadata.get("vfModuleModelUUID"), - modelVersion.getModelVersionId()); - Assert.assertEquals(vfModuleModelMetadata.get("vfModuleModelInvariantUUID"), - generatedAAIModel.getModelInvariantId()); - Assert.assertEquals(vfModuleModelMetadata.get("vfModuleModelName"), - modelVersion.getModelName()); - Assert.assertEquals(vfModuleModelMetadata.get("vfModuleModelVersion"), - modelVersion.getModelVersion()); - Assert.assertEquals(vfModuleModelMetadata.get("vf_module_description"), - modelVersion.getModelDescription()); - } - - private Model getAAIModelByNameVersionId(String nameVersionId, - Map outputArtifactMap) { - return outputArtifactMap.get(nameVersionId); - } - - private List getModelElementbyRelationshipValue(ModelElements modelElements, - String relationshipValue) { - List matchedModelElements = new ArrayList<>(); - if (modelElements != null) { - List modelElementList = modelElements.getModelElement(); - for (ModelElement element : modelElementList) { - List relationshipList = element.getRelationshipList().getRelationship(); - for (Relationship r : relationshipList) { - List relationshipDataList = r.getRelationshipData(); - for (RelationshipData relationshipData : relationshipDataList) { - if (relationshipData.getRelationshipValue().equals(relationshipValue)) { - matchedModelElements.add(element); - } - } - } - } - } - return matchedModelElements; - } - - private Map populateAAIGeneratedModelStore(List resultData) throws IOException { - Map outputArtifactMap = new HashMap<>(); - for (Artifact outputArtifact : resultData) { - if (outputArtifact.getType().equals(ArtifactType.MODEL_INVENTORY_PROFILE.name())) { - byte[] decodedPayload = GeneratorUtil.decoder(outputArtifact.getPayload()); - Model aaiModel = getUnmarshalledArtifactModel(new String(decodedPayload)); - List modelVersions = aaiModel.getModelVers().getModelVer(); - outputArtifactMap.put(modelVersions.get(0).getModelVersionId(), aaiModel); - } - } - return outputArtifactMap; - } - - private Model getUnmarshalledArtifactModel(String aaiModel) throws IOException { - - try { - - JAXBContext jaxbContext = JAXBContext.newInstance(Model.class); - Unmarshaller unmarshaller = jaxbContext.createUnmarshaller(); - - try (InputStream aaiModelStream = new ByteArrayInputStream(aaiModel.getBytes())) { - return (Model) unmarshaller.unmarshal(aaiModelStream); - } - - } catch (JAXBException e) { - e.printStackTrace(); - } - - return null; - } - - /** - * Get the tosca java model from the tosca input artifact - * - * @param input Input tosca file and its metadata information as {@link Artifact} object - * @return Translated {@link ToscaTemplate tosca} object - */ - private ToscaTemplate getToscaModel(Artifact input) throws SecurityException { - byte[] decodedInput = GeneratorUtil.decoder(input.getPayload()); - String checksum = GeneratorUtil.checkSum(decodedInput); - if (checksum.equals(input.getChecksum())) { - try { - return GeneratorUtil.translateTosca(new String(decodedInput), ToscaTemplate.class); - } catch (Exception e) { - e.printStackTrace(); - throw new IllegalArgumentException( - String.format(GeneratorConstants.GENERATOR_AAI_ERROR_INVALID_TOSCA, input.getName())); - } - } else { - throw new SecurityException( - String.format(GeneratorConstants.GENERATOR_AAI_ERROR_CHECKSUM_MISMATCH, input.getName())); - } - } - - /** - * Identify the service tosca artifact from the list of translated tosca inputs - * - * @param input List of translated {@link ToscaTemplate tosca} object models - * @return Identified service {@link ToscaTemplate tosca} - */ - private ToscaTemplate getServiceTosca(List input) { - Iterator iter = input.iterator(); - while (iter.hasNext()) { - ToscaTemplate tosca = iter.next(); - if (tosca.isService()) { - iter.remove(); - return tosca; - } - } - return null; - } - - private Map getVFModuleMetadataTosca(ToscaTemplate toscaTemplate, - String vfModuleModelUUID) { - Map groupDefinitionMap = - toscaTemplate.getTopology_template().getGroups(); - Map vfModuleModelMetadata = new LinkedHashMap<>(); - for (Map.Entry e : groupDefinitionMap.entrySet()) { - if (e.getValue().getType().contains("org.openecomp.groups.VfModule")) { - String uuid = e.getValue().getMetadata().get("vfModuleModelUUID"); - if (Objects.equals(uuid, vfModuleModelUUID)) { - vfModuleModelMetadata = e.getValue().getMetadata(); - vfModuleModelMetadata.put("vf_module_description", - (String) e.getValue().getProperties().get("vf_module_description")); - } - } - } - return vfModuleModelMetadata; - } - - private Map getVFModuleMembersTosca(ToscaTemplate toscaTemplate, - String vfModuleModelUUID) { - Map groupDefinitionMap = - toscaTemplate.getTopology_template().getGroups(); - Map nodeTemplateMaps = - toscaTemplate.getTopology_template().getNode_templates(); - Map vfModuleMembers = new LinkedHashMap<>(); - List vfModuleModelMetadata; - for (Map.Entry e : groupDefinitionMap.entrySet()) { - if (e.getValue().getType().contains("org.openecomp.groups.VfModule")) { - String uuid = e.getValue().getMetadata().get("vfModuleModelUUID"); - if (Objects.equals(uuid, vfModuleModelUUID)) { - vfModuleModelMetadata = e.getValue().getMembers(); - if (vfModuleModelMetadata !=null) { - for (Object key : vfModuleModelMetadata) { - NodeTemplate nodeTemplate = nodeTemplateMaps.get(key); - String nodetype = null; - if (nodeTemplate != null) { - nodetype = nodeTemplate.getType(); - } - if (nodetype != null) { - String widgetType = membersType(nodetype); - if (widgetType != null) { - vfModuleMembers.put(widgetType, key); - } - } - } - } - } - } - } - - return vfModuleMembers; - } - - - private String membersType(String toscaType) { - String modelToBeReturned = null; - while (toscaType != null && toscaType.lastIndexOf(".") != -1 && modelToBeReturned == null) { - - switch (toscaType) { - case "org.openecomp.resource.vf.allottedResource": - modelToBeReturned = "allotted-resource"; - break; - case "org.openecomp.resource.vfc": - modelToBeReturned = "vserver"; - break; - case "org.openecomp.resource.cp": - case "org.openecomp.cp": - modelToBeReturned = "l-interface"; - break; - case "org.openecomp.resource.vl": - modelToBeReturned = "l3-network"; - break; - case "org.openecomp.resource.vf": - modelToBeReturned = "generic-vnf"; - break; - case "org.openecomp.groups.VfModule": - modelToBeReturned = "vf-module"; - break; - case "org.openecomp.resource.vfc.nodes.heat.cinder": - modelToBeReturned = "volume"; - break; - default: - modelToBeReturned = null; - break; - } - - toscaType = toscaType.substring(0, toscaType.lastIndexOf(".")); - } - return modelToBeReturned; - } - - private List init(String aaiResourceBasePaths) { - List inputArtifacts1 = new ArrayList<>(); - try { - - String[] resourceFileList = {}; - URL resourceDirUrl = this.getClass().getClassLoader().getResource(aaiResourceBasePaths); - if (resourceDirUrl != null && resourceDirUrl.getProtocol().equals("file")) { - resourceFileList = new File(resourceDirUrl.toURI()).list(); - } else { - Assert.fail("Invalid resource directory"); - } - - for (String aResourceFileList : resourceFileList) { - File resourceFile = new File( - this.getClass().getClassLoader().getResource(aaiResourceBasePaths + aResourceFileList) - .getPath()); - - //convert service tosca file into array of bytes - byte[] payload = new byte[(int) resourceFile.length()]; - try (FileInputStream fileInputStream = new FileInputStream(resourceFile)) { - fileInputStream.read(payload); - } - - String checksum = GeneratorUtil.checkSum(payload); - byte[] encodedPayload = GeneratorUtil.encode(payload); - Artifact artifact = - new Artifact(aaiArtifactType, aaiArtifactGroupType, checksum, encodedPayload); - artifact.setName(aResourceFileList); - artifact.setLabel(aResourceFileList); - artifact.setDescription(aResourceFileList); - artifact.setVersion("1.0"); - inputArtifacts1.add(artifact); - - } - } catch (Exception e) { - //e.printStackTrace(); - Assert.fail(e.getMessage()); - } - return inputArtifacts1; - } - - private void loadConfigFromClasspath(Properties properties) throws IOException { - String configLocation = System.getProperty("artifactgenerator.config"); - if (configLocation != null) { - File file = new File(configLocation); - if (file.exists()) { - properties.load(new FileInputStream(file)); - } - } - } - - public void testResourceTosca(Iterator itr, Map - outputArtifactMap) { - while(itr.hasNext()){ - ToscaTemplate toscaTemplate = itr.next(); - String resourceVersion=resourcesVersion.get(toscaTemplate.getMetadata().get("UUID")); - toscaTemplate.getMetadata().put("version", resourceVersion); - if("VF".equals(toscaTemplate.getMetadata().get("type")) && !("Allotted Resource".equals - (toscaTemplate.getMetadata().get("category"))) ){ - testVfTosca(outputArtifactMap, toscaTemplate); - } else if("VF".equals(toscaTemplate.getMetadata().get("type")) && ("Allotted Resource".equals - (toscaTemplate.getMetadata().get("category"))) ){ - testAllottedResourceTosca(outputArtifactMap, toscaTemplate); - } else if("VL".equals(toscaTemplate.getMetadata().get("type"))){ - testL3NetworkResourceTosca(outputArtifactMap, toscaTemplate); - } - } - } - - private void readPayloadFromResource(List inputArtifacts, String file) throws IOException { - try (InputStream stream = ArtifactGenerationServiceTest.class.getResourceAsStream("/" + file)) { - readPayload(inputArtifacts, stream, file); - } - } -} diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/aai/service_vmme_template_1.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/aai/service_vmme_template_1.yml deleted file mode 100644 index c740f67b51..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/aai/service_vmme_template_1.yml +++ /dev/null @@ -1,98 +0,0 @@ -tosca_definitions_version: tosca_simple_profile_for_ecomp_1_0 - -description: Service Template for deploing MME Service - -metadata: - invariantUUID: e255f20c-5331-4245-9ad5-8861a73080b7 - UUID: 7787da18-7516-40cf-bec0-ebd4202c60f0 - type: Service - name: vMME_Service - description: vMME_Service - category: Mobility - serviceEcompNaming: false - serviceHoming: false - -imports: - vmmeToscaTemplate: - file: vf_vmme_template_1.yml - -topology_template: - - inputs: - mme_vf_instance_name: - type: string - description: VF instance name - mme_vf_deployment_node: - type: string - description: The target LCP node for deployment of this VF instance - gtp_net_network_name: - type: string - description: The GTP network route targets - default: MME-24474-Ericsson-WTC-lab_gn_GTP_net_1 # HEAT ENV - gtp_net_route_targets: - type: string - description: The GTP network route targets - default: "13979:105715" # HEAT ENV - gtp_net_cidr: - type: string - description: The GTP network cidr - default: 107.243.37.64/27 # HEAT ENV - gtp_net_gateway_ip: - type: string - description: The GTP network gateway - default: 107.243.37.65 # HEAT ENV - gtp_net_start_ip: - type: string - description: The GTP network start ip - default: 107.243.37.67 # HEAT ENV - gtp_net_end_ip: - type: string - description: The GTP network end ip - default: 107.243.37.94 # HEAT ENV - # more inputs were removed for brevity - - node_templates: - - mme: # vMME VNF - type: org.openecomp.resource.vf.vmme - - metadata: - invariantUUID: b8643c59-e2c2-4f86-880d-571d4d9d5d22 - UUID: b020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc - version: 3.0 - name: vMME_VF - description: vMME_VF - type: VF - category: Application L4+ - subcategory: Firewall - resourceVendor: Ericsson - - properties: - vf_ecomp_name: false - vf_instance_name: { get_input: vf_instance_name } - vf_homing: false - vf_deployment_node: { get_input: vf_deployment_node } - - requirements: - - vlc1_sctp_a.link: - capability: tosca.capabilities.network.Bindable - node: sctp_a_net - relationship: tosca.relationships.network.BindsTo - - vlc1_sctp_b.link: - capability: tosca.capabilities.network.Bindable - node: sctp_b_net - relationship: tosca.relationships.network.BindsTo - - vlc1_gtp_net.link: - capability: tosca.capabilities.network.Bindable - node: gtp_net - relationship: tosca.relationships.network.BindsTo - - groups: - - external_networks: # vMME_External_Network - type: org.openecomp.groups.externalNetworks - properties: - contrail_service_instance: true # from HEAT - availability_zone_count: 1 # from HEAT - - members: [ sctp_a_net, sctp_b_net, gtp_net ] diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/aai/vf_vmme_template_1.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/aai/vf_vmme_template_1.yml deleted file mode 100644 index 6aee48b9d9..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/aai/vf_vmme_template_1.yml +++ /dev/null @@ -1,1299 +0,0 @@ ---- -description: "VF Template for pseodo vMME" -imports: - NovaServerGlobalTypes: - file: NovaServerGlobalTypesServiceTemplate.yaml -metadata: - category: "Application L4+" - description: vMME_VF - invariantUUID: b8643c59-e2c2-4f86-880d-571d4d9d5d22 - name: vMME_VF - subcategory: Firewall - type: VF - UUID: b020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc - resourceVendor: Ericsson -topology_template: - groups: - vfmoduleVmmeModule-1: - members: - - FSB1 - - FSB2 - - NCB1 - - NCB2 - - VLC1 - - VLC2 - - GPB1 - - GPB2 - - Internal1_net - - Internal2_net - - fsb1_oam - - fsb1_internal1 - - fsb1_internal2 - - fsb2_oam - - fsb2_internal2 - - ncb1_internal1 - - ncb1_internal2 - - ncb2_internal1 - - ncb2_internal2 - - gpb1_internal1 - - gpb1_internal2 - - gpb2_internal1 - - gpb2_internal2 - - vlc1_oam - - vlc1_internal1 - - vlc1_internal2 - - vlc1_sctp_a - - vlc1_sctp_b - - vlc1_gtp - - vlc2_oam - - vlc2_internal1 - - vlc2_internal2 - - vlc2_sctp_a - - vlc2_sctp_b - - vlc1_gtp - metadata: - vfModuleModelInvariantUUID: adf1a10a-f788-492f-9ea7-7ff91dd55f8c - vfModuleModelName: "vMME::module-1" - vfModuleModelUUID: x020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc - vfModuleModelVersion: 1 - properties: - artifacts: - - /Artifacts/vmme_small_create_fsb.yml - - /Artifacts/vmme_small.yml - availability_zone_count: 2 - contrail_service_instance: true - vf_module_description: "vMME expansion VF Module" - vf_module_label: "vMME Expansion VF Module" - vf_module_type: Expansion - volume_group: false - type: org.openecomp.groups.VfModule - vmme_small: - members: - - FSB1 - - FSB2 - - NCB1 - - NCB2 - - VLC1 - - VLC2 - - GPB1 - - GPB2 - - Internal1_net - - Internal2_net - - fsb1_oam - - fsb1_internal1 - - fsb1_internal2 - - fsb2_oam - - fsb2_internal2 - - ncb1_internal1 - - ncb1_internal2 - - ncb2_internal1 - - ncb2_internal2 - - gpb1_internal1 - - gpb1_internal2 - - gpb2_internal1 - - gpb2_internal2 - - vlc1_oam - - vlc1_internal1 - - vlc1_internal2 - - vlc1_sctp_a - - vlc1_sctp_b - - vlc1_gtp - - vlc2_oam - - vlc2_internal1 - - vlc2_internal2 - - vlc2_sctp_a - - vlc2_sctp_b - - vlc1_gtp - properties: - description: "HOT template to create vmme 2 fsb 2 ncb 2 gbp 2 vlc" - heat_file: ../Artifacts/vmme_small.yml - type: org.openecomp.groups.heat.HeatStack - vmme_small_create_fsb: - members: - - FSB1_volume - - FSB2_volume - properties: - description: "server template for vMME" - heat_file: ../Artifacts/vmme_small_create_fsb.yml - type: org.openecomp.groups.heat.HeatStack - inputs: - Internal1_net_cidr: - default: 169.253.0.0/17 - hidden: false - immutable: false - type: string - Internal1_net_dhcp: - default: "False" - hidden: false - immutable: false - type: string - Internal1_net_gateway_ip: - default: "169.253.0.3" - hidden: false - immutable: false - type: string - Internal2_net_cidr: - default: 169.255.0.0/17 - hidden: false - immutable: false - type: string - Internal2_net_dhcp: - default: "False" - hidden: false - immutable: false - type: string - Internal2_net_gateway_ip: - default: "169.255.0.3" - hidden: false - immutable: false - type: string - fsb1_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - fsb1_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - fsb1_oam_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - fsb1_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - fsb1_vfc_image_name: - default: MME_FSB1_16ACP03.qcow2 - description: "VFC image name" - type: string - fsb1_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - fsb1_vfc_type_tag: - description: "VFC type tag" - type: string - fsb2_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - fsb2_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - fsb2_oam_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - fsb2_vfc_flavor: - defualt: m4.xlarge4 - description: "VFC flavor" - type: string - fsb2_vfc_image_name: - default: MME_FSB2_16ACP03.qcow2 - description: "VFC image name" - type: string - fsb2_vfc_instance_name: - default: ZRDM1MMEX36FSB002 - description: "VFC instance name" - type: string - fsb2_vfc_type_tag: - description: "VFC type tag" - type: string - gpb1_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - gpb1_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - gpb1_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - gpb1_vfc_image_name: - default: MME_GPB1_16ACP03.qcow2 - description: "VFC image name" - type: string - gpb1_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - gpb1_vfc_type_tag: - description: "VFC type tag" - type: string - gpb2_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - gpb2_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - gpb2_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - gpb2_vfc_image_name: - default: MME_GPB2_16ACP03.qcow2 - description: "VFC image name" - type: string - gpb2_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - gpb2_vfc_type_tag: - description: "VFC type tag" - type: string - ncb1_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - ncb1_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - ncb1_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - ncb1_vfc_image_name: - default: MME_NCB1_16ACP03.qcow2 - description: "VFC image name" - type: string - ncb1_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - ncb1_vfc_type_tag: - description: "VFC type tag" - type: string - ncb2_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - ncb2_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - ncb2_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - ncb2_vfc_image_name: - default: MME_NCB2_16ACP03.qcow2 - description: "VFC image name" - type: string - ncb2_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - ncb2_vfc_type_tag: - description: "VFC type tag" - type: string - network_deployment_node: - description: "The target LCP node for deployment of this Network instance" - type: string - oam_net_id: - default: 47bf4cca-0961-422f-bcd6-d5a4fbb1a351 - description: "uuid of oam network" - hidden: false - immutable: false - type: string - vlc1_gtp_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc1_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - vlc1_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - vlc1_oam_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc1_sctp_a_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc1_sctp_b_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc1_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - vlc1_vfc_image_name: - default: MME_VLC1_16ACP03.qcow2 - description: "VFC image name" - type: string - vlc1_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - vlc1_vfc_type_tag: - description: "VFC type tag" - type: string - vlc2_gtp_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc2_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - vlc2_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - vlc2_oam_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc2_sctp_a_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc2_sctp_b_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc2_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - vlc2_vfc_image_name: - default: MME_VLC2_16ACP03.qcow2 - description: "VFC image name" - type: string - vlc2_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - vlc2_vfc_type_tag: - description: "VFC type tag" - type: string - node_templates: - FSB1: - capabilities: - monitoring_capabilty: - properties: - name: high_cpu - nfv_compute: - properties: - vfc_flavor: - get_input: fsb1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: FSB1 - vfc_ecomp_name: false - vfc_image_name: - get_input: fsb1_vfc_image_name - vfc_instance_name: - get_input: fsb1_vfc_instance_name - vfc_type_tag: - get_input: fsb1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - FSB2: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: fsb2_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: FSB2 - vfc_ecomp_name: false - vfc_image_name: - get_input: fsb2_vfc_image_name - vfc_instance_name: - get_input: fsb2_vfc_instance_name - vfc_type_tag: - get_input: fsb2_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb2_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb2_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb2_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - GPB1: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: gpb1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: GPB1 - vfc_ecomp_name: false - vfc_image_name: - get_input: gpb1_vfc_image_name - vfc_instance_name: - get_input: gpb1_vfc_instance_name - vfc_type_tag: - get_input: gpb1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - GPB2: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: gpb2_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: GPB2 - vfc_ecomp_name: false - vfc_image_name: - get_input: gpb2_vfc_image_name - vfc_instance_name: - get_input: gpb2_vfc_instance_name - vfc_type_tag: - get_input: gpb2_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb2_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb2_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb2_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - Internal1_net: - metadata: - category: Generic - description: "Internal Network" - invariantUUID: 14a25c59-e2c2-4f86-880d-371d4d9dc88c - name: Network - subcategory: Infrastructure - type: VL - UUID: 1a20ed2e-abcd-3f20-ca4e-cc7af4da1234 - resourceVendor: AT&T - version: 1.0 - properties: - cidr: - get_input: Internal1_net_cidr - contrail_virtual_network: - vn_external: false - vn_forwarding_mode: l2 - vn_name: MME-24474-Ericsson-WTC-lab_int_MMEX36_net_1 - vn_shared: false - enable_dhcp: - get_input: Internal1_net_enable_dhcp - flow_pattern: E-LAN - gateway_ip: - get_input: Internal1_net_gateway_ip - ip_version: 4 - layer_protocol: IP - network_deployment_node: - get_input: network_deployment_node - network_ecomp_name: false - network_homing: false - network_role: ~ - network_technology: Contrail - network_type: Tenant_Layer_3 - test_access: none - type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork - Internal2_net: - metadata: - category: Generic - description: "Internal Network" - invariantUUID: 14a25c59-e2c2-4f86-880d-371d4d9dc88c - name: Network - subcategory: Infrastructure - type: VL - UUID: 1a20ed2e-abcd-3f20-ca4e-cc7af4da1234 - resourceVendor: AT&T - version: 1.0 - properties: - cidr: - get_input: Internal2_net_cidr - contrail_virtual_network: - vn_external: false - vn_forwarding_mode: l2 - vn_name: MME-24474-Ericsson-WTC-lab_int_MMEX36_net_2 - vn_shared: false - enable_dhcp: - get_input: Internal2_net_enable_dhcp - flow_pattern: E-LAN - gateway_ip: - get_input: Internal2_net_gateway_ip - ip_version: 4 - layer_protocol: IP - network_deployment_node: - get_input: network_deployment_node - network_ecomp_name: false - network_homing: false - network_role: ~ - network_technology: Contrail - network_type: Tenant_Layer_3 - test_access: none - type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork - NCB1: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: ncb1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: NCB1 - vfc_ecomp_name: false - vfc_image_name: - get_input: ncb1_vfc_image_name - vfc_instance_name: - get_input: ncb1_vfc_instance_name - vfc_type_tag: - get_input: ncb1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - NCB2: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: ncb2_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: NCB2 - vfc_ecomp_name: false - vfc_image_name: - get_input: ncb2_vfc_image_name - vfc_instance_name: - get_input: ncb2_vfc_instance_name - vfc_type_tag: - get_input: ncb2_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb2_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb2_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb2_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - VLC1: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: vlc1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: VLC1 - vfc_ecomp_name: false - vfc_image_name: - get_input: vlc1_vfc_image_name - vfc_instance_name: - get_input: vlc1_vfc_instance_name - vfc_type_tag: - get_input: vlc1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - VLC2: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: vlc2_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: VLC2 - vfc_ecomp_name: false - vfc_image_name: - get_input: vlc2_vfc_image_name - vfc_instance_name: - get_input: vlc2_vfc_instance_name - vfc_type_tag: - get_input: vlc2_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc2_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc2_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc2_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - fsb1_internal1: - properties: - address_info: - mac_address: - get_input: fsb1_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb1_internal2: - properties: - address_info: - mac_address: - get_input: fsb1_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb1_oam: - properties: - address_Info: - ip_address: - get_input: fsb1_oam_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: oam_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb2_internal1: - properties: - address_info: - mac_address: - get_input: fsb2_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb2_internal2: - properties: - address_info: - mac_address: - get_input: fsb2_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb2_oam: - properties: - address_Info: - ip_address: - get_input: fsb2_oam_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: oam_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - gpb1_internal1: - properties: - address_info: - mac_address: - get_input: gpb1_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: GPB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - gpb1_internal2: - properties: - address_info: - mac_address: - get_input: gpb1_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: GPB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - gpb2_internal1: - properties: - address_info: - mac_address: - get_input: gpb2_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: GPB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - gpb2_internal2: - properties: - address_info: - mac_address: - get_input: gpb2_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: GPB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - ncb1_internal1: - properties: - address_info: - mac_address: - get_input: ncb1_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: NCB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - ncb1_internal2: - properties: - address_info: - mac_address: - get_input: ncb1_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: NCB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - ncb2_internal1: - properties: - address_info: - mac_address: - get_input: ncb2_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: NCB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - ncb2_internal2: - properties: - address_info: - mac_address: - get_input: ncb2_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: NCB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - oam_net: - metadata: - category: VL - description: "Mobility OAM Network" - invariantUUID: 18643c59-e2c2-4f86-880d-371d4d9dc52a - name: "Mobility OAM Network" - type: VL - UUID: 1a20ed2e-abcd-3f20-ca4e-cc7af4da7fcc - resourceVendor: AT&T - version: 2.0 - properties: - flow_pattern: E-LAN - layer_protocol: IP - network_id: - get_input: oam_net_id - network_technology: Contrail - network_type: vIPR_ATM_OAM - test_access: none - type: org.openecomp.resource.vl.OAM - vlc1_gtp_net: - properties: - address_Info: - ip_address: - get_input: vlc1_gtp_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc1_internal2: - properties: - address_info: - mac_address: - get_input: vlc1_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc1_oam: - properties: - address_Info: - ip_address: - get_input: vlc1_oam_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: oam_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc1_sctp_a: - properties: - address_Info: - ip_address: - get_input: vlc2_sctp_a_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc1_sctp_b: - properties: - address_Info: - ip_address: - get_input: vlc2_sctp_b_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_gtp_net: - properties: - address_Info: - ip_address: - get_input: vlc2_gtp_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_internal1: - properties: - address_info: - mac_address: - get_input: vlc2_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_internal2: - properties: - address_info: - mac_address: - get_input: vlc2_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_oam: - properties: - address_Info: - ip_address: - get_input: vlc2_oam_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: oam_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_sctp_a: - properties: - address_Info: - ip_address: - get_input: vlc2_sctp_a_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_sctp_b: - properties: - address_Info: - ip_address: - get_input: vlc2_sctp_b_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - policies: - - - mme_autoscale_policy: - properties: - factor: cpu_load - increment: 1 - max_instances: 4 - min_instances: 1 - threshold: 80% - target: - - vfmoduleVmmeModule-1 - type: org.openecomp.policy.Autoscaling - substitution_mapping: - requirements: - - - vlc1_gtp_net.link: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - - - vlc2_gtp_net.link: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - - - vlc1_sctp_a.link: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - - - vlc1_sctp_b.link: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - type: org.openecomp.resource.vf.vmme -tosca_definitions_version: tosca_simple_profile_for_ecomp_1_0 diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/aai2/resource-AllottedResource-template.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/aai2/resource-AllottedResource-template.yml deleted file mode 100644 index c80e701913..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/aai2/resource-AllottedResource-template.yml +++ /dev/null @@ -1,78 +0,0 @@ -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| -tosca_definitions_version: tosca_simple_yaml_1_0 -metadata: - invariantUUID: a54a5235-b69d-4f8a-838b-d011e6783fa5 - UUID: f32afdc3-6308-4f0c-a476-0d39c8a1fb4d - name: Allotted Resource - description: This is a VF - Allotted resource - type: VF - category: Allotted Resource - subcategory: Allotted Resource - resourceVendor: '1' - resourceVendorRelease: '1' -imports: -- Alloted resource: - file: resource-AllotedResource-template.yml -topology_template: - node_templates: - Alloted resource 1: - type: org.openecomp.resource.vfc.AllottedResource - metadata: - invariantUUID: 666b409b-5614-41a8-945e-a53d68f5d439 - UUID: df0c1c4d-1756-4b2a-998e-73f9f4d77afa - version: '1.0' - name: Alloted resource - description: This is a VFC- Allotted resource - type: VFC - category: Allotted Resource - subcategory: Allotted Resource - properties: - role: name - ecomp_naming: - naming_policy: test - ecomp_generated_naming: false - supplemental_data: - Key1: key1 - providing_service_invariant_uuid: 34a4d119-06bc-4ab4-8c5a-a498d638297c - min_instances: 1 - max_instances: 1 - providing_service_uuid: e14a509f-b611-4b30-b38c-bc7f11b679aa - providing_service_name: vVIGaaS - ecomp_homing: - instance_node_target: Test - homing_policy: Test - supplemental_data: - Key: key - ecomp_selected_instance_node_target: false - substitution_mappings: - node_type: org.openecomp.resource.vf.AllottedResource - capabilities: - Alloted resource 1.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - requirements: - Alloted resource 1.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - Alloted resource 1.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/aai2/resource-Extvl-template.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/aai2/resource-Extvl-template.yml deleted file mode 100644 index 512d62bdaa..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/aai2/resource-Extvl-template.yml +++ /dev/null @@ -1,61 +0,0 @@ -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| -tosca_definitions_version: tosca_simple_yaml_1_0 -metadata: - invariantUUID: f148dbb0-8c53-466d-9687-791c0e9d40cf - UUID: 3f8fa4d2-2b86-4b36-bbc8-ffb8f9f57468 - name: ExtVL - description: OPENECOMP generic virtual link (network) base type for all other service-level and global networks - type: VL - category: Generic - subcategory: Network Elements - resourceVendor: OPENECOMP (Tosca) - resourceVendorRelease: 1.0.0.wd03 -node_types: - org.openecomp.resource.vl.extVL: - derived_from: tosca.nodes.Root - description: OPENECOMP generic virtual link (network) base type for all other service-level and global networks - properties: - physical_network: - type: org.openecomp.datatypes.network.PhysicalNetwork - network_role: - type: string - description: | - Unique label that defines the role that this network performs. example: vce oam network, vnat sr-iov1 network - network_assignments: - type: org.openecomp.datatypes.network.NetworkAssignments - network_flows: - type: org.openecomp.datatypes.network.NetworkFlows - vl_artifacts: - type: map - description: List of artifacts associated with the VL - entry_schema: - type: org.openecomp.datatypes.Artifact - network_scope: - type: string - description: | - Uniquely identifies the network scope. Valid values for the network scope includes: VF - VF-level network. Intra-VF network which connects the VFCs (VMs) inside the VF. SERVICE - Service-level network. Intra-Service network which connects the VFs within the service GLOBAL - Global network which can be shared by multiple services - network_ecomp_naming: - type: org.openecomp.datatypes.EcompNaming - network_type: - type: string - description: OPENECOMP supported network types. - network_technology: - type: string - description: OPENECOMP supported network technology - network_homing: - type: org.openecomp.datatypes.EcompHoming - capabilities: - virtual_linkable: - type: tosca.capabilities.network.Linkable - occurrences: - - 1 - - UNBOUNDED -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/aai2/service-ServiceWithAllotedVfAndExvl-template.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/aai2/service-ServiceWithAllotedVfAndExvl-template.yml deleted file mode 100644 index dbd039669c..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/aai2/service-ServiceWithAllotedVfAndExvl-template.yml +++ /dev/null @@ -1,90 +0,0 @@ -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| -tosca_definitions_version: tosca_simple_yaml_1_0 -metadata: - invariantUUID: e8a6c85c-429f-47cd-b594-376a0ffccd29 - UUID: 14fd2446-691a-4d7d-8ef4-ece19c3176f5 - name: Service with alloted VF and exVL - description: 'This service contains two instances : 1. Allotted resource VF 2. ExVL - - Network' - type: Service - category: Mobility - serviceEcompNaming: false - serviceHoming: false -imports: -- ExtVL: - file: resource-Extvl-template.yml -- Allotted Resource: - file: resource-AllottedResource-template.yml -topology_template: - node_templates: - ExtVL 1: - type: org.openecomp.resource.vl.extVL - metadata: - invariantUUID: f148dbb0-8c53-466d-9687-791c0e9d40cf - UUID: 3f8fa4d2-2b86-4b36-bbc8-ffb8f9f57468 - version: '2.0' - name: ExtVL - description: OPENECOMP generic virtual link (network) base type for all other service-level and global networks - type: VL - category: Generic - subcategory: Network Elements - Allotted Resource 2: - type: org.openecomp.resource.vf.AllottedResource - metadata: - invariantUUID: a54a5235-b69d-4f8a-838b-d011e6783fa5 - UUID: f32afdc3-6308-4f0c-a476-0d39c8a1fb4d - version: '0.1' - name: Allotted Resource - description: This is a VF - Allotted resource - type: VF - category: Allotted Resource - subcategory: Allotted Resource - substitution_mappings: - node_type: org.openecomp.service.ServiceWithAllotedVfAndExvl - capabilities: - ExtVL 1.virtual_linkable: - type: tosca.capabilities.network.Linkable - occurrences: - - 1 - - UNBOUNDED - Allotted Resource 2.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - ExtVL 1.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - requirements: - ExtVL 1.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - Allotted Resource 2.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - Allotted Resource 2.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/aai3/resource-IpMuxDemux-template.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/aai3/resource-IpMuxDemux-template.yml deleted file mode 100644 index 4549306475..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/aai3/resource-IpMuxDemux-template.yml +++ /dev/null @@ -1,80 +0,0 @@ -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| -tosca_definitions_version: tosca_simple_yaml_1_0 -metadata: - invariantUUID: 707b2850-e830-4b00-9902-879f44ac05a4 - UUID: 495b483b-282a-45df-bbfe-63d1d1d80813 - name: IP_Mux_Demux - description: IP_Mux_Demux - type: VF - category: Allotted Resource - subcategory: IP Mux Demux - resourceVendor: '1' - resourceVendorRelease: '1' -imports: -- Allotedresource: - file: resource-Allotedresource-template.yml -topology_template: - inputs: - role: - type: string - ecomp_naming: - type: string - max_instances: - type: string - min_instances: - type: string - ecomp_homing: - type: string - node_templates: - Alloted resource 1: - type: org.openecomp.resource.vfc.AllottedResource - metadata: - invariantUUID: bc0bebc1-6dc1-4637-883e-aed77bffd63c - UUID: 7763d3a3-048f-4e5b-96c5-e7818dbc066a - customizationUUID: 5eac2a36-bcb5-4158-ace4-802b81e87248 - version: '1.0' - name: Allotedresource - description: Allotedresource - type: VFC - category: Allotted Resource - subcategory: IP Mux Demux - properties: - ecomp_naming: - naming_policy: - get input: ecomp_naming - providing_service_invariant_uuid: e42ea8ff-1862-43f4-a597-4b885cf3c6e5 - min_instances: 1 - max_instances: 1 - providing_service_uuid: 2fb4b63d-7ec8-4fc0-98c7-a1c51fb4b794 - substitution_mappings: - node_type: org.openecomp.resource.vf.IpMuxDemux - capabilities: - Alloted resource 1.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - requirements: - Alloted resource 1.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - Alloted resource 1.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/aai3/resource-ServiceAdmin-template.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/aai3/resource-ServiceAdmin-template.yml deleted file mode 100644 index 549c18b55b..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/aai3/resource-ServiceAdmin-template.yml +++ /dev/null @@ -1,81 +0,0 @@ -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| -tosca_definitions_version: tosca_simple_yaml_1_0 -metadata: - invariantUUID: 0df08d3e-9701-4f5a-b3ed-82a0b504b366 - UUID: a9c6246c-0807-4a43-a64c-442a170c2088 - name: service_admin - description: service_admin - type: VF - category: Allotted Resource - subcategory: Service admin - resourceVendor: '1' - resourceVendorRelease: '1' -imports: -- Allotedresource: - file: resource-Allotedresource-template.yml -topology_template: - inputs: - role: - type: string - ecomp_naming: - type: string - max_instances: - type: string - min_instances: - type: string - ecomp_homing: - type: string - node_templates: - Alloted resource 1: - type: org.openecomp.resource.vfc.AllottedResource - metadata: - invariantUUID: bc0bebc1-6dc1-4637-883e-aed77bffd63c - UUID: 7763d3a3-048f-4e5b-96c5-e7818dbc066a - customizationUUID: f61f785d-2c82-4d6d-9184-8cbdf2df4da0 - version: '1.0' - name: Allotedresource - description: Allotedresource - type: VFC - category: Allotted Resource - subcategory: Service admin - properties: - ecomp_naming: - naming_policy: - get input: ecomp_naming - providing_service_invariant_uuid: e42ea8ff-1862-43f4-a597-4b885cf3c6e5 - min_instances: 1 - max_instances: 1 - providing_service_uuid: 2fb4b63d-7ec8-4fc0-98c7-a1c51fb4b794 - providing_service_name: HNPortalaaS - substitution_mappings: - node_type: org.openecomp.resource.vf.ServiceAdmin - capabilities: - Alloted resource 1.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - requirements: - Alloted resource 1.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - Alloted resource 1.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/aai3/resource-TunnelXconn-template.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/aai3/resource-TunnelXconn-template.yml deleted file mode 100644 index cf97321035..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/aai3/resource-TunnelXconn-template.yml +++ /dev/null @@ -1,81 +0,0 @@ -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| -tosca_definitions_version: tosca_simple_yaml_1_0 -metadata: - invariantUUID: 63b95d9a-9c89-40d3-a646-36a1418c5246 - UUID: ae79ba1b-5d12-4813-b01c-755fa6c800bb - name: Tunnel_XConn - description: Tunnel_XConn - type: VF - category: Allotted Resource - subcategory: Tunnel XConnect - resourceVendor: '1' - resourceVendorRelease: '1' -imports: -- Allotedresource: - file: resource-Allotedresource-template.yml -topology_template: - inputs: - role: - type: string - ecomp_naming: - type: string - min_instances: - type: string - max_instances: - type: string - ecomp_homing: - type: string - node_templates: - Alloted resource 1: - type: org.openecomp.resource.vfc.AllottedResource - metadata: - invariantUUID: bc0bebc1-6dc1-4637-883e-aed77bffd63c - UUID: 7763d3a3-048f-4e5b-96c5-e7818dbc066a - customizationUUID: 22ca20ca-1577-46d3-b3ef-77483cca37d6 - version: '1.0' - name: Allotedresource - description: Allotedresource - type: VFC - category: Allotted Resource - subcategory: Tunnel XConnect - properties: - ecomp_naming: - naming_policy: - get input: ecomp_naming - providing_service_invariant_uuid: 34a4d119-06bc-4ab4-8c5a-a498d638297c - min_instances: 1 - max_instances: 1 - providing_service_uuid: e14a509f-b611-4b30-b38c-bc7f11b679aa - providing_service_name: vVIGaaS - substitution_mappings: - node_type: org.openecomp.resource.vf.TunnelXconn - capabilities: - Alloted resource 1.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - requirements: - Alloted resource 1.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - Alloted resource 1.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/aai3/resource-VhnfNonHeat-template.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/aai3/resource-VhnfNonHeat-template.yml deleted file mode 100644 index 8ec1c192ee..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/aai3/resource-VhnfNonHeat-template.yml +++ /dev/null @@ -1,24 +0,0 @@ -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| -tosca_definitions_version: tosca_simple_yaml_1_0 -metadata: - invariantUUID: f61adc31-6004-4377-a661-090f59e6b32a - UUID: 2118e830-5e0d-409a-9d7a-63b6a72d6f5f - name: vHNF non Heat - description: vHNF non Heat - type: VF - category: Generic - subcategory: Network Elements - resourceVendor: '1' - resourceVendorRelease: '1' -topology_template: - substitution_mappings: - node_type: org.openecomp.resource.vf.VhnfNonHeat -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/aai3/service-SdWan-template.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/aai3/service-SdWan-template.yml deleted file mode 100644 index bc3ab6dabb..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/aai3/service-SdWan-template.yml +++ /dev/null @@ -1,233 +0,0 @@ -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| -tosca_definitions_version: tosca_simple_yaml_1_0 -metadata: - invariantUUID: 3d8b7a76-7c47-4974-b5b9-e24c54b817a2 - UUID: eb31504f-9f60-4936-a2f2-8ac592b611a6 - name: SD-WAN - description: SD-WAN - type: Service - category: Network L4+ - serviceEcompNaming: false - serviceHoming: false -imports: -- service_admin: - file: resource-ServiceAdmin-template.yml -- Tunnel_XConn: - file: resource-TunnelXconn-template.yml -- vHNF non Heat: - file: resource-VhnfNonHeat-template.yml -- IP_Mux_Demux: - file: resource-IpMuxDemux-template.yml -topology_template: - node_templates: - Sec_IP_Mux_Demux: - type: org.openecomp.resource.vf.IpMuxDemux - metadata: - invariantUUID: 707b2850-e830-4b00-9902-879f44ac05a4 - UUID: 495b483b-282a-45df-bbfe-63d1d1d80813 - customizationUUID: f4b764bb-6721-4219-8c69-7ce61969f755 - version: '0.1' - name: IP_Mux_Demux - description: IP_Mux_Demux - type: VF - category: Allotted Resource - subcategory: IP Mux Demux - Pri_Tunnel_XConn: - type: org.openecomp.resource.vf.TunnelXconn - metadata: - invariantUUID: 63b95d9a-9c89-40d3-a646-36a1418c5246 - UUID: ae79ba1b-5d12-4813-b01c-755fa6c800bb - customizationUUID: 96d0bbf6-d9f7-441d-8f00-67d79dbf30de - version: '0.1' - name: Tunnel_XConn - description: Tunnel_XConn - type: VF - category: Allotted Resource - subcategory: Tunnel XConnect - Pri_service_admin: - type: org.openecomp.resource.vf.ServiceAdmin - metadata: - invariantUUID: 0df08d3e-9701-4f5a-b3ed-82a0b504b366 - UUID: a9c6246c-0807-4a43-a64c-442a170c2088 - customizationUUID: 6b4a2a55-3b82-4799-8329-4fc2939fd5b5 - version: '0.1' - name: service_admin - description: service_admin - type: VF - category: Allotted Resource - subcategory: Service admin - Pri_IP_Mux_Demux: - type: org.openecomp.resource.vf.IpMuxDemux - metadata: - invariantUUID: 707b2850-e830-4b00-9902-879f44ac05a4 - UUID: 495b483b-282a-45df-bbfe-63d1d1d80813 - customizationUUID: d8f656d9-179d-4f02-9a46-8af7421eb2a0 - version: '0.1' - name: IP_Mux_Demux - description: IP_Mux_Demux - type: VF - category: Allotted Resource - subcategory: IP Mux Demux - Sec_Tunnel_XConn: - type: org.openecomp.resource.vf.TunnelXconn - metadata: - invariantUUID: 63b95d9a-9c89-40d3-a646-36a1418c5246 - UUID: ae79ba1b-5d12-4813-b01c-755fa6c800bb - customizationUUID: b432136d-0a2a-460b-a3da-f921e1e0dcfa - version: '0.1' - name: Tunnel_XConn - description: Tunnel_XConn - type: VF - category: Allotted Resource - subcategory: Tunnel XConnect - vHNF non Heat 22: - type: org.openecomp.resource.vf.VhnfNonHeat - metadata: - invariantUUID: f61adc31-6004-4377-a661-090f59e6b32a - UUID: 2118e830-5e0d-409a-9d7a-63b6a72d6f5f - customizationUUID: 9c7a5f7f-6b17-4066-a6f1-094ea925495b - version: '0.1' - name: vHNF non Heat - description: vHNF non Heat - type: VF - category: Generic - subcategory: Network Elements - Sec_service_admin: - type: org.openecomp.resource.vf.ServiceAdmin - metadata: - invariantUUID: 0df08d3e-9701-4f5a-b3ed-82a0b504b366 - UUID: a9c6246c-0807-4a43-a64c-442a170c2088 - customizationUUID: 5a8ef05b-451f-40f4-9531-3ee00bd3c5c4 - version: '0.1' - name: service_admin - description: service_admin - type: VF - category: Allotted Resource - subcategory: Service admin - substitution_mappings: - node_type: org.openecomp.service.SdWan - capabilities: - Sec_service_admin.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - Sec_IP_Mux_Demux.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - Pri_service_admin.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - Pri_IP_Mux_Demux.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - Pri_Tunnel_XConn.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - Sec_Tunnel_XConn.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - requirements: - Pri_service_admin.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - Sec_Tunnel_XConn.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn - Sec_service_admin.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn - Pri_IP_Mux_Demux.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn - Pri_Tunnel_XConn.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn - Sec_service_admin.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - Pri_service_admin.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn - Sec_IP_Mux_Demux.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn - Sec_IP_Mux_Demux.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - Pri_Tunnel_XConn.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - Sec_Tunnel_XConn.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - Pri_IP_Mux_Demux.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/config/Artifact-Generator.properties b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/config/Artifact-Generator.properties deleted file mode 100644 index 1d7e5fa01a..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/config/Artifact-Generator.properties +++ /dev/null @@ -1,264 +0,0 @@ -#action widget details -AAI.model-version-id.action=fd7fb09e-d930-41b9-b83f-cfde9df48640 -AAI.model-invariant-id.action=af593b4b-490e-4665-ad74-2f6351c0a7ce -#action-data widget details -AAI.model-invariant-id.action-data=9551346c-7d8b-4daf-9926-b93e96e2344a -AAI.model-version-id.action-data=2f80c596-27e5-4ca9-b5bb-e03a7fd4c0fd -#allotted-resource widget details -AAI.model-invariant-id.allotted-resource=f6d6a23d-a1a9-48ff-8419-b6530da2d381 -AAI.model-version-id.allotted-resource=7ad0915f-25c0-4a70-b9bc-185a75f87564 -#availability-zone widget details -AAI.model-version-id.availability-zone=6c092fb1-21b2-456b-9e01-67fb4de1896e -AAI.model-invariant-id.availability-zone=61b88c01-d819-41c0-8e21-7fd7ba47148e -#az-and-dvs-switches widget details -AAI.model-version-id.az-and-dvs-switches=b2dea88d-78a0-49bf-95c9-5819df08e966 -AAI.model-invariant-id.az-and-dvs-switches=53dc00d4-e6d9-48ec-b6cc-3d3797e9b896 -#class-of-service widget details -AAI.model-version-id.class-of-service=d2fb27cc-15eb-4c4e-828e-71d41aaecc5b -AAI.model-invariant-id.class-of-service=18094b19-d16d-4822-8acf-e92c6aefa178 -#cloud-region widget details -AAI.model-version-id.cloud-region=2a160989-b202-47dd-874b-4a0f275998f7 -AAI.model-invariant-id.cloud-region=425b2158-e51d-4509-9945-dad4556474a3 -#complex widget details -AAI.model-invariant-id.complex=af91c2f7-35fc-43cf-a13d-443f385b2353 -AAI.model-version-id.complex=3a8ab1ee-9220-4fe8-b89c-9251d160ddc2 -#connector widget details -AAI.model-version-id.connector=22104c9f-29fd-462f-be07-96cd6b46dd33 -AAI.model-invariant-id.connector=4c01c948-7607-4d66-8a6c-99c2c2717936 -#constrained-element-set widget details -AAI.model-invariant-id.constrained-element-set=c0292b4f-ee97-40cc-8c2e-f967c48f5701 -AAI.model-version-id.constrained-element-set=01102126-9c04-4a89-945b-b131e61e95d7 -#ctag-assignment widget details -AAI.model-version-id.ctag-assignment=44e5cb1f-0938-41aa-b766-d4595109fe89 -AAI.model-invariant-id.ctag-assignment=fcb8d46b-b656-4ad6-8fa4-22cef74b443f -#ctag-pool widget details -AAI.model-invariant-id.ctag-pool=46c51d4e-d67e-4a9c-b1f5-49b1e9c6fcaa -AAI.model-version-id.ctag-pool=2056c41f-23b9-4de7-9f50-819adad37d76 -#customer widget details -AAI.model-invariant-id.customer=c1d4305f-cdbd-4bbe-9069-a2f4978fd89e -AAI.model-version-id.customer=d4df5c27-98a1-4812-a8aa-c17f055b7a3f -#cvlan-tag-entry widget details -AAI.model-version-id.cvlan-tag-entry=c3878ffb-8d85-4114-bee6-e4074a9db10b -AAI.model-invariant-id.cvlan-tag-entry=245cf4b0-7cc5-4eea-bbd9-753e939adcab -#dvs-switch widget details -AAI.model-invariant-id.dvs-switch=98fbb471-1f86-428e-bd8a-c8a25de6fa23 -AAI.model-version-id.dvs-switch=4cb44ae8-e3ab-452a-9f95-bcc8a44c55ea -#edge-prop-names widget details -AAI.model-invariant-id.edge-prop-names=7a08cad4-8759-46a5-8245-095d1ba57ac6 -AAI.model-version-id.edge-prop-names=f0442326-8201-4d0e-857c-74b4ddcbfc9f -#element-choice-set widget details -AAI.model-invariant-id.element-choice-set=9a011958-7165-47a3-b872-00951d1f09ae -AAI.model-version-id.element-choice-set=af27fbfd-598d-44da-aeae-0f9d3a5fcd6a -#entitlement widget details -AAI.model-version-id.entitlement=7e27ba2e-b7db-4e13-9fae-d142152ef98a -AAI.model-invariant-id.entitlement=ae75b5a0-d5e1-4f3a-b8fb-37626a753da3 -#flavor widget details -AAI.model-invariant-id.flavor=bace8d1c-a261-4041-9e37-823117415d0f -AAI.model-version-id.flavor=36200fb5-f251-4f5d-a520-7c5ad5c2cd4b -#generic-vnf widget details -AAI.model-version-id.generic-vnf=93a6166f-b3d5-4f06-b4ba-aed48d009ad9 -AAI.model-invariant-id.generic-vnf=acc6edd8-a8d4-4b93-afaa-0994068be14c -#group-assignment widget details -AAI.model-invariant-id.group-assignment=7cc05f25-7ba2-42b7-a237-c5662a1689e1 -AAI.model-version-id.group-assignment=fe578080-ce19-4604-8760-fc264fbb2565 -#image widget details -AAI.model-version-id.image=f6a038c2-820c-42ba-8c2b-375e24e8f932 -AAI.model-invariant-id.image=3f4c7204-739b-4bbb-87a7-8a6856439c90 -#include-node-filter widget details -AAI.model-invariant-id.include-node-filter=2a2d8ad2-af0a-4e1f-9982-0c899e7dc827 -AAI.model-version-id.include-node-filter=f05f804d-7057-4ffe-bdc5-39f2f0c9c9fd -#instance-group widget details -AAI.model-version-id.instance-group=8e6ee9dc-9017-444a-83b3-219edb018128 -AAI.model-invariant-id.instance-group=3bf1e610-45f7-4ad6-b833-ca4c5ee6a3fd -#inventory-item widget details -AAI.model-invariant-id.inventory-item=cd57d844-9017-4078-aa19-926935a3d77c -AAI.model-version-id.inventory-item=69957f4a-2155-4b95-8d72-d6dd9b88b27b -#inventory-item-data widget details -AAI.model-version-id.inventory-item-data=0e54bb87-bd6e-4a2b-ad1c-6d935b87ae51 -AAI.model-invariant-id.inventory-item-data=87a383ae-cf03-432e-a9de-04e6a622d0fd -#ipsec-configuration widget details -AAI.model-invariant-id.ipsec-configuration=aca4c310-cb45-42bd-9f88-73e40ba7b962 -AAI.model-version-id.ipsec-configuration=d949fd10-36bf-408a-ac7a-cad5004d2e0d -#key-data widget details -AAI.model-version-id.key-data=c23ea04d-1a3b-453d-bc49-a6c783a5e92b -AAI.model-invariant-id.key-data=f5faa464-c2f2-4cc3-89d2-a90452dc3a07 -#l3-interface-ipv4-address-list widget details -AAI.model-version-id.l3-interface-ipv4-address-list=41e76b6f-1e06-4fd4-82cd-81c50fc4574b -AAI.model-invariant-id.l3-interface-ipv4-address-list=aad85df2-09be-40fa-b867-16415e4e10e2 -#l3-interface-ipv6-address-list widget details -AAI.model-invariant-id.l3-interface-ipv6-address-list=82966045-43ee-4982-8307-7e9610866140 -AAI.model-version-id.l3-interface-ipv6-address-list=d040621d-541a-477b-bb1b-a2b61b14e295 -#l3-network widget details -AAI.model-version-id.l3-network=9111f20f-e680-4001-b83f-19a2fc23bfc1 -AAI.model-invariant-id.l3-network=3d560d81-57d0-438b-a2a1-5334dba0651a -#lag-interface widget details -AAI.model-version-id.lag-interface=ce95f7c3-b61b-4758-ae9e-7e943b1c103d -AAI.model-invariant-id.lag-interface=e0ee9bde-c1fc-4651-a95d-8e0597bf7d70 -#lag-link widget details -AAI.model-version-id.lag-link=d29a087a-af59-4053-a3f8-0f95a92faa75 -AAI.model-invariant-id.lag-link=86ffe6e5-4d0e-4cec-80b5-5c38aa3eff98 -#license widget details -AAI.model-invariant-id.license=b9a9b337-1f86-42d3-b9f9-f987a089507c -AAI.model-version-id.license=6889274b-a1dc-40ab-9090-93677e13e2e6 -#license-key-resource widget details -AAI.model-invariant-id.license-key-resource=9022ebfe-b54f-4911-a6b2-8c3f5ec189b7 -AAI.model-version-id.license-key-resource=24b25f8c-b8bd-4c62-9421-87c12667aac9 -#l-interface widget details -AAI.model-version-id.l-interface=a32613fd-18b9-459e-aab8-fffb3912966a -AAI.model-invariant-id.l-interface=cea0a982-8d55-4093-921e-418fbccf7060 -#logical-link widget details -AAI.model-version-id.logical-link=a1481a38-f8ba-4ae4-bdf1-06c2c6af4c54 -AAI.model-invariant-id.logical-link=fe012535-2c31-4a39-a739-612374c638a0 -#metadatum widget details -AAI.model-invariant-id.metadatum=86dbb63a-265e-4614-993f-6771c30b56a5 -AAI.model-version-id.metadatum=6bae950e-8939-41d3-a6a7-251b03e4c1fc -#model widget details -AAI.model-invariant-id.model=06d1418a-5faa-452d-a94b-a2829df5f67b -AAI.model-version-id.model=1f51c05c-b164-4c27-9c03-5cbb239fd6be -#model-constraint widget details -AAI.model-invariant-id.model-constraint=c28966f3-e758-4483-b37b-a90b05d3dd33 -AAI.model-version-id.model-constraint=ad70dd19-f156-4fb5-a865-97b5563b0d37 -#model-element widget details -AAI.model-invariant-id.model-element=2076e726-3577-477a-a300-7fa65cd4df11 -AAI.model-version-id.model-element=753e813a-ba9e-4a1d-ab34-b2f6dc6eec0c -#multicast-configuration widget details -AAI.model-invariant-id.multicast-configuration=ea78c9e3-514d-4a0a-9162-13837fa54c35 -AAI.model-version-id.multicast-configuration=666a06ee-4b57-46df-bacf-908da8f10c3f -#named-query widget details -AAI.model-version-id.named-query=5c3b7c33-afa3-4be5-8da7-1a5ac6f99896 -AAI.model-invariant-id.named-query=80b712fd-0ad3-4180-a99c-8c995cf1cc32 -#named-query-element widget details -AAI.model-version-id.named-query-element=204c641a-3494-48c8-979a-86856f5fd32a -AAI.model-invariant-id.named-query-element=3c504d40-b847-424c-9d25-4fb7e0a3e994 -#network-policy widget details -AAI.model-invariant-id.network-policy=6aa05779-94d7-4d8b-9bee-59ef2ab0c246 -AAI.model-version-id.network-policy=a0ccd9dc-7062-4940-9bcc-e91dd28af510 -#network-profile widget details -AAI.model-version-id.network-profile=01f45471-4240-498c-a9e1-235dc0b8b4a6 -AAI.model-invariant-id.network-profile=2734b44a-b8a2-40f6-957d-6256589e5d00 -#newvce widget details -AAI.model-version-id.newvce=7c79e11f-a408-4593-aa86-ba948a1236af -AAI.model-invariant-id.newvce=4b05ec9c-c55d-4987-83ff-e08d6ddb694f -#oam-network widget details -AAI.model-invariant-id.oam-network=2851cf01-9c40-4064-87d4-6184a6fcff35 -AAI.model-version-id.oam-network=f4fb34f3-fd6e-4a8f-a3fb-4ab61a343b79 -#physical-link widget details -AAI.model-invariant-id.physical-link=c822d81f-822f-4304-9623-1025b53da568 -AAI.model-version-id.physical-link=9c523936-95b4-4d7f-9f53-6bdfe0cf2c05 -#p-interface widget details -AAI.model-invariant-id.p-interface=94043c37-4e73-439c-a790-0fdd697924cd -AAI.model-version-id.p-interface=d2cdb2d0-fc1f-4a57-a89e-591b1c4e3754 -#pnf widget details -AAI.model-version-id.pnf=e9f1fa7d-c839-418a-9601-03dc0d2ad687 -AAI.model-invariant-id.pnf=862b25a1-262a-4961-bdaa-cdc55d69785a -#port-group widget details -AAI.model-version-id.port-group=03e8bb6b-b48a-46ae-b5d4-e5af577e6844 -AAI.model-invariant-id.port-group=8ce940fb-55d7-4230-9e7f-a56cc2741f77 -#property-constraint widget details -AAI.model-version-id.property-constraint=81706bbd-981e-4362-ae20-995cbcb2d995 -AAI.model-invariant-id.property-constraint=f4a863c3-6886-470a-a6ae-05723837ea45 -#pserver widget details -AAI.model-invariant-id.pserver=6d932c8f-463b-4e76-83fb-87acfbaa2e2d -AAI.model-version-id.pserver=72f0d495-bc27-4653-9e1a-eef76bd34bc9 -#related-lookup widget details -AAI.model-invariant-id.related-lookup=468f6f5b-2996-41bb-b2a3-7cf9613ebb9b -AAI.model-version-id.related-lookup=0988bab5-bf4f-4938-a419-ab249867d12a -#reserved-prop-names widget details -AAI.model-invariant-id.reserved-prop-names=0c3e0ba3-618c-498d-9127-c8d42b00170f -AAI.model-version-id.reserved-prop-names=ac49d26d-9163-430e-934a-13b738a04f5c -#result-data widget details -AAI.model-version-id.result-data=4e9b50aa-5227-4f6f-b489-62e6bbc03c79 -AAI.model-invariant-id.result-data=ff656f23-6185-406f-9006-4b26834f3e1c -#route-table-reference widget details -AAI.model-version-id.route-table-reference=fed7e326-03a7-45ff-a3f2-471470d268c4 -AAI.model-invariant-id.route-table-reference=a8614b63-2636-4c4f-98df-fd448c4241db -#routing-instance widget details -AAI.model-invariant-id.routing-instance=1c2ded4f-8b01-4193-829c-966847dfec3e -AAI.model-version-id.routing-instance=3ccbcbc7-d19e-44d5-a52f-7e18aa8d69fa -#secondary-filter widget details -AAI.model-version-id.secondary-filter=1380619d-dd1a-4cec-b755-c6407833e065 -AAI.model-invariant-id.secondary-filter=738ff299-6290-4c00-8998-bd0e96a07b93 -#segmentation-assignment widget details -AAI.model-invariant-id.segmentation-assignment=6e814aee-46e1-4583-a9d4-0049bfd2b59b -AAI.model-version-id.segmentation-assignment=c5171ae0-44fb-4c04-b482-d56702241a44 -#service widget details -AAI.model-version-id.service=ecce2c42-3957-4ae0-9442-54bc6afe27b6 -AAI.model-invariant-id.service=07a3a60b-1b6c-4367-8173-8014386f89e3 -#service-capability widget details -AAI.model-invariant-id.service-capability=b1a7cc05-d19d-443b-a5d1-733e325c4232 -AAI.model-version-id.service-capability=f9cfec1b-18da-4bba-bd83-4b26cca115cd -#service-instance widget details -AAI.model-invariant-id.service-instance=82194af1-3c2c-485a-8f44-420e22a9eaa4 -AAI.model-version-id.service-instance=46b92144-923a-4d20-b85a-3cbd847668a9 -#service-subscription widget details -AAI.model-invariant-id.service-subscription=2e1a602a-acd8-4f78-94ff-618b802a303b -AAI.model-version-id.service-subscription=5e68299a-79f2-4bfb-8fbc-2bae877a2459 -#site-pair widget details -AAI.model-version-id.site-pair=7106bc02-6552-4fc3-8a56-4f3df9034531 -AAI.model-invariant-id.site-pair=db63f3e6-f8d1-484e-8d5e-191600b7914b -#site-pair-set widget details -AAI.model-invariant-id.site-pair-set=5d4dae3e-b402-4bfd-909e-ece12ff75d26 -AAI.model-version-id.site-pair-set=a5c6c1bc-dc38-468e-9459-bb08f87247df -#snapshot widget details -AAI.model-version-id.snapshot=962a7c8b-687f-4d32-a775-fe098e214bcd -AAI.model-invariant-id.snapshot=24de00ef-aead-4b52-995b-0adf8d4bd90d -#sriov-vf widget details -AAI.model-version-id.sriov-vf=1e8b331f-3d4a-4160-b7aa-f4d5a8916625 -AAI.model-invariant-id.sriov-vf=04b2935f-33c4-40a9-8af0-8b52690042dc -#start-node-filter widget details -AAI.model-version-id.start-node-filter=aad96fd3-e75f-42fc-9777-3450c36f1168 -AAI.model-invariant-id.start-node-filter=083093a3-e407-447a-ba5d-7583e4d23e1d -#subnet widget details -AAI.model-version-id.subnet=f902a6bc-6be4-4fe5-8458-a6ec0056b374 -AAI.model-invariant-id.subnet=1b2c9ba7-e449-4831-ba15-3073672f5ef2 -#tagged-inventory-item-list widget details -AAI.model-invariant-id.tagged-inventory-item-list=e78a7eaa-f65d-4919-9c2b-5b258c8c4d7e -AAI.model-version-id.tagged-inventory-item-list=c246f6e2-e3a1-4697-94c0-5672a7fbbf04 -#tenant widget details -AAI.model-invariant-id.tenant=97c26c99-6870-44c1-8a07-1d900d3f4ce6 -AAI.model-version-id.tenant=abcc54bc-bb74-49dc-9043-7f7171707545 -#tunnel-xconnect widget details -AAI.model-invariant-id.tunnel-xconnect=50b9e2fa-005c-4bbe-b651-3251dece4cd8 -AAI.model-version-id.tunnel-xconnect=e7cb4ca8-e1a5-4487-a716-4ae0bcd8aef5 -#update-node-key widget details -AAI.model-version-id.update-node-key=6004cfa6-eb6d-4062-971f-b1fde6b74aa0 -AAI.model-invariant-id.update-node-key=fe81c801-f65d-408a-b2b7-a729a18f8154 -#vce widget details -AAI.model-version-id.vce=b6cf54b5-ec45-43e1-be64-97b4e1513333 -AAI.model-invariant-id.vce=bab6dceb-e7e6-4301-a5e0-a7399b48d792 -#vf-module widget details -AAI.model-invariant-id.vf-module=ef86f9c5-2165-44f3-8fc3-96018b609ea5 -AAI.model-version-id.vf-module=c00563ae-812b-4e62-8330-7c4d0f47088a -#vig-server widget details -AAI.model-version-id.vig-server=8e8c22f1-fbdf-48ea-844c-8bdeb44e7b16 -AAI.model-invariant-id.vig-server=bed7c3b7-35d0-4cd9-abde-41b20e68b28e -#virtual-data-center widget details -AAI.model-invariant-id.virtual-data-center=5150abcf-0c5f-4593-9afe-a19c48fc4824 -AAI.model-version-id.virtual-data-center=6dd43ced-d789-47af-a759-d3abc14e3ac1 -#vlan widget details -AAI.model-version-id.vlan=257d88a5-a269-4c35-944f-aca04fbdb791 -AAI.model-invariant-id.vlan=d2b1eaf1-ae59-4116-9ee4-aa0179faa4f8 -#vnfc widget details -AAI.model-invariant-id.vnfc=96129eb9-f0de-4e05-8af2-73146473f766 -AAI.model-version-id.vnfc=5761e0a7-c6df-4d8a-9ebd-b8f445054dec -#vnf-image widget details -AAI.model-invariant-id.vnf-image=f9a628ff-7aa0-40e2-a93d-02d91c950982 -AAI.model-version-id.vnf-image=c4d3e747-ba4a-4b17-9896-94c6f18c19d3 -#volume widget details -AAI.model-version-id.volume=0fbe2e8f-4d91-4415-a772-88387049b38d -AAI.model-invariant-id.volume=ddd739b4-2b25-46c4-affc-41a32af5cc42 -#volume-group widget details -AAI.model-invariant-id.volume-group=fcec1b02-b2d0-4834-aef8-d71be04717dd -AAI.model-version-id.volume-group=99d44c90-1f61-4418-b9a6-56586bf38c79 -#vpe widget details -AAI.model-invariant-id.vpe=053ec3a7-5b72-492d-b54d-123805a9b967 -AAI.model-version-id.vpe=203817d3-829c-42d4-942d-2a935478e993 -#vpls-pe widget details -AAI.model-version-id.vpls-pe=b1566228-6785-4ce1-aea2-053736f80341 -AAI.model-invariant-id.vpls-pe=457ba89b-334c-4fbd-acc4-160ac0e0cdc0 -#vpn-binding widget details -AAI.model-invariant-id.vpn-binding=9e23b675-db2b-488b-b459-57aa9857baa0 -AAI.model-version-id.vpn-binding=21a146e5-9901-448c-9197-723076770119 -#vserver widget details -AAI.model-invariant-id.vserver=ff69d4e0-a8e8-4108-bdb0-dd63217e63c7 -AAI.model-version-id.vserver=8ecb2c5d-7176-4317-a255-26274edfdd53 \ No newline at end of file diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/logback.xml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/logback.xml deleted file mode 100644 index dc427cdf3f..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/logback.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - - - - - - - - - ${defaultPattern} - - - - - - - - ${logDirectory}/${eventType}.log - - ${logDirectory}/${eventType}.%i.log.zip - 1 - 9 - - - 5MB - - - ${default-log-pattern} - - - - - - - - - - \ No newline at end of file diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/missingResourceTosca/service_vmme_template_1.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/missingResourceTosca/service_vmme_template_1.yml deleted file mode 100644 index 822484eda4..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/missingResourceTosca/service_vmme_template_1.yml +++ /dev/null @@ -1,99 +0,0 @@ -tosca_definitions_version: tosca_simple_profile_for_ecomp_1_0 - -description: Service Template for deploing MME Service - -metadata: - invariantUUID: e255f20c-5331-4245-9ad5-8861a73080b7 - UUID: 7787da18-7516-40cf-bec0-ebd4202c60f0 - type: Service - name: vMME_Service - description: vMME_Service - category: Mobility - serviceEcompNaming: false - serviceHoming: false - -imports: - vmmeToscaTemplate: - file: vf_vmme_template_1.yml - -topology_template: - - inputs: - mme_vf_instance_name: - type: string - description: VF instance name - mme_vf_deployment_node: - type: string - description: The target LCP node for deployment of this VF instance - gtp_net_network_name: - type: string - description: The GTP network route targets - default: MME-24474-Ericsson-WTC-lab_gn_GTP_net_1 # HEAT ENV - gtp_net_route_targets: - type: string - description: The GTP network route targets - default: "13979:105715" # HEAT ENV - gtp_net_cidr: - type: string - description: The GTP network cidr - default: 107.243.37.64/27 # HEAT ENV - gtp_net_gateway_ip: - type: string - description: The GTP network gateway - default: 107.243.37.65 # HEAT ENV - gtp_net_start_ip: - type: string - description: The GTP network start ip - default: 107.243.37.67 # HEAT ENV - gtp_net_end_ip: - type: string - description: The GTP network end ip - default: 107.243.37.94 # HEAT ENV - # more inputs were removed for brevity - - node_templates: - - mme: # vMME VNF - type: org.openecomp.resource.vf.vmme - - metadata: - invariantUUID: b8643c59-e2c2-4f86-880d-571d4d9d5d22 - UUID: b020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc - version: 1.0 - name: vMME_VF - description: vMME_VF - type: VF - category: Application L4+ - subcategory: Firewall - resourceVendor: Ericsson - - properties: - vf_ecomp_name: false - vf_instance_name: { get_input: vf_instance_name } - vf_homing: false - vf_deployment_node: { get_input: vf_deployment_node } - - requirements: - - vlc1_sctp_a.link: - capability: tosca.capabilities.network.Bindable - node: sctp_a_net - relationship: tosca.relationships.network.BindsTo - - vlc1_sctp_b.link: - capability: tosca.capabilities.network.Bindable - node: sctp_b_net - relationship: tosca.relationships.network.BindsTo - - vlc1_gtp_net.link: - capability: tosca.capabilities.network.Bindable - node: gtp_net - relationship: tosca.relationships.network.BindsTo - - - groups: - - external_networks: # vMME_External_Network - type: org.openecomp.groups.externalNetworks - properties: - contrail_service_instance: true # from HEAT - availability_zone_count: 1 # from HEAT - - members: [ sctp_a_net, sctp_b_net, gtp_net ] diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/missingVLTosca/resource-AllottedResource-template.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/missingVLTosca/resource-AllottedResource-template.yml deleted file mode 100644 index 8c85966229..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/missingVLTosca/resource-AllottedResource-template.yml +++ /dev/null @@ -1,60 +0,0 @@ -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| -tosca_definitions_version: tosca_simple_yaml_1_0 -metadata: - invariantUUID: a54a5235-b69d-4f8a-838b-d011e6783fa5 - UUID: f32afdc3-6308-4f0c-a476-0d39c8a1fb4d - name: Allotted Resource - description: This is a VF - Allotted resource - type: VF - category: Allotted Resource - subcategory: Allotted Resource - resourceVendor: '1' - resourceVendorRelease: '1' -imports: -- Alloted resource: - file: resource-AllotedResource-template.yml -topology_template: - node_templates: - Alloted resource 1: - type: org.openecomp.resource.vfc.AllottedResource1 - metadata: - invariantUUID: 666b409b-5614-41a8-945e-a53d68f5d439 - UUID: df0c1c4d-1756-4b2a-998e-73f9f4d77afa - version: '1.0' - name: Alloted resource - description: This is a VFC- Allotted resource - type: VFC - category: Allotted Resource - subcategory: Allotted Resource - substitution_mappings: - node_type: org.openecomp.resource.vf.AllottedResource - capabilities: - Alloted resource 1.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - requirements: - Alloted resource 1.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - Alloted resource 1.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/missingVLTosca/service-ServiceWithAllotedVfAndExvl-template.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/missingVLTosca/service-ServiceWithAllotedVfAndExvl-template.yml deleted file mode 100644 index dbd039669c..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/missingVLTosca/service-ServiceWithAllotedVfAndExvl-template.yml +++ /dev/null @@ -1,90 +0,0 @@ -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| -tosca_definitions_version: tosca_simple_yaml_1_0 -metadata: - invariantUUID: e8a6c85c-429f-47cd-b594-376a0ffccd29 - UUID: 14fd2446-691a-4d7d-8ef4-ece19c3176f5 - name: Service with alloted VF and exVL - description: 'This service contains two instances : 1. Allotted resource VF 2. ExVL - - Network' - type: Service - category: Mobility - serviceEcompNaming: false - serviceHoming: false -imports: -- ExtVL: - file: resource-Extvl-template.yml -- Allotted Resource: - file: resource-AllottedResource-template.yml -topology_template: - node_templates: - ExtVL 1: - type: org.openecomp.resource.vl.extVL - metadata: - invariantUUID: f148dbb0-8c53-466d-9687-791c0e9d40cf - UUID: 3f8fa4d2-2b86-4b36-bbc8-ffb8f9f57468 - version: '2.0' - name: ExtVL - description: OPENECOMP generic virtual link (network) base type for all other service-level and global networks - type: VL - category: Generic - subcategory: Network Elements - Allotted Resource 2: - type: org.openecomp.resource.vf.AllottedResource - metadata: - invariantUUID: a54a5235-b69d-4f8a-838b-d011e6783fa5 - UUID: f32afdc3-6308-4f0c-a476-0d39c8a1fb4d - version: '0.1' - name: Allotted Resource - description: This is a VF - Allotted resource - type: VF - category: Allotted Resource - subcategory: Allotted Resource - substitution_mappings: - node_type: org.openecomp.service.ServiceWithAllotedVfAndExvl - capabilities: - ExtVL 1.virtual_linkable: - type: tosca.capabilities.network.Linkable - occurrences: - - 1 - - UNBOUNDED - Allotted Resource 2.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - ExtVL 1.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - requirements: - ExtVL 1.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - Allotted Resource 2.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - Allotted Resource 2.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/service_vmme_template_InvalidVfModInvUuIdAttr.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/service_vmme_template_InvalidVfModInvUuIdAttr.yml deleted file mode 100644 index f57a7d2300..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/service_vmme_template_InvalidVfModInvUuIdAttr.yml +++ /dev/null @@ -1,194 +0,0 @@ -tosca_definitions_version: tosca_simple_profile_for_ecomp_1_0 - -description: Service Template for deploing MME Service - -metadata: - invariantUUID: e255f20c-5331-4245-9ad5-8861a73080b7 - UUID: 7787da18-7516-40cf-bec0-ebd4202c60f0 - type: Service - name: vMME_Service - description: vMME_Service - category: Mobility - serviceEcompNaming: false - serviceHoming: false - -imports: - vmmeToscaTemplate: - file: vf_vmme_template_1.yml - -topology_template: - - inputs: - mme_vf_instance_name: - type: string - description: VF instance name - mme_vf_deployment_node: - type: string - description: The target LCP node for deployment of this VF instance - gtp_net_network_name: - type: string - description: The GTP network route targets - default: MME-24474-Ericsson-WTC-lab_gn_GTP_net_1 # HEAT ENV - gtp_net_route_targets: - type: string - description: The GTP network route targets - default: "13979:105715" # HEAT ENV - gtp_net_cidr: - type: string - description: The GTP network cidr - default: 107.243.37.64/27 # HEAT ENV - gtp_net_gateway_ip: - type: string - description: The GTP network gateway - default: 107.243.37.65 # HEAT ENV - gtp_net_start_ip: - type: string - description: The GTP network start ip - default: 107.243.37.67 # HEAT ENV - gtp_net_end_ip: - type: string - description: The GTP network end ip - default: 107.243.37.94 # HEAT ENV - # more inputs were removed for brevity - - node_templates: - - mme: # vMME VNF - type: org.openecomp.resource.vf.vmme - - metadata: - invariantUUID: b8643c59-e2c2-4f86-880d-571d4d9d5d22 - UUID: b020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc - version: 1.0 - name: vMME_VF - description: vMME_VF - type: VF - category: Application L4+ - subcategory: Firewall - resourceVendor: Ericsson - - properties: - vf_ecomp_name: false - vf_instance_name: { get_input: vf_instance_name } - vf_homing: false - vf_deployment_node: { get_input: vf_deployment_node } - - requirements: - - vlc1_sctp_a.link: - capability: tosca.capabilities.network.Bindable - node: sctp_a_net - relationship: tosca.relationships.network.BindsTo - - vlc1_sctp_b.link: - capability: tosca.capabilities.network.Bindable - node: sctp_b_net - relationship: tosca.relationships.network.BindsTo - - vlc1_gtp_net.link: - capability: tosca.capabilities.network.Bindable - node: gtp_net - relationship: tosca.relationships.network.BindsTo - - - - # Virtual Links (Networks) - - gtp_net: - type: org.openecomp.resource.vl.VL - metadata: - invariantUUID: ab2995c59-ff34-4f86-a60d-371d4d9d1896 - UUID: 101a0ed2e-a12d-ff20-004e-cc7af4daffc3 - version: 1.0 - name: GTPNet - description: GTP External Network - type: VL - category: VL - resourceVendor: AT&T - properties: - network_type: Tenant_Layer_3 - network_technology: Contrail - network_ecomp_name: false - network_homing: false - network_deployment_node: { get_input : network_deployment_node } - contrail_virtual_network: - network_name: {get_input: gtp_net_network_name} - route_targets: {get_input: gtp_net_route_targets} - network_id: - layer_protocol: IP - flow_pattern: E-LAN - test_access: none - l3_access_parameters: - ip_version: 4 - cidr: {get_input: gtp_net_cidr} - gateway_ip: {get_input: gtp_net_gateway_ip} - start_ip: {get_input: gtp_net_start_ip} - end_ip: {get_input: gtp_net_end_ip} - - sctp_a_net: - type: org.openecomp.resource.vl.VL - metadata: - invariantUUID: 29205c59-1111-4f86-880d-371d4d9dc999 - UUID: 1890ed2e-abcd-3f20-124e-cc7af4da4321 - version: 1.0 - name: SCTPANet - description: SCTP A External Network - type: VL - category: VL - resourceVendor: AT&T - properties: - network_type: Tenant_Layer_3 - network_technology: Contrail - network_ecomp_name: false - network_homing: false - network_deployment_node: { get_input : network_deployment_node } - contrail_virtual_network: - network_name: MME-24474-Ericsson-WTC-lab_gn_SCTPA_net_1 - route_targets: 13979:105717 - layer_protocol: IP - flow_pattern: E-LAN - test_access: none - l3_access_parameters: - ip_version: 4 - cidr: 107.243.37.0/27 # HEAT ENV - gateway_ip: 107.243.37.1 # HEAT ENV - start_ip: 107.243.37.3 # HEAT ENV - end_ip: 107.243.37.30 # HEAT ENV - - sctp_b_net: - type: org.openecomp.resource.vl.VL - metadata: - invariantUUID: 89595c59-2134-4f86-880d-371d4d9d12a6 - UUID: 1af0ed2e-abcd-3f20-834e-cc7af4dafc45 - version: 1.0 - name: SCTPBNet - description: SCTP B External Network - type: VL - category: VL - resourceVendor: AT&T - properties: - network_type: Tenant_Layer_3 - network_technology: Contrail - network_ecomp_name: false - network_homing: false - network_deployment_node: { get_input : network_deployment_node } - contrail_virtual_network: - network_name: MME-24474-Ericsson-WTC-lab_gn_SCTPB_net_1 - route_targets: 13979:105719 - network_id: - layer_protocol: IP - flow_pattern: E-LAN - test_access: none - l3_access_parameters: - ip_version: 4 - cidr: 107.243.37.32/24 # HEAT ENV - gateway_ip: 107.243.37.33 # HEAT ENV - start_ip: 107.243.37.35 # HEAT ENV - end_ip: 107.243.37.62 # HEAT ENV - - groups: - - external_networks: # vMME_External_Network - type: org.openecomp.groups.externalNetworks - properties: - contrail_service_instance: true # from HEAT - availability_zone_count: 1 # from HEAT - - members: [ sctp_a_net, sctp_b_net, gtp_net ] diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/service_vmme_template_InvalidVfModUuIdAttr.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/service_vmme_template_InvalidVfModUuIdAttr.yml deleted file mode 100644 index f57a7d2300..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/service_vmme_template_InvalidVfModUuIdAttr.yml +++ /dev/null @@ -1,194 +0,0 @@ -tosca_definitions_version: tosca_simple_profile_for_ecomp_1_0 - -description: Service Template for deploing MME Service - -metadata: - invariantUUID: e255f20c-5331-4245-9ad5-8861a73080b7 - UUID: 7787da18-7516-40cf-bec0-ebd4202c60f0 - type: Service - name: vMME_Service - description: vMME_Service - category: Mobility - serviceEcompNaming: false - serviceHoming: false - -imports: - vmmeToscaTemplate: - file: vf_vmme_template_1.yml - -topology_template: - - inputs: - mme_vf_instance_name: - type: string - description: VF instance name - mme_vf_deployment_node: - type: string - description: The target LCP node for deployment of this VF instance - gtp_net_network_name: - type: string - description: The GTP network route targets - default: MME-24474-Ericsson-WTC-lab_gn_GTP_net_1 # HEAT ENV - gtp_net_route_targets: - type: string - description: The GTP network route targets - default: "13979:105715" # HEAT ENV - gtp_net_cidr: - type: string - description: The GTP network cidr - default: 107.243.37.64/27 # HEAT ENV - gtp_net_gateway_ip: - type: string - description: The GTP network gateway - default: 107.243.37.65 # HEAT ENV - gtp_net_start_ip: - type: string - description: The GTP network start ip - default: 107.243.37.67 # HEAT ENV - gtp_net_end_ip: - type: string - description: The GTP network end ip - default: 107.243.37.94 # HEAT ENV - # more inputs were removed for brevity - - node_templates: - - mme: # vMME VNF - type: org.openecomp.resource.vf.vmme - - metadata: - invariantUUID: b8643c59-e2c2-4f86-880d-571d4d9d5d22 - UUID: b020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc - version: 1.0 - name: vMME_VF - description: vMME_VF - type: VF - category: Application L4+ - subcategory: Firewall - resourceVendor: Ericsson - - properties: - vf_ecomp_name: false - vf_instance_name: { get_input: vf_instance_name } - vf_homing: false - vf_deployment_node: { get_input: vf_deployment_node } - - requirements: - - vlc1_sctp_a.link: - capability: tosca.capabilities.network.Bindable - node: sctp_a_net - relationship: tosca.relationships.network.BindsTo - - vlc1_sctp_b.link: - capability: tosca.capabilities.network.Bindable - node: sctp_b_net - relationship: tosca.relationships.network.BindsTo - - vlc1_gtp_net.link: - capability: tosca.capabilities.network.Bindable - node: gtp_net - relationship: tosca.relationships.network.BindsTo - - - - # Virtual Links (Networks) - - gtp_net: - type: org.openecomp.resource.vl.VL - metadata: - invariantUUID: ab2995c59-ff34-4f86-a60d-371d4d9d1896 - UUID: 101a0ed2e-a12d-ff20-004e-cc7af4daffc3 - version: 1.0 - name: GTPNet - description: GTP External Network - type: VL - category: VL - resourceVendor: AT&T - properties: - network_type: Tenant_Layer_3 - network_technology: Contrail - network_ecomp_name: false - network_homing: false - network_deployment_node: { get_input : network_deployment_node } - contrail_virtual_network: - network_name: {get_input: gtp_net_network_name} - route_targets: {get_input: gtp_net_route_targets} - network_id: - layer_protocol: IP - flow_pattern: E-LAN - test_access: none - l3_access_parameters: - ip_version: 4 - cidr: {get_input: gtp_net_cidr} - gateway_ip: {get_input: gtp_net_gateway_ip} - start_ip: {get_input: gtp_net_start_ip} - end_ip: {get_input: gtp_net_end_ip} - - sctp_a_net: - type: org.openecomp.resource.vl.VL - metadata: - invariantUUID: 29205c59-1111-4f86-880d-371d4d9dc999 - UUID: 1890ed2e-abcd-3f20-124e-cc7af4da4321 - version: 1.0 - name: SCTPANet - description: SCTP A External Network - type: VL - category: VL - resourceVendor: AT&T - properties: - network_type: Tenant_Layer_3 - network_technology: Contrail - network_ecomp_name: false - network_homing: false - network_deployment_node: { get_input : network_deployment_node } - contrail_virtual_network: - network_name: MME-24474-Ericsson-WTC-lab_gn_SCTPA_net_1 - route_targets: 13979:105717 - layer_protocol: IP - flow_pattern: E-LAN - test_access: none - l3_access_parameters: - ip_version: 4 - cidr: 107.243.37.0/27 # HEAT ENV - gateway_ip: 107.243.37.1 # HEAT ENV - start_ip: 107.243.37.3 # HEAT ENV - end_ip: 107.243.37.30 # HEAT ENV - - sctp_b_net: - type: org.openecomp.resource.vl.VL - metadata: - invariantUUID: 89595c59-2134-4f86-880d-371d4d9d12a6 - UUID: 1af0ed2e-abcd-3f20-834e-cc7af4dafc45 - version: 1.0 - name: SCTPBNet - description: SCTP B External Network - type: VL - category: VL - resourceVendor: AT&T - properties: - network_type: Tenant_Layer_3 - network_technology: Contrail - network_ecomp_name: false - network_homing: false - network_deployment_node: { get_input : network_deployment_node } - contrail_virtual_network: - network_name: MME-24474-Ericsson-WTC-lab_gn_SCTPB_net_1 - route_targets: 13979:105719 - network_id: - layer_protocol: IP - flow_pattern: E-LAN - test_access: none - l3_access_parameters: - ip_version: 4 - cidr: 107.243.37.32/24 # HEAT ENV - gateway_ip: 107.243.37.33 # HEAT ENV - start_ip: 107.243.37.35 # HEAT ENV - end_ip: 107.243.37.62 # HEAT ENV - - groups: - - external_networks: # vMME_External_Network - type: org.openecomp.groups.externalNetworks - properties: - contrail_service_instance: true # from HEAT - availability_zone_count: 1 # from HEAT - - members: [ sctp_a_net, sctp_b_net, gtp_net ] diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/service_vmme_template_ModInvUUID.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/service_vmme_template_ModInvUUID.yml deleted file mode 100644 index 4d50982f63..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/service_vmme_template_ModInvUUID.yml +++ /dev/null @@ -1,194 +0,0 @@ -tosca_definitions_version: tosca_simple_profile_for_ecomp_1_0 - -description: Service Template for deploing MME Service - -metadata: - invariantUUID: e255f20c-5331-4245-9ad5-8861a73080b7 - UUID: 7787da18-7516-40cf-bec0-ebd4202c60f0 - type: Service - name: vMME_Service - description: vMME_Service - category: Mobility - serviceEcompNaming: false - serviceHoming: false - -imports: - vmmeToscaTemplate: - file: vf_vmme_template_1.yml - -topology_template: - - inputs: - mme_vf_instance_name: - type: string - description: VF instance name - mme_vf_deployment_node: - type: string - description: The target LCP node for deployment of this VF instance - gtp_net_network_name: - type: string - description: The GTP network route targets - default: MME-24474-Ericsson-WTC-lab_gn_GTP_net_1 # HEAT ENV - gtp_net_route_targets: - type: string - description: The GTP network route targets - default: "13979:105715" # HEAT ENV - gtp_net_cidr: - type: string - description: The GTP network cidr - default: 107.243.37.64/27 # HEAT ENV - gtp_net_gateway_ip: - type: string - description: The GTP network gateway - default: 107.243.37.65 # HEAT ENV - gtp_net_start_ip: - type: string - description: The GTP network start ip - default: 107.243.37.67 # HEAT ENV - gtp_net_end_ip: - type: string - description: The GTP network end ip - default: 107.243.37.94 # HEAT ENV - # more inputs were removed for brevity - - node_templates: - - mme: # vMME VNF - type: org.openecomp.resource.vf.vmme - - metadata: - invariantUUID: b8643c59-e2c2-4f86-880d-571d4d9d5d22 - UUID: b020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc - version: 1.0 - name: vMME_VF - description: vMME_VF - type: VF - category: Application L4+ - subcategory: Firewall - resourceVendor: Ericsson - - properties: - vf_ecomp_name: false - vf_instance_name: { get_input: vf_instance_name } - vf_homing: false - vf_deployment_node: { get_input: vf_deployment_node } - - requirements: - - vlc1_sctp_a.link: - capability: tosca.capabilities.network.Bindable - node: sctp_a_net - relationship: tosca.relationships.network.BindsTo - - vlc1_sctp_b.link: - capability: tosca.capabilities.network.Bindable - node: sctp_b_net - relationship: tosca.relationships.network.BindsTo - - vlc1_gtp_net.link: - capability: tosca.capabilities.network.Bindable - node: gtp_net - relationship: tosca.relationships.network.BindsTo - - - - # Virtual Links (Networks) - - gtp_net: - type: org.openecomp.resource.vl.VL - metadata: - invariantUUID: ab2995c59-ff34-4f86-a60d-371d4d9d1896 - UUID: 101a0ed2e-a12d-ff20-004e-cc7af4daffc3 - version: 1.0 - name: GTPNet - description: GTP External Network - type: VL - category: VL - resourceVendor: AT&T - properties: - network_type: Tenant_Layer_3 - network_technology: Contrail - network_ecomp_name: false - network_homing: false - network_deployment_node: { get_input : network_deployment_node } - contrail_virtual_network: - network_name: {get_input: gtp_net_network_name} - route_targets: {get_input: gtp_net_route_targets} - network_id: - layer_protocol: IP - flow_pattern: E-LAN - test_access: none - l3_access_parameters: - ip_version: 4 - cidr: {get_input: gtp_net_cidr} - gateway_ip: {get_input: gtp_net_gateway_ip} - start_ip: {get_input: gtp_net_start_ip} - end_ip: {get_input: gtp_net_end_ip} - - sctp_a_net: - type: org.openecomp.resource.vl.VL - metadata: - invariantUUID: 29205c59-1111-4f86-880d-371d4d9dc999 - UUID: 1890ed2e-abcd-3f20-124e-cc7af4da4321 - version: 1.0 - name: SCTPANet - description: SCTP A External Network - type: VL - category: VL - resourceVendor: AT&T - properties: - network_type: Tenant_Layer_3 - network_technology: Contrail - network_ecomp_name: false - network_homing: false - network_deployment_node: { get_input : network_deployment_node } - contrail_virtual_network: - network_name: MME-24474-Ericsson-WTC-lab_gn_SCTPA_net_1 - route_targets: 13979:105717 - layer_protocol: IP - flow_pattern: E-LAN - test_access: none - l3_access_parameters: - ip_version: 4 - cidr: 107.243.37.0/27 # HEAT ENV - gateway_ip: 107.243.37.1 # HEAT ENV - start_ip: 107.243.37.3 # HEAT ENV - end_ip: 107.243.37.30 # HEAT ENV - - sctp_b_net: - type: org.openecomp.resource.vl.VL - metadata: - invariantUUID: 89595c59-2134-4f86-880d-371d4d9d12a6 - UUID: 1af0ed2e-abcd-3f20-834e-cc7af4dafc45 - version: 1.0 - name: SCTPBNet - description: SCTP B External Network - type: VL - category: VL - resourceVendor: AT&T - properties: - network_type: Tenant_Layer_3 - network_technology: Contrail - network_ecomp_name: false - network_homing: false - network_deployment_node: { get_input : network_deployment_node } - contrail_virtual_network: - network_name: MME-24474-Ericsson-WTC-lab_gn_SCTPB_net_1 - route_targets: 13979:105719 - network_id: - layer_protocol: IP - flow_pattern: E-LAN - test_access: none - l3_access_parameters: - ip_version: 4 - cidr: 107.243.37.32/24 # HEAT ENV - gateway_ip: 107.243.37.33 # HEAT ENV - start_ip: 107.243.37.35 # HEAT ENV - end_ip: 107.243.37.62 # HEAT ENV - - groups: - - external_networks: # vMME_External_Network - type: org.openecomp.groups.externalNetworks - properties: - contrail_service_instance: true # from HEAT - availability_zone_count: 1 # from HEAT - - members: [ sctp_a_net, sctp_b_net, gtp_net ] diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/service_vmme_template_ModelName.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/service_vmme_template_ModelName.yml deleted file mode 100644 index 4d50982f63..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/service_vmme_template_ModelName.yml +++ /dev/null @@ -1,194 +0,0 @@ -tosca_definitions_version: tosca_simple_profile_for_ecomp_1_0 - -description: Service Template for deploing MME Service - -metadata: - invariantUUID: e255f20c-5331-4245-9ad5-8861a73080b7 - UUID: 7787da18-7516-40cf-bec0-ebd4202c60f0 - type: Service - name: vMME_Service - description: vMME_Service - category: Mobility - serviceEcompNaming: false - serviceHoming: false - -imports: - vmmeToscaTemplate: - file: vf_vmme_template_1.yml - -topology_template: - - inputs: - mme_vf_instance_name: - type: string - description: VF instance name - mme_vf_deployment_node: - type: string - description: The target LCP node for deployment of this VF instance - gtp_net_network_name: - type: string - description: The GTP network route targets - default: MME-24474-Ericsson-WTC-lab_gn_GTP_net_1 # HEAT ENV - gtp_net_route_targets: - type: string - description: The GTP network route targets - default: "13979:105715" # HEAT ENV - gtp_net_cidr: - type: string - description: The GTP network cidr - default: 107.243.37.64/27 # HEAT ENV - gtp_net_gateway_ip: - type: string - description: The GTP network gateway - default: 107.243.37.65 # HEAT ENV - gtp_net_start_ip: - type: string - description: The GTP network start ip - default: 107.243.37.67 # HEAT ENV - gtp_net_end_ip: - type: string - description: The GTP network end ip - default: 107.243.37.94 # HEAT ENV - # more inputs were removed for brevity - - node_templates: - - mme: # vMME VNF - type: org.openecomp.resource.vf.vmme - - metadata: - invariantUUID: b8643c59-e2c2-4f86-880d-571d4d9d5d22 - UUID: b020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc - version: 1.0 - name: vMME_VF - description: vMME_VF - type: VF - category: Application L4+ - subcategory: Firewall - resourceVendor: Ericsson - - properties: - vf_ecomp_name: false - vf_instance_name: { get_input: vf_instance_name } - vf_homing: false - vf_deployment_node: { get_input: vf_deployment_node } - - requirements: - - vlc1_sctp_a.link: - capability: tosca.capabilities.network.Bindable - node: sctp_a_net - relationship: tosca.relationships.network.BindsTo - - vlc1_sctp_b.link: - capability: tosca.capabilities.network.Bindable - node: sctp_b_net - relationship: tosca.relationships.network.BindsTo - - vlc1_gtp_net.link: - capability: tosca.capabilities.network.Bindable - node: gtp_net - relationship: tosca.relationships.network.BindsTo - - - - # Virtual Links (Networks) - - gtp_net: - type: org.openecomp.resource.vl.VL - metadata: - invariantUUID: ab2995c59-ff34-4f86-a60d-371d4d9d1896 - UUID: 101a0ed2e-a12d-ff20-004e-cc7af4daffc3 - version: 1.0 - name: GTPNet - description: GTP External Network - type: VL - category: VL - resourceVendor: AT&T - properties: - network_type: Tenant_Layer_3 - network_technology: Contrail - network_ecomp_name: false - network_homing: false - network_deployment_node: { get_input : network_deployment_node } - contrail_virtual_network: - network_name: {get_input: gtp_net_network_name} - route_targets: {get_input: gtp_net_route_targets} - network_id: - layer_protocol: IP - flow_pattern: E-LAN - test_access: none - l3_access_parameters: - ip_version: 4 - cidr: {get_input: gtp_net_cidr} - gateway_ip: {get_input: gtp_net_gateway_ip} - start_ip: {get_input: gtp_net_start_ip} - end_ip: {get_input: gtp_net_end_ip} - - sctp_a_net: - type: org.openecomp.resource.vl.VL - metadata: - invariantUUID: 29205c59-1111-4f86-880d-371d4d9dc999 - UUID: 1890ed2e-abcd-3f20-124e-cc7af4da4321 - version: 1.0 - name: SCTPANet - description: SCTP A External Network - type: VL - category: VL - resourceVendor: AT&T - properties: - network_type: Tenant_Layer_3 - network_technology: Contrail - network_ecomp_name: false - network_homing: false - network_deployment_node: { get_input : network_deployment_node } - contrail_virtual_network: - network_name: MME-24474-Ericsson-WTC-lab_gn_SCTPA_net_1 - route_targets: 13979:105717 - layer_protocol: IP - flow_pattern: E-LAN - test_access: none - l3_access_parameters: - ip_version: 4 - cidr: 107.243.37.0/27 # HEAT ENV - gateway_ip: 107.243.37.1 # HEAT ENV - start_ip: 107.243.37.3 # HEAT ENV - end_ip: 107.243.37.30 # HEAT ENV - - sctp_b_net: - type: org.openecomp.resource.vl.VL - metadata: - invariantUUID: 89595c59-2134-4f86-880d-371d4d9d12a6 - UUID: 1af0ed2e-abcd-3f20-834e-cc7af4dafc45 - version: 1.0 - name: SCTPBNet - description: SCTP B External Network - type: VL - category: VL - resourceVendor: AT&T - properties: - network_type: Tenant_Layer_3 - network_technology: Contrail - network_ecomp_name: false - network_homing: false - network_deployment_node: { get_input : network_deployment_node } - contrail_virtual_network: - network_name: MME-24474-Ericsson-WTC-lab_gn_SCTPB_net_1 - route_targets: 13979:105719 - network_id: - layer_protocol: IP - flow_pattern: E-LAN - test_access: none - l3_access_parameters: - ip_version: 4 - cidr: 107.243.37.32/24 # HEAT ENV - gateway_ip: 107.243.37.33 # HEAT ENV - start_ip: 107.243.37.35 # HEAT ENV - end_ip: 107.243.37.62 # HEAT ENV - - groups: - - external_networks: # vMME_External_Network - type: org.openecomp.groups.externalNetworks - properties: - contrail_service_instance: true # from HEAT - availability_zone_count: 1 # from HEAT - - members: [ sctp_a_net, sctp_b_net, gtp_net ] diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/service_vmme_template_ModelUUID.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/service_vmme_template_ModelUUID.yml deleted file mode 100644 index 4d50982f63..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/service_vmme_template_ModelUUID.yml +++ /dev/null @@ -1,194 +0,0 @@ -tosca_definitions_version: tosca_simple_profile_for_ecomp_1_0 - -description: Service Template for deploing MME Service - -metadata: - invariantUUID: e255f20c-5331-4245-9ad5-8861a73080b7 - UUID: 7787da18-7516-40cf-bec0-ebd4202c60f0 - type: Service - name: vMME_Service - description: vMME_Service - category: Mobility - serviceEcompNaming: false - serviceHoming: false - -imports: - vmmeToscaTemplate: - file: vf_vmme_template_1.yml - -topology_template: - - inputs: - mme_vf_instance_name: - type: string - description: VF instance name - mme_vf_deployment_node: - type: string - description: The target LCP node for deployment of this VF instance - gtp_net_network_name: - type: string - description: The GTP network route targets - default: MME-24474-Ericsson-WTC-lab_gn_GTP_net_1 # HEAT ENV - gtp_net_route_targets: - type: string - description: The GTP network route targets - default: "13979:105715" # HEAT ENV - gtp_net_cidr: - type: string - description: The GTP network cidr - default: 107.243.37.64/27 # HEAT ENV - gtp_net_gateway_ip: - type: string - description: The GTP network gateway - default: 107.243.37.65 # HEAT ENV - gtp_net_start_ip: - type: string - description: The GTP network start ip - default: 107.243.37.67 # HEAT ENV - gtp_net_end_ip: - type: string - description: The GTP network end ip - default: 107.243.37.94 # HEAT ENV - # more inputs were removed for brevity - - node_templates: - - mme: # vMME VNF - type: org.openecomp.resource.vf.vmme - - metadata: - invariantUUID: b8643c59-e2c2-4f86-880d-571d4d9d5d22 - UUID: b020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc - version: 1.0 - name: vMME_VF - description: vMME_VF - type: VF - category: Application L4+ - subcategory: Firewall - resourceVendor: Ericsson - - properties: - vf_ecomp_name: false - vf_instance_name: { get_input: vf_instance_name } - vf_homing: false - vf_deployment_node: { get_input: vf_deployment_node } - - requirements: - - vlc1_sctp_a.link: - capability: tosca.capabilities.network.Bindable - node: sctp_a_net - relationship: tosca.relationships.network.BindsTo - - vlc1_sctp_b.link: - capability: tosca.capabilities.network.Bindable - node: sctp_b_net - relationship: tosca.relationships.network.BindsTo - - vlc1_gtp_net.link: - capability: tosca.capabilities.network.Bindable - node: gtp_net - relationship: tosca.relationships.network.BindsTo - - - - # Virtual Links (Networks) - - gtp_net: - type: org.openecomp.resource.vl.VL - metadata: - invariantUUID: ab2995c59-ff34-4f86-a60d-371d4d9d1896 - UUID: 101a0ed2e-a12d-ff20-004e-cc7af4daffc3 - version: 1.0 - name: GTPNet - description: GTP External Network - type: VL - category: VL - resourceVendor: AT&T - properties: - network_type: Tenant_Layer_3 - network_technology: Contrail - network_ecomp_name: false - network_homing: false - network_deployment_node: { get_input : network_deployment_node } - contrail_virtual_network: - network_name: {get_input: gtp_net_network_name} - route_targets: {get_input: gtp_net_route_targets} - network_id: - layer_protocol: IP - flow_pattern: E-LAN - test_access: none - l3_access_parameters: - ip_version: 4 - cidr: {get_input: gtp_net_cidr} - gateway_ip: {get_input: gtp_net_gateway_ip} - start_ip: {get_input: gtp_net_start_ip} - end_ip: {get_input: gtp_net_end_ip} - - sctp_a_net: - type: org.openecomp.resource.vl.VL - metadata: - invariantUUID: 29205c59-1111-4f86-880d-371d4d9dc999 - UUID: 1890ed2e-abcd-3f20-124e-cc7af4da4321 - version: 1.0 - name: SCTPANet - description: SCTP A External Network - type: VL - category: VL - resourceVendor: AT&T - properties: - network_type: Tenant_Layer_3 - network_technology: Contrail - network_ecomp_name: false - network_homing: false - network_deployment_node: { get_input : network_deployment_node } - contrail_virtual_network: - network_name: MME-24474-Ericsson-WTC-lab_gn_SCTPA_net_1 - route_targets: 13979:105717 - layer_protocol: IP - flow_pattern: E-LAN - test_access: none - l3_access_parameters: - ip_version: 4 - cidr: 107.243.37.0/27 # HEAT ENV - gateway_ip: 107.243.37.1 # HEAT ENV - start_ip: 107.243.37.3 # HEAT ENV - end_ip: 107.243.37.30 # HEAT ENV - - sctp_b_net: - type: org.openecomp.resource.vl.VL - metadata: - invariantUUID: 89595c59-2134-4f86-880d-371d4d9d12a6 - UUID: 1af0ed2e-abcd-3f20-834e-cc7af4dafc45 - version: 1.0 - name: SCTPBNet - description: SCTP B External Network - type: VL - category: VL - resourceVendor: AT&T - properties: - network_type: Tenant_Layer_3 - network_technology: Contrail - network_ecomp_name: false - network_homing: false - network_deployment_node: { get_input : network_deployment_node } - contrail_virtual_network: - network_name: MME-24474-Ericsson-WTC-lab_gn_SCTPB_net_1 - route_targets: 13979:105719 - network_id: - layer_protocol: IP - flow_pattern: E-LAN - test_access: none - l3_access_parameters: - ip_version: 4 - cidr: 107.243.37.32/24 # HEAT ENV - gateway_ip: 107.243.37.33 # HEAT ENV - start_ip: 107.243.37.35 # HEAT ENV - end_ip: 107.243.37.62 # HEAT ENV - - groups: - - external_networks: # vMME_External_Network - type: org.openecomp.groups.externalNetworks - properties: - contrail_service_instance: true # from HEAT - availability_zone_count: 1 # from HEAT - - members: [ sctp_a_net, sctp_b_net, gtp_net ] diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/service_vmme_template_ModelVersion.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/service_vmme_template_ModelVersion.yml deleted file mode 100644 index 4d50982f63..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/service_vmme_template_ModelVersion.yml +++ /dev/null @@ -1,194 +0,0 @@ -tosca_definitions_version: tosca_simple_profile_for_ecomp_1_0 - -description: Service Template for deploing MME Service - -metadata: - invariantUUID: e255f20c-5331-4245-9ad5-8861a73080b7 - UUID: 7787da18-7516-40cf-bec0-ebd4202c60f0 - type: Service - name: vMME_Service - description: vMME_Service - category: Mobility - serviceEcompNaming: false - serviceHoming: false - -imports: - vmmeToscaTemplate: - file: vf_vmme_template_1.yml - -topology_template: - - inputs: - mme_vf_instance_name: - type: string - description: VF instance name - mme_vf_deployment_node: - type: string - description: The target LCP node for deployment of this VF instance - gtp_net_network_name: - type: string - description: The GTP network route targets - default: MME-24474-Ericsson-WTC-lab_gn_GTP_net_1 # HEAT ENV - gtp_net_route_targets: - type: string - description: The GTP network route targets - default: "13979:105715" # HEAT ENV - gtp_net_cidr: - type: string - description: The GTP network cidr - default: 107.243.37.64/27 # HEAT ENV - gtp_net_gateway_ip: - type: string - description: The GTP network gateway - default: 107.243.37.65 # HEAT ENV - gtp_net_start_ip: - type: string - description: The GTP network start ip - default: 107.243.37.67 # HEAT ENV - gtp_net_end_ip: - type: string - description: The GTP network end ip - default: 107.243.37.94 # HEAT ENV - # more inputs were removed for brevity - - node_templates: - - mme: # vMME VNF - type: org.openecomp.resource.vf.vmme - - metadata: - invariantUUID: b8643c59-e2c2-4f86-880d-571d4d9d5d22 - UUID: b020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc - version: 1.0 - name: vMME_VF - description: vMME_VF - type: VF - category: Application L4+ - subcategory: Firewall - resourceVendor: Ericsson - - properties: - vf_ecomp_name: false - vf_instance_name: { get_input: vf_instance_name } - vf_homing: false - vf_deployment_node: { get_input: vf_deployment_node } - - requirements: - - vlc1_sctp_a.link: - capability: tosca.capabilities.network.Bindable - node: sctp_a_net - relationship: tosca.relationships.network.BindsTo - - vlc1_sctp_b.link: - capability: tosca.capabilities.network.Bindable - node: sctp_b_net - relationship: tosca.relationships.network.BindsTo - - vlc1_gtp_net.link: - capability: tosca.capabilities.network.Bindable - node: gtp_net - relationship: tosca.relationships.network.BindsTo - - - - # Virtual Links (Networks) - - gtp_net: - type: org.openecomp.resource.vl.VL - metadata: - invariantUUID: ab2995c59-ff34-4f86-a60d-371d4d9d1896 - UUID: 101a0ed2e-a12d-ff20-004e-cc7af4daffc3 - version: 1.0 - name: GTPNet - description: GTP External Network - type: VL - category: VL - resourceVendor: AT&T - properties: - network_type: Tenant_Layer_3 - network_technology: Contrail - network_ecomp_name: false - network_homing: false - network_deployment_node: { get_input : network_deployment_node } - contrail_virtual_network: - network_name: {get_input: gtp_net_network_name} - route_targets: {get_input: gtp_net_route_targets} - network_id: - layer_protocol: IP - flow_pattern: E-LAN - test_access: none - l3_access_parameters: - ip_version: 4 - cidr: {get_input: gtp_net_cidr} - gateway_ip: {get_input: gtp_net_gateway_ip} - start_ip: {get_input: gtp_net_start_ip} - end_ip: {get_input: gtp_net_end_ip} - - sctp_a_net: - type: org.openecomp.resource.vl.VL - metadata: - invariantUUID: 29205c59-1111-4f86-880d-371d4d9dc999 - UUID: 1890ed2e-abcd-3f20-124e-cc7af4da4321 - version: 1.0 - name: SCTPANet - description: SCTP A External Network - type: VL - category: VL - resourceVendor: AT&T - properties: - network_type: Tenant_Layer_3 - network_technology: Contrail - network_ecomp_name: false - network_homing: false - network_deployment_node: { get_input : network_deployment_node } - contrail_virtual_network: - network_name: MME-24474-Ericsson-WTC-lab_gn_SCTPA_net_1 - route_targets: 13979:105717 - layer_protocol: IP - flow_pattern: E-LAN - test_access: none - l3_access_parameters: - ip_version: 4 - cidr: 107.243.37.0/27 # HEAT ENV - gateway_ip: 107.243.37.1 # HEAT ENV - start_ip: 107.243.37.3 # HEAT ENV - end_ip: 107.243.37.30 # HEAT ENV - - sctp_b_net: - type: org.openecomp.resource.vl.VL - metadata: - invariantUUID: 89595c59-2134-4f86-880d-371d4d9d12a6 - UUID: 1af0ed2e-abcd-3f20-834e-cc7af4dafc45 - version: 1.0 - name: SCTPBNet - description: SCTP B External Network - type: VL - category: VL - resourceVendor: AT&T - properties: - network_type: Tenant_Layer_3 - network_technology: Contrail - network_ecomp_name: false - network_homing: false - network_deployment_node: { get_input : network_deployment_node } - contrail_virtual_network: - network_name: MME-24474-Ericsson-WTC-lab_gn_SCTPB_net_1 - route_targets: 13979:105719 - network_id: - layer_protocol: IP - flow_pattern: E-LAN - test_access: none - l3_access_parameters: - ip_version: 4 - cidr: 107.243.37.32/24 # HEAT ENV - gateway_ip: 107.243.37.33 # HEAT ENV - start_ip: 107.243.37.35 # HEAT ENV - end_ip: 107.243.37.62 # HEAT ENV - - groups: - - external_networks: # vMME_External_Network - type: org.openecomp.groups.externalNetworks - properties: - contrail_service_instance: true # from HEAT - availability_zone_count: 1 # from HEAT - - members: [ sctp_a_net, sctp_b_net, gtp_net ] diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testAllotedResourceWithDependingSerWithGroups/resource-AllottedResource-template_IpMux_WithGroups.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testAllotedResourceWithDependingSerWithGroups/resource-AllottedResource-template_IpMux_WithGroups.yml deleted file mode 100644 index 282750351c..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testAllotedResourceWithDependingSerWithGroups/resource-AllottedResource-template_IpMux_WithGroups.yml +++ /dev/null @@ -1,283 +0,0 @@ -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| -tosca_definitions_version: tosca_simple_yaml_1_0 -metadata: - invariantUUID: a54a5235-b69d-4f8a-838b-d011e6783fa5 - UUID: f32afdc3-6308-4f0c-a476-0d39c8a1fb4d - name: Allotted Resource - description: This is a VF - Allotted resource - type: VF - category: Allotted Resource - subcategory: IP Mux Demux - resourceVendor: '1' - resourceVendorRelease: '1' -imports: -- Alloted resource: - file: resource-AllotedResource-template.yml -topology_template: - groups: - vfmoduleVmmeModule-1: - members: - - FSB1 - - FSB2 - - NCB1 - - NCB2 - - VLC1 - - VLC2 - - GPB1 - - GPB2 - - Internal1_net - - Internal2_net - - fsb1_oam - - fsb1_internal1 - - fsb1_internal2 - - fsb2_oam - - fsb2_internal2 - - ncb1_internal1 - - ncb1_internal2 - - ncb2_internal1 - - ncb2_internal2 - - gpb1_internal1 - - gpb1_internal2 - - gpb2_internal1 - - gpb2_internal2 - - vlc1_oam - - vlc1_internal1 - - vlc1_internal2 - - vlc1_sctp_a - - vlc1_sctp_b - - vlc1_gtp - - vlc2_oam - - vlc2_internal1 - - vlc2_internal2 - - vlc2_sctp_a - - vlc2_sctp_b - - vlc1_gtp - metadata: - vfModuleModelInvariantUUID: adf1a10a-f788-492f-9ea7-7ff91dd55f8c - vfModuleModelName: "vMME::module-1" - vfModuleModelUUID: x020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc - vfModuleModelVersion: 1 - properties: - artifacts: - - /Artifacts/vmme_small_create_fsb.yml - - /Artifacts/vmme_small.yml - availability_zone_count: 2 - contrail_service_instance: true - vf_module_description: "vMME expansion VF Module" - vf_module_label: "vMME Expansion VF Module" - vf_module_type: Expansion - volume_group: false - type: org.openecomp.groups.VfModule - node_templates: - allotedresource1: - type: org.openecomp.resource.vfc.AllottedResource - metadata: - invariantUUID: 666b409b-5614-41a8-945e-a53d68f5d439 - UUID: df0c1c4d-1756-4b2a-998e-73f9f4d77afa - customizationUUID: 1c217567-5093-41f5-86e6-22c97ef24e75 - version: '1.0' - name: Alloted resource - description: This is a VFC- Allotted resource - type: VFC - category: Allotted Resource - subcategory: Allotted Resource - properties: - role: name - ecomp_naming: - naming_policy: test - ecomp_generated_naming: false - supplemental_data: - Key1: key1 - providing_service_invariant_uuid: 34a4d119-06bc-4ab4-8c5a-a498d638297c - min_instances: 1 - max_instances: 1 - providing_service_uuid: e14a509f-b611-4b30-b38c-bc7f11b679aa - providing_service_name: vVIGaaS - ecomp_homing: - instance_node_target: Test - homing_policy: Test - supplemental_data: - Key: key - ecomp_selected_instance_node_target: false - FSB1: - capabilities: - monitoring_capabilty: - properties: - name: high_cpu - nfv_compute: - properties: - vfc_flavor: - get_input: fsb1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: FSB1 - vfc_ecomp_name: false - vfc_image_name: - get_input: fsb1_vfc_image_name - vfc_instance_name: - get_input: fsb1_vfc_instance_name - vfc_type_tag: - get_input: fsb1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - FSB2: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: fsb2_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: FSB2 - vfc_ecomp_name: false - vfc_image_name: - get_input: fsb2_vfc_image_name - vfc_instance_name: - get_input: fsb2_vfc_instance_name - vfc_type_tag: - get_input: fsb2_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb2_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb2_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb2_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - NCB1: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: ncb1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: NCB1 - vfc_ecomp_name: false - vfc_image_name: - get_input: ncb1_vfc_image_name - vfc_instance_name: - get_input: ncb1_vfc_instance_name - vfc_type_tag: - get_input: ncb1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - substitution_mappings: - node_type: org.openecomp.resource.vf.AllottedResource - capabilities: - Alloted resource 1.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - requirements: - Alloted resource 1.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - Alloted resource 1.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testAllotedResourceWithDependingSerWithGroups/service-ServiceWithAllottedResourceIpmux-template_WithGroups.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testAllotedResourceWithDependingSerWithGroups/service-ServiceWithAllottedResourceIpmux-template_WithGroups.yml deleted file mode 100644 index 1fba2e727f..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testAllotedResourceWithDependingSerWithGroups/service-ServiceWithAllottedResourceIpmux-template_WithGroups.yml +++ /dev/null @@ -1,62 +0,0 @@ -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| -tosca_definitions_version: tosca_simple_yaml_1_0 -metadata: - invariantUUID: faa4359b-6ecf-4eeb-9960-6440d4cf1f2f - UUID: 614316ee-94ae-41b3-b59a-46e87d3d91a5 - name: Service with allotted resource IPMUX - description: safa - type: Service - category: Mobility - serviceEcompNaming: false - serviceHoming: false -imports: -- Allotted Resource: - file: resource-AllottedResource-template.yml -topology_template: - node_templates: - allottedresource1: - type: org.openecomp.resource.vf.AllottedResource - metadata: - invariantUUID: a54a5235-b69d-4f8a-838b-d011e6783fa5 - UUID: f32afdc3-6308-4f0c-a476-0d39c8a1fb4d - customizationUUID: 958fb310-184f-463d-b634-1660a626f320 - version: '0.2' - name: Allotted Resource - description: This is a VF - Allotted resource - type: VF - category: Allotted Resource - subcategory: IP Mux Demux - groups: { - } - substitution_mappings: - node_type: org.openecomp.service.ServiceWithAllottedResourceIpmux - capabilities: - Allotted Resource 1.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - requirements: - Allotted Resource 1.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - Allotted Resource 1.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration10/service_vmme_template_1.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration10/service_vmme_template_1.yml deleted file mode 100644 index 4a16e555ff..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration10/service_vmme_template_1.yml +++ /dev/null @@ -1,194 +0,0 @@ -tosca_definitions_version: tosca_simple_profile_for_ecomp_1_0 - -description: Service Template for deploing MME Service - -metadata: - invariantUUID: e255f20c-5331-4245-9ad5-8861a73080b7 - UUID: 7787da18-7516-40cf-bec0-ebd4202c60f0 - type: Service - name: - description: vMME_Service - category: Mobility - serviceEcompNaming: false - serviceHoming: false - -imports: - vmmeToscaTemplate: - file: vf_vmme_template_1.yml - -topology_template: - - inputs: - mme_vf_instance_name: - type: string - description: VF instance name - mme_vf_deployment_node: - type: string - description: The target LCP node for deployment of this VF instance - gtp_net_network_name: - type: string - description: The GTP network route targets - default: MME-24474-Ericsson-WTC-lab_gn_GTP_net_1 # HEAT ENV - gtp_net_route_targets: - type: string - description: The GTP network route targets - default: "13979:105715" # HEAT ENV - gtp_net_cidr: - type: string - description: The GTP network cidr - default: 107.243.37.64/27 # HEAT ENV - gtp_net_gateway_ip: - type: string - description: The GTP network gateway - default: 107.243.37.65 # HEAT ENV - gtp_net_start_ip: - type: string - description: The GTP network start ip - default: 107.243.37.67 # HEAT ENV - gtp_net_end_ip: - type: string - description: The GTP network end ip - default: 107.243.37.94 # HEAT ENV - # more inputs were removed for brevity - - node_templates: - - mme: # vMME VNF - type: org.openecomp.resource.vf.vmme - - metadata: - invariantUUID: b8643c59-e2c2-4f86-880d-571d4d9d5d22 - UUID: b020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc - version: 1.0 - name: vMME_VF - description: vMME_VF - type: VF - category: Application L4+ - subcategory: Firewall - resourceVendor: Ericsson - - properties: - vf_ecomp_name: false - vf_instance_name: { get_input: vf_instance_name } - vf_homing: false - vf_deployment_node: { get_input: vf_deployment_node } - - requirements: - - vlc1_sctp_a.link: - capability: tosca.capabilities.network.Bindable - node: sctp_a_net - relationship: tosca.relationships.network.BindsTo - - vlc1_sctp_b.link: - capability: tosca.capabilities.network.Bindable - node: sctp_b_net - relationship: tosca.relationships.network.BindsTo - - vlc1_gtp_net.link: - capability: tosca.capabilities.network.Bindable - node: gtp_net - relationship: tosca.relationships.network.BindsTo - - - - # Virtual Links (Networks) - - gtp_net: - type: org.openecomp.resource.vl.VL - metadata: - invariantUUID: ab2995c59-ff34-4f86-a60d-371d4d9d1896 - UUID: 101a0ed2e-a12d-ff20-004e-cc7af4daffc3 - version: 1.0 - name: GTPNet - description: GTP External Network - type: VL - category: VL - resourceVendor: AT&T - properties: - network_type: Tenant_Layer_3 - network_technology: Contrail - network_ecomp_name: false - network_homing: false - network_deployment_node: { get_input : network_deployment_node } - contrail_virtual_network: - network_name: {get_input: gtp_net_network_name} - route_targets: {get_input: gtp_net_route_targets} - network_id: - layer_protocol: IP - flow_pattern: E-LAN - test_access: none - l3_access_parameters: - ip_version: 4 - cidr: {get_input: gtp_net_cidr} - gateway_ip: {get_input: gtp_net_gateway_ip} - start_ip: {get_input: gtp_net_start_ip} - end_ip: {get_input: gtp_net_end_ip} - - sctp_a_net: - type: org.openecomp.resource.vl.VL - metadata: - invariantUUID: 29205c59-1111-4f86-880d-371d4d9dc999 - UUID: 1890ed2e-abcd-3f20-124e-cc7af4da4321 - version: 1.0 - name: SCTPANet - description: SCTP A External Network - type: VL - category: VL - resourceVendor: AT&T - properties: - network_type: Tenant_Layer_3 - network_technology: Contrail - network_ecomp_name: false - network_homing: false - network_deployment_node: { get_input : network_deployment_node } - contrail_virtual_network: - network_name: MME-24474-Ericsson-WTC-lab_gn_SCTPA_net_1 - route_targets: 13979:105717 - layer_protocol: IP - flow_pattern: E-LAN - test_access: none - l3_access_parameters: - ip_version: 4 - cidr: 107.243.37.0/27 # HEAT ENV - gateway_ip: 107.243.37.1 # HEAT ENV - start_ip: 107.243.37.3 # HEAT ENV - end_ip: 107.243.37.30 # HEAT ENV - - sctp_b_net: - type: org.openecomp.resource.vl.VL - metadata: - invariantUUID: 89595c59-2134-4f86-880d-371d4d9d12a6 - UUID: 1af0ed2e-abcd-3f20-834e-cc7af4dafc45 - version: 1.0 - name: SCTPBNet - description: SCTP B External Network - type: VL - category: VL - resourceVendor: AT&T - properties: - network_type: Tenant_Layer_3 - network_technology: Contrail - network_ecomp_name: false - network_homing: false - network_deployment_node: { get_input : network_deployment_node } - contrail_virtual_network: - network_name: MME-24474-Ericsson-WTC-lab_gn_SCTPB_net_1 - route_targets: 13979:105719 - network_id: - layer_protocol: IP - flow_pattern: E-LAN - test_access: none - l3_access_parameters: - ip_version: 4 - cidr: 107.243.37.32/24 # HEAT ENV - gateway_ip: 107.243.37.33 # HEAT ENV - start_ip: 107.243.37.35 # HEAT ENV - end_ip: 107.243.37.62 # HEAT ENV - - groups: - - external_networks: # vMME_External_Network - type: org.openecomp.groups.externalNetworks - properties: - contrail_service_instance: true # from HEAT - availability_zone_count: 1 # from HEAT - - members: [ sctp_a_net, sctp_b_net, gtp_net ] diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration15/resource-IpMuxDemux-template.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration15/resource-IpMuxDemux-template.yml deleted file mode 100644 index 5b4ffd971e..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration15/resource-IpMuxDemux-template.yml +++ /dev/null @@ -1,83 +0,0 @@ -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| -tosca_definitions_version: tosca_simple_yaml_1_0 -metadata: - invariantUUID: ec95fbf0-5d05-4fea-a11e-27869c0032e2 - UUID: 41e4949f-85b3-4bc5-b7a2-2c166bf87270 - name: IP_Mux_Demux - description: nbvnbb - type: VF - category: Allotted Resource - subcategory: IP Mux Demux - resourceVendor: stella - resourceVendorRelease: '1.0' -imports: -- newAllotted: - file: resource-Newallotted-template.yml -topology_template: - inputs: - role: - type: string - ecomp_naming: - type: string - max_instances: - type: string - min_instances: - type: string - ecomp_homing: - type: string - node_templates: - allotedresource1: - type: org.openecomp.resource.vfc.AllottedResource - metadata: - invariantUUID: cce8d00f-1a7a-439d-b186-207599f8bbf2 - UUID: 468a08a2-10a7-4ee7-86eb-dcf2e74a028f - customizationUUID: e7a3e375-9bec-4552-88d2-26cb5dcf580d - version: '1.0' - name: newAllotted - description: vcxvcx - type: VFC - category: Allotted Resource - subcategory: IP Mux Demux - properties: - ecomp_naming: - naming_policy: - get input: ecomp_naming - providing_service_invariant_uuid: 2bec5c69-b64e-4ffe-b74a-62f14d255d46 - min_instances: 1 - max_instances: 1 - providing_service_uuid: 8ca1e477-77ec-47ed-a498-303fd0de9080 - providing_service_name: ServiceAllMichael1801 - groups: { - } - substitution_mappings: - node_type: org.openecomp.resource.vf.IpMuxDemux - capabilities: - Alloted resource 1.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - requirements: - Alloted resource 1.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - Alloted resource 1.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration15/resource-TunnelXconn-template.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration15/resource-TunnelXconn-template.yml deleted file mode 100644 index 434757d30e..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration15/resource-TunnelXconn-template.yml +++ /dev/null @@ -1,83 +0,0 @@ -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| -tosca_definitions_version: tosca_simple_yaml_1_0 -metadata: - invariantUUID: fadbb726-37b6-4939-ba78-9e86974232c5 - UUID: 68d68207-007a-49f3-a9ae-5f88757d5061 - name: Tunnel_XConn - description: stella - type: VF - category: Allotted Resource - subcategory: Tunnel XConnect - resourceVendor: stella - resourceVendorRelease: '1.0' -imports: -- newAllotted: - file: resource-Newallotted-template.yml -topology_template: - inputs: - role: - type: string - ecomp_naming: - type: string - max_instances: - type: string - min_instances: - type: string - ecomp_homing: - type: string - node_templates: - allotedresource1: - type: org.openecomp.resource.vfc.AllottedResource - metadata: - invariantUUID: cce8d00f-1a7a-439d-b186-207599f8bbf2 - UUID: 468a08a2-10a7-4ee7-86eb-dcf2e74a028f - customizationUUID: a92f5f2e-fe08-4711-84f6-2e64608aca13 - version: '1.0' - name: newAllotted - description: vcxvcx - type: VFC - category: Allotted Resource - subcategory: IP Mux Demux - properties: - ecomp_naming: - naming_policy: - get input: ecomp_naming - providing_service_invariant_uuid: c964ef13-9d61-4d1b-a1a6-7060f3d7ddb4 - min_instances: 1 - max_instances: 1 - providing_service_uuid: 3d6f84f5-84fd-441a-8fd8-401f71196712 - providing_service_name: ServiceSprint38stella - groups: { - } - substitution_mappings: - node_type: org.openecomp.resource.vf.TunnelXconn - capabilities: - Alloted resource 1.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - requirements: - Alloted resource 1.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - Alloted resource 1.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration15/service-Allottedipmux-template.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration15/service-Allottedipmux-template.yml deleted file mode 100644 index 449e0925d5..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration15/service-Allottedipmux-template.yml +++ /dev/null @@ -1,126 +0,0 @@ -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| -tosca_definitions_version: tosca_simple_yaml_1_0 -metadata: - invariantUUID: 9c5b8e77-6ae1-4817-994f-a14a03635868 - UUID: 2722acbc-a8cb-4d73-ab14-9b2d79dc2131 - name: AllottedIPMux - description: cbvbv - type: Service - category: Mobility - serviceEcompNaming: false - serviceHoming: false -imports: -- Tunnel_XConn: - file: resource-TunnelXconn-template.yml -- IP_Mux_Demux: - file: resource-IpMuxDemux-template.yml -topology_template: - node_templates: - Tunnel_XConn 3: - type: org.openecomp.resource.vf.TunnelXconn - metadata: - invariantUUID: fadbb726-37b6-4939-ba78-9e86974232c5 - UUID: 68d68207-007a-49f3-a9ae-5f88757d5061 - customizationUUID: ae051f74-0d64-40f8-877b-791330cd7801 - version: '1.0' - name: Tunnel_XConn - description: stella - type: VF - category: Allotted Resource - subcategory: Tunnel XConnect - IP_Mux_Demux 2: - type: org.openecomp.resource.vf.IpMuxDemux - metadata: - invariantUUID: ec95fbf0-5d05-4fea-a11e-27869c0032e2 - UUID: 41e4949f-85b3-4bc5-b7a2-2c166bf87270 - customizationUUID: 8cb6b8f7-a9bc-4745-92bd-f815f68fa6bc - version: '1.0' - name: IP_Mux_Demux - description: nbvnbb - type: VF - category: Allotted Resource - subcategory: IP Mux Demux - IP_Mux_Demux 1: - type: org.openecomp.resource.vf.IpMuxDemux - metadata: - invariantUUID: ec95fbf0-5d05-4fea-a11e-27869c0032e2 - UUID: 41e4949f-85b3-4bc5-b7a2-2c166bf87270 - customizationUUID: 7801f43f-f3f6-453f-89ea-4c182c569ad6 - version: '1.0' - name: IP_Mux_Demux - description: nbvnbb - type: VF - category: Allotted Resource - subcategory: IP Mux Demux - groups: { - } - substitution_mappings: - node_type: org.openecomp.service.Allottedipmux - capabilities: - IP_Mux_Demux 1.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - Tunnel_XConn 3.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - IP_Mux_Demux 2.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - requirements: - Tunnel_XConn 3.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - IP_Mux_Demux 2.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - IP_Mux_Demux 2.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn - IP_Mux_Demux 1.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn - IP_Mux_Demux 1.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - Tunnel_XConn 3.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration16/resource-AllottedResource-template_IpMux.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration16/resource-AllottedResource-template_IpMux.yml deleted file mode 100644 index 84b412d591..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration16/resource-AllottedResource-template_IpMux.yml +++ /dev/null @@ -1,78 +0,0 @@ -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| -tosca_definitions_version: tosca_simple_yaml_1_0 -metadata: - invariantUUID: a54a5235-b69d-4f8a-838b-d011e6783fa5 - UUID: f32afdc3-6308-4f0c-a476-0d39c8a1fb4d - name: Allotted Resource - description: This is a VF - Allotted resource - type: VF - category: Allotted Resource - subcategory: IP Mux Demux - resourceVendor: '1' - resourceVendorRelease: '1' -imports: -- Alloted resource: - file: resource-AllotedResource-template.yml -topology_template: - node_templates: - allotedresource1: - type: org.openecomp.resource.vfc.AllottedResource123 - metadata: - invariantUUID: 666b409b-5614-41a8-945e-a53d68f5d439 - UUID: df0c1c4d-1756-4b2a-998e-73f9f4d77afa - customizationUUID: 1c217567-5093-41f5-86e6-22c97ef24e75 - version: '1.0' - name: Alloted resource - description: This is a VFC- Allotted resource - type: VFC - category: Allotted Resource123 - subcategory: Allotted Resource - properties: - role: name - ecomp_naming: - naming_policy: test - ecomp_generated_naming: false - supplemental_data: - Key1: key1 - max_instances: 1 - min_instances: 1 - ecomp_homing: - instance_node_target: Test - homing_policy: Test - supplemental_data: - Key: key - ecomp_selected_instance_node_target: false - groups: { - } - substitution_mappings: - node_type: org.openecomp.resource.vf.AllottedResource - capabilities: - Alloted resource 1.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - requirements: - Alloted resource 1.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - Alloted resource 1.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration16/service-ServiceWithAllottedResourceIpmux-template.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration16/service-ServiceWithAllottedResourceIpmux-template.yml deleted file mode 100644 index 1fba2e727f..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration16/service-ServiceWithAllottedResourceIpmux-template.yml +++ /dev/null @@ -1,62 +0,0 @@ -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| -tosca_definitions_version: tosca_simple_yaml_1_0 -metadata: - invariantUUID: faa4359b-6ecf-4eeb-9960-6440d4cf1f2f - UUID: 614316ee-94ae-41b3-b59a-46e87d3d91a5 - name: Service with allotted resource IPMUX - description: safa - type: Service - category: Mobility - serviceEcompNaming: false - serviceHoming: false -imports: -- Allotted Resource: - file: resource-AllottedResource-template.yml -topology_template: - node_templates: - allottedresource1: - type: org.openecomp.resource.vf.AllottedResource - metadata: - invariantUUID: a54a5235-b69d-4f8a-838b-d011e6783fa5 - UUID: f32afdc3-6308-4f0c-a476-0d39c8a1fb4d - customizationUUID: 958fb310-184f-463d-b634-1660a626f320 - version: '0.2' - name: Allotted Resource - description: This is a VF - Allotted resource - type: VF - category: Allotted Resource - subcategory: IP Mux Demux - groups: { - } - substitution_mappings: - node_type: org.openecomp.service.ServiceWithAllottedResourceIpmux - capabilities: - Allotted Resource 1.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - requirements: - Allotted Resource 1.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - Allotted Resource 1.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration17/resource-AllottedResource1SameInvariant-IpMux-template.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration17/resource-AllottedResource1SameInvariant-IpMux-template.yml deleted file mode 100644 index 2852d03568..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration17/resource-AllottedResource1SameInvariant-IpMux-template.yml +++ /dev/null @@ -1,81 +0,0 @@ -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| -tosca_definitions_version: tosca_simple_yaml_1_0 -metadata: - invariantUUID: a54a5235-b69d-4f8a-838b-d011e6783fa5 - UUID: f32afdc3-6308-4f0c-a476-0d39c8a1fb4d - name: Allotted Resource - description: This is a VF - Allotted resource - type: VF - category: Allotted Resource - subcategory: IP Mux Demux - resourceVendor: '1' - resourceVendorRelease: '1' -imports: -- Alloted resource: - file: resource-AllotedResource-template.yml -topology_template: - node_templates: - allotedresource1: - type: org.openecomp.resource.vfc.AllottedResource - metadata: - invariantUUID: 666b409b-5614-41a8-945e-a53d68f5d439 - UUID: df0c1c4d-1756-4b2a-998e-73f9f4d77afa - customizationUUID: 1c217567-5093-41f5-86e6-22c97ef24e75 - version: '1.0' - name: Alloted resource - description: This is a VFC- Allotted resource - type: VFC - category: Allotted Resource - subcategory: Allotted Resource - properties: - role: name - ecomp_naming: - naming_policy: test - ecomp_generated_naming: false - supplemental_data: - Key1: key1 - providing_service_invariant_uuid: 34a4d119-06bc-4ab4-8c5a-a498d638297c - min_instances: 1 - max_instances: 1 - providing_service_uuid: e14a509f-b611-4b30-b38c-bc7f11b679aa - providing_service_name: vVIGaaS - ecomp_homing: - instance_node_target: Test - homing_policy: Test - supplemental_data: - Key: key - ecomp_selected_instance_node_target: false - groups: { - } - substitution_mappings: - node_type: org.openecomp.resource.vf.AllottedResource - capabilities: - Alloted resource 1.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - requirements: - Alloted resource 1.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - Alloted resource 1.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration17/resource-AllottedResource2SameInvariant-IpMux-template.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration17/resource-AllottedResource2SameInvariant-IpMux-template.yml deleted file mode 100644 index 0986300436..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration17/resource-AllottedResource2SameInvariant-IpMux-template.yml +++ /dev/null @@ -1,81 +0,0 @@ -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| -tosca_definitions_version: tosca_simple_yaml_1_0 -metadata: - invariantUUID: a54a5235-b69d-4f8a-838b-d011e6783fa5 - UUID: f64afdc3-6308-4f0c-a476-0d39c8a1fb4d - name: Allotted Resource - description: This is a VF - Allotted resource - type: VF - category: Allotted Resource - subcategory: IP Mux Demux - resourceVendor: '1' - resourceVendorRelease: '1' -imports: -- Alloted resource: - file: resource-AllotedResource-template.yml -topology_template: - node_templates: - allotedresource1: - type: org.openecomp.resource.vfc.AllottedResource - metadata: - invariantUUID: 666b409b-5614-41a8-945e-a53d68f5d439 - UUID: df0c1c4d-1756-4b2a-998e-73f9f4d77afa - customizationUUID: 1c217567-5093-41f5-86e6-22c97ef24e75 - version: '1.0' - name: Alloted resource - description: This is a VFC- Allotted resource - type: VFC - category: Allotted Resource - subcategory: Allotted Resource - properties: - role: name - ecomp_naming: - naming_policy: test - ecomp_generated_naming: false - supplemental_data: - Key1: key1 - providing_service_invariant_uuid: 34a4d119-06bc-4ab4-8c5a-a498d638297c - min_instances: 1 - max_instances: 1 - providing_service_uuid: e24a509f-b611-4b30-b38c-bc7f11b679aa - providing_service_name: vVIGaaS - ecomp_homing: - instance_node_target: Test - homing_policy: Test - supplemental_data: - Key: key - ecomp_selected_instance_node_target: false - groups: { - } - substitution_mappings: - node_type: org.openecomp.resource.vf.AllottedResource - capabilities: - Alloted resource 1.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - requirements: - Alloted resource 1.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - Alloted resource 1.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration17/service-ServiceWithAllottedResourcesIpMuxSameInvariant-template.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration17/service-ServiceWithAllottedResourcesIpMuxSameInvariant-template.yml deleted file mode 100644 index efd2dea67a..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration17/service-ServiceWithAllottedResourcesIpMuxSameInvariant-template.yml +++ /dev/null @@ -1,74 +0,0 @@ -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| -tosca_definitions_version: tosca_simple_yaml_1_0 -metadata: - invariantUUID: faa4359b-6ecf-4eeb-9960-6440d4cf1f2f - UUID: 614316ee-94ae-41b3-b59a-46e87d3d91a5 - name: Service with allotted resource IPMUX - description: safa - type: Service - category: Mobility - serviceEcompNaming: false - serviceHoming: false -imports: -- Allotted Resource: - file: resource-AllottedResource-template.yml -topology_template: - node_templates: - allottedresource1: - type: org.openecomp.resource.vf.AllottedResource - metadata: - invariantUUID: a54a5235-b69d-4f8a-838b-d011e6783fa5 - UUID: f32afdc3-6308-4f0c-a476-0d39c8a1fb4d - customizationUUID: 958fb310-184f-463d-b634-1660a626f320 - version: '0.2' - name: Allotted Resource - description: This is a VF - Allotted resource - type: VF - category: Allotted Resource - subcategory: IP Mux Demux - allottedresource2: - type: org.openecomp.resource.vf.AllottedResource - metadata: - invariantUUID: a54a5235-b69d-4f8a-838b-d011e6783fa5 - UUID: f64afdc3-6308-4f0c-a476-0d39c8a1fb4d - customizationUUID: 958fb310-184f-463d-b634-1660a626f320 - version: '0.3' - name: Allotted Resource - description: This is a VF - Allotted resource - type: VF - category: Allotted Resource - subcategory: IP Mux Demux - groups: { - } - substitution_mappings: - node_type: org.openecomp.service.ServiceWithAllottedResourceIpmux - capabilities: - Allotted Resource 1.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - requirements: - Allotted Resource 1.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - Allotted Resource 1.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration18/resource-AllottedResourceSameInvariantSameVers-IpMux-template.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration18/resource-AllottedResourceSameInvariantSameVers-IpMux-template.yml deleted file mode 100644 index 2852d03568..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration18/resource-AllottedResourceSameInvariantSameVers-IpMux-template.yml +++ /dev/null @@ -1,81 +0,0 @@ -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| -tosca_definitions_version: tosca_simple_yaml_1_0 -metadata: - invariantUUID: a54a5235-b69d-4f8a-838b-d011e6783fa5 - UUID: f32afdc3-6308-4f0c-a476-0d39c8a1fb4d - name: Allotted Resource - description: This is a VF - Allotted resource - type: VF - category: Allotted Resource - subcategory: IP Mux Demux - resourceVendor: '1' - resourceVendorRelease: '1' -imports: -- Alloted resource: - file: resource-AllotedResource-template.yml -topology_template: - node_templates: - allotedresource1: - type: org.openecomp.resource.vfc.AllottedResource - metadata: - invariantUUID: 666b409b-5614-41a8-945e-a53d68f5d439 - UUID: df0c1c4d-1756-4b2a-998e-73f9f4d77afa - customizationUUID: 1c217567-5093-41f5-86e6-22c97ef24e75 - version: '1.0' - name: Alloted resource - description: This is a VFC- Allotted resource - type: VFC - category: Allotted Resource - subcategory: Allotted Resource - properties: - role: name - ecomp_naming: - naming_policy: test - ecomp_generated_naming: false - supplemental_data: - Key1: key1 - providing_service_invariant_uuid: 34a4d119-06bc-4ab4-8c5a-a498d638297c - min_instances: 1 - max_instances: 1 - providing_service_uuid: e14a509f-b611-4b30-b38c-bc7f11b679aa - providing_service_name: vVIGaaS - ecomp_homing: - instance_node_target: Test - homing_policy: Test - supplemental_data: - Key: key - ecomp_selected_instance_node_target: false - groups: { - } - substitution_mappings: - node_type: org.openecomp.resource.vf.AllottedResource - capabilities: - Alloted resource 1.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - requirements: - Alloted resource 1.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - Alloted resource 1.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration18/service-ServiceWithAllottedResourcesIpMuxSameInvariantSameVers-template.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration18/service-ServiceWithAllottedResourcesIpMuxSameInvariantSameVers-template.yml deleted file mode 100644 index 08c5329212..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration18/service-ServiceWithAllottedResourcesIpMuxSameInvariantSameVers-template.yml +++ /dev/null @@ -1,74 +0,0 @@ -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| -tosca_definitions_version: tosca_simple_yaml_1_0 -metadata: - invariantUUID: faa4359b-6ecf-4eeb-9960-6440d4cf1f2f - UUID: 614316ee-94ae-41b3-b59a-46e87d3d91a5 - name: Service with allotted resource IPMUX - description: safa - type: Service - category: Mobility - serviceEcompNaming: false - serviceHoming: false -imports: -- Allotted Resource: - file: resource-AllottedResource-template.yml -topology_template: - node_templates: - allottedresource1: - type: org.openecomp.resource.vf.AllottedResource - metadata: - invariantUUID: a54a5235-b69d-4f8a-838b-d011e6783fa5 - UUID: f32afdc3-6308-4f0c-a476-0d39c8a1fb4d - customizationUUID: 958fb310-184f-463d-b634-1660a626f320 - version: '0.2' - name: Allotted Resource - description: This is a VF - Allotted resource - type: VF - category: Allotted Resource - subcategory: IP Mux Demux - allottedresource2: - type: org.openecomp.resource.vf.AllottedResource - metadata: - invariantUUID: a54a5235-b69d-4f8a-838b-d011e6783fa5 - UUID: f32afdc3-6308-4f0c-a476-0d39c8a1fb4d - customizationUUID: 958fb310-184f-463d-b634-1660a626f320 - version: '0.2' - name: Allotted Resource - description: This is a VF - Allotted resource - type: VF - category: Allotted Resource - subcategory: IP Mux Demux - groups: { - } - substitution_mappings: - node_type: org.openecomp.service.ServiceWithAllottedResourceIpmux - capabilities: - Allotted Resource 1.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - requirements: - Allotted Resource 1.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - Allotted Resource 1.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration2/Resource0-template.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration2/Resource0-template.yml deleted file mode 100644 index 49666f9bae..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration2/Resource0-template.yml +++ /dev/null @@ -1,24 +0,0 @@ - # _______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| -tosca_definitions_version: tosca_simple_yaml_1_0 -metadata: - invariantUUID: 461a4839-2572-4dc1-b3be-dcb4c1908764 - UUID: bca09900-d37a-48db-8cd2-de014b2fdbba - name: resource_0 - description: description - type: VF - category: Generic - subcategory: Infrastructure - resourceVendor: vendor name - resourceVendorRelease: vendor release -topology_template: - substitution_mapping: - node_type: org.openecomp.resource.vf.Resource0 - # _______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration4/service_vmme_template_1.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration4/service_vmme_template_1.yml deleted file mode 100644 index 76bb35ceec..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration4/service_vmme_template_1.yml +++ /dev/null @@ -1,194 +0,0 @@ -tosca_definitions_version: tosca_simple_profile_for_ecomp_1_0 - -description: Service Template for deploing MME Service - -metadata: - invariantUUID: e255f20c-5331-4245-9ad5-8861a73080b7 - UUID: 7787da18-7516-40cf-bec0-ebd4202c60f0 - type: Service - name: vMME_Service - description: vMME_Service - category: Mobility - serviceEcompNaming: false - serviceHoming: false - -imports: - vmmeToscaTemplate: - file: vf_vmme_template_1.yml - -topology_template: - - inputs: - mme_vf_instance_name: - type: string - description: VF instance name - mme_vf_deployment_node: - type: string - description: The target LCP node for deployment of this VF instance - gtp_net_network_name: - type: string - description: The GTP network route targets - default: MME-24474-Ericsson-WTC-lab_gn_GTP_net_1 # HEAT ENV - gtp_net_route_targets: - type: string - description: The GTP network route targets - default: "13979:105715" # HEAT ENV - gtp_net_cidr: - type: string - description: The GTP network cidr - default: 107.243.37.64/27 # HEAT ENV - gtp_net_gateway_ip: - type: string - description: The GTP network gateway - default: 107.243.37.65 # HEAT ENV - gtp_net_start_ip: - type: string - description: The GTP network start ip - default: 107.243.37.67 # HEAT ENV - gtp_net_end_ip: - type: string - description: The GTP network end ip - default: 107.243.37.94 # HEAT ENV - # more inputs were removed for brevity - - node_templates: - - mme: # vMME VNF - type: org.openecomp.resource.vasf.vmme - - metadata: - invariantUUID: b8643c59-e2c2-4f86-880d-571d4d9d5d22 - UUID: b020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc - version: 1.0 - name: vMME_VF - description: vMME_VF - type: VF - category: Application L4+ - subcategory: Firewall - resourceVendor: Ericsson - - properties: - vf_ecomp_name: false - vf_instance_name: { get_input: vf_instance_name } - vf_homing: false - vf_deployment_node: { get_input: vf_deployment_node } - - requirements: - - vlc1_sctp_a.link: - capability: tosca.capabilities.network.Bindable - node: sctp_a_net - relationship: tosca.relationships.network.BindsTo - - vlc1_sctp_b.link: - capability: tosca.capabilities.network.Bindable - node: sctp_b_net - relationship: tosca.relationships.network.BindsTo - - vlc1_gtp_net.link: - capability: tosca.capabilities.network.Bindable - node: gtp_net - relationship: tosca.relationships.network.BindsTo - - - - # Virtual Links (Networks) - - gtp_net: - type: org.openecomp.resource.vsl.VL - metadata: - invariantUUID: ab2995c59-ff34-4f86-a60d-371d4d9d1896 - UUID: 101a0ed2e-a12d-ff20-004e-cc7af4daffc3 - version: 1.0 - name: GTPNet - description: GTP External Network - type: VL - category: VL - resourceVendor: AT&T - properties: - network_type: Tenant_Layer_3 - network_technology: Contrail - network_ecomp_name: false - network_homing: false - network_deployment_node: { get_input : network_deployment_node } - contrail_virtual_network: - network_name: {get_input: gtp_net_network_name} - route_targets: {get_input: gtp_net_route_targets} - network_id: - layer_protocol: IP - flow_pattern: E-LAN - test_access: none - l3_access_parameters: - ip_version: 4 - cidr: {get_input: gtp_net_cidr} - gateway_ip: {get_input: gtp_net_gateway_ip} - start_ip: {get_input: gtp_net_start_ip} - end_ip: {get_input: gtp_net_end_ip} - - sctp_a_net: - type: org.openecomp.resource.vasl.VL - metadata: - invariantUUID: 29205c59-1111-4f86-880d-371d4d9dc999 - UUID: 1890ed2e-abcd-3f20-124e-cc7af4da4321 - version: 1.0 - name: SCTPANet - description: SCTP A External Network - type: VL - category: VL - resourceVendor: AT&T - properties: - network_type: Tenant_Layer_3 - network_technology: Contrail - network_ecomp_name: false - network_homing: false - network_deployment_node: { get_input : network_deployment_node } - contrail_virtual_network: - network_name: MME-24474-Ericsson-WTC-lab_gn_SCTPA_net_1 - route_targets: 13979:105717 - layer_protocol: IP - flow_pattern: E-LAN - test_access: none - l3_access_parameters: - ip_version: 4 - cidr: 107.243.37.0/27 # HEAT ENV - gateway_ip: 107.243.37.1 # HEAT ENV - start_ip: 107.243.37.3 # HEAT ENV - end_ip: 107.243.37.30 # HEAT ENV - - sctp_b_net: - type: org.openecomp.resource.vasl.VL - metadata: - invariantUUID: 89595c59-2134-4f86-880d-371d4d9d12a6 - UUID: 1af0ed2e-abcd-3f20-834e-cc7af4dafc45 - version: 1.0 - name: SCTPBNet - description: SCTP B External Network - type: VL - category: VL - resourceVendor: AT&T - properties: - network_type: Tenant_Layer_3 - network_technology: Contrail - network_ecomp_name: false - network_homing: false - network_deployment_node: { get_input : network_deployment_node } - contrail_virtual_network: - network_name: MME-24474-Ericsson-WTC-lab_gn_SCTPB_net_1 - route_targets: 13979:105719 - network_id: - layer_protocol: IP - flow_pattern: E-LAN - test_access: none - l3_access_parameters: - ip_version: 4 - cidr: 107.243.37.32/24 # HEAT ENV - gateway_ip: 107.243.37.33 # HEAT ENV - start_ip: 107.243.37.35 # HEAT ENV - end_ip: 107.243.37.62 # HEAT ENV - - groups: - - external_networks: # vMME_External_Network - type: org.openecomp.groups.externalNetworks - properties: - contrail_service_instance: true # from HEAT - availability_zone_count: 1 # from HEAT - - members: [ sctp_a_net, sctp_b_net, gtp_net ] diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration5/service_vmme_template_1.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration5/service_vmme_template_1.yml deleted file mode 100644 index 338f5511bf..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration5/service_vmme_template_1.yml +++ /dev/null @@ -1,194 +0,0 @@ -tosca_definitions_version: tosca_simple_profile_for_ecomp_1_0 - -description: Service Template for deploing MME Service - -metadata: - invariantUUID: e255f20c-5331-4245-9ad5-8861a73080b7 - UUID: 7787da18-7516-40cf-bec0-ebd4202c60f0 - type: Service - name: vMME_Service - description: vMME_Service - category: Mobility - serviceEcompNaming: false - serviceHoming: false - -imports: - vmmeToscaTemplate: - file: vf_vmme_template_1.yml - -topology_template: - - inputs: - mme_vf_instance_name: - type: string - description: VF instance name - mme_vf_deployment_node: - type: string - description: The target LCP node for deployment of this VF instance - gtp_net_network_name: - type: string - description: The GTP network route targets - default: MME-24474-Ericsson-WTC-lab_gn_GTP_net_1 # HEAT ENV - gtp_net_route_targets: - type: string - description: The GTP network route targets - default: "13979:105715" # HEAT ENV - gtp_net_cidr: - type: string - description: The GTP network cidr - default: 107.243.37.64/27 # HEAT ENV - gtp_net_gateway_ip: - type: string - description: The GTP network gateway - default: 107.243.37.65 # HEAT ENV - gtp_net_start_ip: - type: string - description: The GTP network start ip - default: 107.243.37.67 # HEAT ENV - gtp_net_end_ip: - type: string - description: The GTP network end ip - default: 107.243.37.94 # HEAT ENV - # more inputs were removed for brevity - - node_templates: - - mme: # vMME VNF - type: org.openecomp.resource.vf.vmme - - metadata: - invariantUUID: b8643c59-e2c2-4f86-880d-571d4d9d5d22 - UUID: b020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc - version: 1.0 - name: vMME_VF - description: vMME_VF - type: VF - category: Application L4+ - subcategory: Firewall - resourceVendor: Ericsson - - properties: - vf_ecomp_name: false - vf_instance_name: { get_input: vf_instance_name } - vf_homing: false - vf_deployment_node: { get_input: vf_deployment_node } - - requirements: - - vlc1_sctp_a.link: - capability: tosca.capabilities.network.Bindable - node: sctp_a_net - relationship: tosca.relationships.network.BindsTo - - vlc1_sctp_b.link: - capability: tosca.capabilities.network.Bindable - node: sctp_b_net - relationship: tosca.relationships.network.BindsTo - - vlc1_gtp_net.link: - capability: tosca.capabilities.network.Bindable - node: gtp_net - relationship: tosca.relationships.network.BindsTo - - - - # Virtual Links (Networks) - - gtp_net: - type: org.openecomp.resource.vl.VL - metadata: - invariantUUID: ab2995c59-ff34-4f86-a60d-371d4d9d1896 - UUID: 101a0ed2e-a12d-ff20-004e-cc7af4daffc3 - version: 1.0 - name: GTPNet - description: GTP External Network - type: VL - category: VL - resourceVendor: AT&T - properties: - network_type: Tenant_Layer_3 - network_technology: Contrail - network_ecomp_name: false - network_homing: false - network_deployment_node: { get_input : network_deployment_node } - contrail_virtual_network: - network_name: {get_input: gtp_net_network_name} - route_targets: {get_input: gtp_net_route_targets} - network_id: - layer_protocol: IP - flow_pattern: E-LAN - test_access: none - l3_access_parameters: - ip_version: 4 - cidr: {get_input: gtp_net_cidr} - gateway_ip: {get_input: gtp_net_gateway_ip} - start_ip: {get_input: gtp_net_start_ip} - end_ip: {get_input: gtp_net_end_ip} - - sctp_a_net: - type: org.openecomp.resource.vl.VL - metadata: - invariantUUID: 29205c59-1111-4f86-880d-371d4d9dc999 - UUID: 1890ed2e-abcd-3f20-124e-cc7af4da4321 - version: 1.0 - name: SCTPANet - description: SCTP A External Network - type: VL - category: VL - resourceVendor: AT&T - properties: - network_type: Tenant_Layer_3 - network_technology: Contrail - network_ecomp_name: false - network_homing: false - network_deployment_node: { get_input : network_deployment_node } - contrail_virtual_network: - network_name: MME-24474-Ericsson-WTC-lab_gn_SCTPA_net_1 - route_targets: 13979:105717 - layer_protocol: IP - flow_pattern: E-LAN - test_access: none - l3_access_parameters: - ip_version: 4 - cidr: 107.243.37.0/27 # HEAT ENV - gateway_ip: 107.243.37.1 # HEAT ENV - start_ip: 107.243.37.3 # HEAT ENV - end_ip: 107.243.37.30 # HEAT ENV - - sctp_b_net: - type: org.openecomp.resource.vl.VL - metadata: - invariantUUID: 89595c59-2134-4f86-880d-371d4d9d12a6 - UUID: 1af0ed2e-abcd-3f20-834e-cc7af4dafc45 - version: 1.0 - name: SCTPBNet - description: SCTP B External Network - type: VL - category: VL - resourceVendor: AT&T - properties: - network_type: Tenant_Layer_3 - network_technology: Contrail - network_ecomp_name: false - network_homing: false - network_deployment_node: { get_input : network_deployment_node } - contrail_virtual_network: - network_name: MME-24474-Ericsson-WTC-lab_gn_SCTPB_net_1 - route_targets: 13979:105719 - network_id: - layer_protocol: IP - flow_pattern: E-LAN - test_access: none - l3_access_parameters: - ip_version: 4 - cidr: 107.243.37.32/24 # HEAT ENV - gateway_ip: 107.243.37.33 # HEAT ENV - start_ip: 107.243.37.35 # HEAT ENV - end_ip: 107.243.37.62 # HEAT ENV - - groups: - - external_networks: # vMME_External_Network - type: org.openecomp.groups.externalNetworks - properties: - contrail_service_instance: true # from HEAT - availability_zone_count: 1 # from HEAT - - members: [ sctp_a_net, sctp_b_net, gtp_net ] diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration6/Resource0-template.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration6/Resource0-template.yml deleted file mode 100644 index 49666f9bae..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration6/Resource0-template.yml +++ /dev/null @@ -1,24 +0,0 @@ - # _______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| -tosca_definitions_version: tosca_simple_yaml_1_0 -metadata: - invariantUUID: 461a4839-2572-4dc1-b3be-dcb4c1908764 - UUID: bca09900-d37a-48db-8cd2-de014b2fdbba - name: resource_0 - description: description - type: VF - category: Generic - subcategory: Infrastructure - resourceVendor: vendor name - resourceVendorRelease: vendor release -topology_template: - substitution_mapping: - node_type: org.openecomp.resource.vf.Resource0 - # _______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration6/service_vmme_template_1.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration6/service_vmme_template_1.yml deleted file mode 100644 index 4daeca3972..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration6/service_vmme_template_1.yml +++ /dev/null @@ -1,194 +0,0 @@ -tosca_definitions_version: tosca_simple_profile_for_ecomp_1_0 - -description: Service Template for deploing MME Service - -metadata: - invariantUUID: e255f20c-5331-4245-9ad5-8861a73080b7 - UUID: 7787da18-7516-40cf-bec0-ebd4202c60f0 - type: Service - name: vMME_Service - description: vMME_Service - category: Mobility - serviceEcompNaming: false - serviceHoming: false - -imports: - vmmeToscaTemplate: - file: vf_vmme_template_1.yml - -topology_template: - - inputs: - mme_vf_instance_name: - type: string - description: VF instance name - mme_vf_deployment_node: - type: string - description: The target LCP node for deployment of this VF instance - gtp_net_network_name: - type: string - description: The GTP network route targets - default: MME-24474-Ericsson-WTC-lab_gn_GTP_net_1 # HEAT ENV - gtp_net_route_targets: - type: string - description: The GTP network route targets - default: "13979:105715" # HEAT ENV - gtp_net_cidr: - type: string - description: The GTP network cidr - default: 107.243.37.64/27 # HEAT ENV - gtp_net_gateway_ip: - type: string - description: The GTP network gateway - default: 107.243.37.65 # HEAT ENV - gtp_net_start_ip: - type: string - description: The GTP network start ip - default: 107.243.37.67 # HEAT ENV - gtp_net_end_ip: - type: string - description: The GTP network end ip - default: 107.243.37.94 # HEAT ENV - # more inputs were removed for brevity - - node_templates: - - mme: # vMME VNF - type: org.openecomp.resource.vsf.vmme - - metadata: - invariantUUID: b8643c59-e2c2-4f86-880d-571d4d9d5d22 - UUID: b020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc - version: 1.0 - name: vMME_VF - description: vMME_VF - type: VF - category: Application L4+ - subcategory: Firewall - resourceVendor: Ericsson - - properties: - vf_ecomp_name: false - vf_instance_name: { get_input: vf_instance_name } - vf_homing: false - vf_deployment_node: { get_input: vf_deployment_node } - - requirements: - - vlc1_sctp_a.link: - capability: tosca.capabilities.network.Bindable - node: sctp_a_net - relationship: tosca.relationships.network.BindsTo - - vlc1_sctp_b.link: - capability: tosca.capabilities.network.Bindable - node: sctp_b_net - relationship: tosca.relationships.network.BindsTo - - vlc1_gtp_net.link: - capability: tosca.capabilities.network.Bindable - node: gtp_net - relationship: tosca.relationships.network.BindsTo - - - - # Virtual Links (Networks) - - gtp_net: - type: org.openecomp.resource.vsdl.VL - metadata: - invariantUUID: ab2995c59-ff34-4f86-a60d-371d4d9d1896 - UUID: 101a0ed2e-a12d-ff20-004e-cc7af4daffc3 - version: 1.0 - name: GTPNet - description: GTP External Network - type: VL - category: VL - resourceVendor: AT&T - properties: - network_type: Tenant_Layer_3 - network_technology: Contrail - network_ecomp_name: false - network_homing: false - network_deployment_node: { get_input : network_deployment_node } - contrail_virtual_network: - network_name: {get_input: gtp_net_network_name} - route_targets: {get_input: gtp_net_route_targets} - network_id: - layer_protocol: IP - flow_pattern: E-LAN - test_access: none - l3_access_parameters: - ip_version: 4 - cidr: {get_input: gtp_net_cidr} - gateway_ip: {get_input: gtp_net_gateway_ip} - start_ip: {get_input: gtp_net_start_ip} - end_ip: {get_input: gtp_net_end_ip} - - sctp_a_net: - type: org.openecomp.resource.vsdl.VL - metadata: - invariantUUID: 29205c59-1111-4f86-880d-371d4d9dc999 - UUID: 1890ed2e-abcd-3f20-124e-cc7af4da4321 - version: 1.0 - name: SCTPANet - description: SCTP A External Network - type: VL - category: VL - resourceVendor: AT&T - properties: - network_type: Tenant_Layer_3 - network_technology: Contrail - network_ecomp_name: false - network_homing: false - network_deployment_node: { get_input : network_deployment_node } - contrail_virtual_network: - network_name: MME-24474-Ericsson-WTC-lab_gn_SCTPA_net_1 - route_targets: 13979:105717 - layer_protocol: IP - flow_pattern: E-LAN - test_access: none - l3_access_parameters: - ip_version: 4 - cidr: 107.243.37.0/27 # HEAT ENV - gateway_ip: 107.243.37.1 # HEAT ENV - start_ip: 107.243.37.3 # HEAT ENV - end_ip: 107.243.37.30 # HEAT ENV - - sctp_b_net: - type: org.openecomp.resource.vsdl.VL - metadata: - invariantUUID: 89595c59-2134-4f86-880d-371d4d9d12a6 - UUID: 1af0ed2e-abcd-3f20-834e-cc7af4dafc45 - version: 1.0 - name: SCTPBNet - description: SCTP B External Network - type: VL - category: VL - resourceVendor: AT&T - properties: - network_type: Tenant_Layer_3 - network_technology: Contrail - network_ecomp_name: false - network_homing: false - network_deployment_node: { get_input : network_deployment_node } - contrail_virtual_network: - network_name: MME-24474-Ericsson-WTC-lab_gn_SCTPB_net_1 - route_targets: 13979:105719 - network_id: - layer_protocol: IP - flow_pattern: E-LAN - test_access: none - l3_access_parameters: - ip_version: 4 - cidr: 107.243.37.32/24 # HEAT ENV - gateway_ip: 107.243.37.33 # HEAT ENV - start_ip: 107.243.37.35 # HEAT ENV - end_ip: 107.243.37.62 # HEAT ENV - - groups: - - external_networks: # vMME_External_Network - type: org.openecomp.groups.externalNetworks - properties: - contrail_service_instance: true # from HEAT - availability_zone_count: 1 # from HEAT - - members: [ sctp_a_net, sctp_b_net, gtp_net ] diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration8/service_vmme_template_1.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration8/service_vmme_template_1.yml deleted file mode 100644 index ff9e604bf3..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration8/service_vmme_template_1.yml +++ /dev/null @@ -1,194 +0,0 @@ -tosca_definitions_version: tosca_simple_profile_for_ecomp_1_0 - -description: Service Template for deploing MME Service - -metadata: - invariantUUID: - UUID: 7787da18-7516-40cf-bec0-ebd4202c60f0 - type: Service - name: vMME_Service - description: vMME_Service - category: Mobility - serviceEcompNaming: false - serviceHoming: false - -imports: - vmmeToscaTemplate: - file: vf_vmme_template_1.yml - -topology_template: - - inputs: - mme_vf_instance_name: - type: string - description: VF instance name - mme_vf_deployment_node: - type: string - description: The target LCP node for deployment of this VF instance - gtp_net_network_name: - type: string - description: The GTP network route targets - default: MME-24474-Ericsson-WTC-lab_gn_GTP_net_1 # HEAT ENV - gtp_net_route_targets: - type: string - description: The GTP network route targets - default: "13979:105715" # HEAT ENV - gtp_net_cidr: - type: string - description: The GTP network cidr - default: 107.243.37.64/27 # HEAT ENV - gtp_net_gateway_ip: - type: string - description: The GTP network gateway - default: 107.243.37.65 # HEAT ENV - gtp_net_start_ip: - type: string - description: The GTP network start ip - default: 107.243.37.67 # HEAT ENV - gtp_net_end_ip: - type: string - description: The GTP network end ip - default: 107.243.37.94 # HEAT ENV - # more inputs were removed for brevity - - node_templates: - - mme: # vMME VNF - type: org.openecomp.resource.vf.vmme - - metadata: - invariantUUID: b8643c59-e2c2-4f86-880d-571d4d9d5d22 - UUID: b020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc - version: 1.0 - name: vMME_VF - description: vMME_VF - type: VF - category: Application L4+ - subcategory: Firewall - resourceVendor: Ericsson - - properties: - vf_ecomp_name: false - vf_instance_name: { get_input: vf_instance_name } - vf_homing: false - vf_deployment_node: { get_input: vf_deployment_node } - - requirements: - - vlc1_sctp_a.link: - capability: tosca.capabilities.network.Bindable - node: sctp_a_net - relationship: tosca.relationships.network.BindsTo - - vlc1_sctp_b.link: - capability: tosca.capabilities.network.Bindable - node: sctp_b_net - relationship: tosca.relationships.network.BindsTo - - vlc1_gtp_net.link: - capability: tosca.capabilities.network.Bindable - node: gtp_net - relationship: tosca.relationships.network.BindsTo - - - - # Virtual Links (Networks) - - gtp_net: - type: org.openecomp.resource.vl.VL - metadata: - invariantUUID: ab2995c59-ff34-4f86-a60d-371d4d9d1896 - UUID: 101a0ed2e-a12d-ff20-004e-cc7af4daffc3 - version: 1.0 - name: GTPNet - description: GTP External Network - type: VL - category: VL - resourceVendor: AT&T - properties: - network_type: Tenant_Layer_3 - network_technology: Contrail - network_ecomp_name: false - network_homing: false - network_deployment_node: { get_input : network_deployment_node } - contrail_virtual_network: - network_name: {get_input: gtp_net_network_name} - route_targets: {get_input: gtp_net_route_targets} - network_id: - layer_protocol: IP - flow_pattern: E-LAN - test_access: none - l3_access_parameters: - ip_version: 4 - cidr: {get_input: gtp_net_cidr} - gateway_ip: {get_input: gtp_net_gateway_ip} - start_ip: {get_input: gtp_net_start_ip} - end_ip: {get_input: gtp_net_end_ip} - - sctp_a_net: - type: org.openecomp.resource.vl.VL - metadata: - invariantUUID: 29205c59-1111-4f86-880d-371d4d9dc999 - UUID: 1890ed2e-abcd-3f20-124e-cc7af4da4321 - version: 1.0 - name: SCTPANet - description: SCTP A External Network - type: VL - category: VL - resourceVendor: AT&T - properties: - network_type: Tenant_Layer_3 - network_technology: Contrail - network_ecomp_name: false - network_homing: false - network_deployment_node: { get_input : network_deployment_node } - contrail_virtual_network: - network_name: MME-24474-Ericsson-WTC-lab_gn_SCTPA_net_1 - route_targets: 13979:105717 - layer_protocol: IP - flow_pattern: E-LAN - test_access: none - l3_access_parameters: - ip_version: 4 - cidr: 107.243.37.0/27 # HEAT ENV - gateway_ip: 107.243.37.1 # HEAT ENV - start_ip: 107.243.37.3 # HEAT ENV - end_ip: 107.243.37.30 # HEAT ENV - - sctp_b_net: - type: org.openecomp.resource.vl.VL - metadata: - invariantUUID: 89595c59-2134-4f86-880d-371d4d9d12a6 - UUID: 1af0ed2e-abcd-3f20-834e-cc7af4dafc45 - version: 1.0 - name: SCTPBNet - description: SCTP B External Network - type: VL - category: VL - resourceVendor: AT&T - properties: - network_type: Tenant_Layer_3 - network_technology: Contrail - network_ecomp_name: false - network_homing: false - network_deployment_node: { get_input : network_deployment_node } - contrail_virtual_network: - network_name: MME-24474-Ericsson-WTC-lab_gn_SCTPB_net_1 - route_targets: 13979:105719 - network_id: - layer_protocol: IP - flow_pattern: E-LAN - test_access: none - l3_access_parameters: - ip_version: 4 - cidr: 107.243.37.32/24 # HEAT ENV - gateway_ip: 107.243.37.33 # HEAT ENV - start_ip: 107.243.37.35 # HEAT ENV - end_ip: 107.243.37.62 # HEAT ENV - - groups: - - external_networks: # vMME_External_Network - type: org.openecomp.groups.externalNetworks - properties: - contrail_service_instance: true # from HEAT - availability_zone_count: 1 # from HEAT - - members: [ sctp_a_net, sctp_b_net, gtp_net ] diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration9/service_vmme_template_1.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration9/service_vmme_template_1.yml deleted file mode 100644 index 403ad87be0..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration9/service_vmme_template_1.yml +++ /dev/null @@ -1,194 +0,0 @@ -tosca_definitions_version: tosca_simple_profile_for_ecomp_1_0 - -description: Service Template for deploing MME Service - -metadata: - invariantUUID: e255f20c-5331-4245-9ad5-8861a73080b7 - UUID: - type: Service - name: vMME_Service - description: vMME_Service - category: Mobility - serviceEcompNaming: false - serviceHoming: false - -imports: - vmmeToscaTemplate: - file: vf_vmme_template_1.yml - -topology_template: - - inputs: - mme_vf_instance_name: - type: string - description: VF instance name - mme_vf_deployment_node: - type: string - description: The target LCP node for deployment of this VF instance - gtp_net_network_name: - type: string - description: The GTP network route targets - default: MME-24474-Ericsson-WTC-lab_gn_GTP_net_1 # HEAT ENV - gtp_net_route_targets: - type: string - description: The GTP network route targets - default: "13979:105715" # HEAT ENV - gtp_net_cidr: - type: string - description: The GTP network cidr - default: 107.243.37.64/27 # HEAT ENV - gtp_net_gateway_ip: - type: string - description: The GTP network gateway - default: 107.243.37.65 # HEAT ENV - gtp_net_start_ip: - type: string - description: The GTP network start ip - default: 107.243.37.67 # HEAT ENV - gtp_net_end_ip: - type: string - description: The GTP network end ip - default: 107.243.37.94 # HEAT ENV - # more inputs were removed for brevity - - node_templates: - - mme: # vMME VNF - type: org.openecomp.resource.vf.vmme - - metadata: - invariantUUID: b8643c59-e2c2-4f86-880d-571d4d9d5d22 - UUID: b020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc - version: 1.0 - name: vMME_VF - description: vMME_VF - type: VF - category: Application L4+ - subcategory: Firewall - resourceVendor: Ericsson - - properties: - vf_ecomp_name: false - vf_instance_name: { get_input: vf_instance_name } - vf_homing: false - vf_deployment_node: { get_input: vf_deployment_node } - - requirements: - - vlc1_sctp_a.link: - capability: tosca.capabilities.network.Bindable - node: sctp_a_net - relationship: tosca.relationships.network.BindsTo - - vlc1_sctp_b.link: - capability: tosca.capabilities.network.Bindable - node: sctp_b_net - relationship: tosca.relationships.network.BindsTo - - vlc1_gtp_net.link: - capability: tosca.capabilities.network.Bindable - node: gtp_net - relationship: tosca.relationships.network.BindsTo - - - - # Virtual Links (Networks) - - gtp_net: - type: org.openecomp.resource.vl.VL - metadata: - invariantUUID: ab2995c59-ff34-4f86-a60d-371d4d9d1896 - UUID: 101a0ed2e-a12d-ff20-004e-cc7af4daffc3 - version: 1.0 - name: GTPNet - description: GTP External Network - type: VL - category: VL - resourceVendor: AT&T - properties: - network_type: Tenant_Layer_3 - network_technology: Contrail - network_ecomp_name: false - network_homing: false - network_deployment_node: { get_input : network_deployment_node } - contrail_virtual_network: - network_name: {get_input: gtp_net_network_name} - route_targets: {get_input: gtp_net_route_targets} - network_id: - layer_protocol: IP - flow_pattern: E-LAN - test_access: none - l3_access_parameters: - ip_version: 4 - cidr: {get_input: gtp_net_cidr} - gateway_ip: {get_input: gtp_net_gateway_ip} - start_ip: {get_input: gtp_net_start_ip} - end_ip: {get_input: gtp_net_end_ip} - - sctp_a_net: - type: org.openecomp.resource.vl.VL - metadata: - invariantUUID: 29205c59-1111-4f86-880d-371d4d9dc999 - UUID: 1890ed2e-abcd-3f20-124e-cc7af4da4321 - version: 1.0 - name: SCTPANet - description: SCTP A External Network - type: VL - category: VL - resourceVendor: AT&T - properties: - network_type: Tenant_Layer_3 - network_technology: Contrail - network_ecomp_name: false - network_homing: false - network_deployment_node: { get_input : network_deployment_node } - contrail_virtual_network: - network_name: MME-24474-Ericsson-WTC-lab_gn_SCTPA_net_1 - route_targets: 13979:105717 - layer_protocol: IP - flow_pattern: E-LAN - test_access: none - l3_access_parameters: - ip_version: 4 - cidr: 107.243.37.0/27 # HEAT ENV - gateway_ip: 107.243.37.1 # HEAT ENV - start_ip: 107.243.37.3 # HEAT ENV - end_ip: 107.243.37.30 # HEAT ENV - - sctp_b_net: - type: org.openecomp.resource.vl.VL - metadata: - invariantUUID: 89595c59-2134-4f86-880d-371d4d9d12a6 - UUID: 1af0ed2e-abcd-3f20-834e-cc7af4dafc45 - version: 1.0 - name: SCTPBNet - description: SCTP B External Network - type: VL - category: VL - resourceVendor: AT&T - properties: - network_type: Tenant_Layer_3 - network_technology: Contrail - network_ecomp_name: false - network_homing: false - network_deployment_node: { get_input : network_deployment_node } - contrail_virtual_network: - network_name: MME-24474-Ericsson-WTC-lab_gn_SCTPB_net_1 - route_targets: 13979:105719 - network_id: - layer_protocol: IP - flow_pattern: E-LAN - test_access: none - l3_access_parameters: - ip_version: 4 - cidr: 107.243.37.32/24 # HEAT ENV - gateway_ip: 107.243.37.33 # HEAT ENV - start_ip: 107.243.37.35 # HEAT ENV - end_ip: 107.243.37.62 # HEAT ENV - - groups: - - external_networks: # vMME_External_Network - type: org.openecomp.groups.externalNetworks - properties: - contrail_service_instance: true # from HEAT - availability_zone_count: 1 # from HEAT - - members: [ sctp_a_net, sctp_b_net, gtp_net ] diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGenerationAllottedResourceWithVF/resource-IpMuxDemux-template_AllRes_VF.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGenerationAllottedResourceWithVF/resource-IpMuxDemux-template_AllRes_VF.yml deleted file mode 100644 index d8885bb84b..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGenerationAllottedResourceWithVF/resource-IpMuxDemux-template_AllRes_VF.yml +++ /dev/null @@ -1,81 +0,0 @@ -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| -tosca_definitions_version: tosca_simple_yaml_1_0 -metadata: - invariantUUID: 707b2850-e830-4b00-9902-879f44ac05a4 - UUID: 495b483b-282a-45df-bbfe-63d1d1d80813 - name: IP_Mux_Demux - description: IP_Mux_Demux - type: VF - category: Allotted Resource - subcategory: IP Mux Demux - resourceVendor: '1' - resourceVendorRelease: '1' -imports: -- Allotedresource: - file: resource-Allotedresource-template.yml -topology_template: - inputs: - role: - type: string - ecomp_naming: - type: string - max_instances: - type: string - min_instances: - type: string - ecomp_homing: - type: string - node_templates: - Alloted resource 1: - type: org.openecomp.resource.vfc.AllottedResource - metadata: - invariantUUID: bc0bebc1-6dc1-4637-883e-aed77bffd63c - UUID: 7763d3a3-048f-4e5b-96c5-e7818dbc066a - customizationUUID: 5eac2a36-bcb5-4158-ace4-802b81e87248 - version: '1.0' - name: Allotedresource - description: Allotedresource - type: VFC - category: Allotted Resource - subcategory: IP Mux Demux - properties: - ecomp_naming: - naming_policy: - get input: ecomp_naming - providing_service_invariant_uuid: e42ea8ff-1862-43f4-a597-4b885cf3c6e5 - min_instances: 1 - max_instances: 1 - providing_service_uuid: 2fb4b63d-7ec8-4fc0-98c7-a1c51fb4b794 - providing_service_name: vVIGaaS - substitution_mappings: - node_type: org.openecomp.resource.vf.IpMuxDemux - capabilities: - Alloted resource 1.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - requirements: - Alloted resource 1.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - Alloted resource 1.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGenerationAllottedResourceWithVF/resource-ServiceAdmin-template_AllRes_VF.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGenerationAllottedResourceWithVF/resource-ServiceAdmin-template_AllRes_VF.yml deleted file mode 100644 index 549c18b55b..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGenerationAllottedResourceWithVF/resource-ServiceAdmin-template_AllRes_VF.yml +++ /dev/null @@ -1,81 +0,0 @@ -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| -tosca_definitions_version: tosca_simple_yaml_1_0 -metadata: - invariantUUID: 0df08d3e-9701-4f5a-b3ed-82a0b504b366 - UUID: a9c6246c-0807-4a43-a64c-442a170c2088 - name: service_admin - description: service_admin - type: VF - category: Allotted Resource - subcategory: Service admin - resourceVendor: '1' - resourceVendorRelease: '1' -imports: -- Allotedresource: - file: resource-Allotedresource-template.yml -topology_template: - inputs: - role: - type: string - ecomp_naming: - type: string - max_instances: - type: string - min_instances: - type: string - ecomp_homing: - type: string - node_templates: - Alloted resource 1: - type: org.openecomp.resource.vfc.AllottedResource - metadata: - invariantUUID: bc0bebc1-6dc1-4637-883e-aed77bffd63c - UUID: 7763d3a3-048f-4e5b-96c5-e7818dbc066a - customizationUUID: f61f785d-2c82-4d6d-9184-8cbdf2df4da0 - version: '1.0' - name: Allotedresource - description: Allotedresource - type: VFC - category: Allotted Resource - subcategory: Service admin - properties: - ecomp_naming: - naming_policy: - get input: ecomp_naming - providing_service_invariant_uuid: e42ea8ff-1862-43f4-a597-4b885cf3c6e5 - min_instances: 1 - max_instances: 1 - providing_service_uuid: 2fb4b63d-7ec8-4fc0-98c7-a1c51fb4b794 - providing_service_name: HNPortalaaS - substitution_mappings: - node_type: org.openecomp.resource.vf.ServiceAdmin - capabilities: - Alloted resource 1.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - requirements: - Alloted resource 1.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - Alloted resource 1.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGenerationAllottedResourceWithVF/resource-TunnelXconn-template_AllRes_VF.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGenerationAllottedResourceWithVF/resource-TunnelXconn-template_AllRes_VF.yml deleted file mode 100644 index 1eb97a0976..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGenerationAllottedResourceWithVF/resource-TunnelXconn-template_AllRes_VF.yml +++ /dev/null @@ -1,81 +0,0 @@ -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| -tosca_definitions_version: tosca_simple_yaml_1_0 -metadata: - invariantUUID: 63b95d9a-9c89-40d3-a646-36a1418c5246 - UUID: ae79ba1b-5d12-4813-b01c-755fa6c800bb - name: Tunnel_XConn - description: Tunnel_XConn - type: VF - category: Allotted Resource - subcategory: Tunnel XConnect - resourceVendor: '1' - resourceVendorRelease: '1' -imports: -- Allotedresource: - file: resource-Allotedresource-template.yml -topology_template: - inputs: - role: - type: string - ecomp_naming: - type: string - min_instances: - type: string - max_instances: - type: string - ecomp_homing: - type: string - node_templates: - Alloted resource 1: - type: org.openecomp.resource.vfc.AllottedResource - metadata: - invariantUUID: bc0bebc1-6dc1-4637-883e-aed77bffd63c - UUID: 7763d3a3-048f-4e5b-96c5-e7818dbc066a - customizationUUID: 22ca20ca-1577-46d3-b3ef-77483cca37d6 - version: '1.0' - name: Allotedresource - description: Allotedresource - type: VFC - category: Allotted Resource - subcategory: Tunnel XConnect - properties: - ecomp_naming: - naming_policy: - get input: ecomp_naming - providing_service_invariant_uuid: 34a4d119-06bc-4ab4-8c5a-a498d638297c - min_instances: 1 - max_instances: 1 - providing_service_uuid: 2fb4b63d-7ec8-4fc0-98c7-a1c51fb4b794 - providing_service_name: vVIGaaS - substitution_mappings: - node_type: org.openecomp.resource.vf.TunnelXconn - capabilities: - Alloted resource 1.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - requirements: - Alloted resource 1.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - Alloted resource 1.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGenerationAllottedResourceWithVF/resource-VhnfNonHeat-template_AllRes_VF.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGenerationAllottedResourceWithVF/resource-VhnfNonHeat-template_AllRes_VF.yml deleted file mode 100644 index 8ec1c192ee..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGenerationAllottedResourceWithVF/resource-VhnfNonHeat-template_AllRes_VF.yml +++ /dev/null @@ -1,24 +0,0 @@ -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| -tosca_definitions_version: tosca_simple_yaml_1_0 -metadata: - invariantUUID: f61adc31-6004-4377-a661-090f59e6b32a - UUID: 2118e830-5e0d-409a-9d7a-63b6a72d6f5f - name: vHNF non Heat - description: vHNF non Heat - type: VF - category: Generic - subcategory: Network Elements - resourceVendor: '1' - resourceVendorRelease: '1' -topology_template: - substitution_mappings: - node_type: org.openecomp.resource.vf.VhnfNonHeat -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGenerationAllottedResourceWithVF/service-SdWan-template_AllRes_VF.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGenerationAllottedResourceWithVF/service-SdWan-template_AllRes_VF.yml deleted file mode 100644 index bc3ab6dabb..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testArtifactGenerationAllottedResourceWithVF/service-SdWan-template_AllRes_VF.yml +++ /dev/null @@ -1,233 +0,0 @@ -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| -tosca_definitions_version: tosca_simple_yaml_1_0 -metadata: - invariantUUID: 3d8b7a76-7c47-4974-b5b9-e24c54b817a2 - UUID: eb31504f-9f60-4936-a2f2-8ac592b611a6 - name: SD-WAN - description: SD-WAN - type: Service - category: Network L4+ - serviceEcompNaming: false - serviceHoming: false -imports: -- service_admin: - file: resource-ServiceAdmin-template.yml -- Tunnel_XConn: - file: resource-TunnelXconn-template.yml -- vHNF non Heat: - file: resource-VhnfNonHeat-template.yml -- IP_Mux_Demux: - file: resource-IpMuxDemux-template.yml -topology_template: - node_templates: - Sec_IP_Mux_Demux: - type: org.openecomp.resource.vf.IpMuxDemux - metadata: - invariantUUID: 707b2850-e830-4b00-9902-879f44ac05a4 - UUID: 495b483b-282a-45df-bbfe-63d1d1d80813 - customizationUUID: f4b764bb-6721-4219-8c69-7ce61969f755 - version: '0.1' - name: IP_Mux_Demux - description: IP_Mux_Demux - type: VF - category: Allotted Resource - subcategory: IP Mux Demux - Pri_Tunnel_XConn: - type: org.openecomp.resource.vf.TunnelXconn - metadata: - invariantUUID: 63b95d9a-9c89-40d3-a646-36a1418c5246 - UUID: ae79ba1b-5d12-4813-b01c-755fa6c800bb - customizationUUID: 96d0bbf6-d9f7-441d-8f00-67d79dbf30de - version: '0.1' - name: Tunnel_XConn - description: Tunnel_XConn - type: VF - category: Allotted Resource - subcategory: Tunnel XConnect - Pri_service_admin: - type: org.openecomp.resource.vf.ServiceAdmin - metadata: - invariantUUID: 0df08d3e-9701-4f5a-b3ed-82a0b504b366 - UUID: a9c6246c-0807-4a43-a64c-442a170c2088 - customizationUUID: 6b4a2a55-3b82-4799-8329-4fc2939fd5b5 - version: '0.1' - name: service_admin - description: service_admin - type: VF - category: Allotted Resource - subcategory: Service admin - Pri_IP_Mux_Demux: - type: org.openecomp.resource.vf.IpMuxDemux - metadata: - invariantUUID: 707b2850-e830-4b00-9902-879f44ac05a4 - UUID: 495b483b-282a-45df-bbfe-63d1d1d80813 - customizationUUID: d8f656d9-179d-4f02-9a46-8af7421eb2a0 - version: '0.1' - name: IP_Mux_Demux - description: IP_Mux_Demux - type: VF - category: Allotted Resource - subcategory: IP Mux Demux - Sec_Tunnel_XConn: - type: org.openecomp.resource.vf.TunnelXconn - metadata: - invariantUUID: 63b95d9a-9c89-40d3-a646-36a1418c5246 - UUID: ae79ba1b-5d12-4813-b01c-755fa6c800bb - customizationUUID: b432136d-0a2a-460b-a3da-f921e1e0dcfa - version: '0.1' - name: Tunnel_XConn - description: Tunnel_XConn - type: VF - category: Allotted Resource - subcategory: Tunnel XConnect - vHNF non Heat 22: - type: org.openecomp.resource.vf.VhnfNonHeat - metadata: - invariantUUID: f61adc31-6004-4377-a661-090f59e6b32a - UUID: 2118e830-5e0d-409a-9d7a-63b6a72d6f5f - customizationUUID: 9c7a5f7f-6b17-4066-a6f1-094ea925495b - version: '0.1' - name: vHNF non Heat - description: vHNF non Heat - type: VF - category: Generic - subcategory: Network Elements - Sec_service_admin: - type: org.openecomp.resource.vf.ServiceAdmin - metadata: - invariantUUID: 0df08d3e-9701-4f5a-b3ed-82a0b504b366 - UUID: a9c6246c-0807-4a43-a64c-442a170c2088 - customizationUUID: 5a8ef05b-451f-40f4-9531-3ee00bd3c5c4 - version: '0.1' - name: service_admin - description: service_admin - type: VF - category: Allotted Resource - subcategory: Service admin - substitution_mappings: - node_type: org.openecomp.service.SdWan - capabilities: - Sec_service_admin.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - Sec_IP_Mux_Demux.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - Pri_service_admin.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - Pri_IP_Mux_Demux.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - Pri_Tunnel_XConn.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - Sec_Tunnel_XConn.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - requirements: - Pri_service_admin.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - Sec_Tunnel_XConn.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn - Sec_service_admin.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn - Pri_IP_Mux_Demux.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn - Pri_Tunnel_XConn.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn - Sec_service_admin.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - Pri_service_admin.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn - Sec_IP_Mux_Demux.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn - Sec_IP_Mux_Demux.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - Pri_Tunnel_XConn.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - Sec_Tunnel_XConn.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - Pri_IP_Mux_Demux.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenAllottedResourceWithOutDependingServiceId/resource-IpMuxDemux-template_WithOutDepSerId.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenAllottedResourceWithOutDependingServiceId/resource-IpMuxDemux-template_WithOutDepSerId.yml deleted file mode 100644 index 2e06cf467b..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenAllottedResourceWithOutDependingServiceId/resource-IpMuxDemux-template_WithOutDepSerId.yml +++ /dev/null @@ -1,80 +0,0 @@ -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| -tosca_definitions_version: tosca_simple_yaml_1_0 -metadata: - invariantUUID: 707b2850-e830-4b00-9902-879f44ac05a4 - UUID: 495b483b-282a-45df-bbfe-63d1d1d80813 - name: IP_Mux_Demux - description: IP_Mux_Demux - type: VF - category: Allotted Resource - subcategory: Allotted Resource - resourceVendor: '1' - resourceVendorRelease: '1' -imports: -- Allotedresource: - file: resource-Allotedresource-template.yml -topology_template: - inputs: - role: - type: string - ecomp_naming: - type: string - max_instances: - type: string - min_instances: - type: string - ecomp_homing: - type: string - node_templates: - Alloted resource 1: - type: org.openecomp.resource.vfc.AllottedResource - metadata: - invariantUUID: bc0bebc1-6dc1-4637-883e-aed77bffd63c - UUID: 7763d3a3-048f-4e5b-96c5-e7818dbc066a - customizationUUID: 5eac2a36-bcb5-4158-ace4-802b81e87248 - version: '1.0' - name: Allotedresource - description: Allotedresource - type: VFC - category: Allotted Resource - subcategory: Allotted Resource - properties: - ecomp_naming: - naming_policy: - get input: ecomp_naming - providing_service_invariant_uuid: - min_instances: 1 - max_instances: 1 - providing_service_uuid: - substitution_mappings: - node_type: org.openecomp.resource.vf.IpMuxDemux - capabilities: - Alloted resource 1.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - requirements: - Alloted resource 1.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - Alloted resource 1.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenAllottedResourceWithOutDependingServiceId/resource-ServiceAdmin-template_WithOutDepSerId.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenAllottedResourceWithOutDependingServiceId/resource-ServiceAdmin-template_WithOutDepSerId.yml deleted file mode 100644 index c8a641d1ac..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenAllottedResourceWithOutDependingServiceId/resource-ServiceAdmin-template_WithOutDepSerId.yml +++ /dev/null @@ -1,81 +0,0 @@ -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| -tosca_definitions_version: tosca_simple_yaml_1_0 -metadata: - invariantUUID: 0df08d3e-9701-4f5a-b3ed-82a0b504b366 - UUID: a9c6246c-0807-4a43-a64c-442a170c2088 - name: service_admin - description: service_admin - type: VF - category: Allotted Resource - subcategory: Allotted Resource - resourceVendor: '1' - resourceVendorRelease: '1' -imports: -- Allotedresource: - file: resource-Allotedresource-template.yml -topology_template: - inputs: - role: - type: string - ecomp_naming: - type: string - max_instances: - type: string - min_instances: - type: string - ecomp_homing: - type: string - node_templates: - Alloted resource 1: - type: org.openecomp.resource.vfc.AllottedResource - metadata: - invariantUUID: bc0bebc1-6dc1-4637-883e-aed77bffd63c - UUID: 7763d3a3-048f-4e5b-96c5-e7818dbc066a - customizationUUID: f61f785d-2c82-4d6d-9184-8cbdf2df4da0 - version: '1.0' - name: Allotedresource - description: Allotedresource - type: VFC - category: Allotted Resource - subcategory: Allotted Resource - properties: - ecomp_naming: - naming_policy: - get input: ecomp_naming - providing_service_invariant_uuid: - min_instances: 1 - max_instances: 1 - providing_service_uuid: - providing_service_name: HNPortalaaS - substitution_mappings: - node_type: org.openecomp.resource.vf.ServiceAdmin - capabilities: - Alloted resource 1.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - requirements: - Alloted resource 1.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - Alloted resource 1.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenAllottedResourceWithOutDependingServiceId/resource-TunnelXconn-template_WithOutDepSerId.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenAllottedResourceWithOutDependingServiceId/resource-TunnelXconn-template_WithOutDepSerId.yml deleted file mode 100644 index eb248d1d65..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenAllottedResourceWithOutDependingServiceId/resource-TunnelXconn-template_WithOutDepSerId.yml +++ /dev/null @@ -1,81 +0,0 @@ -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| -tosca_definitions_version: tosca_simple_yaml_1_0 -metadata: - invariantUUID: 63b95d9a-9c89-40d3-a646-36a1418c5246 - UUID: ae79ba1b-5d12-4813-b01c-755fa6c800bb - name: Tunnel_XConn - description: Tunnel_XConn - type: VF - category: Allotted Resource - subcategory: Allotted Resource - resourceVendor: '1' - resourceVendorRelease: '1' -imports: -- Allotedresource: - file: resource-Allotedresource-template.yml -topology_template: - inputs: - role: - type: string - ecomp_naming: - type: string - min_instances: - type: string - max_instances: - type: string - ecomp_homing: - type: string - node_templates: - Alloted resource 1: - type: org.openecomp.resource.vfc.AllottedResource - metadata: - invariantUUID: bc0bebc1-6dc1-4637-883e-aed77bffd63c - UUID: 7763d3a3-048f-4e5b-96c5-e7818dbc066a - customizationUUID: 22ca20ca-1577-46d3-b3ef-77483cca37d6 - version: '1.0' - name: Allotedresource - description: Allotedresource - type: VFC - category: Allotted Resource - subcategory: Allotted Resource - properties: - ecomp_naming: - naming_policy: - get input: ecomp_naming - providing_service_invariant_uuid: - min_instances: 1 - max_instances: 1 - providing_service_uuid: - providing_service_name: vVIGaaS - substitution_mappings: - node_type: org.openecomp.resource.vf.TunnelXconn - capabilities: - Alloted resource 1.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - requirements: - Alloted resource 1.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - Alloted resource 1.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenAllottedResourceWithOutDependingServiceId/resource-VhnfNonHeat-template_WithOutDepSerId.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenAllottedResourceWithOutDependingServiceId/resource-VhnfNonHeat-template_WithOutDepSerId.yml deleted file mode 100644 index 8ec1c192ee..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenAllottedResourceWithOutDependingServiceId/resource-VhnfNonHeat-template_WithOutDepSerId.yml +++ /dev/null @@ -1,24 +0,0 @@ -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| -tosca_definitions_version: tosca_simple_yaml_1_0 -metadata: - invariantUUID: f61adc31-6004-4377-a661-090f59e6b32a - UUID: 2118e830-5e0d-409a-9d7a-63b6a72d6f5f - name: vHNF non Heat - description: vHNF non Heat - type: VF - category: Generic - subcategory: Network Elements - resourceVendor: '1' - resourceVendorRelease: '1' -topology_template: - substitution_mappings: - node_type: org.openecomp.resource.vf.VhnfNonHeat -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenAllottedResourceWithOutDependingServiceId/service-SdWan-template_WithOutDepSerId.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenAllottedResourceWithOutDependingServiceId/service-SdWan-template_WithOutDepSerId.yml deleted file mode 100644 index 51d8c2d8ba..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenAllottedResourceWithOutDependingServiceId/service-SdWan-template_WithOutDepSerId.yml +++ /dev/null @@ -1,233 +0,0 @@ -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| -tosca_definitions_version: tosca_simple_yaml_1_0 -metadata: - invariantUUID: 3d8b7a76-7c47-4974-b5b9-e24c54b817a2 - UUID: eb31504f-9f60-4936-a2f2-8ac592b611a6 - name: SD-WAN - description: SD-WAN - type: Service - category: Network L4+ - serviceEcompNaming: false - serviceHoming: false -imports: -- service_admin: - file: resource-ServiceAdmin-template.yml -- Tunnel_XConn: - file: resource-TunnelXconn-template.yml -- vHNF non Heat: - file: resource-VhnfNonHeat-template.yml -- IP_Mux_Demux: - file: resource-IpMuxDemux-template.yml -topology_template: - node_templates: - Sec_IP_Mux_Demux: - type: org.openecomp.resource.vf.IpMuxDemux - metadata: - invariantUUID: 707b2850-e830-4b00-9902-879f44ac05a4 - UUID: 495b483b-282a-45df-bbfe-63d1d1d80813 - customizationUUID: f4b764bb-6721-4219-8c69-7ce61969f755 - version: '0.1' - name: IP_Mux_Demux - description: IP_Mux_Demux - type: VF - category: Allotted Resource - subcategory: Allotted Resource - Pri_Tunnel_XConn: - type: org.openecomp.resource.vf.TunnelXconn - metadata: - invariantUUID: 63b95d9a-9c89-40d3-a646-36a1418c5246 - UUID: ae79ba1b-5d12-4813-b01c-755fa6c800bb - customizationUUID: 96d0bbf6-d9f7-441d-8f00-67d79dbf30de - version: '0.1' - name: Tunnel_XConn - description: Tunnel_XConn - type: VF - category: Allotted Resource - subcategory: Allotted Resource - Pri_service_admin: - type: org.openecomp.resource.vf.ServiceAdmin - metadata: - invariantUUID: 0df08d3e-9701-4f5a-b3ed-82a0b504b366 - UUID: a9c6246c-0807-4a43-a64c-442a170c2088 - customizationUUID: 6b4a2a55-3b82-4799-8329-4fc2939fd5b5 - version: '0.1' - name: service_admin - description: service_admin - type: VF - category: Allotted Resource - subcategory: Allotted Resource - Pri_IP_Mux_Demux: - type: org.openecomp.resource.vf.IpMuxDemux - metadata: - invariantUUID: 707b2850-e830-4b00-9902-879f44ac05a4 - UUID: 495b483b-282a-45df-bbfe-63d1d1d80813 - customizationUUID: d8f656d9-179d-4f02-9a46-8af7421eb2a0 - version: '0.1' - name: IP_Mux_Demux - description: IP_Mux_Demux - type: VF - category: Allotted Resource - subcategory: Allotted Resource - Sec_Tunnel_XConn: - type: org.openecomp.resource.vf.TunnelXconn - metadata: - invariantUUID: 63b95d9a-9c89-40d3-a646-36a1418c5246 - UUID: ae79ba1b-5d12-4813-b01c-755fa6c800bb - customizationUUID: b432136d-0a2a-460b-a3da-f921e1e0dcfa - version: '0.1' - name: Tunnel_XConn - description: Tunnel_XConn - type: VF - category: Allotted Resource - subcategory: Allotted Resource - vHNF non Heat 22: - type: org.openecomp.resource.vf.VhnfNonHeat - metadata: - invariantUUID: f61adc31-6004-4377-a661-090f59e6b32a - UUID: 2118e830-5e0d-409a-9d7a-63b6a72d6f5f - customizationUUID: 9c7a5f7f-6b17-4066-a6f1-094ea925495b - version: '0.1' - name: vHNF non Heat - description: vHNF non Heat - type: VF - category: Generic - subcategory: Network Elements - Sec_service_admin: - type: org.openecomp.resource.vf.ServiceAdmin - metadata: - invariantUUID: 0df08d3e-9701-4f5a-b3ed-82a0b504b366 - UUID: a9c6246c-0807-4a43-a64c-442a170c2088 - customizationUUID: 5a8ef05b-451f-40f4-9531-3ee00bd3c5c4 - version: '0.1' - name: service_admin - description: service_admin - type: VF - category: Allotted Resource - subcategory: Allotted Resource - substitution_mappings: - node_type: org.openecomp.service.SdWan - capabilities: - Sec_service_admin.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - Sec_IP_Mux_Demux.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - Pri_service_admin.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - Pri_IP_Mux_Demux.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - Pri_Tunnel_XConn.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - Sec_Tunnel_XConn.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - requirements: - Pri_service_admin.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - Sec_Tunnel_XConn.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn - Sec_service_admin.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn - Pri_IP_Mux_Demux.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn - Pri_Tunnel_XConn.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn - Sec_service_admin.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - Pri_service_admin.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn - Sec_IP_Mux_Demux.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn - Sec_IP_Mux_Demux.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - Pri_Tunnel_XConn.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - Sec_Tunnel_XConn.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - Pri_IP_Mux_Demux.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenInvalidInvId/service_vmme_template_1.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenInvalidInvId/service_vmme_template_1.yml deleted file mode 100644 index 50c4c8230a..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenInvalidInvId/service_vmme_template_1.yml +++ /dev/null @@ -1,194 +0,0 @@ -tosca_definitions_version: tosca_simple_profile_for_ecomp_1_0 - -description: Service Template for deploing MME Service - -metadata: - invariantUUID: 7787da18-123 - UUID: 7787da18-7516-40cf-bec0-ebd4202c60f0 - type: Service - name: vMME_Service - description: vMME_Service - category: Mobility - serviceEcompNaming: false - serviceHoming: false - -imports: - vmmeToscaTemplate: - file: vf_vmme_template_1.yml - -topology_template: - - inputs: - mme_vf_instance_name: - type: string - description: VF instance name - mme_vf_deployment_node: - type: string - description: The target LCP node for deployment of this VF instance - gtp_net_network_name: - type: string - description: The GTP network route targets - default: MME-24474-Ericsson-WTC-lab_gn_GTP_net_1 # HEAT ENV - gtp_net_route_targets: - type: string - description: The GTP network route targets - default: "13979:105715" # HEAT ENV - gtp_net_cidr: - type: string - description: The GTP network cidr - default: 107.243.37.64/27 # HEAT ENV - gtp_net_gateway_ip: - type: string - description: The GTP network gateway - default: 107.243.37.65 # HEAT ENV - gtp_net_start_ip: - type: string - description: The GTP network start ip - default: 107.243.37.67 # HEAT ENV - gtp_net_end_ip: - type: string - description: The GTP network end ip - default: 107.243.37.94 # HEAT ENV - # more inputs were removed for brevity - - node_templates: - - mme: # vMME VNF - type: org.openecomp.resource.vf.vmme - - metadata: - invariantUUID: b8643c59-e2c2-4f86-880d-571d4d9d5d22 - UUID: b020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc - version: 1.0 - name: vMME_VF - description: vMME_VF - type: VF - category: Application L4+ - subcategory: Firewall - resourceVendor: Ericsson - - properties: - vf_ecomp_name: false - vf_instance_name: { get_input: vf_instance_name } - vf_homing: false - vf_deployment_node: { get_input: vf_deployment_node } - - requirements: - - vlc1_sctp_a.link: - capability: tosca.capabilities.network.Bindable - node: sctp_a_net - relationship: tosca.relationships.network.BindsTo - - vlc1_sctp_b.link: - capability: tosca.capabilities.network.Bindable - node: sctp_b_net - relationship: tosca.relationships.network.BindsTo - - vlc1_gtp_net.link: - capability: tosca.capabilities.network.Bindable - node: gtp_net - relationship: tosca.relationships.network.BindsTo - - - - # Virtual Links (Networks) - - gtp_net: - type: org.openecomp.resource.vl.VL - metadata: - invariantUUID: ab2995c59-ff34-4f86-a60d-371d4d9d1896 - UUID: 101a0ed2e-a12d-ff20-004e-cc7af4daffc3 - version: 1.0 - name: GTPNet - description: GTP External Network - type: VL - category: VL - resourceVendor: AT&T - properties: - network_type: Tenant_Layer_3 - network_technology: Contrail - network_ecomp_name: false - network_homing: false - network_deployment_node: { get_input : network_deployment_node } - contrail_virtual_network: - network_name: {get_input: gtp_net_network_name} - route_targets: {get_input: gtp_net_route_targets} - network_id: - layer_protocol: IP - flow_pattern: E-LAN - test_access: none - l3_access_parameters: - ip_version: 4 - cidr: {get_input: gtp_net_cidr} - gateway_ip: {get_input: gtp_net_gateway_ip} - start_ip: {get_input: gtp_net_start_ip} - end_ip: {get_input: gtp_net_end_ip} - - sctp_a_net: - type: org.openecomp.resource.vl.VL - metadata: - invariantUUID: 29205c59-1111-4f86-880d-371d4d9dc999 - UUID: 1890ed2e-abcd-3f20-124e-cc7af4da4321 - version: 1.0 - name: SCTPANet - description: SCTP A External Network - type: VL - category: VL - resourceVendor: AT&T - properties: - network_type: Tenant_Layer_3 - network_technology: Contrail - network_ecomp_name: false - network_homing: false - network_deployment_node: { get_input : network_deployment_node } - contrail_virtual_network: - network_name: MME-24474-Ericsson-WTC-lab_gn_SCTPA_net_1 - route_targets: 13979:105717 - layer_protocol: IP - flow_pattern: E-LAN - test_access: none - l3_access_parameters: - ip_version: 4 - cidr: 107.243.37.0/27 # HEAT ENV - gateway_ip: 107.243.37.1 # HEAT ENV - start_ip: 107.243.37.3 # HEAT ENV - end_ip: 107.243.37.30 # HEAT ENV - - sctp_b_net: - type: org.openecomp.resource.vl.VL - metadata: - invariantUUID: 89595c59-2134-4f86-880d-371d4d9d12a6 - UUID: 1af0ed2e-abcd-3f20-834e-cc7af4dafc45 - version: 1.0 - name: SCTPBNet - description: SCTP B External Network - type: VL - category: VL - resourceVendor: AT&T - properties: - network_type: Tenant_Layer_3 - network_technology: Contrail - network_ecomp_name: false - network_homing: false - network_deployment_node: { get_input : network_deployment_node } - contrail_virtual_network: - network_name: MME-24474-Ericsson-WTC-lab_gn_SCTPB_net_1 - route_targets: 13979:105719 - network_id: - layer_protocol: IP - flow_pattern: E-LAN - test_access: none - l3_access_parameters: - ip_version: 4 - cidr: 107.243.37.32/24 # HEAT ENV - gateway_ip: 107.243.37.33 # HEAT ENV - start_ip: 107.243.37.35 # HEAT ENV - end_ip: 107.243.37.62 # HEAT ENV - - groups: - - external_networks: # vMME_External_Network - type: org.openecomp.groups.externalNetworks - properties: - contrail_service_instance: true # from HEAT - availability_zone_count: 1 # from HEAT - - members: [ sctp_a_net, sctp_b_net, gtp_net ] diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenInvalidResourceVersion1/service_vmme_template_1.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenInvalidResourceVersion1/service_vmme_template_1.yml deleted file mode 100644 index fbb1e62a89..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenInvalidResourceVersion1/service_vmme_template_1.yml +++ /dev/null @@ -1,98 +0,0 @@ -tosca_definitions_version: tosca_simple_profile_for_ecomp_1_0 - -description: Service Template for deploing MME Service - -metadata: - invariantUUID: e255f20c-5331-4245-9ad5-8861a73080b7 - UUID: 7787da18-7516-40cf-bec0-ebd4202c60f0 - type: Service - name: vMME_Service - description: vMME_Service - category: Mobility - serviceEcompNaming: false - serviceHoming: false - -imports: - vmmeToscaTemplate: - file: vf_vmme_template_1.yml - -topology_template: - - inputs: - mme_vf_instance_name: - type: string - description: VF instance name - mme_vf_deployment_node: - type: string - description: The target LCP node for deployment of this VF instance - gtp_net_network_name: - type: string - description: The GTP network route targets - default: MME-24474-Ericsson-WTC-lab_gn_GTP_net_1 # HEAT ENV - gtp_net_route_targets: - type: string - description: The GTP network route targets - default: "13979:105715" # HEAT ENV - gtp_net_cidr: - type: string - description: The GTP network cidr - default: 107.243.37.64/27 # HEAT ENV - gtp_net_gateway_ip: - type: string - description: The GTP network gateway - default: 107.243.37.65 # HEAT ENV - gtp_net_start_ip: - type: string - description: The GTP network start ip - default: 107.243.37.67 # HEAT ENV - gtp_net_end_ip: - type: string - description: The GTP network end ip - default: 107.243.37.94 # HEAT ENV - # more inputs were removed for brevity - - node_templates: - - mme: # vMME VNF - type: org.openecomp.resource.vf.vmme - - metadata: - invariantUUID: b8643c59-e2c2-4f86-880d-571d4d9d5d22 - UUID: b020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc - version: 0.0 - name: vMME_VF - description: vMME_VF - type: VF - category: Application L4+ - subcategory: Firewall - resourceVendor: Ericsson - - properties: - vf_ecomp_name: false - vf_instance_name: { get_input: vf_instance_name } - vf_homing: false - vf_deployment_node: { get_input: vf_deployment_node } - - requirements: - - vlc1_sctp_a.link: - capability: tosca.capabilities.network.Bindable - node: sctp_a_net - relationship: tosca.relationships.network.BindsTo - - vlc1_sctp_b.link: - capability: tosca.capabilities.network.Bindable - node: sctp_b_net - relationship: tosca.relationships.network.BindsTo - - vlc1_gtp_net.link: - capability: tosca.capabilities.network.Bindable - node: gtp_net - relationship: tosca.relationships.network.BindsTo - - groups: - - external_networks: # vMME_External_Network - type: org.openecomp.groups.externalNetworks - properties: - contrail_service_instance: true # from HEAT - availability_zone_count: 1 # from HEAT - - members: [ sctp_a_net, sctp_b_net, gtp_net ] diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenInvalidResourceVersion1/vf_vmme_template_1.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenInvalidResourceVersion1/vf_vmme_template_1.yml deleted file mode 100644 index 6aee48b9d9..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenInvalidResourceVersion1/vf_vmme_template_1.yml +++ /dev/null @@ -1,1299 +0,0 @@ ---- -description: "VF Template for pseodo vMME" -imports: - NovaServerGlobalTypes: - file: NovaServerGlobalTypesServiceTemplate.yaml -metadata: - category: "Application L4+" - description: vMME_VF - invariantUUID: b8643c59-e2c2-4f86-880d-571d4d9d5d22 - name: vMME_VF - subcategory: Firewall - type: VF - UUID: b020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc - resourceVendor: Ericsson -topology_template: - groups: - vfmoduleVmmeModule-1: - members: - - FSB1 - - FSB2 - - NCB1 - - NCB2 - - VLC1 - - VLC2 - - GPB1 - - GPB2 - - Internal1_net - - Internal2_net - - fsb1_oam - - fsb1_internal1 - - fsb1_internal2 - - fsb2_oam - - fsb2_internal2 - - ncb1_internal1 - - ncb1_internal2 - - ncb2_internal1 - - ncb2_internal2 - - gpb1_internal1 - - gpb1_internal2 - - gpb2_internal1 - - gpb2_internal2 - - vlc1_oam - - vlc1_internal1 - - vlc1_internal2 - - vlc1_sctp_a - - vlc1_sctp_b - - vlc1_gtp - - vlc2_oam - - vlc2_internal1 - - vlc2_internal2 - - vlc2_sctp_a - - vlc2_sctp_b - - vlc1_gtp - metadata: - vfModuleModelInvariantUUID: adf1a10a-f788-492f-9ea7-7ff91dd55f8c - vfModuleModelName: "vMME::module-1" - vfModuleModelUUID: x020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc - vfModuleModelVersion: 1 - properties: - artifacts: - - /Artifacts/vmme_small_create_fsb.yml - - /Artifacts/vmme_small.yml - availability_zone_count: 2 - contrail_service_instance: true - vf_module_description: "vMME expansion VF Module" - vf_module_label: "vMME Expansion VF Module" - vf_module_type: Expansion - volume_group: false - type: org.openecomp.groups.VfModule - vmme_small: - members: - - FSB1 - - FSB2 - - NCB1 - - NCB2 - - VLC1 - - VLC2 - - GPB1 - - GPB2 - - Internal1_net - - Internal2_net - - fsb1_oam - - fsb1_internal1 - - fsb1_internal2 - - fsb2_oam - - fsb2_internal2 - - ncb1_internal1 - - ncb1_internal2 - - ncb2_internal1 - - ncb2_internal2 - - gpb1_internal1 - - gpb1_internal2 - - gpb2_internal1 - - gpb2_internal2 - - vlc1_oam - - vlc1_internal1 - - vlc1_internal2 - - vlc1_sctp_a - - vlc1_sctp_b - - vlc1_gtp - - vlc2_oam - - vlc2_internal1 - - vlc2_internal2 - - vlc2_sctp_a - - vlc2_sctp_b - - vlc1_gtp - properties: - description: "HOT template to create vmme 2 fsb 2 ncb 2 gbp 2 vlc" - heat_file: ../Artifacts/vmme_small.yml - type: org.openecomp.groups.heat.HeatStack - vmme_small_create_fsb: - members: - - FSB1_volume - - FSB2_volume - properties: - description: "server template for vMME" - heat_file: ../Artifacts/vmme_small_create_fsb.yml - type: org.openecomp.groups.heat.HeatStack - inputs: - Internal1_net_cidr: - default: 169.253.0.0/17 - hidden: false - immutable: false - type: string - Internal1_net_dhcp: - default: "False" - hidden: false - immutable: false - type: string - Internal1_net_gateway_ip: - default: "169.253.0.3" - hidden: false - immutable: false - type: string - Internal2_net_cidr: - default: 169.255.0.0/17 - hidden: false - immutable: false - type: string - Internal2_net_dhcp: - default: "False" - hidden: false - immutable: false - type: string - Internal2_net_gateway_ip: - default: "169.255.0.3" - hidden: false - immutable: false - type: string - fsb1_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - fsb1_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - fsb1_oam_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - fsb1_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - fsb1_vfc_image_name: - default: MME_FSB1_16ACP03.qcow2 - description: "VFC image name" - type: string - fsb1_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - fsb1_vfc_type_tag: - description: "VFC type tag" - type: string - fsb2_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - fsb2_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - fsb2_oam_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - fsb2_vfc_flavor: - defualt: m4.xlarge4 - description: "VFC flavor" - type: string - fsb2_vfc_image_name: - default: MME_FSB2_16ACP03.qcow2 - description: "VFC image name" - type: string - fsb2_vfc_instance_name: - default: ZRDM1MMEX36FSB002 - description: "VFC instance name" - type: string - fsb2_vfc_type_tag: - description: "VFC type tag" - type: string - gpb1_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - gpb1_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - gpb1_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - gpb1_vfc_image_name: - default: MME_GPB1_16ACP03.qcow2 - description: "VFC image name" - type: string - gpb1_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - gpb1_vfc_type_tag: - description: "VFC type tag" - type: string - gpb2_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - gpb2_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - gpb2_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - gpb2_vfc_image_name: - default: MME_GPB2_16ACP03.qcow2 - description: "VFC image name" - type: string - gpb2_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - gpb2_vfc_type_tag: - description: "VFC type tag" - type: string - ncb1_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - ncb1_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - ncb1_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - ncb1_vfc_image_name: - default: MME_NCB1_16ACP03.qcow2 - description: "VFC image name" - type: string - ncb1_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - ncb1_vfc_type_tag: - description: "VFC type tag" - type: string - ncb2_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - ncb2_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - ncb2_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - ncb2_vfc_image_name: - default: MME_NCB2_16ACP03.qcow2 - description: "VFC image name" - type: string - ncb2_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - ncb2_vfc_type_tag: - description: "VFC type tag" - type: string - network_deployment_node: - description: "The target LCP node for deployment of this Network instance" - type: string - oam_net_id: - default: 47bf4cca-0961-422f-bcd6-d5a4fbb1a351 - description: "uuid of oam network" - hidden: false - immutable: false - type: string - vlc1_gtp_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc1_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - vlc1_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - vlc1_oam_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc1_sctp_a_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc1_sctp_b_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc1_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - vlc1_vfc_image_name: - default: MME_VLC1_16ACP03.qcow2 - description: "VFC image name" - type: string - vlc1_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - vlc1_vfc_type_tag: - description: "VFC type tag" - type: string - vlc2_gtp_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc2_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - vlc2_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - vlc2_oam_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc2_sctp_a_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc2_sctp_b_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc2_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - vlc2_vfc_image_name: - default: MME_VLC2_16ACP03.qcow2 - description: "VFC image name" - type: string - vlc2_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - vlc2_vfc_type_tag: - description: "VFC type tag" - type: string - node_templates: - FSB1: - capabilities: - monitoring_capabilty: - properties: - name: high_cpu - nfv_compute: - properties: - vfc_flavor: - get_input: fsb1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: FSB1 - vfc_ecomp_name: false - vfc_image_name: - get_input: fsb1_vfc_image_name - vfc_instance_name: - get_input: fsb1_vfc_instance_name - vfc_type_tag: - get_input: fsb1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - FSB2: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: fsb2_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: FSB2 - vfc_ecomp_name: false - vfc_image_name: - get_input: fsb2_vfc_image_name - vfc_instance_name: - get_input: fsb2_vfc_instance_name - vfc_type_tag: - get_input: fsb2_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb2_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb2_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb2_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - GPB1: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: gpb1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: GPB1 - vfc_ecomp_name: false - vfc_image_name: - get_input: gpb1_vfc_image_name - vfc_instance_name: - get_input: gpb1_vfc_instance_name - vfc_type_tag: - get_input: gpb1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - GPB2: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: gpb2_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: GPB2 - vfc_ecomp_name: false - vfc_image_name: - get_input: gpb2_vfc_image_name - vfc_instance_name: - get_input: gpb2_vfc_instance_name - vfc_type_tag: - get_input: gpb2_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb2_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb2_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb2_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - Internal1_net: - metadata: - category: Generic - description: "Internal Network" - invariantUUID: 14a25c59-e2c2-4f86-880d-371d4d9dc88c - name: Network - subcategory: Infrastructure - type: VL - UUID: 1a20ed2e-abcd-3f20-ca4e-cc7af4da1234 - resourceVendor: AT&T - version: 1.0 - properties: - cidr: - get_input: Internal1_net_cidr - contrail_virtual_network: - vn_external: false - vn_forwarding_mode: l2 - vn_name: MME-24474-Ericsson-WTC-lab_int_MMEX36_net_1 - vn_shared: false - enable_dhcp: - get_input: Internal1_net_enable_dhcp - flow_pattern: E-LAN - gateway_ip: - get_input: Internal1_net_gateway_ip - ip_version: 4 - layer_protocol: IP - network_deployment_node: - get_input: network_deployment_node - network_ecomp_name: false - network_homing: false - network_role: ~ - network_technology: Contrail - network_type: Tenant_Layer_3 - test_access: none - type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork - Internal2_net: - metadata: - category: Generic - description: "Internal Network" - invariantUUID: 14a25c59-e2c2-4f86-880d-371d4d9dc88c - name: Network - subcategory: Infrastructure - type: VL - UUID: 1a20ed2e-abcd-3f20-ca4e-cc7af4da1234 - resourceVendor: AT&T - version: 1.0 - properties: - cidr: - get_input: Internal2_net_cidr - contrail_virtual_network: - vn_external: false - vn_forwarding_mode: l2 - vn_name: MME-24474-Ericsson-WTC-lab_int_MMEX36_net_2 - vn_shared: false - enable_dhcp: - get_input: Internal2_net_enable_dhcp - flow_pattern: E-LAN - gateway_ip: - get_input: Internal2_net_gateway_ip - ip_version: 4 - layer_protocol: IP - network_deployment_node: - get_input: network_deployment_node - network_ecomp_name: false - network_homing: false - network_role: ~ - network_technology: Contrail - network_type: Tenant_Layer_3 - test_access: none - type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork - NCB1: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: ncb1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: NCB1 - vfc_ecomp_name: false - vfc_image_name: - get_input: ncb1_vfc_image_name - vfc_instance_name: - get_input: ncb1_vfc_instance_name - vfc_type_tag: - get_input: ncb1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - NCB2: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: ncb2_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: NCB2 - vfc_ecomp_name: false - vfc_image_name: - get_input: ncb2_vfc_image_name - vfc_instance_name: - get_input: ncb2_vfc_instance_name - vfc_type_tag: - get_input: ncb2_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb2_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb2_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb2_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - VLC1: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: vlc1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: VLC1 - vfc_ecomp_name: false - vfc_image_name: - get_input: vlc1_vfc_image_name - vfc_instance_name: - get_input: vlc1_vfc_instance_name - vfc_type_tag: - get_input: vlc1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - VLC2: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: vlc2_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: VLC2 - vfc_ecomp_name: false - vfc_image_name: - get_input: vlc2_vfc_image_name - vfc_instance_name: - get_input: vlc2_vfc_instance_name - vfc_type_tag: - get_input: vlc2_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc2_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc2_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc2_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - fsb1_internal1: - properties: - address_info: - mac_address: - get_input: fsb1_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb1_internal2: - properties: - address_info: - mac_address: - get_input: fsb1_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb1_oam: - properties: - address_Info: - ip_address: - get_input: fsb1_oam_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: oam_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb2_internal1: - properties: - address_info: - mac_address: - get_input: fsb2_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb2_internal2: - properties: - address_info: - mac_address: - get_input: fsb2_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb2_oam: - properties: - address_Info: - ip_address: - get_input: fsb2_oam_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: oam_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - gpb1_internal1: - properties: - address_info: - mac_address: - get_input: gpb1_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: GPB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - gpb1_internal2: - properties: - address_info: - mac_address: - get_input: gpb1_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: GPB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - gpb2_internal1: - properties: - address_info: - mac_address: - get_input: gpb2_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: GPB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - gpb2_internal2: - properties: - address_info: - mac_address: - get_input: gpb2_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: GPB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - ncb1_internal1: - properties: - address_info: - mac_address: - get_input: ncb1_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: NCB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - ncb1_internal2: - properties: - address_info: - mac_address: - get_input: ncb1_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: NCB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - ncb2_internal1: - properties: - address_info: - mac_address: - get_input: ncb2_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: NCB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - ncb2_internal2: - properties: - address_info: - mac_address: - get_input: ncb2_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: NCB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - oam_net: - metadata: - category: VL - description: "Mobility OAM Network" - invariantUUID: 18643c59-e2c2-4f86-880d-371d4d9dc52a - name: "Mobility OAM Network" - type: VL - UUID: 1a20ed2e-abcd-3f20-ca4e-cc7af4da7fcc - resourceVendor: AT&T - version: 2.0 - properties: - flow_pattern: E-LAN - layer_protocol: IP - network_id: - get_input: oam_net_id - network_technology: Contrail - network_type: vIPR_ATM_OAM - test_access: none - type: org.openecomp.resource.vl.OAM - vlc1_gtp_net: - properties: - address_Info: - ip_address: - get_input: vlc1_gtp_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc1_internal2: - properties: - address_info: - mac_address: - get_input: vlc1_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc1_oam: - properties: - address_Info: - ip_address: - get_input: vlc1_oam_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: oam_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc1_sctp_a: - properties: - address_Info: - ip_address: - get_input: vlc2_sctp_a_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc1_sctp_b: - properties: - address_Info: - ip_address: - get_input: vlc2_sctp_b_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_gtp_net: - properties: - address_Info: - ip_address: - get_input: vlc2_gtp_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_internal1: - properties: - address_info: - mac_address: - get_input: vlc2_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_internal2: - properties: - address_info: - mac_address: - get_input: vlc2_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_oam: - properties: - address_Info: - ip_address: - get_input: vlc2_oam_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: oam_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_sctp_a: - properties: - address_Info: - ip_address: - get_input: vlc2_sctp_a_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_sctp_b: - properties: - address_Info: - ip_address: - get_input: vlc2_sctp_b_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - policies: - - - mme_autoscale_policy: - properties: - factor: cpu_load - increment: 1 - max_instances: 4 - min_instances: 1 - threshold: 80% - target: - - vfmoduleVmmeModule-1 - type: org.openecomp.policy.Autoscaling - substitution_mapping: - requirements: - - - vlc1_gtp_net.link: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - - - vlc2_gtp_net.link: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - - - vlc1_sctp_a.link: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - - - vlc1_sctp_b.link: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - type: org.openecomp.resource.vf.vmme -tosca_definitions_version: tosca_simple_profile_for_ecomp_1_0 diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenInvalidResourceVersion2/service_vmme_template_1.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenInvalidResourceVersion2/service_vmme_template_1.yml deleted file mode 100644 index 94b6c9b29b..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenInvalidResourceVersion2/service_vmme_template_1.yml +++ /dev/null @@ -1,98 +0,0 @@ -tosca_definitions_version: tosca_simple_profile_for_ecomp_1_0 - -description: Service Template for deploing MME Service - -metadata: - invariantUUID: e255f20c-5331-4245-9ad5-8861a73080b7 - UUID: 7787da18-7516-40cf-bec0-ebd4202c60f0 - type: Service - name: vMME_Service - description: vMME_Service - category: Mobility - serviceEcompNaming: false - serviceHoming: false - -imports: - vmmeToscaTemplate: - file: vf_vmme_template_1.yml - -topology_template: - - inputs: - mme_vf_instance_name: - type: string - description: VF instance name - mme_vf_deployment_node: - type: string - description: The target LCP node for deployment of this VF instance - gtp_net_network_name: - type: string - description: The GTP network route targets - default: MME-24474-Ericsson-WTC-lab_gn_GTP_net_1 # HEAT ENV - gtp_net_route_targets: - type: string - description: The GTP network route targets - default: "13979:105715" # HEAT ENV - gtp_net_cidr: - type: string - description: The GTP network cidr - default: 107.243.37.64/27 # HEAT ENV - gtp_net_gateway_ip: - type: string - description: The GTP network gateway - default: 107.243.37.65 # HEAT ENV - gtp_net_start_ip: - type: string - description: The GTP network start ip - default: 107.243.37.67 # HEAT ENV - gtp_net_end_ip: - type: string - description: The GTP network end ip - default: 107.243.37.94 # HEAT ENV - # more inputs were removed for brevity - - node_templates: - - mme: # vMME VNF - type: org.openecomp.resource.vf.vmme - - metadata: - invariantUUID: b8643c59-e2c2-4f86-880d-571d4d9d5d22 - UUID: b020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc - version: 1 - name: vMME_VF - description: vMME_VF - type: VF - category: Application L4+ - subcategory: Firewall - resourceVendor: Ericsson - - properties: - vf_ecomp_name: false - vf_instance_name: { get_input: vf_instance_name } - vf_homing: false - vf_deployment_node: { get_input: vf_deployment_node } - - requirements: - - vlc1_sctp_a.link: - capability: tosca.capabilities.network.Bindable - node: sctp_a_net - relationship: tosca.relationships.network.BindsTo - - vlc1_sctp_b.link: - capability: tosca.capabilities.network.Bindable - node: sctp_b_net - relationship: tosca.relationships.network.BindsTo - - vlc1_gtp_net.link: - capability: tosca.capabilities.network.Bindable - node: gtp_net - relationship: tosca.relationships.network.BindsTo - - groups: - - external_networks: # vMME_External_Network - type: org.openecomp.groups.externalNetworks - properties: - contrail_service_instance: true # from HEAT - availability_zone_count: 1 # from HEAT - - members: [ sctp_a_net, sctp_b_net, gtp_net ] diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenInvalidResourceVersion2/vf_vmme_template_1.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenInvalidResourceVersion2/vf_vmme_template_1.yml deleted file mode 100644 index 6aee48b9d9..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenInvalidResourceVersion2/vf_vmme_template_1.yml +++ /dev/null @@ -1,1299 +0,0 @@ ---- -description: "VF Template for pseodo vMME" -imports: - NovaServerGlobalTypes: - file: NovaServerGlobalTypesServiceTemplate.yaml -metadata: - category: "Application L4+" - description: vMME_VF - invariantUUID: b8643c59-e2c2-4f86-880d-571d4d9d5d22 - name: vMME_VF - subcategory: Firewall - type: VF - UUID: b020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc - resourceVendor: Ericsson -topology_template: - groups: - vfmoduleVmmeModule-1: - members: - - FSB1 - - FSB2 - - NCB1 - - NCB2 - - VLC1 - - VLC2 - - GPB1 - - GPB2 - - Internal1_net - - Internal2_net - - fsb1_oam - - fsb1_internal1 - - fsb1_internal2 - - fsb2_oam - - fsb2_internal2 - - ncb1_internal1 - - ncb1_internal2 - - ncb2_internal1 - - ncb2_internal2 - - gpb1_internal1 - - gpb1_internal2 - - gpb2_internal1 - - gpb2_internal2 - - vlc1_oam - - vlc1_internal1 - - vlc1_internal2 - - vlc1_sctp_a - - vlc1_sctp_b - - vlc1_gtp - - vlc2_oam - - vlc2_internal1 - - vlc2_internal2 - - vlc2_sctp_a - - vlc2_sctp_b - - vlc1_gtp - metadata: - vfModuleModelInvariantUUID: adf1a10a-f788-492f-9ea7-7ff91dd55f8c - vfModuleModelName: "vMME::module-1" - vfModuleModelUUID: x020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc - vfModuleModelVersion: 1 - properties: - artifacts: - - /Artifacts/vmme_small_create_fsb.yml - - /Artifacts/vmme_small.yml - availability_zone_count: 2 - contrail_service_instance: true - vf_module_description: "vMME expansion VF Module" - vf_module_label: "vMME Expansion VF Module" - vf_module_type: Expansion - volume_group: false - type: org.openecomp.groups.VfModule - vmme_small: - members: - - FSB1 - - FSB2 - - NCB1 - - NCB2 - - VLC1 - - VLC2 - - GPB1 - - GPB2 - - Internal1_net - - Internal2_net - - fsb1_oam - - fsb1_internal1 - - fsb1_internal2 - - fsb2_oam - - fsb2_internal2 - - ncb1_internal1 - - ncb1_internal2 - - ncb2_internal1 - - ncb2_internal2 - - gpb1_internal1 - - gpb1_internal2 - - gpb2_internal1 - - gpb2_internal2 - - vlc1_oam - - vlc1_internal1 - - vlc1_internal2 - - vlc1_sctp_a - - vlc1_sctp_b - - vlc1_gtp - - vlc2_oam - - vlc2_internal1 - - vlc2_internal2 - - vlc2_sctp_a - - vlc2_sctp_b - - vlc1_gtp - properties: - description: "HOT template to create vmme 2 fsb 2 ncb 2 gbp 2 vlc" - heat_file: ../Artifacts/vmme_small.yml - type: org.openecomp.groups.heat.HeatStack - vmme_small_create_fsb: - members: - - FSB1_volume - - FSB2_volume - properties: - description: "server template for vMME" - heat_file: ../Artifacts/vmme_small_create_fsb.yml - type: org.openecomp.groups.heat.HeatStack - inputs: - Internal1_net_cidr: - default: 169.253.0.0/17 - hidden: false - immutable: false - type: string - Internal1_net_dhcp: - default: "False" - hidden: false - immutable: false - type: string - Internal1_net_gateway_ip: - default: "169.253.0.3" - hidden: false - immutable: false - type: string - Internal2_net_cidr: - default: 169.255.0.0/17 - hidden: false - immutable: false - type: string - Internal2_net_dhcp: - default: "False" - hidden: false - immutable: false - type: string - Internal2_net_gateway_ip: - default: "169.255.0.3" - hidden: false - immutable: false - type: string - fsb1_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - fsb1_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - fsb1_oam_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - fsb1_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - fsb1_vfc_image_name: - default: MME_FSB1_16ACP03.qcow2 - description: "VFC image name" - type: string - fsb1_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - fsb1_vfc_type_tag: - description: "VFC type tag" - type: string - fsb2_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - fsb2_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - fsb2_oam_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - fsb2_vfc_flavor: - defualt: m4.xlarge4 - description: "VFC flavor" - type: string - fsb2_vfc_image_name: - default: MME_FSB2_16ACP03.qcow2 - description: "VFC image name" - type: string - fsb2_vfc_instance_name: - default: ZRDM1MMEX36FSB002 - description: "VFC instance name" - type: string - fsb2_vfc_type_tag: - description: "VFC type tag" - type: string - gpb1_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - gpb1_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - gpb1_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - gpb1_vfc_image_name: - default: MME_GPB1_16ACP03.qcow2 - description: "VFC image name" - type: string - gpb1_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - gpb1_vfc_type_tag: - description: "VFC type tag" - type: string - gpb2_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - gpb2_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - gpb2_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - gpb2_vfc_image_name: - default: MME_GPB2_16ACP03.qcow2 - description: "VFC image name" - type: string - gpb2_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - gpb2_vfc_type_tag: - description: "VFC type tag" - type: string - ncb1_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - ncb1_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - ncb1_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - ncb1_vfc_image_name: - default: MME_NCB1_16ACP03.qcow2 - description: "VFC image name" - type: string - ncb1_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - ncb1_vfc_type_tag: - description: "VFC type tag" - type: string - ncb2_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - ncb2_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - ncb2_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - ncb2_vfc_image_name: - default: MME_NCB2_16ACP03.qcow2 - description: "VFC image name" - type: string - ncb2_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - ncb2_vfc_type_tag: - description: "VFC type tag" - type: string - network_deployment_node: - description: "The target LCP node for deployment of this Network instance" - type: string - oam_net_id: - default: 47bf4cca-0961-422f-bcd6-d5a4fbb1a351 - description: "uuid of oam network" - hidden: false - immutable: false - type: string - vlc1_gtp_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc1_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - vlc1_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - vlc1_oam_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc1_sctp_a_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc1_sctp_b_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc1_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - vlc1_vfc_image_name: - default: MME_VLC1_16ACP03.qcow2 - description: "VFC image name" - type: string - vlc1_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - vlc1_vfc_type_tag: - description: "VFC type tag" - type: string - vlc2_gtp_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc2_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - vlc2_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - vlc2_oam_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc2_sctp_a_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc2_sctp_b_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc2_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - vlc2_vfc_image_name: - default: MME_VLC2_16ACP03.qcow2 - description: "VFC image name" - type: string - vlc2_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - vlc2_vfc_type_tag: - description: "VFC type tag" - type: string - node_templates: - FSB1: - capabilities: - monitoring_capabilty: - properties: - name: high_cpu - nfv_compute: - properties: - vfc_flavor: - get_input: fsb1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: FSB1 - vfc_ecomp_name: false - vfc_image_name: - get_input: fsb1_vfc_image_name - vfc_instance_name: - get_input: fsb1_vfc_instance_name - vfc_type_tag: - get_input: fsb1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - FSB2: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: fsb2_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: FSB2 - vfc_ecomp_name: false - vfc_image_name: - get_input: fsb2_vfc_image_name - vfc_instance_name: - get_input: fsb2_vfc_instance_name - vfc_type_tag: - get_input: fsb2_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb2_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb2_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb2_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - GPB1: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: gpb1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: GPB1 - vfc_ecomp_name: false - vfc_image_name: - get_input: gpb1_vfc_image_name - vfc_instance_name: - get_input: gpb1_vfc_instance_name - vfc_type_tag: - get_input: gpb1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - GPB2: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: gpb2_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: GPB2 - vfc_ecomp_name: false - vfc_image_name: - get_input: gpb2_vfc_image_name - vfc_instance_name: - get_input: gpb2_vfc_instance_name - vfc_type_tag: - get_input: gpb2_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb2_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb2_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb2_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - Internal1_net: - metadata: - category: Generic - description: "Internal Network" - invariantUUID: 14a25c59-e2c2-4f86-880d-371d4d9dc88c - name: Network - subcategory: Infrastructure - type: VL - UUID: 1a20ed2e-abcd-3f20-ca4e-cc7af4da1234 - resourceVendor: AT&T - version: 1.0 - properties: - cidr: - get_input: Internal1_net_cidr - contrail_virtual_network: - vn_external: false - vn_forwarding_mode: l2 - vn_name: MME-24474-Ericsson-WTC-lab_int_MMEX36_net_1 - vn_shared: false - enable_dhcp: - get_input: Internal1_net_enable_dhcp - flow_pattern: E-LAN - gateway_ip: - get_input: Internal1_net_gateway_ip - ip_version: 4 - layer_protocol: IP - network_deployment_node: - get_input: network_deployment_node - network_ecomp_name: false - network_homing: false - network_role: ~ - network_technology: Contrail - network_type: Tenant_Layer_3 - test_access: none - type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork - Internal2_net: - metadata: - category: Generic - description: "Internal Network" - invariantUUID: 14a25c59-e2c2-4f86-880d-371d4d9dc88c - name: Network - subcategory: Infrastructure - type: VL - UUID: 1a20ed2e-abcd-3f20-ca4e-cc7af4da1234 - resourceVendor: AT&T - version: 1.0 - properties: - cidr: - get_input: Internal2_net_cidr - contrail_virtual_network: - vn_external: false - vn_forwarding_mode: l2 - vn_name: MME-24474-Ericsson-WTC-lab_int_MMEX36_net_2 - vn_shared: false - enable_dhcp: - get_input: Internal2_net_enable_dhcp - flow_pattern: E-LAN - gateway_ip: - get_input: Internal2_net_gateway_ip - ip_version: 4 - layer_protocol: IP - network_deployment_node: - get_input: network_deployment_node - network_ecomp_name: false - network_homing: false - network_role: ~ - network_technology: Contrail - network_type: Tenant_Layer_3 - test_access: none - type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork - NCB1: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: ncb1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: NCB1 - vfc_ecomp_name: false - vfc_image_name: - get_input: ncb1_vfc_image_name - vfc_instance_name: - get_input: ncb1_vfc_instance_name - vfc_type_tag: - get_input: ncb1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - NCB2: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: ncb2_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: NCB2 - vfc_ecomp_name: false - vfc_image_name: - get_input: ncb2_vfc_image_name - vfc_instance_name: - get_input: ncb2_vfc_instance_name - vfc_type_tag: - get_input: ncb2_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb2_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb2_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb2_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - VLC1: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: vlc1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: VLC1 - vfc_ecomp_name: false - vfc_image_name: - get_input: vlc1_vfc_image_name - vfc_instance_name: - get_input: vlc1_vfc_instance_name - vfc_type_tag: - get_input: vlc1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - VLC2: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: vlc2_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: VLC2 - vfc_ecomp_name: false - vfc_image_name: - get_input: vlc2_vfc_image_name - vfc_instance_name: - get_input: vlc2_vfc_instance_name - vfc_type_tag: - get_input: vlc2_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc2_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc2_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc2_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - fsb1_internal1: - properties: - address_info: - mac_address: - get_input: fsb1_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb1_internal2: - properties: - address_info: - mac_address: - get_input: fsb1_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb1_oam: - properties: - address_Info: - ip_address: - get_input: fsb1_oam_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: oam_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb2_internal1: - properties: - address_info: - mac_address: - get_input: fsb2_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb2_internal2: - properties: - address_info: - mac_address: - get_input: fsb2_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb2_oam: - properties: - address_Info: - ip_address: - get_input: fsb2_oam_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: oam_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - gpb1_internal1: - properties: - address_info: - mac_address: - get_input: gpb1_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: GPB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - gpb1_internal2: - properties: - address_info: - mac_address: - get_input: gpb1_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: GPB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - gpb2_internal1: - properties: - address_info: - mac_address: - get_input: gpb2_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: GPB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - gpb2_internal2: - properties: - address_info: - mac_address: - get_input: gpb2_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: GPB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - ncb1_internal1: - properties: - address_info: - mac_address: - get_input: ncb1_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: NCB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - ncb1_internal2: - properties: - address_info: - mac_address: - get_input: ncb1_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: NCB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - ncb2_internal1: - properties: - address_info: - mac_address: - get_input: ncb2_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: NCB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - ncb2_internal2: - properties: - address_info: - mac_address: - get_input: ncb2_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: NCB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - oam_net: - metadata: - category: VL - description: "Mobility OAM Network" - invariantUUID: 18643c59-e2c2-4f86-880d-371d4d9dc52a - name: "Mobility OAM Network" - type: VL - UUID: 1a20ed2e-abcd-3f20-ca4e-cc7af4da7fcc - resourceVendor: AT&T - version: 2.0 - properties: - flow_pattern: E-LAN - layer_protocol: IP - network_id: - get_input: oam_net_id - network_technology: Contrail - network_type: vIPR_ATM_OAM - test_access: none - type: org.openecomp.resource.vl.OAM - vlc1_gtp_net: - properties: - address_Info: - ip_address: - get_input: vlc1_gtp_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc1_internal2: - properties: - address_info: - mac_address: - get_input: vlc1_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc1_oam: - properties: - address_Info: - ip_address: - get_input: vlc1_oam_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: oam_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc1_sctp_a: - properties: - address_Info: - ip_address: - get_input: vlc2_sctp_a_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc1_sctp_b: - properties: - address_Info: - ip_address: - get_input: vlc2_sctp_b_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_gtp_net: - properties: - address_Info: - ip_address: - get_input: vlc2_gtp_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_internal1: - properties: - address_info: - mac_address: - get_input: vlc2_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_internal2: - properties: - address_info: - mac_address: - get_input: vlc2_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_oam: - properties: - address_Info: - ip_address: - get_input: vlc2_oam_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: oam_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_sctp_a: - properties: - address_Info: - ip_address: - get_input: vlc2_sctp_a_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_sctp_b: - properties: - address_Info: - ip_address: - get_input: vlc2_sctp_b_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - policies: - - - mme_autoscale_policy: - properties: - factor: cpu_load - increment: 1 - max_instances: 4 - min_instances: 1 - threshold: 80% - target: - - vfmoduleVmmeModule-1 - type: org.openecomp.policy.Autoscaling - substitution_mapping: - requirements: - - - vlc1_gtp_net.link: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - - - vlc2_gtp_net.link: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - - - vlc1_sctp_a.link: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - - - vlc1_sctp_b.link: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - type: org.openecomp.resource.vf.vmme -tosca_definitions_version: tosca_simple_profile_for_ecomp_1_0 diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenInvalidUuId/service_vmme_template_1.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenInvalidUuId/service_vmme_template_1.yml deleted file mode 100644 index 5edb3bf8af..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenInvalidUuId/service_vmme_template_1.yml +++ /dev/null @@ -1,194 +0,0 @@ -tosca_definitions_version: tosca_simple_profile_for_ecomp_1_0 - -description: Service Template for deploing MME Service - -metadata: - invariantUUID: 7787da18-7516-40cf-bec0-ebd4202c60f0 - UUID: 7787da18-123 - type: Service - name: vMME_Service - description: vMME_Service - category: Mobility - serviceEcompNaming: false - serviceHoming: false - -imports: - vmmeToscaTemplate: - file: vf_vmme_template_1.yml - -topology_template: - - inputs: - mme_vf_instance_name: - type: string - description: VF instance name - mme_vf_deployment_node: - type: string - description: The target LCP node for deployment of this VF instance - gtp_net_network_name: - type: string - description: The GTP network route targets - default: MME-24474-Ericsson-WTC-lab_gn_GTP_net_1 # HEAT ENV - gtp_net_route_targets: - type: string - description: The GTP network route targets - default: "13979:105715" # HEAT ENV - gtp_net_cidr: - type: string - description: The GTP network cidr - default: 107.243.37.64/27 # HEAT ENV - gtp_net_gateway_ip: - type: string - description: The GTP network gateway - default: 107.243.37.65 # HEAT ENV - gtp_net_start_ip: - type: string - description: The GTP network start ip - default: 107.243.37.67 # HEAT ENV - gtp_net_end_ip: - type: string - description: The GTP network end ip - default: 107.243.37.94 # HEAT ENV - # more inputs were removed for brevity - - node_templates: - - mme: # vMME VNF - type: org.openecomp.resource.vf.vmme - - metadata: - invariantUUID: b8643c59-e2c2-4f86-880d-571d4d9d5d22 - UUID: b020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc - version: 1.0 - name: vMME_VF - description: vMME_VF - type: VF - category: Application L4+ - subcategory: Firewall - resourceVendor: Ericsson - - properties: - vf_ecomp_name: false - vf_instance_name: { get_input: vf_instance_name } - vf_homing: false - vf_deployment_node: { get_input: vf_deployment_node } - - requirements: - - vlc1_sctp_a.link: - capability: tosca.capabilities.network.Bindable - node: sctp_a_net - relationship: tosca.relationships.network.BindsTo - - vlc1_sctp_b.link: - capability: tosca.capabilities.network.Bindable - node: sctp_b_net - relationship: tosca.relationships.network.BindsTo - - vlc1_gtp_net.link: - capability: tosca.capabilities.network.Bindable - node: gtp_net - relationship: tosca.relationships.network.BindsTo - - - - # Virtual Links (Networks) - - gtp_net: - type: org.openecomp.resource.vl.VL - metadata: - invariantUUID: ab2995c59-ff34-4f86-a60d-371d4d9d1896 - UUID: 101a0ed2e-a12d-ff20-004e-cc7af4daffc3 - version: 1.0 - name: GTPNet - description: GTP External Network - type: VL - category: VL - resourceVendor: AT&T - properties: - network_type: Tenant_Layer_3 - network_technology: Contrail - network_ecomp_name: false - network_homing: false - network_deployment_node: { get_input : network_deployment_node } - contrail_virtual_network: - network_name: {get_input: gtp_net_network_name} - route_targets: {get_input: gtp_net_route_targets} - network_id: - layer_protocol: IP - flow_pattern: E-LAN - test_access: none - l3_access_parameters: - ip_version: 4 - cidr: {get_input: gtp_net_cidr} - gateway_ip: {get_input: gtp_net_gateway_ip} - start_ip: {get_input: gtp_net_start_ip} - end_ip: {get_input: gtp_net_end_ip} - - sctp_a_net: - type: org.openecomp.resource.vl.VL - metadata: - invariantUUID: 29205c59-1111-4f86-880d-371d4d9dc999 - UUID: 1890ed2e-abcd-3f20-124e-cc7af4da4321 - version: 1.0 - name: SCTPANet - description: SCTP A External Network - type: VL - category: VL - resourceVendor: AT&T - properties: - network_type: Tenant_Layer_3 - network_technology: Contrail - network_ecomp_name: false - network_homing: false - network_deployment_node: { get_input : network_deployment_node } - contrail_virtual_network: - network_name: MME-24474-Ericsson-WTC-lab_gn_SCTPA_net_1 - route_targets: 13979:105717 - layer_protocol: IP - flow_pattern: E-LAN - test_access: none - l3_access_parameters: - ip_version: 4 - cidr: 107.243.37.0/27 # HEAT ENV - gateway_ip: 107.243.37.1 # HEAT ENV - start_ip: 107.243.37.3 # HEAT ENV - end_ip: 107.243.37.30 # HEAT ENV - - sctp_b_net: - type: org.openecomp.resource.vl.VL - metadata: - invariantUUID: 89595c59-2134-4f86-880d-371d4d9d12a6 - UUID: 1af0ed2e-abcd-3f20-834e-cc7af4dafc45 - version: 1.0 - name: SCTPBNet - description: SCTP B External Network - type: VL - category: VL - resourceVendor: AT&T - properties: - network_type: Tenant_Layer_3 - network_technology: Contrail - network_ecomp_name: false - network_homing: false - network_deployment_node: { get_input : network_deployment_node } - contrail_virtual_network: - network_name: MME-24474-Ericsson-WTC-lab_gn_SCTPB_net_1 - route_targets: 13979:105719 - network_id: - layer_protocol: IP - flow_pattern: E-LAN - test_access: none - l3_access_parameters: - ip_version: 4 - cidr: 107.243.37.32/24 # HEAT ENV - gateway_ip: 107.243.37.33 # HEAT ENV - start_ip: 107.243.37.35 # HEAT ENV - end_ip: 107.243.37.62 # HEAT ENV - - groups: - - external_networks: # vMME_External_Network - type: org.openecomp.groups.externalNetworks - properties: - contrail_service_instance: true # from HEAT - availability_zone_count: 1 # from HEAT - - members: [ sctp_a_net, sctp_b_net, gtp_net ] diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenNoResourceVersion/service_vmme_template_1.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenNoResourceVersion/service_vmme_template_1.yml deleted file mode 100644 index d50b285b70..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenNoResourceVersion/service_vmme_template_1.yml +++ /dev/null @@ -1,98 +0,0 @@ -tosca_definitions_version: tosca_simple_profile_for_ecomp_1_0 - -description: Service Template for deploing MME Service - -metadata: - invariantUUID: e255f20c-5331-4245-9ad5-8861a73080b7 - UUID: 7787da18-7516-40cf-bec0-ebd4202c60f0 - type: Service - name: vMME_Service - description: vMME_Service - category: Mobility - serviceEcompNaming: false - serviceHoming: false - -imports: - vmmeToscaTemplate: - file: vf_vmme_template_1.yml - -topology_template: - - inputs: - mme_vf_instance_name: - type: string - description: VF instance name - mme_vf_deployment_node: - type: string - description: The target LCP node for deployment of this VF instance - gtp_net_network_name: - type: string - description: The GTP network route targets - default: MME-24474-Ericsson-WTC-lab_gn_GTP_net_1 # HEAT ENV - gtp_net_route_targets: - type: string - description: The GTP network route targets - default: "13979:105715" # HEAT ENV - gtp_net_cidr: - type: string - description: The GTP network cidr - default: 107.243.37.64/27 # HEAT ENV - gtp_net_gateway_ip: - type: string - description: The GTP network gateway - default: 107.243.37.65 # HEAT ENV - gtp_net_start_ip: - type: string - description: The GTP network start ip - default: 107.243.37.67 # HEAT ENV - gtp_net_end_ip: - type: string - description: The GTP network end ip - default: 107.243.37.94 # HEAT ENV - # more inputs were removed for brevity - - node_templates: - - mme: # vMME VNF - type: org.openecomp.resource.vf.vmme - - metadata: - invariantUUID: b8643c59-e2c2-4f86-880d-571d4d9d5d22 - UUID: b020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc - version: - name: vMME_VF - description: vMME_VF - type: VF - category: Application L4+ - subcategory: Firewall - resourceVendor: Ericsson - - properties: - vf_ecomp_name: false - vf_instance_name: { get_input: vf_instance_name } - vf_homing: false - vf_deployment_node: { get_input: vf_deployment_node } - - requirements: - - vlc1_sctp_a.link: - capability: tosca.capabilities.network.Bindable - node: sctp_a_net - relationship: tosca.relationships.network.BindsTo - - vlc1_sctp_b.link: - capability: tosca.capabilities.network.Bindable - node: sctp_b_net - relationship: tosca.relationships.network.BindsTo - - vlc1_gtp_net.link: - capability: tosca.capabilities.network.Bindable - node: gtp_net - relationship: tosca.relationships.network.BindsTo - - groups: - - external_networks: # vMME_External_Network - type: org.openecomp.groups.externalNetworks - properties: - contrail_service_instance: true # from HEAT - availability_zone_count: 1 # from HEAT - - members: [ sctp_a_net, sctp_b_net, gtp_net ] diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenNoResourceVersion/vf_vmme_template_1.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenNoResourceVersion/vf_vmme_template_1.yml deleted file mode 100644 index 6aee48b9d9..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testErrorWhenNoResourceVersion/vf_vmme_template_1.yml +++ /dev/null @@ -1,1299 +0,0 @@ ---- -description: "VF Template for pseodo vMME" -imports: - NovaServerGlobalTypes: - file: NovaServerGlobalTypesServiceTemplate.yaml -metadata: - category: "Application L4+" - description: vMME_VF - invariantUUID: b8643c59-e2c2-4f86-880d-571d4d9d5d22 - name: vMME_VF - subcategory: Firewall - type: VF - UUID: b020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc - resourceVendor: Ericsson -topology_template: - groups: - vfmoduleVmmeModule-1: - members: - - FSB1 - - FSB2 - - NCB1 - - NCB2 - - VLC1 - - VLC2 - - GPB1 - - GPB2 - - Internal1_net - - Internal2_net - - fsb1_oam - - fsb1_internal1 - - fsb1_internal2 - - fsb2_oam - - fsb2_internal2 - - ncb1_internal1 - - ncb1_internal2 - - ncb2_internal1 - - ncb2_internal2 - - gpb1_internal1 - - gpb1_internal2 - - gpb2_internal1 - - gpb2_internal2 - - vlc1_oam - - vlc1_internal1 - - vlc1_internal2 - - vlc1_sctp_a - - vlc1_sctp_b - - vlc1_gtp - - vlc2_oam - - vlc2_internal1 - - vlc2_internal2 - - vlc2_sctp_a - - vlc2_sctp_b - - vlc1_gtp - metadata: - vfModuleModelInvariantUUID: adf1a10a-f788-492f-9ea7-7ff91dd55f8c - vfModuleModelName: "vMME::module-1" - vfModuleModelUUID: x020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc - vfModuleModelVersion: 1 - properties: - artifacts: - - /Artifacts/vmme_small_create_fsb.yml - - /Artifacts/vmme_small.yml - availability_zone_count: 2 - contrail_service_instance: true - vf_module_description: "vMME expansion VF Module" - vf_module_label: "vMME Expansion VF Module" - vf_module_type: Expansion - volume_group: false - type: org.openecomp.groups.VfModule - vmme_small: - members: - - FSB1 - - FSB2 - - NCB1 - - NCB2 - - VLC1 - - VLC2 - - GPB1 - - GPB2 - - Internal1_net - - Internal2_net - - fsb1_oam - - fsb1_internal1 - - fsb1_internal2 - - fsb2_oam - - fsb2_internal2 - - ncb1_internal1 - - ncb1_internal2 - - ncb2_internal1 - - ncb2_internal2 - - gpb1_internal1 - - gpb1_internal2 - - gpb2_internal1 - - gpb2_internal2 - - vlc1_oam - - vlc1_internal1 - - vlc1_internal2 - - vlc1_sctp_a - - vlc1_sctp_b - - vlc1_gtp - - vlc2_oam - - vlc2_internal1 - - vlc2_internal2 - - vlc2_sctp_a - - vlc2_sctp_b - - vlc1_gtp - properties: - description: "HOT template to create vmme 2 fsb 2 ncb 2 gbp 2 vlc" - heat_file: ../Artifacts/vmme_small.yml - type: org.openecomp.groups.heat.HeatStack - vmme_small_create_fsb: - members: - - FSB1_volume - - FSB2_volume - properties: - description: "server template for vMME" - heat_file: ../Artifacts/vmme_small_create_fsb.yml - type: org.openecomp.groups.heat.HeatStack - inputs: - Internal1_net_cidr: - default: 169.253.0.0/17 - hidden: false - immutable: false - type: string - Internal1_net_dhcp: - default: "False" - hidden: false - immutable: false - type: string - Internal1_net_gateway_ip: - default: "169.253.0.3" - hidden: false - immutable: false - type: string - Internal2_net_cidr: - default: 169.255.0.0/17 - hidden: false - immutable: false - type: string - Internal2_net_dhcp: - default: "False" - hidden: false - immutable: false - type: string - Internal2_net_gateway_ip: - default: "169.255.0.3" - hidden: false - immutable: false - type: string - fsb1_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - fsb1_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - fsb1_oam_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - fsb1_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - fsb1_vfc_image_name: - default: MME_FSB1_16ACP03.qcow2 - description: "VFC image name" - type: string - fsb1_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - fsb1_vfc_type_tag: - description: "VFC type tag" - type: string - fsb2_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - fsb2_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - fsb2_oam_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - fsb2_vfc_flavor: - defualt: m4.xlarge4 - description: "VFC flavor" - type: string - fsb2_vfc_image_name: - default: MME_FSB2_16ACP03.qcow2 - description: "VFC image name" - type: string - fsb2_vfc_instance_name: - default: ZRDM1MMEX36FSB002 - description: "VFC instance name" - type: string - fsb2_vfc_type_tag: - description: "VFC type tag" - type: string - gpb1_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - gpb1_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - gpb1_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - gpb1_vfc_image_name: - default: MME_GPB1_16ACP03.qcow2 - description: "VFC image name" - type: string - gpb1_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - gpb1_vfc_type_tag: - description: "VFC type tag" - type: string - gpb2_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - gpb2_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - gpb2_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - gpb2_vfc_image_name: - default: MME_GPB2_16ACP03.qcow2 - description: "VFC image name" - type: string - gpb2_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - gpb2_vfc_type_tag: - description: "VFC type tag" - type: string - ncb1_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - ncb1_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - ncb1_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - ncb1_vfc_image_name: - default: MME_NCB1_16ACP03.qcow2 - description: "VFC image name" - type: string - ncb1_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - ncb1_vfc_type_tag: - description: "VFC type tag" - type: string - ncb2_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - ncb2_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - ncb2_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - ncb2_vfc_image_name: - default: MME_NCB2_16ACP03.qcow2 - description: "VFC image name" - type: string - ncb2_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - ncb2_vfc_type_tag: - description: "VFC type tag" - type: string - network_deployment_node: - description: "The target LCP node for deployment of this Network instance" - type: string - oam_net_id: - default: 47bf4cca-0961-422f-bcd6-d5a4fbb1a351 - description: "uuid of oam network" - hidden: false - immutable: false - type: string - vlc1_gtp_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc1_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - vlc1_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - vlc1_oam_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc1_sctp_a_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc1_sctp_b_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc1_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - vlc1_vfc_image_name: - default: MME_VLC1_16ACP03.qcow2 - description: "VFC image name" - type: string - vlc1_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - vlc1_vfc_type_tag: - description: "VFC type tag" - type: string - vlc2_gtp_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc2_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - vlc2_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - vlc2_oam_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc2_sctp_a_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc2_sctp_b_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc2_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - vlc2_vfc_image_name: - default: MME_VLC2_16ACP03.qcow2 - description: "VFC image name" - type: string - vlc2_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - vlc2_vfc_type_tag: - description: "VFC type tag" - type: string - node_templates: - FSB1: - capabilities: - monitoring_capabilty: - properties: - name: high_cpu - nfv_compute: - properties: - vfc_flavor: - get_input: fsb1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: FSB1 - vfc_ecomp_name: false - vfc_image_name: - get_input: fsb1_vfc_image_name - vfc_instance_name: - get_input: fsb1_vfc_instance_name - vfc_type_tag: - get_input: fsb1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - FSB2: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: fsb2_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: FSB2 - vfc_ecomp_name: false - vfc_image_name: - get_input: fsb2_vfc_image_name - vfc_instance_name: - get_input: fsb2_vfc_instance_name - vfc_type_tag: - get_input: fsb2_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb2_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb2_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb2_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - GPB1: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: gpb1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: GPB1 - vfc_ecomp_name: false - vfc_image_name: - get_input: gpb1_vfc_image_name - vfc_instance_name: - get_input: gpb1_vfc_instance_name - vfc_type_tag: - get_input: gpb1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - GPB2: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: gpb2_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: GPB2 - vfc_ecomp_name: false - vfc_image_name: - get_input: gpb2_vfc_image_name - vfc_instance_name: - get_input: gpb2_vfc_instance_name - vfc_type_tag: - get_input: gpb2_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb2_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb2_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb2_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - Internal1_net: - metadata: - category: Generic - description: "Internal Network" - invariantUUID: 14a25c59-e2c2-4f86-880d-371d4d9dc88c - name: Network - subcategory: Infrastructure - type: VL - UUID: 1a20ed2e-abcd-3f20-ca4e-cc7af4da1234 - resourceVendor: AT&T - version: 1.0 - properties: - cidr: - get_input: Internal1_net_cidr - contrail_virtual_network: - vn_external: false - vn_forwarding_mode: l2 - vn_name: MME-24474-Ericsson-WTC-lab_int_MMEX36_net_1 - vn_shared: false - enable_dhcp: - get_input: Internal1_net_enable_dhcp - flow_pattern: E-LAN - gateway_ip: - get_input: Internal1_net_gateway_ip - ip_version: 4 - layer_protocol: IP - network_deployment_node: - get_input: network_deployment_node - network_ecomp_name: false - network_homing: false - network_role: ~ - network_technology: Contrail - network_type: Tenant_Layer_3 - test_access: none - type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork - Internal2_net: - metadata: - category: Generic - description: "Internal Network" - invariantUUID: 14a25c59-e2c2-4f86-880d-371d4d9dc88c - name: Network - subcategory: Infrastructure - type: VL - UUID: 1a20ed2e-abcd-3f20-ca4e-cc7af4da1234 - resourceVendor: AT&T - version: 1.0 - properties: - cidr: - get_input: Internal2_net_cidr - contrail_virtual_network: - vn_external: false - vn_forwarding_mode: l2 - vn_name: MME-24474-Ericsson-WTC-lab_int_MMEX36_net_2 - vn_shared: false - enable_dhcp: - get_input: Internal2_net_enable_dhcp - flow_pattern: E-LAN - gateway_ip: - get_input: Internal2_net_gateway_ip - ip_version: 4 - layer_protocol: IP - network_deployment_node: - get_input: network_deployment_node - network_ecomp_name: false - network_homing: false - network_role: ~ - network_technology: Contrail - network_type: Tenant_Layer_3 - test_access: none - type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork - NCB1: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: ncb1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: NCB1 - vfc_ecomp_name: false - vfc_image_name: - get_input: ncb1_vfc_image_name - vfc_instance_name: - get_input: ncb1_vfc_instance_name - vfc_type_tag: - get_input: ncb1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - NCB2: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: ncb2_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: NCB2 - vfc_ecomp_name: false - vfc_image_name: - get_input: ncb2_vfc_image_name - vfc_instance_name: - get_input: ncb2_vfc_instance_name - vfc_type_tag: - get_input: ncb2_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb2_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb2_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb2_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - VLC1: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: vlc1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: VLC1 - vfc_ecomp_name: false - vfc_image_name: - get_input: vlc1_vfc_image_name - vfc_instance_name: - get_input: vlc1_vfc_instance_name - vfc_type_tag: - get_input: vlc1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - VLC2: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: vlc2_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: VLC2 - vfc_ecomp_name: false - vfc_image_name: - get_input: vlc2_vfc_image_name - vfc_instance_name: - get_input: vlc2_vfc_instance_name - vfc_type_tag: - get_input: vlc2_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc2_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc2_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc2_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - fsb1_internal1: - properties: - address_info: - mac_address: - get_input: fsb1_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb1_internal2: - properties: - address_info: - mac_address: - get_input: fsb1_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb1_oam: - properties: - address_Info: - ip_address: - get_input: fsb1_oam_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: oam_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb2_internal1: - properties: - address_info: - mac_address: - get_input: fsb2_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb2_internal2: - properties: - address_info: - mac_address: - get_input: fsb2_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb2_oam: - properties: - address_Info: - ip_address: - get_input: fsb2_oam_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: oam_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - gpb1_internal1: - properties: - address_info: - mac_address: - get_input: gpb1_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: GPB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - gpb1_internal2: - properties: - address_info: - mac_address: - get_input: gpb1_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: GPB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - gpb2_internal1: - properties: - address_info: - mac_address: - get_input: gpb2_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: GPB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - gpb2_internal2: - properties: - address_info: - mac_address: - get_input: gpb2_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: GPB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - ncb1_internal1: - properties: - address_info: - mac_address: - get_input: ncb1_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: NCB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - ncb1_internal2: - properties: - address_info: - mac_address: - get_input: ncb1_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: NCB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - ncb2_internal1: - properties: - address_info: - mac_address: - get_input: ncb2_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: NCB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - ncb2_internal2: - properties: - address_info: - mac_address: - get_input: ncb2_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: NCB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - oam_net: - metadata: - category: VL - description: "Mobility OAM Network" - invariantUUID: 18643c59-e2c2-4f86-880d-371d4d9dc52a - name: "Mobility OAM Network" - type: VL - UUID: 1a20ed2e-abcd-3f20-ca4e-cc7af4da7fcc - resourceVendor: AT&T - version: 2.0 - properties: - flow_pattern: E-LAN - layer_protocol: IP - network_id: - get_input: oam_net_id - network_technology: Contrail - network_type: vIPR_ATM_OAM - test_access: none - type: org.openecomp.resource.vl.OAM - vlc1_gtp_net: - properties: - address_Info: - ip_address: - get_input: vlc1_gtp_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc1_internal2: - properties: - address_info: - mac_address: - get_input: vlc1_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc1_oam: - properties: - address_Info: - ip_address: - get_input: vlc1_oam_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: oam_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc1_sctp_a: - properties: - address_Info: - ip_address: - get_input: vlc2_sctp_a_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc1_sctp_b: - properties: - address_Info: - ip_address: - get_input: vlc2_sctp_b_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_gtp_net: - properties: - address_Info: - ip_address: - get_input: vlc2_gtp_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_internal1: - properties: - address_info: - mac_address: - get_input: vlc2_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_internal2: - properties: - address_info: - mac_address: - get_input: vlc2_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_oam: - properties: - address_Info: - ip_address: - get_input: vlc2_oam_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: oam_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_sctp_a: - properties: - address_Info: - ip_address: - get_input: vlc2_sctp_a_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_sctp_b: - properties: - address_Info: - ip_address: - get_input: vlc2_sctp_b_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - policies: - - - mme_autoscale_policy: - properties: - factor: cpu_load - increment: 1 - max_instances: 4 - min_instances: 1 - threshold: 80% - target: - - vfmoduleVmmeModule-1 - type: org.openecomp.policy.Autoscaling - substitution_mapping: - requirements: - - - vlc1_gtp_net.link: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - - - vlc2_gtp_net.link: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - - - vlc1_sctp_a.link: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - - - vlc1_sctp_b.link: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - type: org.openecomp.resource.vf.vmme -tosca_definitions_version: tosca_simple_profile_for_ecomp_1_0 diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testSameVLdifferentVersion/resource-AllottedResource-template.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testSameVLdifferentVersion/resource-AllottedResource-template.yml deleted file mode 100644 index c80e701913..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testSameVLdifferentVersion/resource-AllottedResource-template.yml +++ /dev/null @@ -1,78 +0,0 @@ -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| -tosca_definitions_version: tosca_simple_yaml_1_0 -metadata: - invariantUUID: a54a5235-b69d-4f8a-838b-d011e6783fa5 - UUID: f32afdc3-6308-4f0c-a476-0d39c8a1fb4d - name: Allotted Resource - description: This is a VF - Allotted resource - type: VF - category: Allotted Resource - subcategory: Allotted Resource - resourceVendor: '1' - resourceVendorRelease: '1' -imports: -- Alloted resource: - file: resource-AllotedResource-template.yml -topology_template: - node_templates: - Alloted resource 1: - type: org.openecomp.resource.vfc.AllottedResource - metadata: - invariantUUID: 666b409b-5614-41a8-945e-a53d68f5d439 - UUID: df0c1c4d-1756-4b2a-998e-73f9f4d77afa - version: '1.0' - name: Alloted resource - description: This is a VFC- Allotted resource - type: VFC - category: Allotted Resource - subcategory: Allotted Resource - properties: - role: name - ecomp_naming: - naming_policy: test - ecomp_generated_naming: false - supplemental_data: - Key1: key1 - providing_service_invariant_uuid: 34a4d119-06bc-4ab4-8c5a-a498d638297c - min_instances: 1 - max_instances: 1 - providing_service_uuid: e14a509f-b611-4b30-b38c-bc7f11b679aa - providing_service_name: vVIGaaS - ecomp_homing: - instance_node_target: Test - homing_policy: Test - supplemental_data: - Key: key - ecomp_selected_instance_node_target: false - substitution_mappings: - node_type: org.openecomp.resource.vf.AllottedResource - capabilities: - Alloted resource 1.feature: - type: tosca.capabilities.Node - occurrences: - - 1 - - UNBOUNDED - requirements: - Alloted resource 1.dependency: - occurrences: - - 0 - - UNBOUNDED - capability: tosca.capabilities.Node - node: tosca.nodes.Root - relationship: tosca.relationships.DependsOn - Alloted resource 1.service_dependency: - occurrences: - - 1 - - 1 - capability: org.openecomp.capabilities.AllottedResource - node: tosca.services.Root - relationship: tosca.relationships.DependsOn -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testSameVLdifferentVersion/resource-Extvl-template.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testSameVLdifferentVersion/resource-Extvl-template.yml deleted file mode 100644 index aa32d4ae01..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testSameVLdifferentVersion/resource-Extvl-template.yml +++ /dev/null @@ -1,61 +0,0 @@ -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| -tosca_definitions_version: tosca_simple_yaml_1_0 -metadata: - invariantUUID: f148dbb0-8c53-466d-9687-791c0e9d40cf - UUID: 3f8fa4d2-2b86-4b36-bbc8-ffb8f9f57468 - name: ExtVL1 - description: OPENECOMP generic virtual link (network) base type for all other service-level and global networks - type: VL - category: Generic - subcategory: Network Elements - resourceVendor: OPENECOMP (Tosca) - resourceVendorRelease: 1.0.0.wd03 -node_types: - org.openecomp.resource.vl.extVL: - derived_from: tosca.nodes.Root - description: OPENECOMP generic virtual link (network) base type for all other service-level and global networks - properties: - physical_network: - type: org.openecomp.datatypes.network.PhysicalNetwork - network_role: - type: string - description: | - Unique label that defines the role that this network performs. example: vce oam network, vnat sr-iov1 network - network_assignments: - type: org.openecomp.datatypes.network.NetworkAssignments - network_flows: - type: org.openecomp.datatypes.network.NetworkFlows - vl_artifacts: - type: map - description: List of artifacts associated with the VL - entry_schema: - type: org.openecomp.datatypes.Artifact - network_scope: - type: string - description: | - Uniquely identifies the network scope. Valid values for the network scope includes: VF - VF-level network. Intra-VF network which connects the VFCs (VMs) inside the VF. SERVICE - Service-level network. Intra-Service network which connects the VFs within the service GLOBAL - Global network which can be shared by multiple services - network_ecomp_naming: - type: org.openecomp.datatypes.EcompNaming - network_type: - type: string - description: OPENECOMP supported network types. - network_technology: - type: string - description: OPENECOMP supported network technology - network_homing: - type: org.openecomp.datatypes.EcompHoming - capabilities: - virtual_linkable: - type: tosca.capabilities.network.Linkable - occurrences: - - 1 - - UNBOUNDED -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testSameVLdifferentVersion/resource-Extvl-template_1.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testSameVLdifferentVersion/resource-Extvl-template_1.yml deleted file mode 100644 index e474f9a637..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testSameVLdifferentVersion/resource-Extvl-template_1.yml +++ /dev/null @@ -1,61 +0,0 @@ -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| -tosca_definitions_version: tosca_simple_yaml_1_0 -metadata: - invariantUUID: f148dbb0-8c53-466d-9687-791c0e9d40cf - UUID: 3f8fa4d2-2b86-4b36-bbc8-ffb8f9f57433 - name: ExtVL2 - description: OPENECOMP generic virtual link (network) base type for all other service-level and global networks - type: VL - category: Generic - subcategory: Network Elements - resourceVendor: OPENECOMP (Tosca) - resourceVendorRelease: 1.0.0.wd03 -node_types: - org.openecomp.resource.vl.extVL: - derived_from: tosca.nodes.Root - description: OPENECOMP generic virtual link (network) base type for all other service-level and global networks - properties: - physical_network: - type: org.openecomp.datatypes.network.PhysicalNetwork - network_role: - type: string - description: | - Unique label that defines the role that this network performs. example: vce oam network, vnat sr-iov1 network - network_assignments: - type: org.openecomp.datatypes.network.NetworkAssignments - network_flows: - type: org.openecomp.datatypes.network.NetworkFlows - vl_artifacts: - type: map - description: List of artifacts associated with the VL - entry_schema: - type: org.openecomp.datatypes.Artifact - network_scope: - type: string - description: | - Uniquely identifies the network scope. Valid values for the network scope includes: VF - VF-level network. Intra-VF network which connects the VFCs (VMs) inside the VF. SERVICE - Service-level network. Intra-Service network which connects the VFs within the service GLOBAL - Global network which can be shared by multiple services - network_ecomp_naming: - type: org.openecomp.datatypes.EcompNaming - network_type: - type: string - description: OPENECOMP supported network types. - network_technology: - type: string - description: OPENECOMP supported network technology - network_homing: - type: org.openecomp.datatypes.EcompHoming - capabilities: - virtual_linkable: - type: tosca.capabilities.network.Linkable - occurrences: - - 1 - - UNBOUNDED -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testSameVLdifferentVersion/service_vmme_template_1.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testSameVLdifferentVersion/service_vmme_template_1.yml deleted file mode 100644 index c2b2875c75..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testSameVLdifferentVersion/service_vmme_template_1.yml +++ /dev/null @@ -1,139 +0,0 @@ ---- -description: "Service Template for deploing MME Service" -imports: - - - vmmeToscaTemplate: - file: vf_vmme_template_1.yml - - - ExtVL: - file: resource-Extvl-template.yml - - - ? "Allotted Resource" - : - file: resource-AllottedResource-template.yml -metadata: - UUID: 7787da18-7516-40cf-bec0-ebd4202c60f0 - category: Mobility - description: vMME_Service - invariantUUID: e255f20c-5331-4245-9ad5-8861a73080b7 - name: vMME_Service - serviceEcompNaming: false - serviceHoming: false - type: Service -topology_template: - groups: - external_networks: - members: - - sctp_a_net - - sctp_b_net - - gtp_net - properties: - availability_zone_count: 1 - contrail_service_instance: true - type: org.openecomp.groups.externalNetworks - inputs: - gtp_net_cidr: - default: 107.243.37.64/27 - description: "The GTP network cidr" - type: string - gtp_net_end_ip: - default: "107.243.37.94" - description: "The GTP network end ip" - type: string - gtp_net_gateway_ip: - default: "107.243.37.65" - description: "The GTP network gateway" - type: string - gtp_net_network_name: - default: MME-24474-Ericsson-WTC-lab_gn_GTP_net_1 - description: "The GTP network route targets" - type: string - gtp_net_route_targets: - default: "13979:105715" - description: "The GTP network route targets" - type: string - gtp_net_start_ip: - default: "107.243.37.67" - description: "The GTP network start ip" - type: string - mme_vf_deployment_node: - description: "The target LCP node for deployment of this VF instance" - type: string - mme_vf_instance_name: - description: "VF instance name" - type: string - node_templates: - ? "Allotted Resource 2" - : - metadata: - UUID: f32afdc3-6308-4f0c-a476-0d39c8a1fb4d - category: "Allotted Resource" - description: "This is a VF - Allotted resource" - invariantUUID: a54a5235-b69d-4f8a-838b-d011e6783fa5 - name: "Allotted Resource" - subcategory: "Allotted Resource" - type: VF - version: "1.0" - type: org.openecomp.resource.vf.AllottedResource - ? "ExtVL 1" - : - metadata: - UUID: 3f8fa4d2-2b86-4b36-bbc8-ffb8f9f57468 - category: Generic - description: "OPENECOMP generic virtual link (network) base type for all other service-level and global networks" - invariantUUID: f148dbb0-8c53-466d-9687-791c0e9d40cf - name: ExtVL - subcategory: "Network Elements" - type: VL - version: "2.0" - type: org.openecomp.resource.vl.extVL - ? "ExtVL 2" - : - metadata: - UUID: 3f8fa4d2-2b86-4b36-bbc8-ffb8f9f57433 - category: Generic - description: "OPENECOMP generic virtual link (network) base type for all other service-level and global networks" - invariantUUID: f148dbb0-8c53-466d-9687-791c0e9d40cf - name: ExtVL - subcategory: "Network Elements" - type: VL - version: "4.0" - type: org.openecomp.resource.vl.extVL - - mme: - metadata: - UUID: b020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc - category: "Application L4+" - description: vMME_VF - invariantUUID: b8643c59-e2c2-4f86-880d-571d4d9d5d22 - name: vMME_VF - resourceVendor: Ericsson - subcategory: Firewall - type: VF - version: 1.0 - properties: - vf_deployment_node: - get_input: vf_deployment_node - vf_ecomp_name: false - vf_homing: false - vf_instance_name: - get_input: vf_instance_name - requirements: - - - vlc1_sctp_a.link: - capability: tosca.capabilities.network.Bindable - node: sctp_a_net - relationship: tosca.relationships.network.BindsTo - - - vlc1_sctp_b.link: - capability: tosca.capabilities.network.Bindable - node: sctp_b_net - relationship: tosca.relationships.network.BindsTo - - - vlc1_gtp_net.link: - capability: tosca.capabilities.network.Bindable - node: gtp_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vf.vmme - -tosca_definitions_version: tosca_simple_profile_for_ecomp_1_0 diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testSameVLdifferentVersion/vf_vmme_template_1.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testSameVLdifferentVersion/vf_vmme_template_1.yml deleted file mode 100644 index 6aee48b9d9..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testSameVLdifferentVersion/vf_vmme_template_1.yml +++ /dev/null @@ -1,1299 +0,0 @@ ---- -description: "VF Template for pseodo vMME" -imports: - NovaServerGlobalTypes: - file: NovaServerGlobalTypesServiceTemplate.yaml -metadata: - category: "Application L4+" - description: vMME_VF - invariantUUID: b8643c59-e2c2-4f86-880d-571d4d9d5d22 - name: vMME_VF - subcategory: Firewall - type: VF - UUID: b020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc - resourceVendor: Ericsson -topology_template: - groups: - vfmoduleVmmeModule-1: - members: - - FSB1 - - FSB2 - - NCB1 - - NCB2 - - VLC1 - - VLC2 - - GPB1 - - GPB2 - - Internal1_net - - Internal2_net - - fsb1_oam - - fsb1_internal1 - - fsb1_internal2 - - fsb2_oam - - fsb2_internal2 - - ncb1_internal1 - - ncb1_internal2 - - ncb2_internal1 - - ncb2_internal2 - - gpb1_internal1 - - gpb1_internal2 - - gpb2_internal1 - - gpb2_internal2 - - vlc1_oam - - vlc1_internal1 - - vlc1_internal2 - - vlc1_sctp_a - - vlc1_sctp_b - - vlc1_gtp - - vlc2_oam - - vlc2_internal1 - - vlc2_internal2 - - vlc2_sctp_a - - vlc2_sctp_b - - vlc1_gtp - metadata: - vfModuleModelInvariantUUID: adf1a10a-f788-492f-9ea7-7ff91dd55f8c - vfModuleModelName: "vMME::module-1" - vfModuleModelUUID: x020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc - vfModuleModelVersion: 1 - properties: - artifacts: - - /Artifacts/vmme_small_create_fsb.yml - - /Artifacts/vmme_small.yml - availability_zone_count: 2 - contrail_service_instance: true - vf_module_description: "vMME expansion VF Module" - vf_module_label: "vMME Expansion VF Module" - vf_module_type: Expansion - volume_group: false - type: org.openecomp.groups.VfModule - vmme_small: - members: - - FSB1 - - FSB2 - - NCB1 - - NCB2 - - VLC1 - - VLC2 - - GPB1 - - GPB2 - - Internal1_net - - Internal2_net - - fsb1_oam - - fsb1_internal1 - - fsb1_internal2 - - fsb2_oam - - fsb2_internal2 - - ncb1_internal1 - - ncb1_internal2 - - ncb2_internal1 - - ncb2_internal2 - - gpb1_internal1 - - gpb1_internal2 - - gpb2_internal1 - - gpb2_internal2 - - vlc1_oam - - vlc1_internal1 - - vlc1_internal2 - - vlc1_sctp_a - - vlc1_sctp_b - - vlc1_gtp - - vlc2_oam - - vlc2_internal1 - - vlc2_internal2 - - vlc2_sctp_a - - vlc2_sctp_b - - vlc1_gtp - properties: - description: "HOT template to create vmme 2 fsb 2 ncb 2 gbp 2 vlc" - heat_file: ../Artifacts/vmme_small.yml - type: org.openecomp.groups.heat.HeatStack - vmme_small_create_fsb: - members: - - FSB1_volume - - FSB2_volume - properties: - description: "server template for vMME" - heat_file: ../Artifacts/vmme_small_create_fsb.yml - type: org.openecomp.groups.heat.HeatStack - inputs: - Internal1_net_cidr: - default: 169.253.0.0/17 - hidden: false - immutable: false - type: string - Internal1_net_dhcp: - default: "False" - hidden: false - immutable: false - type: string - Internal1_net_gateway_ip: - default: "169.253.0.3" - hidden: false - immutable: false - type: string - Internal2_net_cidr: - default: 169.255.0.0/17 - hidden: false - immutable: false - type: string - Internal2_net_dhcp: - default: "False" - hidden: false - immutable: false - type: string - Internal2_net_gateway_ip: - default: "169.255.0.3" - hidden: false - immutable: false - type: string - fsb1_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - fsb1_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - fsb1_oam_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - fsb1_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - fsb1_vfc_image_name: - default: MME_FSB1_16ACP03.qcow2 - description: "VFC image name" - type: string - fsb1_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - fsb1_vfc_type_tag: - description: "VFC type tag" - type: string - fsb2_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - fsb2_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - fsb2_oam_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - fsb2_vfc_flavor: - defualt: m4.xlarge4 - description: "VFC flavor" - type: string - fsb2_vfc_image_name: - default: MME_FSB2_16ACP03.qcow2 - description: "VFC image name" - type: string - fsb2_vfc_instance_name: - default: ZRDM1MMEX36FSB002 - description: "VFC instance name" - type: string - fsb2_vfc_type_tag: - description: "VFC type tag" - type: string - gpb1_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - gpb1_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - gpb1_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - gpb1_vfc_image_name: - default: MME_GPB1_16ACP03.qcow2 - description: "VFC image name" - type: string - gpb1_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - gpb1_vfc_type_tag: - description: "VFC type tag" - type: string - gpb2_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - gpb2_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - gpb2_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - gpb2_vfc_image_name: - default: MME_GPB2_16ACP03.qcow2 - description: "VFC image name" - type: string - gpb2_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - gpb2_vfc_type_tag: - description: "VFC type tag" - type: string - ncb1_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - ncb1_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - ncb1_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - ncb1_vfc_image_name: - default: MME_NCB1_16ACP03.qcow2 - description: "VFC image name" - type: string - ncb1_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - ncb1_vfc_type_tag: - description: "VFC type tag" - type: string - ncb2_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - ncb2_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - ncb2_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - ncb2_vfc_image_name: - default: MME_NCB2_16ACP03.qcow2 - description: "VFC image name" - type: string - ncb2_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - ncb2_vfc_type_tag: - description: "VFC type tag" - type: string - network_deployment_node: - description: "The target LCP node for deployment of this Network instance" - type: string - oam_net_id: - default: 47bf4cca-0961-422f-bcd6-d5a4fbb1a351 - description: "uuid of oam network" - hidden: false - immutable: false - type: string - vlc1_gtp_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc1_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - vlc1_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - vlc1_oam_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc1_sctp_a_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc1_sctp_b_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc1_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - vlc1_vfc_image_name: - default: MME_VLC1_16ACP03.qcow2 - description: "VFC image name" - type: string - vlc1_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - vlc1_vfc_type_tag: - description: "VFC type tag" - type: string - vlc2_gtp_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc2_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - vlc2_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - vlc2_oam_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc2_sctp_a_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc2_sctp_b_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc2_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - vlc2_vfc_image_name: - default: MME_VLC2_16ACP03.qcow2 - description: "VFC image name" - type: string - vlc2_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - vlc2_vfc_type_tag: - description: "VFC type tag" - type: string - node_templates: - FSB1: - capabilities: - monitoring_capabilty: - properties: - name: high_cpu - nfv_compute: - properties: - vfc_flavor: - get_input: fsb1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: FSB1 - vfc_ecomp_name: false - vfc_image_name: - get_input: fsb1_vfc_image_name - vfc_instance_name: - get_input: fsb1_vfc_instance_name - vfc_type_tag: - get_input: fsb1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - FSB2: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: fsb2_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: FSB2 - vfc_ecomp_name: false - vfc_image_name: - get_input: fsb2_vfc_image_name - vfc_instance_name: - get_input: fsb2_vfc_instance_name - vfc_type_tag: - get_input: fsb2_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb2_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb2_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb2_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - GPB1: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: gpb1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: GPB1 - vfc_ecomp_name: false - vfc_image_name: - get_input: gpb1_vfc_image_name - vfc_instance_name: - get_input: gpb1_vfc_instance_name - vfc_type_tag: - get_input: gpb1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - GPB2: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: gpb2_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: GPB2 - vfc_ecomp_name: false - vfc_image_name: - get_input: gpb2_vfc_image_name - vfc_instance_name: - get_input: gpb2_vfc_instance_name - vfc_type_tag: - get_input: gpb2_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb2_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb2_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb2_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - Internal1_net: - metadata: - category: Generic - description: "Internal Network" - invariantUUID: 14a25c59-e2c2-4f86-880d-371d4d9dc88c - name: Network - subcategory: Infrastructure - type: VL - UUID: 1a20ed2e-abcd-3f20-ca4e-cc7af4da1234 - resourceVendor: AT&T - version: 1.0 - properties: - cidr: - get_input: Internal1_net_cidr - contrail_virtual_network: - vn_external: false - vn_forwarding_mode: l2 - vn_name: MME-24474-Ericsson-WTC-lab_int_MMEX36_net_1 - vn_shared: false - enable_dhcp: - get_input: Internal1_net_enable_dhcp - flow_pattern: E-LAN - gateway_ip: - get_input: Internal1_net_gateway_ip - ip_version: 4 - layer_protocol: IP - network_deployment_node: - get_input: network_deployment_node - network_ecomp_name: false - network_homing: false - network_role: ~ - network_technology: Contrail - network_type: Tenant_Layer_3 - test_access: none - type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork - Internal2_net: - metadata: - category: Generic - description: "Internal Network" - invariantUUID: 14a25c59-e2c2-4f86-880d-371d4d9dc88c - name: Network - subcategory: Infrastructure - type: VL - UUID: 1a20ed2e-abcd-3f20-ca4e-cc7af4da1234 - resourceVendor: AT&T - version: 1.0 - properties: - cidr: - get_input: Internal2_net_cidr - contrail_virtual_network: - vn_external: false - vn_forwarding_mode: l2 - vn_name: MME-24474-Ericsson-WTC-lab_int_MMEX36_net_2 - vn_shared: false - enable_dhcp: - get_input: Internal2_net_enable_dhcp - flow_pattern: E-LAN - gateway_ip: - get_input: Internal2_net_gateway_ip - ip_version: 4 - layer_protocol: IP - network_deployment_node: - get_input: network_deployment_node - network_ecomp_name: false - network_homing: false - network_role: ~ - network_technology: Contrail - network_type: Tenant_Layer_3 - test_access: none - type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork - NCB1: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: ncb1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: NCB1 - vfc_ecomp_name: false - vfc_image_name: - get_input: ncb1_vfc_image_name - vfc_instance_name: - get_input: ncb1_vfc_instance_name - vfc_type_tag: - get_input: ncb1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - NCB2: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: ncb2_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: NCB2 - vfc_ecomp_name: false - vfc_image_name: - get_input: ncb2_vfc_image_name - vfc_instance_name: - get_input: ncb2_vfc_instance_name - vfc_type_tag: - get_input: ncb2_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb2_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb2_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb2_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - VLC1: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: vlc1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: VLC1 - vfc_ecomp_name: false - vfc_image_name: - get_input: vlc1_vfc_image_name - vfc_instance_name: - get_input: vlc1_vfc_instance_name - vfc_type_tag: - get_input: vlc1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - VLC2: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: vlc2_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: VLC2 - vfc_ecomp_name: false - vfc_image_name: - get_input: vlc2_vfc_image_name - vfc_instance_name: - get_input: vlc2_vfc_instance_name - vfc_type_tag: - get_input: vlc2_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc2_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc2_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc2_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - fsb1_internal1: - properties: - address_info: - mac_address: - get_input: fsb1_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb1_internal2: - properties: - address_info: - mac_address: - get_input: fsb1_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb1_oam: - properties: - address_Info: - ip_address: - get_input: fsb1_oam_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: oam_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb2_internal1: - properties: - address_info: - mac_address: - get_input: fsb2_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb2_internal2: - properties: - address_info: - mac_address: - get_input: fsb2_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb2_oam: - properties: - address_Info: - ip_address: - get_input: fsb2_oam_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: oam_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - gpb1_internal1: - properties: - address_info: - mac_address: - get_input: gpb1_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: GPB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - gpb1_internal2: - properties: - address_info: - mac_address: - get_input: gpb1_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: GPB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - gpb2_internal1: - properties: - address_info: - mac_address: - get_input: gpb2_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: GPB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - gpb2_internal2: - properties: - address_info: - mac_address: - get_input: gpb2_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: GPB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - ncb1_internal1: - properties: - address_info: - mac_address: - get_input: ncb1_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: NCB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - ncb1_internal2: - properties: - address_info: - mac_address: - get_input: ncb1_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: NCB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - ncb2_internal1: - properties: - address_info: - mac_address: - get_input: ncb2_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: NCB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - ncb2_internal2: - properties: - address_info: - mac_address: - get_input: ncb2_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: NCB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - oam_net: - metadata: - category: VL - description: "Mobility OAM Network" - invariantUUID: 18643c59-e2c2-4f86-880d-371d4d9dc52a - name: "Mobility OAM Network" - type: VL - UUID: 1a20ed2e-abcd-3f20-ca4e-cc7af4da7fcc - resourceVendor: AT&T - version: 2.0 - properties: - flow_pattern: E-LAN - layer_protocol: IP - network_id: - get_input: oam_net_id - network_technology: Contrail - network_type: vIPR_ATM_OAM - test_access: none - type: org.openecomp.resource.vl.OAM - vlc1_gtp_net: - properties: - address_Info: - ip_address: - get_input: vlc1_gtp_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc1_internal2: - properties: - address_info: - mac_address: - get_input: vlc1_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc1_oam: - properties: - address_Info: - ip_address: - get_input: vlc1_oam_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: oam_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc1_sctp_a: - properties: - address_Info: - ip_address: - get_input: vlc2_sctp_a_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc1_sctp_b: - properties: - address_Info: - ip_address: - get_input: vlc2_sctp_b_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_gtp_net: - properties: - address_Info: - ip_address: - get_input: vlc2_gtp_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_internal1: - properties: - address_info: - mac_address: - get_input: vlc2_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_internal2: - properties: - address_info: - mac_address: - get_input: vlc2_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_oam: - properties: - address_Info: - ip_address: - get_input: vlc2_oam_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: oam_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_sctp_a: - properties: - address_Info: - ip_address: - get_input: vlc2_sctp_a_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_sctp_b: - properties: - address_Info: - ip_address: - get_input: vlc2_sctp_b_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - policies: - - - mme_autoscale_policy: - properties: - factor: cpu_load - increment: 1 - max_instances: 4 - min_instances: 1 - threshold: 80% - target: - - vfmoduleVmmeModule-1 - type: org.openecomp.policy.Autoscaling - substitution_mapping: - requirements: - - - vlc1_gtp_net.link: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - - - vlc2_gtp_net.link: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - - - vlc1_sctp_a.link: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - - - vlc1_sctp_b.link: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - type: org.openecomp.resource.vf.vmme -tosca_definitions_version: tosca_simple_profile_for_ecomp_1_0 diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testWidgetinServiceTosca/ServiceMock-template.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testWidgetinServiceTosca/ServiceMock-template.yml deleted file mode 100644 index 84ba6c9298..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testWidgetinServiceTosca/ServiceMock-template.yml +++ /dev/null @@ -1,74 +0,0 @@ -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| -tosca_definitions_version: tosca_simple_yaml_1_0 -metadata: - invariantUUID: c2749b42-28db-45e0-ab55-b05d0118d91d - UUID: b8ff69ca-786d-479e-9f9c-217a90ee0ebc - name: service_mock - description: aaa - type: Service - category: Mobility - serviceEcompNaming: false - serviceHoming: false -imports: -- Network: - file: NeutronNet-template.yml -- vadtran_Demo: - file: VadtranDemo-template.yml -- Port: - file: ContrailPort-template.yml -topology_template: - node_templates: - Port 1: - type: org.openecomp.resource.cp.nodes.heat.network.contrail.Port - metadata: - invariantUUID: fc94daa0-a1a9-405e-a84c-b15987f92357 - UUID: 4dd2144f-72d4-47de-b361-8ed51c33c4a8 - resourceCustomizationUUID: 6402d92d-0050-46a9-8202-623a46680ba7 - version: '1.0' - name: ContrailPort - description: Represents a logical entity that associates between Compute and Network normative types for contrail. - type: CP - category: Generic - subcategory: Network Elements - - vadtran_Demo 1: - type: org.openecomp.resource.vf.VadtranDemo - metadata: - invariantUUID: 886d689d-351d-485a-829c-d86ec2dde4c4 - UUID: 3d6e1e60-14ac-4665-83de-6e2c729f0222 - resourceCustomizationUUID: 8cc0b0f6-d0fd-4742-b054-8d1786e07ff8 - version: '1.0' - name: vadtran_Demo - description: test - type: VF - category: Generic - subcategory: Database - - groups: - vadtran_Demo..base_adtran_pmaa_heat_04..module-0: - type: org.openecomp.groups.VfModule - metadata: - vfModuleModelName: vadtran_Demo..base_adtran_pmaa_heat_04..module-0 - vfModuleModelCustomizationUUID: fbf41c77-6b84-4e77-ae26-d86ec2dde4c4 - vfModuleModelInvariantUUID: d84f61c9-160a-44b6-a008-6caadbb6c612 - vfModuleModelUUID: fbf41c77-a7ee-4203-ad6c-eeb8a4ad7178 - vfModuleModelVersion: '1' - properties: - vf_module_type: Base - vf_module_description: - volume_group: false - vf_module_label: - min_vf_module_instances: 2 - max_vf_module_instances: 2 - initial_count: 2 - - -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testWidgetinServiceTosca/VadtranDemo-template.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testWidgetinServiceTosca/VadtranDemo-template.yml deleted file mode 100644 index bddcf9f284..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/testWidgetinServiceTosca/VadtranDemo-template.yml +++ /dev/null @@ -1,170 +0,0 @@ -#_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| -tosca_definitions_version: tosca_simple_yaml_1_0 -metadata: - invariantUUID: 886d689d-351d-485a-829c-d86ec2dde4c4 - UUID: 3d6e1e60-14ac-4665-83de-6e2c729f0222 - name: vadtran_Demo - description: test - type: VF - category: Generic - subcategory: Database - resourceVendor: Test - resourceVendorRelease: '1.0' -imports: -- NeutronPort: - file: Neutronport-template.yml -- VadtranDemo.nodes.heat.vnf: - file: VadtrandemoNodesHeatVnf-template.yml -topology_template: - inputs: - pmaa_dpu_net_id: - type: string - default: bd3be094-ddf0-43b3-91e7-d424f09dd2b9 - description: PMAA DPU network ID - pmaa_dpu_fixed_ip: - type: string - default: 10.0.2.50 - description: PMAA fixed IP address for DPU network port - pmaa_flavor: - type: string - default: m1.medium - description: PMAA instance Flavor (RAM, DISK, vCPUs) - pmaa_image: - type: string - default: adtran_pmaa_ubuntu_multi - description: PMAA image for compute instance - pmaa_mgt_net_id: - type: string - default: 991cdd94-18ca-4bf8-a931-922a64500840 - description: PMAA management network - vnf_id: - type: string - default: pmaa_vnf_id - description: PMAA unique ID - pmaa_availability_zone: - type: string - default: nova - description: PMAA availability zone ID to deploy the instance - vnf_name: - type: string - default: pmaa - description: PMAA vnf name - pmaa_dpu_cidr: - type: string - default: 10.0.2.0/24 - description: PMAA DPU subnetwork CIDR address block - pmaa_dpu_subnet_id: - type: string - default: e848430b-e956-4b47-9cc8-f7a6ca2c790a - description: PMAA DPU subnetwork ID - pmaa_dpu_gateway: - type: string - default: 10.0.2.254 - description: PMAA DPU subnetwork gateway IP address - node_templates: - pmaa_mgt_port: - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - metadata: - invariantUUID: cba26d10-4613-4c82-9f9e-af95eaf959a3 - UUID: 2606755b-d301-45c6-900e-ca676cc9f348 - resourceCustomizationUUID: 6402d92d-0050-46a9-8202-f7a6ca2c790a - version: '1.0' - name: NeutronPort - description: Represents a logical entity that associates between Compute and Network normative types. - type: CP - category: Generic - subcategory: Network Elements - properties: - network: - get_input: pmaa_mgt_net_id - requirements: - - binding: - capability: tosca.capabilities.network.Bindable - node: pmaa_server_0 - relationship: tosca.relationships.network.BindsTo - pmaa_dpu_port: - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - metadata: - invariantUUID: cba26d10-4613-4c82-9f9e-af95eaf959a3 - UUID: 2606755b-d301-45c6-900e-ca676cc9f348 - resourceCustomizationUUID: 6402d92d-4613-4c82-9f9e-f7a6ca2c790a - version: '1.0' - name: NeutronPort - description: Represents a logical entity that associates between Compute and Network normative types. - type: CP - category: Generic - subcategory: Network Elements - properties: - fixed_ips: - - ip_address: - get_input: pmaa_dpu_fixed_ip - network: - get_input: pmaa_dpu_net_id - requirements: - - binding: - capability: tosca.capabilities.network.Bindable - node: pmaa_server_0 - relationship: tosca.relationships.network.BindsTo - pmaa_server_0: - type: org.openecomp.resource.vfc.VadtranDemo.abstact.nodes.heat.vnf - metadata: - invariantUUID: 660310f4-8851-46d3-9cb7-9f1188b43aa7 - UUID: 82150098-aead-4ae0-a3e0-d5273b4ab923 - resourceCustomizationUUID: 6402d92d-8851-46d3-9cb7-f7a6ca2c790a - version: '1.0' - name: VadtranDemo.nodes.heat.vnf - description: Not reusable inner VFC - type: VFC - category: Generic - subcategory: Abstract - properties: - flavor: - get_input: pmaa_flavor - image: - get_input: pmaa_image - availability_zone: - get_input: pmaa_availability_zone - metadata: - pmaa.sb_nic: - address: - get_input: pmaa_dpu_fixed_ip - cidr: - get_input: pmaa_dpu_cidr - gateway: - get_input: pmaa_dpu_gateway - user_data_format: - name: - get_input: vnf_name - groups: - vadtran_Demo..base_adtran_pmaa_heat_04..module-0: - type: org.openecomp.groups.VfModule - metadata: - vfModuleModelName: vadtran_Demo..base_adtran_pmaa_heat_04..module-0 - vfModuleModelInvariantUUID: d84f61c9-160a-44b6-a008-6caadbb6c612 - vfModuleModelUUID: fbf41c77-a7ee-4203-ad6c-eeb8a4ad7178 - vfModuleModelVersion: '1' - properties: - vf_module_type: Base - vf_module_description: - volume_group: false - base_adtran_pmaa_heat_04: - type: org.openecomp.groups.heat.HeatStack - members: - - pmaa_mgt_port - - pmaa_dpu_port - - pmaa_server_0 - metadata: - invariantUUID: d2e21beb-b7e4-44cf-bf6c-f8c8802fe532 - UUID: c9d6f49a-6785-4693-a921-d980e4d11aa4 - version: '1' - name: base_adtran_pmaa_heat_04 - - #_______________________________________________________________________________________________________________________________________ - #| AT&T Proprietary (Restricted) | - #| Only for use by authorized individuals or any above-designated team(s) | - #| within the AT&T companies and not for general distribution | - #|_______________________________________________________________________________________________________________________________________| diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/vf_vmme_template_InvalidVfModInvUuIdAttr.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/vf_vmme_template_InvalidVfModInvUuIdAttr.yml deleted file mode 100644 index 7d3a420a00..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/vf_vmme_template_InvalidVfModInvUuIdAttr.yml +++ /dev/null @@ -1,1299 +0,0 @@ ---- -description: "VF Template for pseodo vMME" -imports: - NovaServerGlobalTypes: - file: NovaServerGlobalTypesServiceTemplate.yaml -metadata: - category: "Application L4+" - description: vMME_VF - invariantUUID: b8643c59-e2c2-4f86-880d-571d4d9d5d22 - name: vMME_VF - subcategory: Firewall - type: VF - UUID: b020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc - resourceVendor: Ericsson -topology_template: - groups: - vfmoduleVmmeModule-1: - members: - - FSB1 - - FSB2 - - NCB1 - - NCB2 - - VLC1 - - VLC2 - - GPB1 - - GPB2 - - Internal1_net - - Internal2_net - - fsb1_oam - - fsb1_internal1 - - fsb1_internal2 - - fsb2_oam - - fsb2_internal2 - - ncb1_internal1 - - ncb1_internal2 - - ncb2_internal1 - - ncb2_internal2 - - gpb1_internal1 - - gpb1_internal2 - - gpb2_internal1 - - gpb2_internal2 - - vlc1_oam - - vlc1_internal1 - - vlc1_internal2 - - vlc1_sctp_a - - vlc1_sctp_b - - vlc1_gtp - - vlc2_oam - - vlc2_internal1 - - vlc2_internal2 - - vlc2_sctp_a - - vlc2_sctp_b - - vlc1_gtp - metadata: - vfModuleModelInvariantUUID: x020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc3333 - vfModuleModelName: "vMME::module-1" - vfModuleModelUUID: x020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc - vfModuleModelVersion: 1 - properties: - artifacts: - - /Artifacts/vmme_small_create_fsb.yml - - /Artifacts/vmme_small.yml - availability_zone_count: 2 - contrail_service_instance: true - vf_module_description: "vMME expansion VF Module" - vf_module_label: "vMME Expansion VF Module" - vf_module_type: Expansion - volume_group: false - type: org.openecomp.groups.VfModule - vmme_small: - members: - - FSB1 - - FSB2 - - NCB1 - - NCB2 - - VLC1 - - VLC2 - - GPB1 - - GPB2 - - Internal1_net - - Internal2_net - - fsb1_oam - - fsb1_internal1 - - fsb1_internal2 - - fsb2_oam - - fsb2_internal2 - - ncb1_internal1 - - ncb1_internal2 - - ncb2_internal1 - - ncb2_internal2 - - gpb1_internal1 - - gpb1_internal2 - - gpb2_internal1 - - gpb2_internal2 - - vlc1_oam - - vlc1_internal1 - - vlc1_internal2 - - vlc1_sctp_a - - vlc1_sctp_b - - vlc1_gtp - - vlc2_oam - - vlc2_internal1 - - vlc2_internal2 - - vlc2_sctp_a - - vlc2_sctp_b - - vlc1_gtp - properties: - description: "HOT template to create vmme 2 fsb 2 ncb 2 gbp 2 vlc" - heat_file: ../Artifacts/vmme_small.yml - type: org.openecomp.groups.heat.HeatStack - vmme_small_create_fsb: - members: - - FSB1_volume - - FSB2_volume - properties: - description: "server template for vMME" - heat_file: ../Artifacts/vmme_small_create_fsb.yml - type: org.openecomp.groups.heat.HeatStack - inputs: - Internal1_net_cidr: - default: 169.253.0.0/17 - hidden: false - immutable: false - type: string - Internal1_net_dhcp: - default: "False" - hidden: false - immutable: false - type: string - Internal1_net_gateway_ip: - default: "169.253.0.3" - hidden: false - immutable: false - type: string - Internal2_net_cidr: - default: 169.255.0.0/17 - hidden: false - immutable: false - type: string - Internal2_net_dhcp: - default: "False" - hidden: false - immutable: false - type: string - Internal2_net_gateway_ip: - default: "169.255.0.3" - hidden: false - immutable: false - type: string - fsb1_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - fsb1_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - fsb1_oam_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - fsb1_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - fsb1_vfc_image_name: - default: MME_FSB1_16ACP03.qcow2 - description: "VFC image name" - type: string - fsb1_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - fsb1_vfc_type_tag: - description: "VFC type tag" - type: string - fsb2_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - fsb2_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - fsb2_oam_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - fsb2_vfc_flavor: - defualt: m4.xlarge4 - description: "VFC flavor" - type: string - fsb2_vfc_image_name: - default: MME_FSB2_16ACP03.qcow2 - description: "VFC image name" - type: string - fsb2_vfc_instance_name: - default: ZRDM1MMEX36FSB002 - description: "VFC instance name" - type: string - fsb2_vfc_type_tag: - description: "VFC type tag" - type: string - gpb1_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - gpb1_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - gpb1_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - gpb1_vfc_image_name: - default: MME_GPB1_16ACP03.qcow2 - description: "VFC image name" - type: string - gpb1_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - gpb1_vfc_type_tag: - description: "VFC type tag" - type: string - gpb2_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - gpb2_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - gpb2_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - gpb2_vfc_image_name: - default: MME_GPB2_16ACP03.qcow2 - description: "VFC image name" - type: string - gpb2_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - gpb2_vfc_type_tag: - description: "VFC type tag" - type: string - ncb1_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - ncb1_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - ncb1_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - ncb1_vfc_image_name: - default: MME_NCB1_16ACP03.qcow2 - description: "VFC image name" - type: string - ncb1_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - ncb1_vfc_type_tag: - description: "VFC type tag" - type: string - ncb2_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - ncb2_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - ncb2_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - ncb2_vfc_image_name: - default: MME_NCB2_16ACP03.qcow2 - description: "VFC image name" - type: string - ncb2_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - ncb2_vfc_type_tag: - description: "VFC type tag" - type: string - network_deployment_node: - description: "The target LCP node for deployment of this Network instance" - type: string - oam_net_id: - default: 47bf4cca-0961-422f-bcd6-d5a4fbb1a351 - description: "uuid of oam network" - hidden: false - immutable: false - type: string - vlc1_gtp_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc1_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - vlc1_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - vlc1_oam_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc1_sctp_a_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc1_sctp_b_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc1_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - vlc1_vfc_image_name: - default: MME_VLC1_16ACP03.qcow2 - description: "VFC image name" - type: string - vlc1_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - vlc1_vfc_type_tag: - description: "VFC type tag" - type: string - vlc2_gtp_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc2_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - vlc2_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - vlc2_oam_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc2_sctp_a_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc2_sctp_b_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc2_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - vlc2_vfc_image_name: - default: MME_VLC2_16ACP03.qcow2 - description: "VFC image name" - type: string - vlc2_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - vlc2_vfc_type_tag: - description: "VFC type tag" - type: string - node_templates: - FSB1: - capabilities: - monitoring_capabilty: - properties: - name: high_cpu - nfv_compute: - properties: - vfc_flavor: - get_input: fsb1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: FSB1 - vfc_ecomp_name: false - vfc_image_name: - get_input: fsb1_vfc_image_name - vfc_instance_name: - get_input: fsb1_vfc_instance_name - vfc_type_tag: - get_input: fsb1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - FSB2: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: fsb2_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: FSB2 - vfc_ecomp_name: false - vfc_image_name: - get_input: fsb2_vfc_image_name - vfc_instance_name: - get_input: fsb2_vfc_instance_name - vfc_type_tag: - get_input: fsb2_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb2_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb2_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb2_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - GPB1: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: gpb1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: GPB1 - vfc_ecomp_name: false - vfc_image_name: - get_input: gpb1_vfc_image_name - vfc_instance_name: - get_input: gpb1_vfc_instance_name - vfc_type_tag: - get_input: gpb1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - GPB2: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: gpb2_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: GPB2 - vfc_ecomp_name: false - vfc_image_name: - get_input: gpb2_vfc_image_name - vfc_instance_name: - get_input: gpb2_vfc_instance_name - vfc_type_tag: - get_input: gpb2_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb2_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb2_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb2_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - Internal1_net: - metadata: - category: Generic - description: "Internal Network" - invariantUUID: 14a25c59-e2c2-4f86-880d-371d4d9dc88c - name: Network - subcategory: Infrastructure - type: VL - UUID: 1a20ed2e-abcd-3f20-ca4e-cc7af4da1234 - resourceVendor: AT&T - version: 1.0 - properties: - cidr: - get_input: Internal1_net_cidr - contrail_virtual_network: - vn_external: false - vn_forwarding_mode: l2 - vn_name: MME-24474-Ericsson-WTC-lab_int_MMEX36_net_1 - vn_shared: false - enable_dhcp: - get_input: Internal1_net_enable_dhcp - flow_pattern: E-LAN - gateway_ip: - get_input: Internal1_net_gateway_ip - ip_version: 4 - layer_protocol: IP - network_deployment_node: - get_input: network_deployment_node - network_ecomp_name: false - network_homing: false - network_role: ~ - network_technology: Contrail - network_type: Tenant_Layer_3 - test_access: none - type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork - Internal2_net: - metadata: - category: Generic - description: "Internal Network" - invariantUUID: 14a25c59-e2c2-4f86-880d-371d4d9dc88c - name: Network - subcategory: Infrastructure - type: VL - UUID: 1a20ed2e-abcd-3f20-ca4e-cc7af4da1234 - resourceVendor: AT&T - version: 1.0 - properties: - cidr: - get_input: Internal2_net_cidr - contrail_virtual_network: - vn_external: false - vn_forwarding_mode: l2 - vn_name: MME-24474-Ericsson-WTC-lab_int_MMEX36_net_2 - vn_shared: false - enable_dhcp: - get_input: Internal2_net_enable_dhcp - flow_pattern: E-LAN - gateway_ip: - get_input: Internal2_net_gateway_ip - ip_version: 4 - layer_protocol: IP - network_deployment_node: - get_input: network_deployment_node - network_ecomp_name: false - network_homing: false - network_role: ~ - network_technology: Contrail - network_type: Tenant_Layer_3 - test_access: none - type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork - NCB1: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: ncb1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: NCB1 - vfc_ecomp_name: false - vfc_image_name: - get_input: ncb1_vfc_image_name - vfc_instance_name: - get_input: ncb1_vfc_instance_name - vfc_type_tag: - get_input: ncb1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - NCB2: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: ncb2_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: NCB2 - vfc_ecomp_name: false - vfc_image_name: - get_input: ncb2_vfc_image_name - vfc_instance_name: - get_input: ncb2_vfc_instance_name - vfc_type_tag: - get_input: ncb2_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb2_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb2_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb2_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - VLC1: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: vlc1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: VLC1 - vfc_ecomp_name: false - vfc_image_name: - get_input: vlc1_vfc_image_name - vfc_instance_name: - get_input: vlc1_vfc_instance_name - vfc_type_tag: - get_input: vlc1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - VLC2: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: vlc2_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: VLC2 - vfc_ecomp_name: false - vfc_image_name: - get_input: vlc2_vfc_image_name - vfc_instance_name: - get_input: vlc2_vfc_instance_name - vfc_type_tag: - get_input: vlc2_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc2_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc2_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc2_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - fsb1_internal1: - properties: - address_info: - mac_address: - get_input: fsb1_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb1_internal2: - properties: - address_info: - mac_address: - get_input: fsb1_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb1_oam: - properties: - address_Info: - ip_address: - get_input: fsb1_oam_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: oam_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb2_internal1: - properties: - address_info: - mac_address: - get_input: fsb2_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb2_internal2: - properties: - address_info: - mac_address: - get_input: fsb2_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb2_oam: - properties: - address_Info: - ip_address: - get_input: fsb2_oam_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: oam_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - gpb1_internal1: - properties: - address_info: - mac_address: - get_input: gpb1_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: GPB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - gpb1_internal2: - properties: - address_info: - mac_address: - get_input: gpb1_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: GPB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - gpb2_internal1: - properties: - address_info: - mac_address: - get_input: gpb2_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: GPB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - gpb2_internal2: - properties: - address_info: - mac_address: - get_input: gpb2_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: GPB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - ncb1_internal1: - properties: - address_info: - mac_address: - get_input: ncb1_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: NCB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - ncb1_internal2: - properties: - address_info: - mac_address: - get_input: ncb1_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: NCB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - ncb2_internal1: - properties: - address_info: - mac_address: - get_input: ncb2_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: NCB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - ncb2_internal2: - properties: - address_info: - mac_address: - get_input: ncb2_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: NCB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - oam_net: - metadata: - category: VL - description: "Mobility OAM Network" - invariantUUID: 18643c59-e2c2-4f86-880d-371d4d9dc52a - name: "Mobility OAM Network" - type: VL - UUID: 1a20ed2e-abcd-3f20-ca4e-cc7af4da7fcc - resourceVendor: AT&T - version: 2.0 - properties: - flow_pattern: E-LAN - layer_protocol: IP - network_id: - get_input: oam_net_id - network_technology: Contrail - network_type: vIPR_ATM_OAM - test_access: none - type: org.openecomp.resource.vl.OAM - vlc1_gtp_net: - properties: - address_Info: - ip_address: - get_input: vlc1_gtp_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc1_internal2: - properties: - address_info: - mac_address: - get_input: vlc1_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc1_oam: - properties: - address_Info: - ip_address: - get_input: vlc1_oam_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: oam_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc1_sctp_a: - properties: - address_Info: - ip_address: - get_input: vlc2_sctp_a_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc1_sctp_b: - properties: - address_Info: - ip_address: - get_input: vlc2_sctp_b_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_gtp_net: - properties: - address_Info: - ip_address: - get_input: vlc2_gtp_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_internal1: - properties: - address_info: - mac_address: - get_input: vlc2_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_internal2: - properties: - address_info: - mac_address: - get_input: vlc2_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_oam: - properties: - address_Info: - ip_address: - get_input: vlc2_oam_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: oam_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_sctp_a: - properties: - address_Info: - ip_address: - get_input: vlc2_sctp_a_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_sctp_b: - properties: - address_Info: - ip_address: - get_input: vlc2_sctp_b_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - policies: - - - mme_autoscale_policy: - properties: - factor: cpu_load - increment: 1 - max_instances: 4 - min_instances: 1 - threshold: 80% - target: - - vfmoduleVmmeModule-1 - type: org.openecomp.policy.Autoscaling - substitution_mapping: - requirements: - - - vlc1_gtp_net.link: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - - - vlc2_gtp_net.link: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - - - vlc1_sctp_a.link: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - - - vlc1_sctp_b.link: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - type: org.openecomp.resource.vf.vmme -tosca_definitions_version: tosca_simple_profile_for_ecomp_1_0 diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/vf_vmme_template_InvalidVfModUuIdAttr.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/vf_vmme_template_InvalidVfModUuIdAttr.yml deleted file mode 100644 index a2d65041b0..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/vf_vmme_template_InvalidVfModUuIdAttr.yml +++ /dev/null @@ -1,1299 +0,0 @@ ---- -description: "VF Template for pseodo vMME" -imports: - NovaServerGlobalTypes: - file: NovaServerGlobalTypesServiceTemplate.yaml -metadata: - category: "Application L4+" - description: vMME_VF - invariantUUID: b8643c59-e2c2-4f86-880d-571d4d9d5d22 - name: vMME_VF - subcategory: Firewall - type: VF - UUID: b020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc - resourceVendor: Ericsson -topology_template: - groups: - vfmoduleVmmeModule-1: - members: - - FSB1 - - FSB2 - - NCB1 - - NCB2 - - VLC1 - - VLC2 - - GPB1 - - GPB2 - - Internal1_net - - Internal2_net - - fsb1_oam - - fsb1_internal1 - - fsb1_internal2 - - fsb2_oam - - fsb2_internal2 - - ncb1_internal1 - - ncb1_internal2 - - ncb2_internal1 - - ncb2_internal2 - - gpb1_internal1 - - gpb1_internal2 - - gpb2_internal1 - - gpb2_internal2 - - vlc1_oam - - vlc1_internal1 - - vlc1_internal2 - - vlc1_sctp_a - - vlc1_sctp_b - - vlc1_gtp - - vlc2_oam - - vlc2_internal1 - - vlc2_internal2 - - vlc2_sctp_a - - vlc2_sctp_b - - vlc1_gtp - metadata: - vfModuleModelInvariantUUID: adf1a10a-f788-492f-9ea7-7ff91dd55f8c - vfModuleModelName: "vMME::module-1" - vfModuleModelUUID: adf1a1- - vfModuleModelVersion: 1 - properties: - artifacts: - - /Artifacts/vmme_small_create_fsb.yml - - /Artifacts/vmme_small.yml - availability_zone_count: 2 - contrail_service_instance: true - vf_module_description: "vMME expansion VF Module" - vf_module_label: "vMME Expansion VF Module" - vf_module_type: Expansion - volume_group: false - type: org.openecomp.groups.VfModule - vmme_small: - members: - - FSB1 - - FSB2 - - NCB1 - - NCB2 - - VLC1 - - VLC2 - - GPB1 - - GPB2 - - Internal1_net - - Internal2_net - - fsb1_oam - - fsb1_internal1 - - fsb1_internal2 - - fsb2_oam - - fsb2_internal2 - - ncb1_internal1 - - ncb1_internal2 - - ncb2_internal1 - - ncb2_internal2 - - gpb1_internal1 - - gpb1_internal2 - - gpb2_internal1 - - gpb2_internal2 - - vlc1_oam - - vlc1_internal1 - - vlc1_internal2 - - vlc1_sctp_a - - vlc1_sctp_b - - vlc1_gtp - - vlc2_oam - - vlc2_internal1 - - vlc2_internal2 - - vlc2_sctp_a - - vlc2_sctp_b - - vlc1_gtp - properties: - description: "HOT template to create vmme 2 fsb 2 ncb 2 gbp 2 vlc" - heat_file: ../Artifacts/vmme_small.yml - type: org.openecomp.groups.heat.HeatStack - vmme_small_create_fsb: - members: - - FSB1_volume - - FSB2_volume - properties: - description: "server template for vMME" - heat_file: ../Artifacts/vmme_small_create_fsb.yml - type: org.openecomp.groups.heat.HeatStack - inputs: - Internal1_net_cidr: - default: 169.253.0.0/17 - hidden: false - immutable: false - type: string - Internal1_net_dhcp: - default: "False" - hidden: false - immutable: false - type: string - Internal1_net_gateway_ip: - default: "169.253.0.3" - hidden: false - immutable: false - type: string - Internal2_net_cidr: - default: 169.255.0.0/17 - hidden: false - immutable: false - type: string - Internal2_net_dhcp: - default: "False" - hidden: false - immutable: false - type: string - Internal2_net_gateway_ip: - default: "169.255.0.3" - hidden: false - immutable: false - type: string - fsb1_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - fsb1_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - fsb1_oam_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - fsb1_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - fsb1_vfc_image_name: - default: MME_FSB1_16ACP03.qcow2 - description: "VFC image name" - type: string - fsb1_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - fsb1_vfc_type_tag: - description: "VFC type tag" - type: string - fsb2_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - fsb2_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - fsb2_oam_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - fsb2_vfc_flavor: - defualt: m4.xlarge4 - description: "VFC flavor" - type: string - fsb2_vfc_image_name: - default: MME_FSB2_16ACP03.qcow2 - description: "VFC image name" - type: string - fsb2_vfc_instance_name: - default: ZRDM1MMEX36FSB002 - description: "VFC instance name" - type: string - fsb2_vfc_type_tag: - description: "VFC type tag" - type: string - gpb1_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - gpb1_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - gpb1_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - gpb1_vfc_image_name: - default: MME_GPB1_16ACP03.qcow2 - description: "VFC image name" - type: string - gpb1_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - gpb1_vfc_type_tag: - description: "VFC type tag" - type: string - gpb2_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - gpb2_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - gpb2_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - gpb2_vfc_image_name: - default: MME_GPB2_16ACP03.qcow2 - description: "VFC image name" - type: string - gpb2_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - gpb2_vfc_type_tag: - description: "VFC type tag" - type: string - ncb1_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - ncb1_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - ncb1_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - ncb1_vfc_image_name: - default: MME_NCB1_16ACP03.qcow2 - description: "VFC image name" - type: string - ncb1_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - ncb1_vfc_type_tag: - description: "VFC type tag" - type: string - ncb2_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - ncb2_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - ncb2_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - ncb2_vfc_image_name: - default: MME_NCB2_16ACP03.qcow2 - description: "VFC image name" - type: string - ncb2_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - ncb2_vfc_type_tag: - description: "VFC type tag" - type: string - network_deployment_node: - description: "The target LCP node for deployment of this Network instance" - type: string - oam_net_id: - default: 47bf4cca-0961-422f-bcd6-d5a4fbb1a351 - description: "uuid of oam network" - hidden: false - immutable: false - type: string - vlc1_gtp_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc1_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - vlc1_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - vlc1_oam_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc1_sctp_a_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc1_sctp_b_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc1_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - vlc1_vfc_image_name: - default: MME_VLC1_16ACP03.qcow2 - description: "VFC image name" - type: string - vlc1_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - vlc1_vfc_type_tag: - description: "VFC type tag" - type: string - vlc2_gtp_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc2_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - vlc2_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - vlc2_oam_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc2_sctp_a_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc2_sctp_b_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc2_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - vlc2_vfc_image_name: - default: MME_VLC2_16ACP03.qcow2 - description: "VFC image name" - type: string - vlc2_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - vlc2_vfc_type_tag: - description: "VFC type tag" - type: string - node_templates: - FSB1: - capabilities: - monitoring_capabilty: - properties: - name: high_cpu - nfv_compute: - properties: - vfc_flavor: - get_input: fsb1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: FSB1 - vfc_ecomp_name: false - vfc_image_name: - get_input: fsb1_vfc_image_name - vfc_instance_name: - get_input: fsb1_vfc_instance_name - vfc_type_tag: - get_input: fsb1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - FSB2: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: fsb2_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: FSB2 - vfc_ecomp_name: false - vfc_image_name: - get_input: fsb2_vfc_image_name - vfc_instance_name: - get_input: fsb2_vfc_instance_name - vfc_type_tag: - get_input: fsb2_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb2_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb2_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb2_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - GPB1: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: gpb1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: GPB1 - vfc_ecomp_name: false - vfc_image_name: - get_input: gpb1_vfc_image_name - vfc_instance_name: - get_input: gpb1_vfc_instance_name - vfc_type_tag: - get_input: gpb1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - GPB2: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: gpb2_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: GPB2 - vfc_ecomp_name: false - vfc_image_name: - get_input: gpb2_vfc_image_name - vfc_instance_name: - get_input: gpb2_vfc_instance_name - vfc_type_tag: - get_input: gpb2_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb2_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb2_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb2_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - Internal1_net: - metadata: - category: Generic - description: "Internal Network" - invariantUUID: 14a25c59-e2c2-4f86-880d-371d4d9dc88c - name: Network - subcategory: Infrastructure - type: VL - UUID: 1a20ed2e-abcd-3f20-ca4e-cc7af4da1234 - resourceVendor: AT&T - version: 1.0 - properties: - cidr: - get_input: Internal1_net_cidr - contrail_virtual_network: - vn_external: false - vn_forwarding_mode: l2 - vn_name: MME-24474-Ericsson-WTC-lab_int_MMEX36_net_1 - vn_shared: false - enable_dhcp: - get_input: Internal1_net_enable_dhcp - flow_pattern: E-LAN - gateway_ip: - get_input: Internal1_net_gateway_ip - ip_version: 4 - layer_protocol: IP - network_deployment_node: - get_input: network_deployment_node - network_ecomp_name: false - network_homing: false - network_role: ~ - network_technology: Contrail - network_type: Tenant_Layer_3 - test_access: none - type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork - Internal2_net: - metadata: - category: Generic - description: "Internal Network" - invariantUUID: 14a25c59-e2c2-4f86-880d-371d4d9dc88c - name: Network - subcategory: Infrastructure - type: VL - UUID: 1a20ed2e-abcd-3f20-ca4e-cc7af4da1234 - resourceVendor: AT&T - version: 1.0 - properties: - cidr: - get_input: Internal2_net_cidr - contrail_virtual_network: - vn_external: false - vn_forwarding_mode: l2 - vn_name: MME-24474-Ericsson-WTC-lab_int_MMEX36_net_2 - vn_shared: false - enable_dhcp: - get_input: Internal2_net_enable_dhcp - flow_pattern: E-LAN - gateway_ip: - get_input: Internal2_net_gateway_ip - ip_version: 4 - layer_protocol: IP - network_deployment_node: - get_input: network_deployment_node - network_ecomp_name: false - network_homing: false - network_role: ~ - network_technology: Contrail - network_type: Tenant_Layer_3 - test_access: none - type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork - NCB1: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: ncb1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: NCB1 - vfc_ecomp_name: false - vfc_image_name: - get_input: ncb1_vfc_image_name - vfc_instance_name: - get_input: ncb1_vfc_instance_name - vfc_type_tag: - get_input: ncb1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - NCB2: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: ncb2_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: NCB2 - vfc_ecomp_name: false - vfc_image_name: - get_input: ncb2_vfc_image_name - vfc_instance_name: - get_input: ncb2_vfc_instance_name - vfc_type_tag: - get_input: ncb2_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb2_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb2_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb2_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - VLC1: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: vlc1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: VLC1 - vfc_ecomp_name: false - vfc_image_name: - get_input: vlc1_vfc_image_name - vfc_instance_name: - get_input: vlc1_vfc_instance_name - vfc_type_tag: - get_input: vlc1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - VLC2: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: vlc2_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: VLC2 - vfc_ecomp_name: false - vfc_image_name: - get_input: vlc2_vfc_image_name - vfc_instance_name: - get_input: vlc2_vfc_instance_name - vfc_type_tag: - get_input: vlc2_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc2_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc2_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc2_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - fsb1_internal1: - properties: - address_info: - mac_address: - get_input: fsb1_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb1_internal2: - properties: - address_info: - mac_address: - get_input: fsb1_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb1_oam: - properties: - address_Info: - ip_address: - get_input: fsb1_oam_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: oam_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb2_internal1: - properties: - address_info: - mac_address: - get_input: fsb2_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb2_internal2: - properties: - address_info: - mac_address: - get_input: fsb2_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb2_oam: - properties: - address_Info: - ip_address: - get_input: fsb2_oam_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: oam_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - gpb1_internal1: - properties: - address_info: - mac_address: - get_input: gpb1_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: GPB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - gpb1_internal2: - properties: - address_info: - mac_address: - get_input: gpb1_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: GPB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - gpb2_internal1: - properties: - address_info: - mac_address: - get_input: gpb2_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: GPB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - gpb2_internal2: - properties: - address_info: - mac_address: - get_input: gpb2_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: GPB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - ncb1_internal1: - properties: - address_info: - mac_address: - get_input: ncb1_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: NCB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - ncb1_internal2: - properties: - address_info: - mac_address: - get_input: ncb1_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: NCB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - ncb2_internal1: - properties: - address_info: - mac_address: - get_input: ncb2_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: NCB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - ncb2_internal2: - properties: - address_info: - mac_address: - get_input: ncb2_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: NCB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - oam_net: - metadata: - category: VL - description: "Mobility OAM Network" - invariantUUID: 18643c59-e2c2-4f86-880d-371d4d9dc52a - name: "Mobility OAM Network" - type: VL - UUID: 1a20ed2e-abcd-3f20-ca4e-cc7af4da7fcc - resourceVendor: AT&T - version: 2.0 - properties: - flow_pattern: E-LAN - layer_protocol: IP - network_id: - get_input: oam_net_id - network_technology: Contrail - network_type: vIPR_ATM_OAM - test_access: none - type: org.openecomp.resource.vl.OAM - vlc1_gtp_net: - properties: - address_Info: - ip_address: - get_input: vlc1_gtp_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc1_internal2: - properties: - address_info: - mac_address: - get_input: vlc1_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc1_oam: - properties: - address_Info: - ip_address: - get_input: vlc1_oam_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: oam_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc1_sctp_a: - properties: - address_Info: - ip_address: - get_input: vlc2_sctp_a_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc1_sctp_b: - properties: - address_Info: - ip_address: - get_input: vlc2_sctp_b_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_gtp_net: - properties: - address_Info: - ip_address: - get_input: vlc2_gtp_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_internal1: - properties: - address_info: - mac_address: - get_input: vlc2_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_internal2: - properties: - address_info: - mac_address: - get_input: vlc2_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_oam: - properties: - address_Info: - ip_address: - get_input: vlc2_oam_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: oam_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_sctp_a: - properties: - address_Info: - ip_address: - get_input: vlc2_sctp_a_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_sctp_b: - properties: - address_Info: - ip_address: - get_input: vlc2_sctp_b_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - policies: - - - mme_autoscale_policy: - properties: - factor: cpu_load - increment: 1 - max_instances: 4 - min_instances: 1 - threshold: 80% - target: - - vfmoduleVmmeModule-1 - type: org.openecomp.policy.Autoscaling - substitution_mapping: - requirements: - - - vlc1_gtp_net.link: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - - - vlc2_gtp_net.link: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - - - vlc1_sctp_a.link: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - - - vlc1_sctp_b.link: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - type: org.openecomp.resource.vf.vmme -tosca_definitions_version: tosca_simple_profile_for_ecomp_1_0 diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/vf_vmme_template_ModInvUUID.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/vf_vmme_template_ModInvUUID.yml deleted file mode 100644 index 0961302ead..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/vf_vmme_template_ModInvUUID.yml +++ /dev/null @@ -1,1299 +0,0 @@ ---- -description: "VF Template for pseodo vMME" -imports: - NovaServerGlobalTypes: - file: NovaServerGlobalTypesServiceTemplate.yaml -metadata: - category: "Application L4+" - description: vMME_VF - invariantUUID: b8643c59-e2c2-4f86-880d-571d4d9d5d22 - name: vMME_VF - subcategory: Firewall - type: VF - UUID: b020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc - resourceVendor: Ericsson -topology_template: - groups: - vfmoduleVmmeModule-1: - members: - - FSB1 - - FSB2 - - NCB1 - - NCB2 - - VLC1 - - VLC2 - - GPB1 - - GPB2 - - Internal1_net - - Internal2_net - - fsb1_oam - - fsb1_internal1 - - fsb1_internal2 - - fsb2_oam - - fsb2_internal2 - - ncb1_internal1 - - ncb1_internal2 - - ncb2_internal1 - - ncb2_internal2 - - gpb1_internal1 - - gpb1_internal2 - - gpb2_internal1 - - gpb2_internal2 - - vlc1_oam - - vlc1_internal1 - - vlc1_internal2 - - vlc1_sctp_a - - vlc1_sctp_b - - vlc1_gtp - - vlc2_oam - - vlc2_internal1 - - vlc2_internal2 - - vlc2_sctp_a - - vlc2_sctp_b - - vlc1_gtp - metadata: - vfModuleModelInvariantUUID: - vfModuleModelName: "vMME::module-1" - vfModuleModelUUID: x020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc - vfModuleModelVersion: 1 - properties: - artifacts: - - /Artifacts/vmme_small_create_fsb.yml - - /Artifacts/vmme_small.yml - availability_zone_count: 2 - contrail_service_instance: true - vf_module_description: "vMME expansion VF Module" - vf_module_label: "vMME Expansion VF Module" - vf_module_type: Expansion - volume_group: false - type: org.openecomp.groups.VfModule - vmme_small: - members: - - FSB1 - - FSB2 - - NCB1 - - NCB2 - - VLC1 - - VLC2 - - GPB1 - - GPB2 - - Internal1_net - - Internal2_net - - fsb1_oam - - fsb1_internal1 - - fsb1_internal2 - - fsb2_oam - - fsb2_internal2 - - ncb1_internal1 - - ncb1_internal2 - - ncb2_internal1 - - ncb2_internal2 - - gpb1_internal1 - - gpb1_internal2 - - gpb2_internal1 - - gpb2_internal2 - - vlc1_oam - - vlc1_internal1 - - vlc1_internal2 - - vlc1_sctp_a - - vlc1_sctp_b - - vlc1_gtp - - vlc2_oam - - vlc2_internal1 - - vlc2_internal2 - - vlc2_sctp_a - - vlc2_sctp_b - - vlc1_gtp - properties: - description: "HOT template to create vmme 2 fsb 2 ncb 2 gbp 2 vlc" - heat_file: ../Artifacts/vmme_small.yml - type: org.openecomp.groups.heat.HeatStack - vmme_small_create_fsb: - members: - - FSB1_volume - - FSB2_volume - properties: - description: "server template for vMME" - heat_file: ../Artifacts/vmme_small_create_fsb.yml - type: org.openecomp.groups.heat.HeatStack - inputs: - Internal1_net_cidr: - default: 169.253.0.0/17 - hidden: false - immutable: false - type: string - Internal1_net_dhcp: - default: "False" - hidden: false - immutable: false - type: string - Internal1_net_gateway_ip: - default: "169.253.0.3" - hidden: false - immutable: false - type: string - Internal2_net_cidr: - default: 169.255.0.0/17 - hidden: false - immutable: false - type: string - Internal2_net_dhcp: - default: "False" - hidden: false - immutable: false - type: string - Internal2_net_gateway_ip: - default: "169.255.0.3" - hidden: false - immutable: false - type: string - fsb1_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - fsb1_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - fsb1_oam_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - fsb1_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - fsb1_vfc_image_name: - default: MME_FSB1_16ACP03.qcow2 - description: "VFC image name" - type: string - fsb1_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - fsb1_vfc_type_tag: - description: "VFC type tag" - type: string - fsb2_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - fsb2_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - fsb2_oam_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - fsb2_vfc_flavor: - defualt: m4.xlarge4 - description: "VFC flavor" - type: string - fsb2_vfc_image_name: - default: MME_FSB2_16ACP03.qcow2 - description: "VFC image name" - type: string - fsb2_vfc_instance_name: - default: ZRDM1MMEX36FSB002 - description: "VFC instance name" - type: string - fsb2_vfc_type_tag: - description: "VFC type tag" - type: string - gpb1_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - gpb1_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - gpb1_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - gpb1_vfc_image_name: - default: MME_GPB1_16ACP03.qcow2 - description: "VFC image name" - type: string - gpb1_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - gpb1_vfc_type_tag: - description: "VFC type tag" - type: string - gpb2_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - gpb2_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - gpb2_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - gpb2_vfc_image_name: - default: MME_GPB2_16ACP03.qcow2 - description: "VFC image name" - type: string - gpb2_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - gpb2_vfc_type_tag: - description: "VFC type tag" - type: string - ncb1_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - ncb1_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - ncb1_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - ncb1_vfc_image_name: - default: MME_NCB1_16ACP03.qcow2 - description: "VFC image name" - type: string - ncb1_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - ncb1_vfc_type_tag: - description: "VFC type tag" - type: string - ncb2_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - ncb2_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - ncb2_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - ncb2_vfc_image_name: - default: MME_NCB2_16ACP03.qcow2 - description: "VFC image name" - type: string - ncb2_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - ncb2_vfc_type_tag: - description: "VFC type tag" - type: string - network_deployment_node: - description: "The target LCP node for deployment of this Network instance" - type: string - oam_net_id: - default: 47bf4cca-0961-422f-bcd6-d5a4fbb1a351 - description: "uuid of oam network" - hidden: false - immutable: false - type: string - vlc1_gtp_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc1_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - vlc1_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - vlc1_oam_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc1_sctp_a_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc1_sctp_b_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc1_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - vlc1_vfc_image_name: - default: MME_VLC1_16ACP03.qcow2 - description: "VFC image name" - type: string - vlc1_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - vlc1_vfc_type_tag: - description: "VFC type tag" - type: string - vlc2_gtp_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc2_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - vlc2_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - vlc2_oam_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc2_sctp_a_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc2_sctp_b_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc2_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - vlc2_vfc_image_name: - default: MME_VLC2_16ACP03.qcow2 - description: "VFC image name" - type: string - vlc2_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - vlc2_vfc_type_tag: - description: "VFC type tag" - type: string - node_templates: - FSB1: - capabilities: - monitoring_capabilty: - properties: - name: high_cpu - nfv_compute: - properties: - vfc_flavor: - get_input: fsb1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: FSB1 - vfc_ecomp_name: false - vfc_image_name: - get_input: fsb1_vfc_image_name - vfc_instance_name: - get_input: fsb1_vfc_instance_name - vfc_type_tag: - get_input: fsb1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - FSB2: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: fsb2_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: FSB2 - vfc_ecomp_name: false - vfc_image_name: - get_input: fsb2_vfc_image_name - vfc_instance_name: - get_input: fsb2_vfc_instance_name - vfc_type_tag: - get_input: fsb2_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb2_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb2_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb2_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - GPB1: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: gpb1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: GPB1 - vfc_ecomp_name: false - vfc_image_name: - get_input: gpb1_vfc_image_name - vfc_instance_name: - get_input: gpb1_vfc_instance_name - vfc_type_tag: - get_input: gpb1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - GPB2: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: gpb2_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: GPB2 - vfc_ecomp_name: false - vfc_image_name: - get_input: gpb2_vfc_image_name - vfc_instance_name: - get_input: gpb2_vfc_instance_name - vfc_type_tag: - get_input: gpb2_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb2_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb2_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb2_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - Internal1_net: - metadata: - category: Generic - description: "Internal Network" - invariantUUID: 14a25c59-e2c2-4f86-880d-371d4d9dc88c - name: Network - subcategory: Infrastructure - type: VL - UUID: 1a20ed2e-abcd-3f20-ca4e-cc7af4da1234 - resourceVendor: AT&T - version: 1.0 - properties: - cidr: - get_input: Internal1_net_cidr - contrail_virtual_network: - vn_external: false - vn_forwarding_mode: l2 - vn_name: MME-24474-Ericsson-WTC-lab_int_MMEX36_net_1 - vn_shared: false - enable_dhcp: - get_input: Internal1_net_enable_dhcp - flow_pattern: E-LAN - gateway_ip: - get_input: Internal1_net_gateway_ip - ip_version: 4 - layer_protocol: IP - network_deployment_node: - get_input: network_deployment_node - network_ecomp_name: false - network_homing: false - network_role: ~ - network_technology: Contrail - network_type: Tenant_Layer_3 - test_access: none - type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork - Internal2_net: - metadata: - category: Generic - description: "Internal Network" - invariantUUID: 14a25c59-e2c2-4f86-880d-371d4d9dc88c - name: Network - subcategory: Infrastructure - type: VL - UUID: 1a20ed2e-abcd-3f20-ca4e-cc7af4da1234 - resourceVendor: AT&T - version: 1.0 - properties: - cidr: - get_input: Internal2_net_cidr - contrail_virtual_network: - vn_external: false - vn_forwarding_mode: l2 - vn_name: MME-24474-Ericsson-WTC-lab_int_MMEX36_net_2 - vn_shared: false - enable_dhcp: - get_input: Internal2_net_enable_dhcp - flow_pattern: E-LAN - gateway_ip: - get_input: Internal2_net_gateway_ip - ip_version: 4 - layer_protocol: IP - network_deployment_node: - get_input: network_deployment_node - network_ecomp_name: false - network_homing: false - network_role: ~ - network_technology: Contrail - network_type: Tenant_Layer_3 - test_access: none - type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork - NCB1: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: ncb1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: NCB1 - vfc_ecomp_name: false - vfc_image_name: - get_input: ncb1_vfc_image_name - vfc_instance_name: - get_input: ncb1_vfc_instance_name - vfc_type_tag: - get_input: ncb1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - NCB2: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: ncb2_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: NCB2 - vfc_ecomp_name: false - vfc_image_name: - get_input: ncb2_vfc_image_name - vfc_instance_name: - get_input: ncb2_vfc_instance_name - vfc_type_tag: - get_input: ncb2_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb2_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb2_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb2_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - VLC1: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: vlc1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: VLC1 - vfc_ecomp_name: false - vfc_image_name: - get_input: vlc1_vfc_image_name - vfc_instance_name: - get_input: vlc1_vfc_instance_name - vfc_type_tag: - get_input: vlc1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - VLC2: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: vlc2_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: VLC2 - vfc_ecomp_name: false - vfc_image_name: - get_input: vlc2_vfc_image_name - vfc_instance_name: - get_input: vlc2_vfc_instance_name - vfc_type_tag: - get_input: vlc2_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc2_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc2_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc2_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - fsb1_internal1: - properties: - address_info: - mac_address: - get_input: fsb1_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb1_internal2: - properties: - address_info: - mac_address: - get_input: fsb1_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb1_oam: - properties: - address_Info: - ip_address: - get_input: fsb1_oam_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: oam_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb2_internal1: - properties: - address_info: - mac_address: - get_input: fsb2_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb2_internal2: - properties: - address_info: - mac_address: - get_input: fsb2_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb2_oam: - properties: - address_Info: - ip_address: - get_input: fsb2_oam_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: oam_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - gpb1_internal1: - properties: - address_info: - mac_address: - get_input: gpb1_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: GPB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - gpb1_internal2: - properties: - address_info: - mac_address: - get_input: gpb1_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: GPB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - gpb2_internal1: - properties: - address_info: - mac_address: - get_input: gpb2_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: GPB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - gpb2_internal2: - properties: - address_info: - mac_address: - get_input: gpb2_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: GPB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - ncb1_internal1: - properties: - address_info: - mac_address: - get_input: ncb1_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: NCB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - ncb1_internal2: - properties: - address_info: - mac_address: - get_input: ncb1_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: NCB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - ncb2_internal1: - properties: - address_info: - mac_address: - get_input: ncb2_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: NCB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - ncb2_internal2: - properties: - address_info: - mac_address: - get_input: ncb2_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: NCB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - oam_net: - metadata: - category: VL - description: "Mobility OAM Network" - invariantUUID: 18643c59-e2c2-4f86-880d-371d4d9dc52a - name: "Mobility OAM Network" - type: VL - UUID: 1a20ed2e-abcd-3f20-ca4e-cc7af4da7fcc - resourceVendor: AT&T - version: 2.0 - properties: - flow_pattern: E-LAN - layer_protocol: IP - network_id: - get_input: oam_net_id - network_technology: Contrail - network_type: vIPR_ATM_OAM - test_access: none - type: org.openecomp.resource.vl.OAM - vlc1_gtp_net: - properties: - address_Info: - ip_address: - get_input: vlc1_gtp_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc1_internal2: - properties: - address_info: - mac_address: - get_input: vlc1_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc1_oam: - properties: - address_Info: - ip_address: - get_input: vlc1_oam_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: oam_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc1_sctp_a: - properties: - address_Info: - ip_address: - get_input: vlc2_sctp_a_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc1_sctp_b: - properties: - address_Info: - ip_address: - get_input: vlc2_sctp_b_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_gtp_net: - properties: - address_Info: - ip_address: - get_input: vlc2_gtp_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_internal1: - properties: - address_info: - mac_address: - get_input: vlc2_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_internal2: - properties: - address_info: - mac_address: - get_input: vlc2_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_oam: - properties: - address_Info: - ip_address: - get_input: vlc2_oam_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: oam_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_sctp_a: - properties: - address_Info: - ip_address: - get_input: vlc2_sctp_a_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_sctp_b: - properties: - address_Info: - ip_address: - get_input: vlc2_sctp_b_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - policies: - - - mme_autoscale_policy: - properties: - factor: cpu_load - increment: 1 - max_instances: 4 - min_instances: 1 - threshold: 80% - target: - - vfmoduleVmmeModule-1 - type: org.openecomp.policy.Autoscaling - substitution_mapping: - requirements: - - - vlc1_gtp_net.link: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - - - vlc2_gtp_net.link: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - - - vlc1_sctp_a.link: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - - - vlc1_sctp_b.link: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - type: org.openecomp.resource.vf.vmme -tosca_definitions_version: tosca_simple_profile_for_ecomp_1_0 diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/vf_vmme_template_ModelName.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/vf_vmme_template_ModelName.yml deleted file mode 100644 index 2f5f4267b5..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/vf_vmme_template_ModelName.yml +++ /dev/null @@ -1,1299 +0,0 @@ ---- -description: "VF Template for pseodo vMME" -imports: - NovaServerGlobalTypes: - file: NovaServerGlobalTypesServiceTemplate.yaml -metadata: - category: "Application L4+" - description: vMME_VF - invariantUUID: b8643c59-e2c2-4f86-880d-571d4d9d5d22 - name: vMME_VF - subcategory: Firewall - type: VF - UUID: b020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc - resourceVendor: Ericsson -topology_template: - groups: - vfmoduleVmmeModule-1: - members: - - FSB1 - - FSB2 - - NCB1 - - NCB2 - - VLC1 - - VLC2 - - GPB1 - - GPB2 - - Internal1_net - - Internal2_net - - fsb1_oam - - fsb1_internal1 - - fsb1_internal2 - - fsb2_oam - - fsb2_internal2 - - ncb1_internal1 - - ncb1_internal2 - - ncb2_internal1 - - ncb2_internal2 - - gpb1_internal1 - - gpb1_internal2 - - gpb2_internal1 - - gpb2_internal2 - - vlc1_oam - - vlc1_internal1 - - vlc1_internal2 - - vlc1_sctp_a - - vlc1_sctp_b - - vlc1_gtp - - vlc2_oam - - vlc2_internal1 - - vlc2_internal2 - - vlc2_sctp_a - - vlc2_sctp_b - - vlc1_gtp - metadata: - vfModuleModelInvariantUUID: adf1a10a-f788-492f-9ea7-7ff91dd55f8c - vfModuleModelName: - vfModuleModelUUID: x020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc - vfModuleModelVersion: 1 - properties: - artifacts: - - /Artifacts/vmme_small_create_fsb.yml - - /Artifacts/vmme_small.yml - availability_zone_count: 2 - contrail_service_instance: true - vf_module_description: "vMME expansion VF Module" - vf_module_label: "vMME Expansion VF Module" - vf_module_type: Expansion - volume_group: false - type: org.openecomp.groups.VfModule - vmme_small: - members: - - FSB1 - - FSB2 - - NCB1 - - NCB2 - - VLC1 - - VLC2 - - GPB1 - - GPB2 - - Internal1_net - - Internal2_net - - fsb1_oam - - fsb1_internal1 - - fsb1_internal2 - - fsb2_oam - - fsb2_internal2 - - ncb1_internal1 - - ncb1_internal2 - - ncb2_internal1 - - ncb2_internal2 - - gpb1_internal1 - - gpb1_internal2 - - gpb2_internal1 - - gpb2_internal2 - - vlc1_oam - - vlc1_internal1 - - vlc1_internal2 - - vlc1_sctp_a - - vlc1_sctp_b - - vlc1_gtp - - vlc2_oam - - vlc2_internal1 - - vlc2_internal2 - - vlc2_sctp_a - - vlc2_sctp_b - - vlc1_gtp - properties: - description: "HOT template to create vmme 2 fsb 2 ncb 2 gbp 2 vlc" - heat_file: ../Artifacts/vmme_small.yml - type: org.openecomp.groups.heat.HeatStack - vmme_small_create_fsb: - members: - - FSB1_volume - - FSB2_volume - properties: - description: "server template for vMME" - heat_file: ../Artifacts/vmme_small_create_fsb.yml - type: org.openecomp.groups.heat.HeatStack - inputs: - Internal1_net_cidr: - default: 169.253.0.0/17 - hidden: false - immutable: false - type: string - Internal1_net_dhcp: - default: "False" - hidden: false - immutable: false - type: string - Internal1_net_gateway_ip: - default: "169.253.0.3" - hidden: false - immutable: false - type: string - Internal2_net_cidr: - default: 169.255.0.0/17 - hidden: false - immutable: false - type: string - Internal2_net_dhcp: - default: "False" - hidden: false - immutable: false - type: string - Internal2_net_gateway_ip: - default: "169.255.0.3" - hidden: false - immutable: false - type: string - fsb1_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - fsb1_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - fsb1_oam_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - fsb1_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - fsb1_vfc_image_name: - default: MME_FSB1_16ACP03.qcow2 - description: "VFC image name" - type: string - fsb1_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - fsb1_vfc_type_tag: - description: "VFC type tag" - type: string - fsb2_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - fsb2_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - fsb2_oam_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - fsb2_vfc_flavor: - defualt: m4.xlarge4 - description: "VFC flavor" - type: string - fsb2_vfc_image_name: - default: MME_FSB2_16ACP03.qcow2 - description: "VFC image name" - type: string - fsb2_vfc_instance_name: - default: ZRDM1MMEX36FSB002 - description: "VFC instance name" - type: string - fsb2_vfc_type_tag: - description: "VFC type tag" - type: string - gpb1_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - gpb1_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - gpb1_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - gpb1_vfc_image_name: - default: MME_GPB1_16ACP03.qcow2 - description: "VFC image name" - type: string - gpb1_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - gpb1_vfc_type_tag: - description: "VFC type tag" - type: string - gpb2_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - gpb2_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - gpb2_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - gpb2_vfc_image_name: - default: MME_GPB2_16ACP03.qcow2 - description: "VFC image name" - type: string - gpb2_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - gpb2_vfc_type_tag: - description: "VFC type tag" - type: string - ncb1_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - ncb1_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - ncb1_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - ncb1_vfc_image_name: - default: MME_NCB1_16ACP03.qcow2 - description: "VFC image name" - type: string - ncb1_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - ncb1_vfc_type_tag: - description: "VFC type tag" - type: string - ncb2_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - ncb2_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - ncb2_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - ncb2_vfc_image_name: - default: MME_NCB2_16ACP03.qcow2 - description: "VFC image name" - type: string - ncb2_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - ncb2_vfc_type_tag: - description: "VFC type tag" - type: string - network_deployment_node: - description: "The target LCP node for deployment of this Network instance" - type: string - oam_net_id: - default: 47bf4cca-0961-422f-bcd6-d5a4fbb1a351 - description: "uuid of oam network" - hidden: false - immutable: false - type: string - vlc1_gtp_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc1_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - vlc1_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - vlc1_oam_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc1_sctp_a_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc1_sctp_b_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc1_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - vlc1_vfc_image_name: - default: MME_VLC1_16ACP03.qcow2 - description: "VFC image name" - type: string - vlc1_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - vlc1_vfc_type_tag: - description: "VFC type tag" - type: string - vlc2_gtp_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc2_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - vlc2_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - vlc2_oam_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc2_sctp_a_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc2_sctp_b_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc2_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - vlc2_vfc_image_name: - default: MME_VLC2_16ACP03.qcow2 - description: "VFC image name" - type: string - vlc2_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - vlc2_vfc_type_tag: - description: "VFC type tag" - type: string - node_templates: - FSB1: - capabilities: - monitoring_capabilty: - properties: - name: high_cpu - nfv_compute: - properties: - vfc_flavor: - get_input: fsb1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: FSB1 - vfc_ecomp_name: false - vfc_image_name: - get_input: fsb1_vfc_image_name - vfc_instance_name: - get_input: fsb1_vfc_instance_name - vfc_type_tag: - get_input: fsb1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - FSB2: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: fsb2_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: FSB2 - vfc_ecomp_name: false - vfc_image_name: - get_input: fsb2_vfc_image_name - vfc_instance_name: - get_input: fsb2_vfc_instance_name - vfc_type_tag: - get_input: fsb2_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb2_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb2_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb2_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - GPB1: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: gpb1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: GPB1 - vfc_ecomp_name: false - vfc_image_name: - get_input: gpb1_vfc_image_name - vfc_instance_name: - get_input: gpb1_vfc_instance_name - vfc_type_tag: - get_input: gpb1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - GPB2: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: gpb2_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: GPB2 - vfc_ecomp_name: false - vfc_image_name: - get_input: gpb2_vfc_image_name - vfc_instance_name: - get_input: gpb2_vfc_instance_name - vfc_type_tag: - get_input: gpb2_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb2_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb2_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb2_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - Internal1_net: - metadata: - category: Generic - description: "Internal Network" - invariantUUID: 14a25c59-e2c2-4f86-880d-371d4d9dc88c - name: Network - subcategory: Infrastructure - type: VL - UUID: 1a20ed2e-abcd-3f20-ca4e-cc7af4da1234 - resourceVendor: AT&T - version: 1.0 - properties: - cidr: - get_input: Internal1_net_cidr - contrail_virtual_network: - vn_external: false - vn_forwarding_mode: l2 - vn_name: MME-24474-Ericsson-WTC-lab_int_MMEX36_net_1 - vn_shared: false - enable_dhcp: - get_input: Internal1_net_enable_dhcp - flow_pattern: E-LAN - gateway_ip: - get_input: Internal1_net_gateway_ip - ip_version: 4 - layer_protocol: IP - network_deployment_node: - get_input: network_deployment_node - network_ecomp_name: false - network_homing: false - network_role: ~ - network_technology: Contrail - network_type: Tenant_Layer_3 - test_access: none - type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork - Internal2_net: - metadata: - category: Generic - description: "Internal Network" - invariantUUID: 14a25c59-e2c2-4f86-880d-371d4d9dc88c - name: Network - subcategory: Infrastructure - type: VL - UUID: 1a20ed2e-abcd-3f20-ca4e-cc7af4da1234 - resourceVendor: AT&T - version: 1.0 - properties: - cidr: - get_input: Internal2_net_cidr - contrail_virtual_network: - vn_external: false - vn_forwarding_mode: l2 - vn_name: MME-24474-Ericsson-WTC-lab_int_MMEX36_net_2 - vn_shared: false - enable_dhcp: - get_input: Internal2_net_enable_dhcp - flow_pattern: E-LAN - gateway_ip: - get_input: Internal2_net_gateway_ip - ip_version: 4 - layer_protocol: IP - network_deployment_node: - get_input: network_deployment_node - network_ecomp_name: false - network_homing: false - network_role: ~ - network_technology: Contrail - network_type: Tenant_Layer_3 - test_access: none - type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork - NCB1: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: ncb1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: NCB1 - vfc_ecomp_name: false - vfc_image_name: - get_input: ncb1_vfc_image_name - vfc_instance_name: - get_input: ncb1_vfc_instance_name - vfc_type_tag: - get_input: ncb1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - NCB2: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: ncb2_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: NCB2 - vfc_ecomp_name: false - vfc_image_name: - get_input: ncb2_vfc_image_name - vfc_instance_name: - get_input: ncb2_vfc_instance_name - vfc_type_tag: - get_input: ncb2_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb2_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb2_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb2_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - VLC1: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: vlc1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: VLC1 - vfc_ecomp_name: false - vfc_image_name: - get_input: vlc1_vfc_image_name - vfc_instance_name: - get_input: vlc1_vfc_instance_name - vfc_type_tag: - get_input: vlc1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - VLC2: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: vlc2_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: VLC2 - vfc_ecomp_name: false - vfc_image_name: - get_input: vlc2_vfc_image_name - vfc_instance_name: - get_input: vlc2_vfc_instance_name - vfc_type_tag: - get_input: vlc2_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc2_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc2_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc2_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - fsb1_internal1: - properties: - address_info: - mac_address: - get_input: fsb1_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb1_internal2: - properties: - address_info: - mac_address: - get_input: fsb1_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb1_oam: - properties: - address_Info: - ip_address: - get_input: fsb1_oam_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: oam_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb2_internal1: - properties: - address_info: - mac_address: - get_input: fsb2_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb2_internal2: - properties: - address_info: - mac_address: - get_input: fsb2_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb2_oam: - properties: - address_Info: - ip_address: - get_input: fsb2_oam_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: oam_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - gpb1_internal1: - properties: - address_info: - mac_address: - get_input: gpb1_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: GPB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - gpb1_internal2: - properties: - address_info: - mac_address: - get_input: gpb1_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: GPB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - gpb2_internal1: - properties: - address_info: - mac_address: - get_input: gpb2_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: GPB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - gpb2_internal2: - properties: - address_info: - mac_address: - get_input: gpb2_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: GPB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - ncb1_internal1: - properties: - address_info: - mac_address: - get_input: ncb1_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: NCB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - ncb1_internal2: - properties: - address_info: - mac_address: - get_input: ncb1_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: NCB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - ncb2_internal1: - properties: - address_info: - mac_address: - get_input: ncb2_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: NCB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - ncb2_internal2: - properties: - address_info: - mac_address: - get_input: ncb2_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: NCB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - oam_net: - metadata: - category: VL - description: "Mobility OAM Network" - invariantUUID: 18643c59-e2c2-4f86-880d-371d4d9dc52a - name: "Mobility OAM Network" - type: VL - UUID: 1a20ed2e-abcd-3f20-ca4e-cc7af4da7fcc - resourceVendor: AT&T - version: 2.0 - properties: - flow_pattern: E-LAN - layer_protocol: IP - network_id: - get_input: oam_net_id - network_technology: Contrail - network_type: vIPR_ATM_OAM - test_access: none - type: org.openecomp.resource.vl.OAM - vlc1_gtp_net: - properties: - address_Info: - ip_address: - get_input: vlc1_gtp_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc1_internal2: - properties: - address_info: - mac_address: - get_input: vlc1_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc1_oam: - properties: - address_Info: - ip_address: - get_input: vlc1_oam_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: oam_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc1_sctp_a: - properties: - address_Info: - ip_address: - get_input: vlc2_sctp_a_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc1_sctp_b: - properties: - address_Info: - ip_address: - get_input: vlc2_sctp_b_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_gtp_net: - properties: - address_Info: - ip_address: - get_input: vlc2_gtp_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_internal1: - properties: - address_info: - mac_address: - get_input: vlc2_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_internal2: - properties: - address_info: - mac_address: - get_input: vlc2_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_oam: - properties: - address_Info: - ip_address: - get_input: vlc2_oam_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: oam_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_sctp_a: - properties: - address_Info: - ip_address: - get_input: vlc2_sctp_a_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_sctp_b: - properties: - address_Info: - ip_address: - get_input: vlc2_sctp_b_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - policies: - - - mme_autoscale_policy: - properties: - factor: cpu_load - increment: 1 - max_instances: 4 - min_instances: 1 - threshold: 80% - target: - - vfmoduleVmmeModule-1 - type: org.openecomp.policy.Autoscaling - substitution_mapping: - requirements: - - - vlc1_gtp_net.link: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - - - vlc2_gtp_net.link: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - - - vlc1_sctp_a.link: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - - - vlc1_sctp_b.link: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - type: org.openecomp.resource.vf.vmme -tosca_definitions_version: tosca_simple_profile_for_ecomp_1_0 diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/vf_vmme_template_ModelUUID.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/vf_vmme_template_ModelUUID.yml deleted file mode 100644 index 7dec66c31b..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/vf_vmme_template_ModelUUID.yml +++ /dev/null @@ -1,1299 +0,0 @@ ---- -description: "VF Template for pseodo vMME" -imports: - NovaServerGlobalTypes: - file: NovaServerGlobalTypesServiceTemplate.yaml -metadata: - category: "Application L4+" - description: vMME_VF - invariantUUID: b8643c59-e2c2-4f86-880d-571d4d9d5d22 - name: vMME_VF - subcategory: Firewall - type: VF - UUID: b020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc - resourceVendor: Ericsson -topology_template: - groups: - vfmoduleVmmeModule-1: - members: - - FSB1 - - FSB2 - - NCB1 - - NCB2 - - VLC1 - - VLC2 - - GPB1 - - GPB2 - - Internal1_net - - Internal2_net - - fsb1_oam - - fsb1_internal1 - - fsb1_internal2 - - fsb2_oam - - fsb2_internal2 - - ncb1_internal1 - - ncb1_internal2 - - ncb2_internal1 - - ncb2_internal2 - - gpb1_internal1 - - gpb1_internal2 - - gpb2_internal1 - - gpb2_internal2 - - vlc1_oam - - vlc1_internal1 - - vlc1_internal2 - - vlc1_sctp_a - - vlc1_sctp_b - - vlc1_gtp - - vlc2_oam - - vlc2_internal1 - - vlc2_internal2 - - vlc2_sctp_a - - vlc2_sctp_b - - vlc1_gtp - metadata: - vfModuleModelInvariantUUID: adf1a10a-f788-492f-9ea7-7ff91dd55f8c - vfModuleModelName: "vMME::module-1" - vfModuleModelUUID: - vfModuleModelVersion: 1 - properties: - artifacts: - - /Artifacts/vmme_small_create_fsb.yml - - /Artifacts/vmme_small.yml - availability_zone_count: 2 - contrail_service_instance: true - vf_module_description: "vMME expansion VF Module" - vf_module_label: "vMME Expansion VF Module" - vf_module_type: Expansion - volume_group: false - type: org.openecomp.groups.VfModule - vmme_small: - members: - - FSB1 - - FSB2 - - NCB1 - - NCB2 - - VLC1 - - VLC2 - - GPB1 - - GPB2 - - Internal1_net - - Internal2_net - - fsb1_oam - - fsb1_internal1 - - fsb1_internal2 - - fsb2_oam - - fsb2_internal2 - - ncb1_internal1 - - ncb1_internal2 - - ncb2_internal1 - - ncb2_internal2 - - gpb1_internal1 - - gpb1_internal2 - - gpb2_internal1 - - gpb2_internal2 - - vlc1_oam - - vlc1_internal1 - - vlc1_internal2 - - vlc1_sctp_a - - vlc1_sctp_b - - vlc1_gtp - - vlc2_oam - - vlc2_internal1 - - vlc2_internal2 - - vlc2_sctp_a - - vlc2_sctp_b - - vlc1_gtp - properties: - description: "HOT template to create vmme 2 fsb 2 ncb 2 gbp 2 vlc" - heat_file: ../Artifacts/vmme_small.yml - type: org.openecomp.groups.heat.HeatStack - vmme_small_create_fsb: - members: - - FSB1_volume - - FSB2_volume - properties: - description: "server template for vMME" - heat_file: ../Artifacts/vmme_small_create_fsb.yml - type: org.openecomp.groups.heat.HeatStack - inputs: - Internal1_net_cidr: - default: 169.253.0.0/17 - hidden: false - immutable: false - type: string - Internal1_net_dhcp: - default: "False" - hidden: false - immutable: false - type: string - Internal1_net_gateway_ip: - default: "169.253.0.3" - hidden: false - immutable: false - type: string - Internal2_net_cidr: - default: 169.255.0.0/17 - hidden: false - immutable: false - type: string - Internal2_net_dhcp: - default: "False" - hidden: false - immutable: false - type: string - Internal2_net_gateway_ip: - default: "169.255.0.3" - hidden: false - immutable: false - type: string - fsb1_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - fsb1_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - fsb1_oam_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - fsb1_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - fsb1_vfc_image_name: - default: MME_FSB1_16ACP03.qcow2 - description: "VFC image name" - type: string - fsb1_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - fsb1_vfc_type_tag: - description: "VFC type tag" - type: string - fsb2_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - fsb2_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - fsb2_oam_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - fsb2_vfc_flavor: - defualt: m4.xlarge4 - description: "VFC flavor" - type: string - fsb2_vfc_image_name: - default: MME_FSB2_16ACP03.qcow2 - description: "VFC image name" - type: string - fsb2_vfc_instance_name: - default: ZRDM1MMEX36FSB002 - description: "VFC instance name" - type: string - fsb2_vfc_type_tag: - description: "VFC type tag" - type: string - gpb1_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - gpb1_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - gpb1_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - gpb1_vfc_image_name: - default: MME_GPB1_16ACP03.qcow2 - description: "VFC image name" - type: string - gpb1_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - gpb1_vfc_type_tag: - description: "VFC type tag" - type: string - gpb2_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - gpb2_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - gpb2_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - gpb2_vfc_image_name: - default: MME_GPB2_16ACP03.qcow2 - description: "VFC image name" - type: string - gpb2_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - gpb2_vfc_type_tag: - description: "VFC type tag" - type: string - ncb1_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - ncb1_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - ncb1_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - ncb1_vfc_image_name: - default: MME_NCB1_16ACP03.qcow2 - description: "VFC image name" - type: string - ncb1_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - ncb1_vfc_type_tag: - description: "VFC type tag" - type: string - ncb2_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - ncb2_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - ncb2_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - ncb2_vfc_image_name: - default: MME_NCB2_16ACP03.qcow2 - description: "VFC image name" - type: string - ncb2_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - ncb2_vfc_type_tag: - description: "VFC type tag" - type: string - network_deployment_node: - description: "The target LCP node for deployment of this Network instance" - type: string - oam_net_id: - default: 47bf4cca-0961-422f-bcd6-d5a4fbb1a351 - description: "uuid of oam network" - hidden: false - immutable: false - type: string - vlc1_gtp_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc1_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - vlc1_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - vlc1_oam_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc1_sctp_a_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc1_sctp_b_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc1_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - vlc1_vfc_image_name: - default: MME_VLC1_16ACP03.qcow2 - description: "VFC image name" - type: string - vlc1_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - vlc1_vfc_type_tag: - description: "VFC type tag" - type: string - vlc2_gtp_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc2_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - vlc2_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - vlc2_oam_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc2_sctp_a_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc2_sctp_b_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc2_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - vlc2_vfc_image_name: - default: MME_VLC2_16ACP03.qcow2 - description: "VFC image name" - type: string - vlc2_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - vlc2_vfc_type_tag: - description: "VFC type tag" - type: string - node_templates: - FSB1: - capabilities: - monitoring_capabilty: - properties: - name: high_cpu - nfv_compute: - properties: - vfc_flavor: - get_input: fsb1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: FSB1 - vfc_ecomp_name: false - vfc_image_name: - get_input: fsb1_vfc_image_name - vfc_instance_name: - get_input: fsb1_vfc_instance_name - vfc_type_tag: - get_input: fsb1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - FSB2: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: fsb2_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: FSB2 - vfc_ecomp_name: false - vfc_image_name: - get_input: fsb2_vfc_image_name - vfc_instance_name: - get_input: fsb2_vfc_instance_name - vfc_type_tag: - get_input: fsb2_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb2_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb2_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb2_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - GPB1: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: gpb1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: GPB1 - vfc_ecomp_name: false - vfc_image_name: - get_input: gpb1_vfc_image_name - vfc_instance_name: - get_input: gpb1_vfc_instance_name - vfc_type_tag: - get_input: gpb1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - GPB2: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: gpb2_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: GPB2 - vfc_ecomp_name: false - vfc_image_name: - get_input: gpb2_vfc_image_name - vfc_instance_name: - get_input: gpb2_vfc_instance_name - vfc_type_tag: - get_input: gpb2_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb2_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb2_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb2_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - Internal1_net: - metadata: - category: Generic - description: "Internal Network" - invariantUUID: 14a25c59-e2c2-4f86-880d-371d4d9dc88c - name: Network - subcategory: Infrastructure - type: VL - UUID: 1a20ed2e-abcd-3f20-ca4e-cc7af4da1234 - resourceVendor: AT&T - version: 1.0 - properties: - cidr: - get_input: Internal1_net_cidr - contrail_virtual_network: - vn_external: false - vn_forwarding_mode: l2 - vn_name: MME-24474-Ericsson-WTC-lab_int_MMEX36_net_1 - vn_shared: false - enable_dhcp: - get_input: Internal1_net_enable_dhcp - flow_pattern: E-LAN - gateway_ip: - get_input: Internal1_net_gateway_ip - ip_version: 4 - layer_protocol: IP - network_deployment_node: - get_input: network_deployment_node - network_ecomp_name: false - network_homing: false - network_role: ~ - network_technology: Contrail - network_type: Tenant_Layer_3 - test_access: none - type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork - Internal2_net: - metadata: - category: Generic - description: "Internal Network" - invariantUUID: 14a25c59-e2c2-4f86-880d-371d4d9dc88c - name: Network - subcategory: Infrastructure - type: VL - UUID: 1a20ed2e-abcd-3f20-ca4e-cc7af4da1234 - resourceVendor: AT&T - version: 1.0 - properties: - cidr: - get_input: Internal2_net_cidr - contrail_virtual_network: - vn_external: false - vn_forwarding_mode: l2 - vn_name: MME-24474-Ericsson-WTC-lab_int_MMEX36_net_2 - vn_shared: false - enable_dhcp: - get_input: Internal2_net_enable_dhcp - flow_pattern: E-LAN - gateway_ip: - get_input: Internal2_net_gateway_ip - ip_version: 4 - layer_protocol: IP - network_deployment_node: - get_input: network_deployment_node - network_ecomp_name: false - network_homing: false - network_role: ~ - network_technology: Contrail - network_type: Tenant_Layer_3 - test_access: none - type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork - NCB1: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: ncb1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: NCB1 - vfc_ecomp_name: false - vfc_image_name: - get_input: ncb1_vfc_image_name - vfc_instance_name: - get_input: ncb1_vfc_instance_name - vfc_type_tag: - get_input: ncb1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - NCB2: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: ncb2_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: NCB2 - vfc_ecomp_name: false - vfc_image_name: - get_input: ncb2_vfc_image_name - vfc_instance_name: - get_input: ncb2_vfc_instance_name - vfc_type_tag: - get_input: ncb2_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb2_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb2_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb2_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - VLC1: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: vlc1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: VLC1 - vfc_ecomp_name: false - vfc_image_name: - get_input: vlc1_vfc_image_name - vfc_instance_name: - get_input: vlc1_vfc_instance_name - vfc_type_tag: - get_input: vlc1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - VLC2: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: vlc2_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: VLC2 - vfc_ecomp_name: false - vfc_image_name: - get_input: vlc2_vfc_image_name - vfc_instance_name: - get_input: vlc2_vfc_instance_name - vfc_type_tag: - get_input: vlc2_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc2_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc2_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc2_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - fsb1_internal1: - properties: - address_info: - mac_address: - get_input: fsb1_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb1_internal2: - properties: - address_info: - mac_address: - get_input: fsb1_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb1_oam: - properties: - address_Info: - ip_address: - get_input: fsb1_oam_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: oam_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb2_internal1: - properties: - address_info: - mac_address: - get_input: fsb2_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb2_internal2: - properties: - address_info: - mac_address: - get_input: fsb2_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb2_oam: - properties: - address_Info: - ip_address: - get_input: fsb2_oam_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: oam_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - gpb1_internal1: - properties: - address_info: - mac_address: - get_input: gpb1_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: GPB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - gpb1_internal2: - properties: - address_info: - mac_address: - get_input: gpb1_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: GPB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - gpb2_internal1: - properties: - address_info: - mac_address: - get_input: gpb2_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: GPB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - gpb2_internal2: - properties: - address_info: - mac_address: - get_input: gpb2_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: GPB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - ncb1_internal1: - properties: - address_info: - mac_address: - get_input: ncb1_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: NCB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - ncb1_internal2: - properties: - address_info: - mac_address: - get_input: ncb1_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: NCB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - ncb2_internal1: - properties: - address_info: - mac_address: - get_input: ncb2_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: NCB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - ncb2_internal2: - properties: - address_info: - mac_address: - get_input: ncb2_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: NCB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - oam_net: - metadata: - category: VL - description: "Mobility OAM Network" - invariantUUID: 18643c59-e2c2-4f86-880d-371d4d9dc52a - name: "Mobility OAM Network" - type: VL - UUID: 1a20ed2e-abcd-3f20-ca4e-cc7af4da7fcc - resourceVendor: AT&T - version: 2.0 - properties: - flow_pattern: E-LAN - layer_protocol: IP - network_id: - get_input: oam_net_id - network_technology: Contrail - network_type: vIPR_ATM_OAM - test_access: none - type: org.openecomp.resource.vl.OAM - vlc1_gtp_net: - properties: - address_Info: - ip_address: - get_input: vlc1_gtp_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc1_internal2: - properties: - address_info: - mac_address: - get_input: vlc1_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc1_oam: - properties: - address_Info: - ip_address: - get_input: vlc1_oam_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: oam_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc1_sctp_a: - properties: - address_Info: - ip_address: - get_input: vlc2_sctp_a_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc1_sctp_b: - properties: - address_Info: - ip_address: - get_input: vlc2_sctp_b_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_gtp_net: - properties: - address_Info: - ip_address: - get_input: vlc2_gtp_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_internal1: - properties: - address_info: - mac_address: - get_input: vlc2_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_internal2: - properties: - address_info: - mac_address: - get_input: vlc2_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_oam: - properties: - address_Info: - ip_address: - get_input: vlc2_oam_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: oam_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_sctp_a: - properties: - address_Info: - ip_address: - get_input: vlc2_sctp_a_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_sctp_b: - properties: - address_Info: - ip_address: - get_input: vlc2_sctp_b_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - policies: - - - mme_autoscale_policy: - properties: - factor: cpu_load - increment: 1 - max_instances: 4 - min_instances: 1 - threshold: 80% - target: - - vfmoduleVmmeModule-1 - type: org.openecomp.policy.Autoscaling - substitution_mapping: - requirements: - - - vlc1_gtp_net.link: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - - - vlc2_gtp_net.link: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - - - vlc1_sctp_a.link: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - - - vlc1_sctp_b.link: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - type: org.openecomp.resource.vf.vmme -tosca_definitions_version: tosca_simple_profile_for_ecomp_1_0 diff --git a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/vf_vmme_template_ModelVersion.yml b/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/vf_vmme_template_ModelVersion.yml deleted file mode 100644 index 5ae33ed8ab..0000000000 --- a/common/onap-sdc-artifact-generator-lib/onap-sdc-artifact-generator-core/src/test/resources/vf_vmme_template_ModelVersion.yml +++ /dev/null @@ -1,1299 +0,0 @@ ---- -description: "VF Template for pseodo vMME" -imports: - NovaServerGlobalTypes: - file: NovaServerGlobalTypesServiceTemplate.yaml -metadata: - category: "Application L4+" - description: vMME_VF - invariantUUID: b8643c59-e2c2-4f86-880d-571d4d9d5d22 - name: vMME_VF - subcategory: Firewall - type: VF - UUID: b020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc - resourceVendor: Ericsson -topology_template: - groups: - vfmoduleVmmeModule-1: - members: - - FSB1 - - FSB2 - - NCB1 - - NCB2 - - VLC1 - - VLC2 - - GPB1 - - GPB2 - - Internal1_net - - Internal2_net - - fsb1_oam - - fsb1_internal1 - - fsb1_internal2 - - fsb2_oam - - fsb2_internal2 - - ncb1_internal1 - - ncb1_internal2 - - ncb2_internal1 - - ncb2_internal2 - - gpb1_internal1 - - gpb1_internal2 - - gpb2_internal1 - - gpb2_internal2 - - vlc1_oam - - vlc1_internal1 - - vlc1_internal2 - - vlc1_sctp_a - - vlc1_sctp_b - - vlc1_gtp - - vlc2_oam - - vlc2_internal1 - - vlc2_internal2 - - vlc2_sctp_a - - vlc2_sctp_b - - vlc1_gtp - metadata: - vfModuleModelInvariantUUID: adf1a10a-f788-492f-9ea7-7ff91dd55f8c - vfModuleModelName: "vMME::module-1" - vfModuleModelUUID: x020ed1e-4bc7-4fc0-ba7e-cc7af6da7ffc - vfModuleModelVersion: - properties: - artifacts: - - /Artifacts/vmme_small_create_fsb.yml - - /Artifacts/vmme_small.yml - availability_zone_count: 2 - contrail_service_instance: true - vf_module_description: "vMME expansion VF Module" - vf_module_label: "vMME Expansion VF Module" - vf_module_type: Expansion - volume_group: false - type: org.openecomp.groups.VfModule - vmme_small: - members: - - FSB1 - - FSB2 - - NCB1 - - NCB2 - - VLC1 - - VLC2 - - GPB1 - - GPB2 - - Internal1_net - - Internal2_net - - fsb1_oam - - fsb1_internal1 - - fsb1_internal2 - - fsb2_oam - - fsb2_internal2 - - ncb1_internal1 - - ncb1_internal2 - - ncb2_internal1 - - ncb2_internal2 - - gpb1_internal1 - - gpb1_internal2 - - gpb2_internal1 - - gpb2_internal2 - - vlc1_oam - - vlc1_internal1 - - vlc1_internal2 - - vlc1_sctp_a - - vlc1_sctp_b - - vlc1_gtp - - vlc2_oam - - vlc2_internal1 - - vlc2_internal2 - - vlc2_sctp_a - - vlc2_sctp_b - - vlc1_gtp - properties: - description: "HOT template to create vmme 2 fsb 2 ncb 2 gbp 2 vlc" - heat_file: ../Artifacts/vmme_small.yml - type: org.openecomp.groups.heat.HeatStack - vmme_small_create_fsb: - members: - - FSB1_volume - - FSB2_volume - properties: - description: "server template for vMME" - heat_file: ../Artifacts/vmme_small_create_fsb.yml - type: org.openecomp.groups.heat.HeatStack - inputs: - Internal1_net_cidr: - default: 169.253.0.0/17 - hidden: false - immutable: false - type: string - Internal1_net_dhcp: - default: "False" - hidden: false - immutable: false - type: string - Internal1_net_gateway_ip: - default: "169.253.0.3" - hidden: false - immutable: false - type: string - Internal2_net_cidr: - default: 169.255.0.0/17 - hidden: false - immutable: false - type: string - Internal2_net_dhcp: - default: "False" - hidden: false - immutable: false - type: string - Internal2_net_gateway_ip: - default: "169.255.0.3" - hidden: false - immutable: false - type: string - fsb1_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - fsb1_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - fsb1_oam_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - fsb1_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - fsb1_vfc_image_name: - default: MME_FSB1_16ACP03.qcow2 - description: "VFC image name" - type: string - fsb1_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - fsb1_vfc_type_tag: - description: "VFC type tag" - type: string - fsb2_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - fsb2_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - fsb2_oam_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - fsb2_vfc_flavor: - defualt: m4.xlarge4 - description: "VFC flavor" - type: string - fsb2_vfc_image_name: - default: MME_FSB2_16ACP03.qcow2 - description: "VFC image name" - type: string - fsb2_vfc_instance_name: - default: ZRDM1MMEX36FSB002 - description: "VFC instance name" - type: string - fsb2_vfc_type_tag: - description: "VFC type tag" - type: string - gpb1_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - gpb1_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - gpb1_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - gpb1_vfc_image_name: - default: MME_GPB1_16ACP03.qcow2 - description: "VFC image name" - type: string - gpb1_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - gpb1_vfc_type_tag: - description: "VFC type tag" - type: string - gpb2_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - gpb2_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - gpb2_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - gpb2_vfc_image_name: - default: MME_GPB2_16ACP03.qcow2 - description: "VFC image name" - type: string - gpb2_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - gpb2_vfc_type_tag: - description: "VFC type tag" - type: string - ncb1_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - ncb1_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - ncb1_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - ncb1_vfc_image_name: - default: MME_NCB1_16ACP03.qcow2 - description: "VFC image name" - type: string - ncb1_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - ncb1_vfc_type_tag: - description: "VFC type tag" - type: string - ncb2_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - ncb2_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - ncb2_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - ncb2_vfc_image_name: - default: MME_NCB2_16ACP03.qcow2 - description: "VFC image name" - type: string - ncb2_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - ncb2_vfc_type_tag: - description: "VFC type tag" - type: string - network_deployment_node: - description: "The target LCP node for deployment of this Network instance" - type: string - oam_net_id: - default: 47bf4cca-0961-422f-bcd6-d5a4fbb1a351 - description: "uuid of oam network" - hidden: false - immutable: false - type: string - vlc1_gtp_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc1_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - vlc1_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - vlc1_oam_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc1_sctp_a_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc1_sctp_b_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc1_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - vlc1_vfc_image_name: - default: MME_VLC1_16ACP03.qcow2 - description: "VFC image name" - type: string - vlc1_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - vlc1_vfc_type_tag: - description: "VFC type tag" - type: string - vlc2_gtp_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc2_internal1_mac_address: - default: "00:80:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - vlc2_internal2_mac_address: - default: "00:81:37:0E:0B:12" - description: "Internal connection point mac_address" - type: string - vlc2_oam_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc2_sctp_a_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc2_sctp_b_ip_address: - default: "107.250.172.221" - description: "OAM ip address" - type: string - vlc2_vfc_flavor: - default: m4.xlarge4 - description: "VFC flavor" - type: string - vlc2_vfc_image_name: - default: MME_VLC2_16ACP03.qcow2 - description: "VFC image name" - type: string - vlc2_vfc_instance_name: - default: ZRDM1MMEX36FSB001 - description: "VFC instance name" - type: string - vlc2_vfc_type_tag: - description: "VFC type tag" - type: string - node_templates: - FSB1: - capabilities: - monitoring_capabilty: - properties: - name: high_cpu - nfv_compute: - properties: - vfc_flavor: - get_input: fsb1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: FSB1 - vfc_ecomp_name: false - vfc_image_name: - get_input: fsb1_vfc_image_name - vfc_instance_name: - get_input: fsb1_vfc_instance_name - vfc_type_tag: - get_input: fsb1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - FSB2: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: fsb2_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: FSB2 - vfc_ecomp_name: false - vfc_image_name: - get_input: fsb2_vfc_image_name - vfc_instance_name: - get_input: fsb2_vfc_instance_name - vfc_type_tag: - get_input: fsb2_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb2_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb2_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: fsb2_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - GPB1: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: gpb1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: GPB1 - vfc_ecomp_name: false - vfc_image_name: - get_input: gpb1_vfc_image_name - vfc_instance_name: - get_input: gpb1_vfc_instance_name - vfc_type_tag: - get_input: gpb1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - GPB2: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: gpb2_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: GPB2 - vfc_ecomp_name: false - vfc_image_name: - get_input: gpb2_vfc_image_name - vfc_instance_name: - get_input: gpb2_vfc_instance_name - vfc_type_tag: - get_input: gpb2_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb2_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb2_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: gpb2_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - Internal1_net: - metadata: - category: Generic - description: "Internal Network" - invariantUUID: 14a25c59-e2c2-4f86-880d-371d4d9dc88c - name: Network - subcategory: Infrastructure - type: VL - UUID: 1a20ed2e-abcd-3f20-ca4e-cc7af4da1234 - resourceVendor: AT&T - version: 1.0 - properties: - cidr: - get_input: Internal1_net_cidr - contrail_virtual_network: - vn_external: false - vn_forwarding_mode: l2 - vn_name: MME-24474-Ericsson-WTC-lab_int_MMEX36_net_1 - vn_shared: false - enable_dhcp: - get_input: Internal1_net_enable_dhcp - flow_pattern: E-LAN - gateway_ip: - get_input: Internal1_net_gateway_ip - ip_version: 4 - layer_protocol: IP - network_deployment_node: - get_input: network_deployment_node - network_ecomp_name: false - network_homing: false - network_role: ~ - network_technology: Contrail - network_type: Tenant_Layer_3 - test_access: none - type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork - Internal2_net: - metadata: - category: Generic - description: "Internal Network" - invariantUUID: 14a25c59-e2c2-4f86-880d-371d4d9dc88c - name: Network - subcategory: Infrastructure - type: VL - UUID: 1a20ed2e-abcd-3f20-ca4e-cc7af4da1234 - resourceVendor: AT&T - version: 1.0 - properties: - cidr: - get_input: Internal2_net_cidr - contrail_virtual_network: - vn_external: false - vn_forwarding_mode: l2 - vn_name: MME-24474-Ericsson-WTC-lab_int_MMEX36_net_2 - vn_shared: false - enable_dhcp: - get_input: Internal2_net_enable_dhcp - flow_pattern: E-LAN - gateway_ip: - get_input: Internal2_net_gateway_ip - ip_version: 4 - layer_protocol: IP - network_deployment_node: - get_input: network_deployment_node - network_ecomp_name: false - network_homing: false - network_role: ~ - network_technology: Contrail - network_type: Tenant_Layer_3 - test_access: none - type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork - NCB1: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: ncb1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: NCB1 - vfc_ecomp_name: false - vfc_image_name: - get_input: ncb1_vfc_image_name - vfc_instance_name: - get_input: ncb1_vfc_instance_name - vfc_type_tag: - get_input: ncb1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - NCB2: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: ncb2_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: NCB2 - vfc_ecomp_name: false - vfc_image_name: - get_input: ncb2_vfc_image_name - vfc_instance_name: - get_input: ncb2_vfc_instance_name - vfc_type_tag: - get_input: ncb2_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb2_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb2_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: ncb2_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - VLC1: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: vlc1_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: VLC1 - vfc_ecomp_name: false - vfc_image_name: - get_input: vlc1_vfc_image_name - vfc_instance_name: - get_input: vlc1_vfc_instance_name - vfc_type_tag: - get_input: vlc1_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc1_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc1_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc1_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - VLC2: - capabilities: - monitoring_capability: - properties: - name: cpu_load - nfv_compute: - properties: - vfc_flavor: - get_input: vlc2_vfc_flavor - scaling_capability: - properties: - init_instances: 1 - max_instances: 1 - min_instances: 1 - metadata: - category: Generic - description: "VFC based on OpenStack Nova Server" - invariantUUID: a8943d58-d3a3-4f42-770a-571abd9d3da2 - name: "Nova Server" - subcategory: Infrastructure - type: VFC - UUID: 7788dc12-9716-abcf-13c0-ebd4111c69f0 - resourceVendor: Ericsson - version: 1.0 - properties: - vfc_description: VLC2 - vfc_ecomp_name: false - vfc_image_name: - get_input: vlc2_vfc_image_name - vfc_instance_name: - get_input: vlc2_vfc_instance_name - vfc_type_tag: - get_input: vlc2_vfc_type_tag - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc2_oam - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc2_internal1 - relationship: tosca.relationships.network.BindsTo - - - binding: - capability: tosca.capabilities.network.Bindable - node: vlc2_internal2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.vfc.nodes.heat.nova.Server - fsb1_internal1: - properties: - address_info: - mac_address: - get_input: fsb1_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb1_internal2: - properties: - address_info: - mac_address: - get_input: fsb1_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb1_oam: - properties: - address_Info: - ip_address: - get_input: fsb1_oam_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: oam_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb2_internal1: - properties: - address_info: - mac_address: - get_input: fsb2_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb2_internal2: - properties: - address_info: - mac_address: - get_input: fsb2_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - fsb2_oam: - properties: - address_Info: - ip_address: - get_input: fsb2_oam_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: FSB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: oam_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - gpb1_internal1: - properties: - address_info: - mac_address: - get_input: gpb1_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: GPB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - gpb1_internal2: - properties: - address_info: - mac_address: - get_input: gpb1_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: GPB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - gpb2_internal1: - properties: - address_info: - mac_address: - get_input: gpb2_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: GPB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - gpb2_internal2: - properties: - address_info: - mac_address: - get_input: gpb2_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: GPB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - ncb1_internal1: - properties: - address_info: - mac_address: - get_input: ncb1_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: NCB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - ncb1_internal2: - properties: - address_info: - mac_address: - get_input: ncb1_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: NCB1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - ncb2_internal1: - properties: - address_info: - mac_address: - get_input: ncb2_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: NCB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - ncb2_internal2: - properties: - address_info: - mac_address: - get_input: ncb2_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: NCB2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - oam_net: - metadata: - category: VL - description: "Mobility OAM Network" - invariantUUID: 18643c59-e2c2-4f86-880d-371d4d9dc52a - name: "Mobility OAM Network" - type: VL - UUID: 1a20ed2e-abcd-3f20-ca4e-cc7af4da7fcc - resourceVendor: AT&T - version: 2.0 - properties: - flow_pattern: E-LAN - layer_protocol: IP - network_id: - get_input: oam_net_id - network_technology: Contrail - network_type: vIPR_ATM_OAM - test_access: none - type: org.openecomp.resource.vl.OAM - vlc1_gtp_net: - properties: - address_Info: - ip_address: - get_input: vlc1_gtp_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc1_internal2: - properties: - address_info: - mac_address: - get_input: vlc1_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc1_oam: - properties: - address_Info: - ip_address: - get_input: vlc1_oam_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: oam_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc1_sctp_a: - properties: - address_Info: - ip_address: - get_input: vlc2_sctp_a_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc1_sctp_b: - properties: - address_Info: - ip_address: - get_input: vlc2_sctp_b_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC1 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_gtp_net: - properties: - address_Info: - ip_address: - get_input: vlc2_gtp_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_internal1: - properties: - address_info: - mac_address: - get_input: vlc2_internal1_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal1_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_internal2: - properties: - address_info: - mac_address: - get_input: vlc2_internal2_mac_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: Internal2_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_oam: - properties: - address_Info: - ip_address: - get_input: vlc2_oam_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - - - link: - capability: tosca.capabilities.network.Bindable - node: oam_net - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_sctp_a: - properties: - address_Info: - ip_address: - get_input: vlc2_sctp_a_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - vlc2_sctp_b: - properties: - address_Info: - ip_address: - get_input: vlc2_sctp_b_ip_address - requirements: - - - binding: - capability: tosca.capabilities.network.Bindable - node: VLC2 - relationship: tosca.relationships.network.BindsTo - type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port - policies: - - - mme_autoscale_policy: - properties: - factor: cpu_load - increment: 1 - max_instances: 4 - min_instances: 1 - threshold: 80% - target: - - vfmoduleVmmeModule-1 - type: org.openecomp.policy.Autoscaling - substitution_mapping: - requirements: - - - vlc1_gtp_net.link: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - - - vlc2_gtp_net.link: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - - - vlc1_sctp_a.link: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - - - vlc1_sctp_b.link: - capability: tosca.capabilities.network.Linkable - relationship: tosca.relationships.network.LinksTo - type: org.openecomp.resource.vf.vmme -tosca_definitions_version: tosca_simple_profile_for_ecomp_1_0 diff --git a/common/onap-sdc-artifact-generator-lib/pom.xml b/common/onap-sdc-artifact-generator-lib/pom.xml deleted file mode 100644 index 16fc408636..0000000000 --- a/common/onap-sdc-artifact-generator-lib/pom.xml +++ /dev/null @@ -1,23 +0,0 @@ - - 4.0.0 - - onap-sdc-artifact-generator-lib - org.onap.sdc.common - onap-sdc-artifact-generator-lib - pom - - - org.onap.sdc.common - onap-common-lib - 1.3.3-SNAPSHOT - - - - - onap-sdc-artifact-generator-api - onap-sdc-artifact-generator-core - - - diff --git a/common/pom.xml b/common/pom.xml index c1d08215f3..e7cfcb4774 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -33,7 +33,6 @@ - onap-sdc-artifact-generator-lib onap-common-configuration-management onap-tosca-datatype diff --git a/common/readMe.txt b/common/readMe.txt deleted file mode 100644 index 7f2a34df3a..0000000000 --- a/common/readMe.txt +++ /dev/null @@ -1,118 +0,0 @@ -# OpenECOMP Common - ---- ---- - -# Introduction - -ASDC is required to distribute the Service Definition model to different systems of the OPENECOMP platform. The systems interested in the Service model will subscribe to Artifact Generator. Artifact Generator is responsible for converting its internal Service definition model to the data model required by the different subscribing systems. - -In 1707, Artifact Generator will generate artifacts only for A&AI. - -# Compiling Common - -###Common can be compiled easily with a `mvn clean install` at the following locations : - -#### common\openecomp-sdc-artifact-generator-lib -#### common\openecomp-sdc-logging-lib - -### For artifact generator, the resultant jar files are located at : - -#### common\openecomp-sdc-artifact-generator-lib\openecomp-sdc-artifact-generator-api\target -#### common\openecomp-sdc-artifact-generator-lib\openecomp-sdc-artifact-generator-core\target - -### For openecomp-sdc-logging, the resultant jar files are located at : - -#### common\openecomp-sdc-logging-lib\openecomp-sdc-logging-api\target -#### common\openecomp-sdc-logging-lib\openecomp-sdc-logging-core\target - -### For configuration-management, the resultant jar files are located at : - -#### common\openecomp-common-configuration-management\openecomp-configuration-management-api\target -#### common\openecomp-common-configuration-management\openecomp-configuration-management-cli\target -#### common\openecomp-common-configuration-management\openecomp-configuration-management-core\target - - - - - -# Accessing Common - -### Artifact Generator - -#### api : - - - org.openecomp.sdc.common - openecomp-sdc-artifact-generator-api - ? - - -#### core : - - - org.openecomp.sdc.common - openecomp-sdc-artifact-generator-core - ? - - -### Logging - -#### api : - - - org.openecomp.sdc - openecomp-sdc-logging-api - ? - - -#### core : - - - org.openecomp.sdc - openecomp-sdc-logging-core - ? - - -### Configuration Management - -#### api : - - - org.openecomp.sdc.common - openecomp-configuration-management-api - ? - - -#### cli : - - - org.openecomp.sdc.common - openecomp-configuration-management-cli - ? - - -#### core : - - - org.openecomp.sdc.common - openecomp-configuration-management-core - ? - - -### NOTE : Artifact Generator generates artifacts using method 'generateArtifact' that takes the following arguments as input : - -#### input(Specifies the list of input files as models) -#### overridingConfiguration(Specifies the configuration data for invoking generators) - -The output will be a list of artifacts that are generated by the generators as defined in the API signature. - -# Logging - -OpenECOMP Common supports EELF Logger, which is of the following types : - -### Error -### Debug -### Metrics -### Audit - diff --git a/onboarding/pom.xml b/onboarding/pom.xml index f76251de25..ff21703371 100644 --- a/onboarding/pom.xml +++ b/onboarding/pom.xml @@ -342,9 +342,6 @@ src/test/resources/logback-test.xml - - ${project.basedir}/src/test/resources/config/Artifact-Generator.properties - ${project.basedir}/configuration ${useSystemClassLoader} diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-core/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/informationArtifact/impl/TxtInformationArtifactGeneratorImplTest.java b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-core/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/informationArtifact/impl/TxtInformationArtifactGeneratorImplTest.java deleted file mode 100644 index dde8d83dea..0000000000 --- a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-core/src/test/java/org/openecomp/sdc/vendorsoftwareproduct/informationArtifact/impl/TxtInformationArtifactGeneratorImplTest.java +++ /dev/null @@ -1,216 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * 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.sdc.vendorsoftwareproduct.informationArtifact.impl; - - -import org.mockito.InjectMocks; -import org.mockito.Mock; -import org.openecomp.sdc.vendorsoftwareproduct.questionnaire.QuestionnaireDataService; - -public class TxtInformationArtifactGeneratorImplTest { - - private static final String NETWORK_DESC = "\"network desc\""; - private static final String HYPERVIZOR_NAME = "\"hyper hyper hypervizor\""; - private static final String TOOLS ="all tools possible" ; - @Mock - QuestionnaireDataService questionnaireDataServiceMock; - @InjectMocks - TxtInformationArtifactGeneratorImpl informationArtifactGenerator; - - /* - - @BeforeMethod(alwaysRun = true) - public void injectDoubles() { - MockitoAnnotations.initMocks(this); - -// InformationArtifactData returnedQuestionnaire = new InformationArtifactData(); -// Mockito.when(questionnaireDataServiceMock.generateQuestionnaireDataForInformationArtifact -// (anyString(), anyObject())) -// .thenReturn(returnedQuestionnaire); -// - - } - - @Test - public void testRoundVersion(){ - Version version = new Version(2,1); - String rounded = TxtInformationArtifactGeneratorImpl.roundVersionAsNeeded(version); - Assert.assertEquals("3.0",rounded); - - version = Version.valueOf("2.0"); - rounded = TxtInformationArtifactGeneratorImpl.roundVersionAsNeeded(version); - Assert.assertEquals("2.0",rounded); - - } - - @Test - public void testArtifactCreation() throws IOException { - InformationArtifactData informationArtifactData = initArtifactData(); - Mockito.when(questionnaireDataServiceMock.generateQuestionnaireDataForInformationArtifact - (anyString(), anyObject())) - .thenReturn(informationArtifactData); - - - String result = informationArtifactGenerator.generate("vsp", new Version(0, 1)); - System.out.println("result = \n" + result); - - Assert.assertTrue(result.contains(HYPERVIZOR_NAME)); - Assert.assertTrue(result.contains(HEADER)); - Assert.assertTrue(result.contains(VFC_COMPUTE_CPU_OVER_SUBSCRIPTION)); - Assert.assertTrue(result.contains(TOOLS)); - Assert.assertTrue(result.contains(TxtInformationArtifactConstants.LICENSE_AGREEMENT_NAME)); - Assert.assertTrue(result.contains(TxtInformationArtifactConstants.LIST_OF_FEATURE_GROUPS)); - - } - - private InformationArtifactData initArtifactData() { - InformationArtifactData informationArtifactData = new InformationArtifactData(); - - informationArtifactData.setVspDetails(initVspDetails()); - - informationArtifactData.setVspQuestionnaire(initVspQuestionnaire()); - informationArtifactData.setComponentQuestionnaires(initComponentQuestionnaires()); - informationArtifactData.setNicQuestionnaires(initNicQuestionnaires()); - return informationArtifactData; - } - - private List initNicQuestionnaires() { - List nicQuestionnaires = new ArrayList<>(); - NicQuestionnaire nic1 = new NicQuestionnaire(); - NicQuestionnaire nic2 = new NicQuestionnaire(); - nic1 = initNicQuestionnaire(); - nic2 = initNicQuestionnaire(); - nicQuestionnaires.add(nic1); - nicQuestionnaires.add(nic2); - return nicQuestionnaires; - - } - - private NicQuestionnaire initNicQuestionnaire() { - NicQuestionnaire nic = new NicQuestionnaire(); - Network network = new Network(); - network.setNetworkDescription(NETWORK_DESC); - nic.setNetwork(network); - - IpConfiguration ipconfig = new IpConfiguration(); - ipconfig.setIpv4Required(true); - ipconfig.setIpv6Required(false); - - nic.setIpConfiguration(ipconfig); - - Protocols protocols = new Protocols(); - List protocolsList = new ArrayList<>(); - protocolsList.add("45"); - protocolsList.add("55"); - protocolsList.add("HTTP"); - protocols.setProtocols(protocolsList); - - nic.setProtocols(protocols); - - return nic; - } - - private List initComponentQuestionnaires() { - List componentQuestionnaires = new ArrayList<>(); - ComponentQuestionnaire componentQuestionnaire1 = new ComponentQuestionnaire(); - ComponentQuestionnaire componentQuestionnaire2 = new ComponentQuestionnaire(); - - componentQuestionnaire1 = initComponent(); - componentQuestionnaire2 = initComponent(); - - componentQuestionnaires.add(componentQuestionnaire1); - componentQuestionnaires.add(componentQuestionnaire2); - - return componentQuestionnaires; - } - - private ComponentQuestionnaire initComponent() { - ComponentQuestionnaire componentQuestionnaire = new ComponentQuestionnaire(); - org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.general.General general = - new org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.general.General(); - Hypervisor hypervisor = new Hypervisor(); - hypervisor.setDrivers("driving drivers"); - hypervisor.setHypervisor(HYPERVIZOR_NAME); - general.setHypervisor(hypervisor); - Recovery recovery = new Recovery(); - recovery.setPointObjective(22); - recovery.setTimeObjective(33); - general.setRecovery(recovery); - componentQuestionnaire.setGeneral( - general); - org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.network.Network net = - new org.openecomp.sdc.vendorsoftwareproduct.types.questionnaire.component.network.Network(); - net.setNetworkCapacity(new NetworkCapacity()); - componentQuestionnaire.setNetwork(net); - Compute compute = new Compute(); - GuestOS guestOS = new GuestOS(); - guestOS.setBitSize(32); - guestOS.setTools(TOOLS); - guestOS.setName("Ubuntu"); - compute.setGuestOS(guestOS); - NumOfVMs numOfVMs = new NumOfVMs(); - numOfVMs.setMaximum(256); - numOfVMs.setMinimum(2); - compute.setNumOfVMs(numOfVMs); - componentQuestionnaire.setCompute(compute); - - return componentQuestionnaire; - } - - private VspQuestionnaire initVspQuestionnaire() { - VspQuestionnaire vspQuestionnaire = new VspQuestionnaire(); - Availability availability = new Availability(); - availability.setUseAvailabilityZonesForHighAvailability(true); - General general = new General(); - general.setAvailability(availability); - - StorageDataReplication storageDataReplication = new StorageDataReplication(); - storageDataReplication.setStorageReplicationAcrossRegion(true); - storageDataReplication.setStorageReplicationDestination("in a galaxy far, far away"); - storageDataReplication.setStorageReplicationFrequency(6); - storageDataReplication.setStorageReplicationSize(128); - storageDataReplication.setStorageReplicationSource("here below"); - general.setStorageDataReplication(storageDataReplication); - vspQuestionnaire.setGeneral(general); - return vspQuestionnaire; - } - - private VspDetails initVspDetails() { - VspDetails vspDetails = new VspDetails(); - vspDetails.setCategory("vspCategory"); - vspDetails.setDescription("described"); - vspDetails.setName("vsp named Alice"); - vspDetails.setVendorName("Fortigate"); - vspDetails.setVersion(new Version(0, 79)); - vspDetails.setVlmVersion(new Version(0, 1)); - vspDetails.setLicenseAgreement("the usual license agreement"); - List featureGroups = new ArrayList<>(); - featureGroups.add("first feature group"); - featureGroups.add("one too many feature group"); - featureGroups.add("the very last feature group"); - vspDetails.setFeatureGroups(featureGroups); - vspDetails.setOnboardingMethod("HEAT"); - return vspDetails; - } - - */ - -} -- cgit 1.2.3-korg