openstack-ansible/releasenotes/notes/export-hosts-flag-9c9f170eb89798ea.yaml
Nolan Brubaker 18c9e1faee Add export host option for inventory-manage script
The export host option allows users to export their existing host
information for import into a third party system. The output is
'pivoted', so that the key is the host/container name, and the values
are the group memberships and hostvar information. Some top level
networking information, such as load balancer IP addresses, as well as
provider networks, are also provided.

Test scaffolding was added to ensure the export does what is intended.

The tox inventory environment was modified to do coverage testing of
both the dynamic_inventory.py and manage_inventory.py files. The
coverage data is erased between runs, since combined output lead to
incorrect results for dynamic_inventory.py.

Change-Id: I2caa5a0c070b12a74ac26334c63ac8d0de704042
2016-09-22 02:50:01 +00:00

7 lines
310 B
YAML

---
features:
- An export flag has been added to the ``inventory-manage.py`` script. This
flag allows exporting of host and network information from an
OpenStack-Ansible inventory for import into another system, or an
alternate view of the existing data. See the developer docs for more details.