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

#################################
#
#  Changes from MSO 01/26/2016
#  Updated per OPENECOMP feedback
#
#################################

description: cmaui server template for vMMSC

resources:
  cmaui1_port_0:
    type: OS::Neutron::Port
    properties:
      network: { get_param: oam_net_name }
      fixed_ips: [{"ip_address": {get_param: [cmaui_oam_ips, 1]}}]
      security_groups: [{get_param: security_group_name}]
      replacement_policy: AUTO

  cmaui1_port_1:
    type: OS::Neutron::Port
    properties:
      network_id: { get_resource: jsa_net }
      fixed_ips: [{"subnet": subnetNameVal, "ip_address": {get_param: [cmaui_oam_ips, 1]}}, {"subnet": subnetNameVal2, "ip_address": {get_param: [cmaui_oam_ips, 1]}}]
      security_groups: [{get_param: security_group_name}]
      replacement_policy: AUTO

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

  cmaui1_port_2:
      type: OS::Neutron::Port
      properties:
        network: { get_resource: jsa_net1 }
        fixed_ips: [{"subnet": subnetNameVal, "ip_address": {get_param: [cmaui_oam_ips, 1]}}, {"subnet": subnetNameVal2, "ip_address": {get_param: [cmaui_oam_ips, 1]}}]
        security_groups: [{get_param: security_group_name}]
        replacement_policy: AUTO

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