Adds declaring disk device to use on overcloud nodes 55/25255/6
authorTim Rozet <trozet@redhat.com>
Wed, 30 Nov 2016 16:03:02 +0000 (11:03 -0500)
committerTim Rozet <trozet@redhat.com>
Tue, 20 Dec 2016 21:16:31 +0000 (21:16 +0000)
commit4e1320c4235476d7e2a0a90f80997e8371c5f399
treefb3414be4be572f83327720c097308f06510abb6
parenta90e29d412664322bb5b0602ae4870439a0ed038
Adds declaring disk device to use on overcloud nodes

Now in inventory file a user can declare 'disk_device' which will allow
the user to specify which disk on their overcloud server to use for
installation.  The variable can be a comma delimited list, which will
search in order post-introspection for the first device on the node that
exists.  The default disk used will be sda for deployments.

Currently defining a per node disk is not supported by OSCLI, so
although defined that way in Apex inventory, only the last definition
will be used for all nodes.

Other changes include:
 - Various fixes in inventory parsing
 - Makes bash writing a common function
 - Introspection now enabled for baremetal deployments

JIRA: APEX-296

Change-Id: I330d91eb17408ccfceb7a99c25edbae5ce6d848d
Signed-off-by: Tim Rozet <trozet@redhat.com>
config/inventory/pod_example_settings.yaml
docs/installationprocedure/baremetal.rst
lib/overcloud-deploy-functions.sh
lib/parse-functions.sh
lib/python/apex/common/constants.py
lib/python/apex/common/utils.py
lib/python/apex/deploy_settings.py
lib/python/apex/inventory.py
lib/python/apex/network_settings.py
lib/python/apex_python_utils.py
tests/test_apex_inventory.py