summaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/VlanToNetConnection/nested/inputfiles/main.yml
blob: aac85f1d5e6dd842083a2ac19545eb6e063f9047 (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
heat_template_version: 2013-05-23

description: >
  Version 2.0 02-09-2016 (Authors: John Doe, user PROD)

parameters:
  jsa_net_name:
    type: string
    description: network name of jsa log network

resources:
  test_net:
    type: OS::Neutron::Net
    properties:
      name: {get_param: jsa_net_name}
      shared: True
  test_net1:
    type: OS::Neutron::Net
    properties:
      name: {get_param: jsa_net_name}
      shared: True

  template_VMInt_OAM_lb_1:
    type: OS::ContrailV2::VirtualMachineInterface
    properties:
      virtual_machine_interface_properties:
        {
          virtual_machine_interface_properties_service_interface_type: { get_param: lb_st_interface_type_oam },
        }
      virtual_network_refs: [{ get_param: p1 }]
      port_tuple_refs: [{ get_param: template_PortTuple_LB1 }]
      security_group_refs: [{ get_param: oam_sec_group_name}]

  template_VMInt_OAM_lb_2:
    type: OS::ContrailV2::VirtualMachineInterface
    properties:
      virtual_machine_interface_properties:
        {
          virtual_machine_interface_properties_service_interface_type: { get_param: lb_st_interface_type_oam },
        }
      virtual_network_refs: [{ get_param: p1 },{ get_param: p2 }]
      port_tuple_refs: [{ get_param: template_PortTuple_LB1 }]
      security_group_refs: [{ get_param: oam_sec_group_name}]

  test_nested:
    type: nested.yml
    properties:
      p1: { get_resource: test_net}
      p2: { get_resource: test_net1}
      p3: { get_resource: template_VMInt_OAM_lb_1}
      p4: { get_resource: template_VMInt_OAM_lb_2}