Rename of test-vars.yml to rolename-overrides.yml will happen
of all the repo(rolename) in next patches.
Change-Id: I3f61aa28fcd741343b19b6be0e9ece6643de743c
Partial-Bug: #1629284
For nova flat networking to work /w neutron we need to allow an alias
address for some interfaces.
This PR exposes a "alias:" option which is an address that will be added
as an alias for the interface.
For Debian this means an additional block at the bottom of the
configuration file.
For RedHat this means an <interface_name>:0 file is created.
Change-Id: I39c396ce3b6eab321d5eb70645c1d0af71dcf5c6
In order for the test repo to work for CentOS properly, we need to be
able to create multiple networks in a more modular way. Additionally, we
should be able to specify a dict of networks to configure and have them
configured.
To allow this to be extended we setup a network interface "type" which
defaults to "default". This should cover all current requirements but
could be extended if needed.
For CentOS/Red Hat specifically, we need to drop down post-up/pre-up
scripts for specific networks - this requires an additional loop task to
ensure the appropriate configuration is dropped down.
This is a precursor for moving Swift and Nova to use the
openstack-ansible-tests repository, both require custom networking which
is not serviced by the current configuration. This is also a precursor
for adding CentOS/RedHat support for openstack-ansible projects.
Change-Id: I5f2446d87ff88f5143b311fd27ab64b476877a1e