Merge "Add prefix --id support for the radvd and dhcrelay"
This commit is contained in:
commit
f4008540c6
|
@ -9,6 +9,12 @@
|
|||
# Contains the available parameters that need to be configured when using
|
||||
# a IPv6 network. Requires the ipv6-radvd.yaml environment.
|
||||
parameter_defaults:
|
||||
# Controls radvd parameters AdvManagedFlag and AdvAutonomous. For stateful
|
||||
# addressing these should be AdvManagedFlag: on, AdvAutonomous: off, for
|
||||
# statelss (SLAAC) these should be AdvManagedFlag: off, AdvAutonomous: on.
|
||||
# Type: boolean
|
||||
IPv6_dhcpv6-statefull: False
|
||||
|
||||
# The Nova flavor to use for the radvd instance
|
||||
# Type: string
|
||||
radvd_flavor: m1.small
|
||||
|
@ -18,3 +24,11 @@ parameter_defaults:
|
|||
# Type: string
|
||||
radvd_image: CentOS-7-x86_64-GenericCloud
|
||||
|
||||
# Prefix for the name of the radvd instance
|
||||
# Type: string
|
||||
radvd_prefix: radvd
|
||||
|
||||
# radvd address on the provision network subnet
|
||||
# Type: string
|
||||
radvd_provision_address: fd12:3456:789a:1::fffe
|
||||
|
||||
|
|
|
@ -10,6 +10,11 @@
|
|||
# a routed networks environment. Requires the routed-networks.yaml
|
||||
# environment.
|
||||
parameter_defaults:
|
||||
# The IP addresses of DHCP servers to relay DHCP requests to.
|
||||
# Mandatory. This parameter must be set by the user.
|
||||
# Type: json
|
||||
dhcp_ips: <None>
|
||||
|
||||
# The Nova flavor to use for the dhcrelay instance
|
||||
# Type: string
|
||||
dhcp_relay_flavor: m1.small
|
||||
|
@ -19,3 +24,19 @@ parameter_defaults:
|
|||
# Type: string
|
||||
dhcp_relay_image: CentOS-7-x86_64-GenericCloud
|
||||
|
||||
# DHCP relay address on the provision2 network subnet
|
||||
# Type: string
|
||||
dhcp_relay_provision2_address: 192.168.25.253
|
||||
|
||||
# DHCP relay address on the provision3 network subnet
|
||||
# Type: string
|
||||
dhcp_relay_provision3_address: 192.168.26.253
|
||||
|
||||
# DHCP relay address on the provision network subnet
|
||||
# Type: string
|
||||
dhcp_relay_provision_address: 192.168.24.253
|
||||
|
||||
# Prefix for the name of the dhcrelay instance
|
||||
# Type: string
|
||||
dhcrelay_prefix: dhcrelay
|
||||
|
||||
|
|
|
@ -139,18 +139,14 @@ def _generate_id_env(args):
|
|||
_add_identifier(env_data, 'provision_net2', args.id, default='provision2')
|
||||
_add_identifier(env_data, 'provision_net3', args.id, default='provision3')
|
||||
_add_identifier(env_data, 'public_net', args.id, default='public')
|
||||
_add_identifier(env_data,
|
||||
'baremetal_prefix',
|
||||
args.id,
|
||||
default='baremetal')
|
||||
_add_identifier(env_data, 'baremetal_prefix', args.id, default='baremetal')
|
||||
role = env_data['parameter_defaults'].get('role')
|
||||
if role:
|
||||
_add_identifier(env_data, 'baremetal_prefix', role)
|
||||
_add_identifier(env_data, 'bmc_prefix', args.id, default='bmc')
|
||||
_add_identifier(env_data,
|
||||
'undercloud_name',
|
||||
args.id,
|
||||
default='undercloud')
|
||||
_add_identifier(env_data, 'undercloud_name', args.id, default='undercloud')
|
||||
_add_identifier(env_data, 'dhcrelay_prefix', args.id, default='dhcrelay')
|
||||
_add_identifier(env_data, 'radvd_prefix', args.id, default='radvd')
|
||||
_add_identifier(env_data, 'overcloud_internal_net', args.id,
|
||||
default='internal')
|
||||
_add_identifier(env_data, 'overcloud_storage_net', args.id,
|
||||
|
|
|
@ -202,6 +202,11 @@ environments:
|
|||
parameters:
|
||||
- dhcp_relay_flavor
|
||||
- dhcp_relay_image
|
||||
- dhcrelay_prefix
|
||||
- dhcp_relay_provision_address
|
||||
- dhcp_relay_provision2_address
|
||||
- dhcp_relay_provision3_address
|
||||
- dhcp_ips
|
||||
-
|
||||
name: routed-networks
|
||||
title: Enable Routed Networks
|
||||
|
@ -274,6 +279,9 @@ environments:
|
|||
parameters:
|
||||
- radvd_flavor
|
||||
- radvd_image
|
||||
- radvd_prefix
|
||||
- radvd_provision_address
|
||||
- IPv6_dhcpv6-statefull
|
||||
-
|
||||
name: ipv6-radvd
|
||||
title: Enable router advertisement daemon (radvd)
|
||||
|
|
|
@ -19,6 +19,11 @@ parameters:
|
|||
The base image for the dhcrelay instance. A CentOS 7 image is currently
|
||||
the only one supported.
|
||||
|
||||
dhcrelay_prefix:
|
||||
type: string
|
||||
default: dhcrelay
|
||||
description: Prefix for the name of the dhcrelay instance
|
||||
|
||||
dhcp_relay_provision_address:
|
||||
type: string
|
||||
description: DHCP relay address on the provision network subnet
|
||||
|
@ -175,7 +180,7 @@ resources:
|
|||
dhcp_relay_server:
|
||||
type: OS::Nova::Server
|
||||
properties:
|
||||
name: dhcrelay
|
||||
name: {get_param: dhcrelay_prefix}
|
||||
flavor: {get_param: dhcp_relay_flavor}
|
||||
image: {get_param: dhcp_relay_image}
|
||||
key_name: {get_param: key_name}
|
||||
|
|
|
@ -19,6 +19,11 @@ parameters:
|
|||
The base image for the radvd instance. A CentOS 7 image is currently
|
||||
the only one supported.
|
||||
|
||||
radvd_prefix:
|
||||
type: string
|
||||
default: radvd
|
||||
description: Prefix for the name of the radvd instance
|
||||
|
||||
radvd_provision_address:
|
||||
type: string
|
||||
description: radvd address on the provision network subnet
|
||||
|
@ -198,7 +203,7 @@ resources:
|
|||
radvb_server:
|
||||
type: OS::Nova::Server
|
||||
properties:
|
||||
name: radvd
|
||||
name: {get_param: radvd_prefix}
|
||||
flavor: {get_param: radvd_flavor}
|
||||
image: {get_param: radvd_image}
|
||||
key_name: {get_param: key_name}
|
||||
|
|
Loading…
Reference in New Issue