openstack-ansible/tests
Nolan Brubaker 894e0c4dc9 Test static route settings
Provider networks can be given static route information that is
populated on all containers. This commit only tests the common cases
around that code - adding a static route as expected, and attempting to
add one with missing information.

Currently, the code fails silently if the cidr or gateway for a static
route are missing. This change adds an exception informing the user that
there is missing static route information. The information is
purposefully general (no specific cases for missing cidr/gateway) in
order to keep the conditionals simple in the code.

Also, the change now checks to make sure that a value is present in
addition to the key, and the variable names are clarified. The values
provided are not check to be valid CIDRs or IP addresses at this time.

A release note and documentation were added given the new errors.

The test cases were split into their own class so as to reduce the
sprawl in the TestConfigChecks class.

Change-Id: I7e36736c1dbd86b7131365b6c27ff2c221814059
2016-05-24 17:32:34 -04:00
..
inventory Removing openstack_environment.yml testing symlink 2016-03-16 13:34:56 -04:00
roles/bootstrap-host Remove AIO container cache apt configuration 2016-05-20 15:38:39 +01:00
ansible.cfg Update plugin folder names 2016-02-10 11:17:47 +00:00
bootstrap-aio.yml Convert AIO bootstrap from bash to Ansible 2015-12-08 19:05:45 +00:00
get-ansible-role-requirements.yml Added option to set the role fetch mode 2016-05-23 09:48:56 +00:00
test_inventory.py Test static route settings 2016-05-24 17:32:34 -04:00