aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/contrailv2VMinterface/oneNet/inputfiles/hot_template.yml
blob: adba9e8c6ddcc76c553b1c75aa16a27512300d45 (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
heat_template_version: 2013-05-23

description: cmaui server template for vMMSC

parameters:
  network_ipam_refs_data_ipam_subnets_addr_from_start_true:
    description: dummy
    type: string
  network_ipam_refs_data_ipam_subnets_subnet_ip_prefix_2:
    description: dummy
    type: string
  network_ipam_refs_data_ipam_subnets_subnet_ip_prefix_len_2:
    description: dummy
    type: string
  lb_st_interface_type_oam:
    description: dummy
    type: string
  template_PortTuple_LB1:
    description: dummy
    type: string
  oam_sec_group_name:
    description: dummy
    type: string
  jsa_net_name:
    description: dummy
    type: string
  nems_traffic_name:
    description: dummy
    type: string
  interface_param:
    description: dummy
    type: string

resources:
  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_resource: jsa_net1 }]
      port_tuple_refs: [{ get_param: template_PortTuple_LB1 }]
      security_group_refs: [{ get_param: oam_sec_group_name}]
      virtual_machine_interface_refs: [{ get_param: interface_param }]

  jsa_net1:
     properties:
       name: aaa
       network_ipam_refs_data:
         -
           network_ipam_refs_data_ipam_subnets:
             -
               network_ipam_refs_data_ipam_subnets_addr_from_start:
                 get_param: network_ipam_refs_data_ipam_subnets_addr_from_start_true
               network_ipam_refs_data_ipam_subnets_subnet:
                 network_ipam_refs_data_ipam_subnets_subnet_ip_prefix:
                   get_param: network_ipam_refs_data_ipam_subnets_subnet_ip_prefix_2
                 network_ipam_refs_data_ipam_subnets_subnet_ip_prefix_len:
                   get_param: network_ipam_refs_data_ipam_subnets_subnet_ip_prefix_len_2
     type: "OS::ContrailV2::VirtualNetwork"