aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/contrailv2VMinterface/macAddressesValueMapOneItem/expectedoutputfiles/vmme_vlcServiceTemplate.yaml
blob: 80763b5c6aa18aad54f8b789081cbfe7e1f5eb0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
tosca_definitions_version: tosca_simple_yaml_1_0_0
metadata:
  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
      type: string
      description: static mac address assigned to vlc1_Internal2
    internal_net_id_1:
      hidden: false
      immutable: false
      type: string
      description: UUID of Internal2_net
    internal_net_id_0:
      hidden: false
      immutable: false
      type: string
      description: UUID of Internal1_net
    security_group_int2_id:
      hidden: false
      immutable: false
      type: string
      description: Security Group UUID for output
    security_group_int1_id:
      hidden: false
      immutable: false
      type: string
      description: Security Group UUID for output
    vlc1_Internal1_mac:
      hidden: false
      immutable: false
      type: string
      description: static mac address assigned to vlc1_Internal1
    vlc_st_interface_type_int1:
      hidden: false
      immutable: false
      type: string
      description: service_interface_type for the ServiceTemplate
    vlc_st_interface_type_int2:
      hidden: false
      immutable: false
      type: string
      description: service_interface_type for the ServiceTemplate
  node_templates:
    template_VMInt_INT2_VLC_1:
      type: org.openecomp.resource.cp.nodes.heat.contrailV2.VirtualMachineInterface
      properties:
        security_group_refs:
        - get_input: security_group_int2_id
        virtual_network_refs:
        - get_input: internal_net_id_1
        virtual_machine_interface_properties:
          service_interface_type:
            get_input: vlc_st_interface_type_int2
        virtual_machine_interface_mac_addresses:
        - get_input: vlc1_Internal2_mac
    template_VMInt_INT1_VLC_1:
      type: org.openecomp.resource.cp.nodes.heat.contrailV2.VirtualMachineInterface
      properties:
        security_group_refs:
        - get_input: security_group_int1_id
        virtual_network_refs:
        - get_input: internal_net_id_0
        virtual_machine_interface_properties:
          service_interface_type:
            get_input: vlc_st_interface_type_int1
        virtual_machine_interface_mac_addresses:
        - get_input: vlc1_Internal1_mac
  groups:
    vmme_vlc_group:
      type: org.openecomp.groups.heat.HeatStack
      properties:
        heat_file: ../Artifacts/vmme_vlc.yml
        description: |
          Module HOT template to create vmme 2 vlc
      members:
      - template_VMInt_INT2_VLC_1
      - template_VMInt_INT1_VLC_1
  substitution_mappings:
    node_type: org.openecomp.resource.abstract.nodes.heat.vmme_vlc
    capabilities:
      network.incoming.bytes.rate_template_VMInt_INT2_VLC_1:
      - template_VMInt_INT2_VLC_1
      - network.incoming.bytes.rate
      network.incoming.packets.rate_template_VMInt_INT2_VLC_1:
      - template_VMInt_INT2_VLC_1
      - network.incoming.packets.rate
      network.outpoing.packets_template_VMInt_INT1_VLC_1:
      - template_VMInt_INT1_VLC_1
      - network.outpoing.packets
      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
      network.outpoing.packets_template_VMInt_INT2_VLC_1:
      - template_VMInt_INT2_VLC_1
      - network.outpoing.packets
      network.outgoing.bytes_template_VMInt_INT2_VLC_1:
      - template_VMInt_INT2_VLC_1
      - network.outgoing.bytes
      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
      network.outgoing.bytes.rate_template_VMInt_INT2_VLC_1:
      - template_VMInt_INT2_VLC_1
      - network.outgoing.bytes.rate
      network.incoming.bytes_template_VMInt_INT2_VLC_1:
      - template_VMInt_INT2_VLC_1
      - network.incoming.bytes
      binding_template_VMInt_INT2_VLC_1:
      - template_VMInt_INT2_VLC_1
      - binding
      network.outgoing.packets.rate_template_VMInt_INT1_VLC_1:
      - template_VMInt_INT1_VLC_1
      - network.outgoing.packets.rate
      network.incoming.packets_template_VMInt_INT1_VLC_1:
      - template_VMInt_INT1_VLC_1
      - network.incoming.packets
      forwarder_template_VMInt_INT2_VLC_1:
      - template_VMInt_INT2_VLC_1
      - forwarder
      feature_template_VMInt_INT1_VLC_1:
      - template_VMInt_INT1_VLC_1
      - feature
      network.incoming.packets_template_VMInt_INT2_VLC_1:
      - template_VMInt_INT2_VLC_1
      - network.incoming.packets
      network.outgoing.packets.rate_template_VMInt_INT2_VLC_1:
      - template_VMInt_INT2_VLC_1
      - network.outgoing.packets.rate
      feature_template_VMInt_INT2_VLC_1:
      - template_VMInt_INT2_VLC_1
      - feature
    requirements:
      dependency_template_VMInt_INT1_VLC_1:
      - template_VMInt_INT1_VLC_1
      - dependency
      binding_template_VMInt_INT2_VLC_1:
      - template_VMInt_INT2_VLC_1
      - binding
      link_template_VMInt_INT1_VLC_1:
      - template_VMInt_INT1_VLC_1
      - link
      dependency_template_VMInt_INT2_VLC_1:
      - template_VMInt_INT2_VLC_1
      - dependency
      link_template_VMInt_INT2_VLC_1:
      - template_VMInt_INT2_VLC_1
      - link
      binding_template_VMInt_INT1_VLC_1:
      - template_VMInt_INT1_VLC_1
      - binding