aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/contrailv2VMinterface/macAddressStaticValue/expectedoutputfiles/vmme_vlcServiceTemplate.yaml
blob: 7d30878434ac89309de072374897d33b136a6aed (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
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_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
        - abc
  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_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