Bump template version for all templates to "ocata"
[apex-tripleo-heat-templates.git] / network / storage_mgmt_v6.yaml
1 heat_template_version: ocata
2
3 description: >
4   Storage management network. Storage replication, etc.
5
6 parameters:
7   # the defaults here work for static IP assignment (IPAM) only
8   StorageMgmtNetCidr:
9     # OpenStack uses the EUI-64 address format, which requires a /64 prefix
10     default: 'fd00:fd00:fd00:4000::/64'
11     description: Cidr for the storage management network.
12     type: string
13   StorageMgmtNetValueSpecs:
14     default: {'provider:physical_network': 'storage_mgmt', 'provider:network_type': 'flat'}
15     description: Value specs for the storage_mgmt network.
16     type: json
17   StorageMgmtNetAdminStateUp:
18     default: false
19     description: This admin state of of the network.
20     type: boolean
21   StorageMgmtNetShared:
22     default: false
23     description: Whether this network is shared across all tenants.
24     type: boolean
25   StorageMgmtNetName:
26     default: storage_mgmt
27     description: The name of the Storage management network.
28     type: string
29   StorageMgmtSubnetName:
30     default: storage_mgmt_subnet
31     description: The name of the Storage management subnet in Neutron.
32     type: string
33   StorageMgmtAllocationPools:
34     default: [{'start': 'fd00:fd00:fd00:4000::10', 'end': 'fd00:fd00:fd00:4000:ffff:ffff:ffff:fffe'}]
35     description: Ip allocation pool range for the storage mgmt network.
36     type: json
37   IPv6AddressMode:
38     default: dhcpv6-stateful
39     description: Neutron subnet IPv6 address mode
40     type: string
41   IPv6RAMode:
42     default: dhcpv6-stateful
43     description: Neutron subnet IPv6 router advertisement mode
44     type: string
45
46 resources:
47   StorageMgmtNetwork:
48     type: OS::Neutron::Net
49     properties:
50       admin_state_up: {get_param: StorageMgmtNetAdminStateUp}
51       name: {get_param: StorageMgmtNetName}
52       shared: {get_param: StorageMgmtNetShared}
53       value_specs: {get_param: StorageMgmtNetValueSpecs}
54
55   StorageMgmtSubnet:
56     type: OS::Neutron::Subnet
57     properties:
58       ip_version: 6
59       ipv6_address_mode: {get_param: IPv6AddressMode}
60       ipv6_ra_mode: {get_param: IPv6RAMode}
61       cidr: {get_param: StorageMgmtNetCidr}
62       name: {get_param: StorageMgmtSubnetName}
63       network: {get_resource: StorageMgmtNetwork}
64       allocation_pools: {get_param: StorageMgmtAllocationPools}
65       gateway_ip: null
66
67 outputs:
68   OS::stack_id:
69     description: Neutron storage management network
70     value: {get_resource: StorageMgmtNetwork}