blob: 79306fe04ea06b5981264be9de20a913f4bf0c56 (
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
|
heat_template_version: 2013-05-23
description: ASC Template
parameters:
be_affinity_param:
type: string
description: be affinity param
availability_zone_0:
type: string
vnf_id:
type: string
description: Unique ID for this VNF instance
default: This_is_ths_SCP_id
port_name:
type: string
description: port name
default: port_name
flavor_smp_name:
type: string
description: SCP SMP Flavor
default: a1.Small
image_smp_name:
type: string
description: SCP SMP image
default: asc_base_image_smp
smp_name_1:
type: string
default: vSMP2
description: name of VM
lab_name:
type: string
description: Lab name
resources:
server_smp1:
type: OS::Nova::Server
properties:
name: { get_param: smp_name_1 }
image: { get_param: image_smp_name }
availability_zone: { get_param: availability_zone_0 }
flavor: { get_param: flavor_smp_name }
scheduler_hints: { group: { get_param: be_affinity_param} }
networks:
- port: { get_resource: port1 }
metadata:
vnf_id: { get_param: vnf_id }
jx_lab_name: {get_param: lab_name}
jx_vm_role: smp2
user_data_format: RAW
port1:
type: OS::Neutron::Port
properties:
network: {get_param: port_name}
replacement_policy: AUTO
|