blob: ae10346cbcf9d092f47931d367ceb6d36a09b605 [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 cor_direct_net_cidr:
11 type: string
12 description: Direct network address (CIDR notation)
13 cor_direct_net_gateway:
14 type: string
15 description: Direct network gateway address
16 cor_direct_net_RT:
17 type: string
18 description: Direct network route-target (RT)
19
20resources:
21 cor_direct_net:
22 type: OS::Contrail::VirtualNetwork
23 properties:
24 name: { get_param: cor_direct_net_name }
25 route_targets: [ get_param: cor_direct_net_RT ]
26
27 cor_direct_ip_subnet:
28 type: OS::Neutron::Subnet
29 properties:
30 network_id: { get_resource: cor_direct_net }
31 cidr: {get_param: cor_direct_net_cidr}
32 gateway_ip: { get_param: cor_direct_net_gateway }