Merge "Add IPv6 versions of the Controller NIC configs"
[apex-tripleo-heat-templates.git] / network / tenant_v6.yaml
1 heat_template_version: 2015-04-30
2
3 description: >
4   Tenant IPv6 network.
5
6 parameters:
7   # the defaults here work for static IP assignment (IPAM) only
8   TenantNetCidr:
9     # OpenStack uses the EUI-64 address format, which requires a /64 prefix
10     default: 'fd00:fd00:fd00:5000::/64'
11     description: Cidr for the tenant network.
12     type: string
13   TenantNetValueSpecs:
14     default: {'provider:physical_network': 'tenant', 'provider:network_type': 'flat'}
15     description: Value specs for the tenant network.
16     type: json
17   TenantNetAdminStateUp:
18     default: false
19     description: This admin state of of the network.
20     type: boolean
21   TenantNetShared:
22     default: false
23     description: Whether this network is shared across all tenants.
24     type: boolean
25   TenantNetName:
26     default: tenant
27     description: The name of the tenant network.
28     type: string
29   TenantSubnetName:
30     default: tenant_subnet
31     description: The name of the tenant subnet in Neutron.
32     type: string
33   TenantAllocationPools:
34     default: [{'start': 'fd00:fd00:fd00:5000::10', 'end': 'fd00:fd00:fd00:5000:ffff:ffff:ffff:fffe'}]
35     description: Ip allocation pool range for the tenant network.
36     type: json
37
38 resources:
39   TenantNetwork:
40     type: OS::Neutron::Net
41     properties:
42       admin_state_up: {get_param: TenantNetAdminStateUp}
43       name: {get_param: TenantNetName}
44       shared: {get_param: TenantNetShared}
45       value_specs: {get_param: TenantNetValueSpecs}
46
47   TenantSubnet:
48     type: OS::Neutron::Subnet
49     properties:
50       ip_version: 6
51       ipv6_address_mode: slaac
52       ipv6_ra_mode: slaac
53       cidr: {get_param: TenantNetCidr}
54       name: {get_param: TenantSubnetName}
55       network: {get_resource: TenantNetwork}
56       allocation_pools: {get_param: TenantAllocationPools}
57
58 outputs:
59   OS::stack_id:
60     description: Neutron tenant network
61     value: {get_resource: TenantNetwork}