aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/contrailv2VMinterface/macAddressStaticValue/expectedoutputfiles
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/contrailv2VMinterface/macAddressStaticValue/expectedoutputfiles')
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/contrailv2VMinterface/macAddressStaticValue/expectedoutputfiles/vmme_vlcServiceTemplate.yaml (renamed from openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/contrailv2VMinterface/macAddressStaticValue/expectedoutputfiles/MainServiceTemplate.yaml)114
1 files changed, 49 insertions, 65 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/contrailv2VMinterface/macAddressStaticValue/expectedoutputfiles/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/contrailv2VMinterface/macAddressStaticValue/expectedoutputfiles/vmme_vlcServiceTemplate.yaml
index 8aeffd48c3..7d30878434 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/contrailv2VMinterface/macAddressStaticValue/expectedoutputfiles/MainServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/contrailv2VMinterface/macAddressStaticValue/expectedoutputfiles/vmme_vlcServiceTemplate.yaml
@@ -1,113 +1,51 @@
tosca_definitions_version: tosca_simple_yaml_1_0_0
metadata:
- template_name: Main
+ template_name: vmme_vlc
imports:
- openecomp_heat_index:
file: openecomp-heat/_index.yml
+- GlobalSubstitutionTypes:
+ file: GlobalSubstitutionTypesServiceTemplate.yaml
topology_template:
inputs:
vlc1_Internal2_mac:
hidden: false
immutable: false
- annotations:
- source:
- type: org.openecomp.annotations.Source
- properties:
- vf_module_label:
- - vmme_vlc
- source_type: HEAT
- param_name: vlc1_Internal2_mac
type: string
description: static mac address assigned to vlc1_Internal2
internal_net_id_1:
hidden: false
immutable: false
- annotations:
- source:
- type: org.openecomp.annotations.Source
- properties:
- vf_module_label:
- - vmme_vlc
- source_type: HEAT
- param_name: internal_net_id_1
type: string
description: UUID of Internal2_net
internal_net_id_0:
hidden: false
immutable: false
- annotations:
- source:
- type: org.openecomp.annotations.Source
- properties:
- vf_module_label:
- - vmme_vlc
- source_type: HEAT
- param_name: internal_net_id_0
type: string
description: UUID of Internal1_net
security_group_int2_id:
hidden: false
immutable: false
- annotations:
- source:
- type: org.openecomp.annotations.Source
- properties:
- vf_module_label:
- - vmme_vlc
- source_type: HEAT
- param_name: security_group_int2_id
type: string
description: Security Group UUID for output
security_group_int1_id:
hidden: false
immutable: false
- annotations:
- source:
- type: org.openecomp.annotations.Source
- properties:
- vf_module_label:
- - vmme_vlc
- source_type: HEAT
- param_name: security_group_int1_id
type: string
description: Security Group UUID for output
vlc1_Internal1_mac:
hidden: false
immutable: false
- annotations:
- source:
- type: org.openecomp.annotations.Source
- properties:
- vf_module_label:
- - vmme_vlc
- source_type: HEAT
- param_name: vlc1_Internal1_mac
type: string
description: static mac address assigned to vlc1_Internal1
vlc_st_interface_type_int1:
hidden: false
immutable: false
- annotations:
- source:
- type: org.openecomp.annotations.Source
- properties:
- vf_module_label:
- - vmme_vlc
- source_type: HEAT
- param_name: vlc_st_interface_type_int1
type: string
description: service_interface_type for the ServiceTemplate
vlc_st_interface_type_int2:
hidden: false
immutable: false
- annotations:
- source:
- type: org.openecomp.annotations.Source
- properties:
- vf_module_label:
- - vmme_vlc
- source_type: HEAT
- param_name: vlc_st_interface_type_int2
type: string
description: service_interface_type for the ServiceTemplate
node_templates:
@@ -133,3 +71,49 @@ topology_template:
Module HOT template to create vmme 2 vlc
members:
- template_VMInt_INT1_VLC_1
+ substitution_mappings:
+ node_type: org.openecomp.resource.abstract.nodes.heat.vmme_vlc
+ capabilities:
+ network.outgoing.packets.rate_template_VMInt_INT1_VLC_1:
+ - template_VMInt_INT1_VLC_1
+ - network.outgoing.packets.rate
+ network.outpoing.packets_template_VMInt_INT1_VLC_1:
+ - template_VMInt_INT1_VLC_1
+ - network.outpoing.packets
+ network.incoming.packets_template_VMInt_INT1_VLC_1:
+ - template_VMInt_INT1_VLC_1
+ - network.incoming.packets
+ feature_template_VMInt_INT1_VLC_1:
+ - template_VMInt_INT1_VLC_1
+ - feature
+ network.incoming.packets.rate_template_VMInt_INT1_VLC_1:
+ - template_VMInt_INT1_VLC_1
+ - network.incoming.packets.rate
+ network.outgoing.bytes_template_VMInt_INT1_VLC_1:
+ - template_VMInt_INT1_VLC_1
+ - network.outgoing.bytes
+ network.incoming.bytes_template_VMInt_INT1_VLC_1:
+ - template_VMInt_INT1_VLC_1
+ - network.incoming.bytes
+ network.outgoing.bytes.rate_template_VMInt_INT1_VLC_1:
+ - template_VMInt_INT1_VLC_1
+ - network.outgoing.bytes.rate
+ forwarder_template_VMInt_INT1_VLC_1:
+ - template_VMInt_INT1_VLC_1
+ - forwarder
+ binding_template_VMInt_INT1_VLC_1:
+ - template_VMInt_INT1_VLC_1
+ - binding
+ network.incoming.bytes.rate_template_VMInt_INT1_VLC_1:
+ - template_VMInt_INT1_VLC_1
+ - network.incoming.bytes.rate
+ requirements:
+ dependency_template_VMInt_INT1_VLC_1:
+ - template_VMInt_INT1_VLC_1
+ - dependency
+ link_template_VMInt_INT1_VLC_1:
+ - template_VMInt_INT1_VLC_1
+ - link
+ binding_template_VMInt_INT1_VLC_1:
+ - template_VMInt_INT1_VLC_1
+ - binding