openstack-ansible/osa_toolkit
Jimmy McCrory 9cd42929c3 Support cidr_networks in L3 network environments
In some environments, a single container, storage, or tunnel network may
not be applicable to every host. Each configured provider_network would
need to be limited to a particular subset of hosts and the host var keys
within the inventory for container_address, storage_address, and
tunnel_address will need to be maintained since they're specifically
required by various playbooks.

Add two new options for configuring provider_networks, 'reference_group'
and 'address_prefix'.

'reference_group' for providing a group name that any host must
be a member of, in addition to any of the groups listed in
'group_binds', for the network to be applied.

'address_prefix' for overriding the name of the key created for each IP
address allocated by a cidr_network. By default, this key is named
'cidr_network'_address, where 'cidr_network' is the given 'ip_from_q'
option for a provider network.

Closes-Bug: 1650356

Change-Id: Ia7f3119f0affc4fb6be97ca788ca3b46096b82a8
2017-07-31 22:14:25 +00:00
..
__init__.py Restructure lib directory to install via pip 2017-03-30 10:19:01 -04:00
dictutils.py Improve compatibiliity with Python 3 2017-06-06 10:44:13 -04:00
filesystem.py Use python import machinery for inventory code 2017-07-28 16:39:52 +00:00
generate.py Support cidr_networks in L3 network environments 2017-07-31 22:14:25 +00:00
ip.py Improve compatibiliity with Python 3 2017-06-06 10:44:13 -04:00
manage.py Improve compatibiliity with Python 3 2017-06-06 10:44:13 -04:00
tools.py Restructure lib directory to install via pip 2017-03-30 10:19:01 -04:00