blob: 8bfda2b0564de3e5c25509a3db959be3df566bae [file] [log] [blame]
ChrisC025301d2017-01-31 11:40:03 +01001heat_template_version: 2013-05-23
2
3description: >
4 HOT template that creates one COR network (direct).
5
6parameters:
7 cor_direct_net_name:
8 type: string
9 description: Name of COR direct network
10 default: testCorDirectNet
11 cor_direct_net_cidr:
12 type: string
13 description: Direct network address (CIDR notation)
14 cor_direct_net_gateway:
15 type: string
16 description: Direct network gateway address
17 cor_direct_net_RT:
18 type: string
19 description: Direct network route-target (RT)
20 default: testCorDirectNet
21 ip_port_snmp_manager:
22 type: string
23 default: 162
24 description: SNMP manager IP port
25
26
27resources:
28 cor_direct_net:
29 type: file:///my_test.yaml
30 properties:
31 name: { get_param: cor_direct_net_name }
32 route_targets: [ get_param: cor_direct_net_RT ]
33
34 cor_direct_ip_subnet:
35 type: OS::Neutron::Subnet
36 properties:
37 network_id: { get_resource: cor_direct_net }
38 cidr: {get_param: cor_direct_net_cidr}
39 gateway_ip: { get_param: cor_direct_net_gateway }