aboutsummaryrefslogtreecommitdiffstats
path: root/network/internal_api_v6.yaml
diff options
context:
space:
mode:
authorGiulio Fidente <gfidente@redhat.com>2016-01-22 10:47:34 +0100
committerGiulio Fidente <gfidente@redhat.com>2016-03-05 03:22:33 +0100
commit7981f69c034c5d08abade7f62161aeec65045814 (patch)
tree9f3736bb705d00f8ee05a466f96f10b377de6fe5 /network/internal_api_v6.yaml
parent365c35cc6e1e588215ab6d63143b84bb56dce376 (diff)
Make the Neutron subnet ipv6_{ra,address}_mode configurable
Use of slaac does not permit stati assignment of IPs to a Neutron port, so we default to dhcpv6-stateful instead. Change-Id: Id7f104be60ae05785a3d0a33516d7875a4698ed1
Diffstat (limited to 'network/internal_api_v6.yaml')
-rw-r--r--network/internal_api_v6.yaml12
1 files changed, 10 insertions, 2 deletions
diff --git a/network/internal_api_v6.yaml b/network/internal_api_v6.yaml
index 9f5c68b2..68c14fbe 100644
--- a/network/internal_api_v6.yaml
+++ b/network/internal_api_v6.yaml
@@ -34,6 +34,14 @@ parameters:
default: [{'start': 'fd00:fd00:fd00:2000::10', 'end': 'fd00:fd00:fd00:2000:ffff:ffff:ffff:fffe'}]
description: Ip allocation pool range for the internal API network.
type: json
+ IPv6AddressMode:
+ default: dhcpv6-stateful
+ description: Neutron subnet IPv6 address mode
+ type: string
+ IPv6RAMode:
+ default: dhcpv6-stateful
+ description: Neutron subnet IPv6 router advertisement mode
+ type: string
resources:
InternalApiNetwork:
@@ -48,8 +56,8 @@ resources:
type: OS::Neutron::Subnet
properties:
ip_version: 6
- ipv6_address_mode: slaac
- ipv6_ra_mode: slaac
+ ipv6_address_mode: {get_param: IPv6AddressMode}
+ ipv6_ra_mode: {get_param: IPv6RAMode}
cidr: {get_param: InternalApiNetCidr}
name: {get_param: InternalApiSubnetName}
network: {get_resource: InternalApiNetwork}