summaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/connectivityBetweenPatterns/in/nested-pcm_v0.1.yaml
blob: b6b85785cd6c614b788275d8137644a01c72f6a2 (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
heat_template_version: 2013-05-23

description: heat template that creates PCRF Cluman stack

parameters:
  pcm_server_name:
    type: string
    label: PCRF CM server name
    description: PCRF CM server name
  pcm_image_name:
    type: string
    label: image name
    description: PCRF CM image name
  pcm_flavor_name:
    type: string
    label: PCRF CM flavor name
    description: flavor name of PCRF CM instance
  availabilityzone_name:
    type: string
    label: availabilityzone name
    description: availabilityzone name
  cps_net_name:
    type: string
    label: CPS network name
    description: CPS network name
  cps_net_ip:
    type: string
    label: CPS network ip
    description: CPS network ip
  cps_net_mask:
    type: string
    label: CPS network mask
    description: CPS network mask
  oam_net_name:
    type: string
    label: OAM network name
    description: OAM network name
  oam_net_ip:
    type: string
    label: OAM network ip
    description: OAM network ip
  oam_net_gw:
    type: string
    label: CPS network gateway
    description: CPS network gateway
  oam_net_mask:
    type: string
    label: CPS network mask
    description: CPS network mask
  pcm_vol:
    type: string
    label: CPS Cluman Cinder Volume
    description: CPS Cluman Cinder Volume
  security_group_name:
    type: string
    label: security group name
    description: the name of security group
  server_group:
    type: string
  connectivityChk:
    type: json


resources:
  server_pcm:
    type: OS::Nova::Server
    properties:
      config_drive: "True"
      name: { get_param: pcm_server_name }
      image: { get_param: pcm_image_name }
      flavor: { get_param: pcm_flavor_name }
      availability_zone: { get_param: availabilityzone_name }
      networks:
        - port: { get_resource: pcm_port_0}
        - port: { get_resource: pcm_port_1}
      block_device_mapping:
        - device_name: vdb
          volume_id: { get_param: pcm_vol}
      user_data_format: RAW
      scheduler_hints: { group: { get_param: server_group }  }

  pcm_port_0:
    type: OS::Neutron::Port
    properties:
      network: { get_param: cps_net_name }
      fixed_ips:
        - ip_address: { get_param: cps_net_ip }
      security_groups: [{ get_param: security_group_name }]

  pcm_port_1:
    type: OS::Neutron::Port
    properties:
      network: { get_param: oam_net_name }
      fixed_ips:
        - ip_address: { get_param: oam_net_ip }
      security_groups: [{ get_param: security_group_name }]

outputs:
  server_pcm_id:
    description: the pcm nova service id
    value: { get_resource: server_pcm }
lain">LAN2 FE Cluster/KA int_vscp_fe_cluster_cidr: type: string description: Private Network2 Address (CIDR notation) int_vscp_cluster_net_id: type: string description: LAN3 Cluster int_vscp_cluster_cidr: type: string description: Private Network3 Address (CIDR notation) int_vscp_ce_network_net_id: type: string description: Inter-CE Network int_vscp_ce_network_cidr: type: string description: Private Network Address (CIDR notation) SIGNET_vrf_A1_direct_net_id: type: string description: Network name for SIGTRAN_A SIGNET_vrf_B1_direct_net_id: type: string description: Network name for SIGTRAN_B Cricket_OCS_protected_net_id: type: string description: Network name for CRICKET_OCS Mobility_OAM_protected_net_id: type: string description: Network name for OAM be_Cricket_OCS_protected_ip_0: type: string label: be1 Cricket_OCS ip address description: be1 Cricket_OCS ip address be_Cricket_OCS_protected_ip_1: type: string label: be2 Cricket_OCS ip address description: be2 Cricket_OCS ip address be_Cricket_OCS_protected_ip_2: type: string label: be3 Cricket_OCS ip address description: be3 Cricket_OCS ip address be_Cricket_OCS_protected_ip_3: type: string label: be4 Cricket_OCS ip address description: be4 Cricket_OCS ip address be_Cricket_OCS_protected_ip_4: type: string label: be5 Cricket_OCS ip address description: be5 Cricket_OCS ip address fe_SIGNET_vrf_B1_direct_ip_0: type: string label: fe1 SIGTRAN ip address description: fe1 SIGTRAN ip address fe_SIGNET_vrf_A1_direct_ip_0: type: string label: fe2 SIGTRAN ip address description: fe2 SIGTRAN ip address be_Mobility_OAM_protected_ip_0: type: string label: be_0 OAM ip address description: be_0 OAM ip address be_Mobility_OAM_protected_ip_1: type: string label: be_1 OAM ip address description: be_1 OAM ip address be_Mobility_OAM_protected_ip_2: type: string label: be_2 OAM ip address description: be_2 OAM ip address be_Mobility_OAM_protected_ip_3: type: string label: be_3 OAM ip address description: be_3 OAM ip address be_Mobility_OAM_protected_ip_4: type: string label: be_4 OAM ip address description: be_4 OAM ip address fe_Mobility_OAM_protected_ip_0: type: string label: fe_0 OAM ip address description: fe_0 OAM ip address fe_Mobility_OAM_protected_ip_1: type: string label: fe_1 OAM ip address description: fe_1 OAM ip address smp_Mobility_OAM_protected_ip_0: type: string label: smp_0 OAM ip address description: smp_0 OAM ip address smp_Mobility_OAM_protected_ip_1: type: string label: smp_1 OAM ip address description: smp_1 OAM ip address be_name_0: type: string default: vSCP_BE1 description: name of VM be_name_1: type: string default: vSCP_BE2 description: name of VM be_name_2: type: string default: vSCP_BE3 description: name of VM be_name_3: type: string default: vSCP_BE4 description: name of VM be_name_4: type: string default: vSCP_BE5 description: name of VM fe_name_0: type: string default: vSCP_FE1 description: name of VM fe_name_1: type: string default: vSCP_FE2 description: name of VM smp_name_0: type: string default: vSMP1 description: name of VM smp_name_1: type: string default: vSMP2 description: name of VM smp_name_2: type: string default: vSMP2 description: name of VM ##smp_name_2: ##type: string ##default: vSMP2 ##description: name of VM nee_name_0: type: string default: vNEE description: name of VM hostname_fe1: type: string description: FE1 Hostname (from Ulticom license) hostid_fe1: type: string description: FE1 Hostid (from Ulticom license) hostname_fe2: type: string description: FE2 Hostname (from Ulticom license) hostid_fe2: type: string description: FE2 Hostid (from Ulticom license) hostname_nee1: type: string description: NEE1 Hostname (from Ulticom license) hostid_nee1: type: string description: NEE1 Hostid (from Ulticom license) point_code_scp: type: string description: vSCP point code (in "zone-cluster-member" format) point_code_stp: type: string description: STP virtual point code (in "zone-cluster-member" format) point_code_stp1: type: string description: STP1 point code (in "zone-cluster-member" format) point_code_stp2: type: string description: STP2 point code (in "zone-cluster-member" format) ip_address_stp1: type: string description: STP1 IP address ip_port_stp1: type: string description: STP1 IP port ip_address_stp2: type: string description: STP2 IP address ip_port_stp2: type: string description: STP2 IP port ip_port_fe1: type: string description: FE1 IP port in SIGTRAN network ip_port_fe2: type: string description: FE2 IP port in SIGTRAN network global_title_scp: type: string description: vSCP Global Title address global_title_stp: type: string description: STP Global Title address security_group_name: type: string label: vSCP security group name description: vSCP security group name route_table_be: type: string description: Additional route table for BEs route_table_fe1: type: string description: Additional route table for FE1 route_table_fe2: type: string description: Additional route table for FE2 ip_address_dra: type: string description: DRA VIP address lab_name: type: string description: Lab name resources: FE_SMP_Affinity: type: OS::Nova::ServerGroup properties: policies: ["affinity"] name: abc BE_Affinity: type: OS::Nova::ServerGroup properties: policies: ["affinity"] name: def Multi_Anti_Affinity: type: OS::Nova::ServerGroup properties: policies: ["anti-affinity"] name: def outputs: fe_smp_affinity_param: value: {get_resource: FE_SMP_Affinity} be_affinity_param: value: {get_resource: BE_Affinity} multi_anti_affinity_param: value: {get_resource: Multi_Anti_Affinity}