xci: osa: Add initial dynamic inventory from PDF/IDF files 29/56929/10
authorMarkos Chandras <mchandras@suse.de>
Tue, 1 May 2018 15:38:13 +0000 (16:38 +0100)
committerMarkos Chandras <mchandras@suse.de>
Wed, 9 May 2018 07:15:47 +0000 (08:15 +0100)
commit85d1813e0329bf44eae35de3d4a67f63fdcf9444
treeaa1c6d89edd1c379d4a8ee6cb9682d6c9f27f195
parent02abb5b5e8106fef4c0cddff7eb4570283c2d978
xci: osa: Add initial dynamic inventory from PDF/IDF files

The PDF and IDF files contain all the information we need for the
virtual XCI deployment, so we can use it to create a dynamic inventory
and get rid of all the static ones which could easily get outdated
as PDF and IDF files evolve over time.

This inital version of the dynamic inventory contains a lot of
unnecessary generated information but we do that in order to ease
the migration from static files to the dynamic inventory. The dynamic
inventory will be improved in the future as we consume more and more
information from the PDF and IDF files.

Change-Id: Id9f07a61c67a5cffcbc18079a341e5d395020a27
Signed-off-by: Markos Chandras <mchandras@suse.de>
15 files changed:
xci/installer/osa/deploy.sh
xci/installer/osa/files/aio/flavor-vars.yml [deleted file]
xci/installer/osa/files/aio/inventory [deleted file]
xci/installer/osa/files/ha/flavor-vars.yml [deleted file]
xci/installer/osa/files/ha/inventory [deleted file]
xci/installer/osa/files/mini/flavor-vars.yml [deleted file]
xci/installer/osa/files/mini/inventory [deleted file]
xci/installer/osa/files/noha/flavor-vars.yml [deleted file]
xci/installer/osa/files/noha/inventory [deleted file]
xci/installer/osa/playbooks/configure-opnfvhost.yml
xci/installer/osa/playbooks/configure-targethosts.yml
xci/playbooks/dynamic_inventory.py [new file with mode: 0755]
xci/playbooks/roles/bootstrap-host/tasks/network_debian.yml
xci/playbooks/roles/bootstrap-host/tasks/network_redhat.yml
xci/playbooks/roles/bootstrap-host/tasks/network_suse.yml