summaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/VlanToNetConnection/shared/inputfiles/addOn.yml
blob: 6be5882f0d5b1be6bc548230198189d330168181 (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
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

  shared_network_id1:
    type: string
    description: network name of jsa log network

  shared_network_id2:
    type: string
    description: network name of jsa log network

resources:

  test_net3:
    type: OS::Neutron::Net
    properties:
      name: {get_param: jsa_net_name}
      shared: True

  test_nested1:
    type: nested1.yml
    properties:
      shared_network_id1: { get_param: shared_network_id1}
      p2: { get_param: shared_network_id2}
      p3: { get_param: template_VMInt_OAM_lb_1}
      p4: { get_param: template_VMInt_OAM_lb_2}
      p5: { get_param: template_VMInt_OAM_lb_3}


  test_nested2:
    type: nested2.yml
    properties:
      p1: { get_param: shared_network_id1}

  test_nested3:
    type: nested1.yml
    properties:
      shared_network_id1: { get_param: shared_network_id1}
      p2: { get_param: shared_network_id2}

  template_VMInt_OAM_lb_1:
    type: OS::ContrailV2::VirtualMachineInterface
    properties:
      virtual_machine_interface_properties:
        {
          virtual_machine_interface_properties_service_interface_type: { get_param: jsa_net_name },
        }
      virtual_network_refs: [{ get_resource: test_net3 }]
      port_tuple_refs: [{ get_param: jsa_net_name }]
      security_group_refs: [{ get_param: jsa_net_name}]


  template_VMInt_OAM_lb_2:
    type: OS::ContrailV2::VirtualMachineInterface
    properties:
      virtual_machine_interface_properties:
        {
          virtual_machine_interface_properties_service_interface_type: { get_param: jsa_net_name },
        }
      virtual_network_refs: [{ get_resource: test_net3 }]
      port_tuple_refs: [{ get_param: jsa_net_name }]
      security_group_refs: [{ get_param: jsa_net_name}]

  template_VMInt_OAM_lb_3:
    type: OS::ContrailV2::VirtualMachineInterface
    properties:
      virtual_machine_interface_properties:
        {
          virtual_machine_interface_properties_service_interface_type: { get_param: jsa_net_name },
        }
      virtual_network_refs: [{ get_resource: test_net3 }]
      port_tuple_refs: [{ get_param: jsa_net_name }]
      security_group_refs: [{ get_param: jsa_net_name}]