diff options
author | 2017-06-09 02:39:56 +0300 | |
---|---|---|
committer | 2017-06-09 02:39:56 +0300 | |
commit | 280f8015d06af1f41a3ef12e8300801c7a5e0d54 (patch) | |
tree | 9c1d3978c04cd28068f02073038c936bb49ca9e0 /common/openecomp-sdc-artifact-generator-lib/openecomp-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration6 | |
parent | fd3821dad11780d33c5373d74c957c442489945e (diff) |
[SDC-29] Amdocs OnBoard 1707 initial commit.
Change-Id: Ie4d12a3f574008b792899b368a0902a8b46b5370
Signed-off-by: AviZi <avi.ziv@amdocs.com>
Diffstat (limited to 'common/openecomp-sdc-artifact-generator-lib/openecomp-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration6')
2 files changed, 218 insertions, 0 deletions
diff --git a/common/openecomp-sdc-artifact-generator-lib/openecomp-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration6/Resource0-template.yml b/common/openecomp-sdc-artifact-generator-lib/openecomp-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration6/Resource0-template.yml new file mode 100644 index 0000000000..49666f9bae --- /dev/null +++ b/common/openecomp-sdc-artifact-generator-lib/openecomp-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration6/Resource0-template.yml @@ -0,0 +1,24 @@ + # _______________________________________________________________________________________________________________________________________ + #| 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/openecomp-sdc-artifact-generator-lib/openecomp-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration6/service_vmme_template_1.yml b/common/openecomp-sdc-artifact-generator-lib/openecomp-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration6/service_vmme_template_1.yml new file mode 100644 index 0000000000..4daeca3972 --- /dev/null +++ b/common/openecomp-sdc-artifact-generator-lib/openecomp-sdc-artifact-generator-core/src/test/resources/testArtifactGeneration6/service_vmme_template_1.yml @@ -0,0 +1,194 @@ +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 ] |