Update the template_version alias for all the templates to pike.
[apex-tripleo-heat-templates.git] / network / management.yaml
1 heat_template_version: pike
2
3 description: >
4   Management network. System administration, SSH, DNS, NTP, etc. This network
5   would usually be the default gateway for the non-controller nodes.
6
7 parameters:
8   # the defaults here work for static IP assignment (IPAM) only
9   ManagementNetCidr:
10     default: '10.0.1.0/24'
11     description: Cidr for the management network.
12     type: string
13   ManagementNetValueSpecs:
14     default: {'provider:physical_network': 'management', 'provider:network_type': 'flat'}
15     description: Value specs for the management network.
16     type: json
17   ManagementNetAdminStateUp:
18     default: false
19     description: The admin state of the network.
20     type: boolean
21   ManagementNetEnableDHCP:
22     default: false
23     description: Whether to enable DHCP on the associated subnet.
24     type: boolean
25   ManagementNetShared:
26     default: false
27     description: Whether this network is shared across all tenants.
28     type: boolean
29   ManagementNetName:
30     default: management
31     description: The name of the management network.
32     type: string
33   ManagementSubnetName:
34     default: management_subnet
35     description: The name of the management subnet in Neutron.
36     type: string
37   ManagementAllocationPools:
38     default: [{'start': '10.0.1.4', 'end': '10.0.1.250'}]
39     description: Ip allocation pool range for the management network.
40     type: json
41   ManagementInterfaceDefaultRoute:
42     default: null
43     description: The default route of the management network.
44     type: string
45
46 resources:
47   ManagementNetwork:
48     type: OS::Neutron::Net
49     properties:
50       admin_state_up: {get_param: ManagementNetAdminStateUp}
51       name: {get_param: ManagementNetName}
52       shared: {get_param: ManagementNetShared}
53       value_specs: {get_param: ManagementNetValueSpecs}
54
55   ManagementSubnet:
56     type: OS::Neutron::Subnet
57     properties:
58       cidr: {get_param: ManagementNetCidr}
59       enable_dhcp: {get_param: ManagementNetEnableDHCP}
60       name: {get_param: ManagementSubnetName}
61       network: {get_resource: ManagementNetwork}
62       allocation_pools: {get_param: ManagementAllocationPools}
63       gateway_ip: {get_param: ManagementInterfaceDefaultRoute}
64
65 outputs:
66   OS::stack_id:
67     description: Neutron management network
68     value: {get_resource: ManagementNetwork}
69