summaryrefslogtreecommitdiffstats
path: root/lib/python/apex/inventory.py
AgeCommit message (Collapse)AuthorFilesLines
2016-12-20Adds declaring disk device to use on overcloud nodesTim Rozet1-4/+23
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>
2016-12-02Fixes using single network (previously called flat) for deployTim Rozet1-1/+1
Also contains various network parsing fixes. JIRA: APEX-361 Change-Id: I5e40ed67267d5ded85adc2982a8726ebbceaeae5 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-11-16Rename network settings variableMichael Chapman1-2/+2
The network_settings_file variable is actually the inventory file, this patch renames it to match. Change-Id: Id4d0b792b8426b4e0b1c61270fe2e6da89559413 Signed-off-by: Michael Chapman <michapma@redhat.com>
2016-09-20Handling file loads and tmp dirs differentlyDan Radez1-1/+1
Change-Id: I602279b30b035cfc667e4ee9b83905a638440abb Signed-off-by: Dan Radez <dradez@redhat.com>
2016-09-07moving inventory file parsing to pythonDan Radez1-0/+76
Change-Id: Ib03728e8ffe9c65044b32b4348e9c1c88862c6e3 Signed-off-by: Dan Radez <dradez@redhat.com>