aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/contrailv2VMinterface/macAddressesValueMapOneItem/expectedoutputfiles/MainServiceTemplate.yaml
blob: 977f6a6e5761089b777839bbe67b6ca72e09190d (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
tosca_definitions_version: tosca_simple_yaml_1_0_0
metadata:
  template_name: Main
imports:
- openecomp_heat_index:
    file: openecomp-heat/_index.yml
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:
    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