diff options
Diffstat (limited to 'common/openecomp-sdc-artifact-generator-lib/openecomp-sdc-artifact-generator-core/src/test/resources/testArtifactGenerationAllottedResourceWithVF')
5 files changed, 500 insertions, 0 deletions
diff --git a/common/openecomp-sdc-artifact-generator-lib/openecomp-sdc-artifact-generator-core/src/test/resources/testArtifactGenerationAllottedResourceWithVF/resource-IpMuxDemux-template_AllRes_VF.yml b/common/openecomp-sdc-artifact-generator-lib/openecomp-sdc-artifact-generator-core/src/test/resources/testArtifactGenerationAllottedResourceWithVF/resource-IpMuxDemux-template_AllRes_VF.yml new file mode 100644 index 0000000000..d8885bb84b --- /dev/null +++ b/common/openecomp-sdc-artifact-generator-lib/openecomp-sdc-artifact-generator-core/src/test/resources/testArtifactGenerationAllottedResourceWithVF/resource-IpMuxDemux-template_AllRes_VF.yml @@ -0,0 +1,81 @@ +#_______________________________________________________________________________________________________________________________________ + #| 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/openecomp-sdc-artifact-generator-lib/openecomp-sdc-artifact-generator-core/src/test/resources/testArtifactGenerationAllottedResourceWithVF/resource-ServiceAdmin-template_AllRes_VF.yml b/common/openecomp-sdc-artifact-generator-lib/openecomp-sdc-artifact-generator-core/src/test/resources/testArtifactGenerationAllottedResourceWithVF/resource-ServiceAdmin-template_AllRes_VF.yml new file mode 100644 index 0000000000..549c18b55b --- /dev/null +++ b/common/openecomp-sdc-artifact-generator-lib/openecomp-sdc-artifact-generator-core/src/test/resources/testArtifactGenerationAllottedResourceWithVF/resource-ServiceAdmin-template_AllRes_VF.yml @@ -0,0 +1,81 @@ +#_______________________________________________________________________________________________________________________________________ + #| 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/openecomp-sdc-artifact-generator-lib/openecomp-sdc-artifact-generator-core/src/test/resources/testArtifactGenerationAllottedResourceWithVF/resource-TunnelXconn-template_AllRes_VF.yml b/common/openecomp-sdc-artifact-generator-lib/openecomp-sdc-artifact-generator-core/src/test/resources/testArtifactGenerationAllottedResourceWithVF/resource-TunnelXconn-template_AllRes_VF.yml new file mode 100644 index 0000000000..1eb97a0976 --- /dev/null +++ b/common/openecomp-sdc-artifact-generator-lib/openecomp-sdc-artifact-generator-core/src/test/resources/testArtifactGenerationAllottedResourceWithVF/resource-TunnelXconn-template_AllRes_VF.yml @@ -0,0 +1,81 @@ +#_______________________________________________________________________________________________________________________________________ + #| 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/openecomp-sdc-artifact-generator-lib/openecomp-sdc-artifact-generator-core/src/test/resources/testArtifactGenerationAllottedResourceWithVF/resource-VhnfNonHeat-template_AllRes_VF.yml b/common/openecomp-sdc-artifact-generator-lib/openecomp-sdc-artifact-generator-core/src/test/resources/testArtifactGenerationAllottedResourceWithVF/resource-VhnfNonHeat-template_AllRes_VF.yml new file mode 100644 index 0000000000..8ec1c192ee --- /dev/null +++ b/common/openecomp-sdc-artifact-generator-lib/openecomp-sdc-artifact-generator-core/src/test/resources/testArtifactGenerationAllottedResourceWithVF/resource-VhnfNonHeat-template_AllRes_VF.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: 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/openecomp-sdc-artifact-generator-lib/openecomp-sdc-artifact-generator-core/src/test/resources/testArtifactGenerationAllottedResourceWithVF/service-SdWan-template_AllRes_VF.yml b/common/openecomp-sdc-artifact-generator-lib/openecomp-sdc-artifact-generator-core/src/test/resources/testArtifactGenerationAllottedResourceWithVF/service-SdWan-template_AllRes_VF.yml new file mode 100644 index 0000000000..bc3ab6dabb --- /dev/null +++ b/common/openecomp-sdc-artifact-generator-lib/openecomp-sdc-artifact-generator-core/src/test/resources/testArtifactGenerationAllottedResourceWithVF/service-SdWan-template_AllRes_VF.yml @@ -0,0 +1,233 @@ +#_______________________________________________________________________________________________________________________________________ + #| 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 | + #|_______________________________________________________________________________________________________________________________________| |