summaryrefslogtreecommitdiffstats
path: root/config/inventory
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2015-12-04 17:54:52 -0500
committerTim Rozet <trozet@redhat.com>2015-12-07 16:49:54 -0500
commitc154b444b21a7093d7e39902de05fe28b944505b (patch)
tree4e0055f3c131f9929539d714430fd5d7c82646e8 /config/inventory
parent51ac87ec20ca9955e7fc63dd722ea2c0dbe49c32 (diff)
Parses yaml files into deploy + other fixes
This patch allows deploy_settings.yaml and inventory settings to be passed in via cmdline. The deploy settings are overridden by cmdline arguments. For example, if a user specifies no_ha in cmdline it will override what is in deploy_settings.yaml. The inventory file provides yaml input for the baremetal topology. Fixes include: - New arguments for passing inventory and deploy_settings - "global_params" in deploy_settings are set as globals in script (unless already set via cmdline) - "deploy_options" are loaded into an array, and checked for deployment options (such as which SDN controller to use) - inventory file is parsed (for baremetal) into correct instack json output. The output is then written to a temp instackjson file and used for deployment. - renaming of copy_materials to copy_materials_to_instack - spelling fixes - cmdline argument checking with errors and warnings Note this patch does not yet tamper with setting network-environment settings. JIRA: APEX-53 Change-Id: I9dce197e23563480c584650ba967898312eab4e7 Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'config/inventory')
-rw-r--r--config/inventory/intel_pod2_settings.yaml46
1 files changed, 46 insertions, 0 deletions
diff --git a/config/inventory/intel_pod2_settings.yaml b/config/inventory/intel_pod2_settings.yaml
new file mode 100644
index 00000000..5f933f1f
--- /dev/null
+++ b/config/inventory/intel_pod2_settings.yaml
@@ -0,0 +1,46 @@
+nodes:
+ node1:
+ mac_address: "00:1e:67:b2:08:7b"
+ ipmi_ip: 10.4.7.2
+ ipmi_user: root
+ ipmi_pass: root
+ cpus: 2
+ memory: 2048
+ disk: 40
+ arch: "x86_64"
+ node2:
+ mac_address: "00:1e:67:4f:b7:b1"
+ ipmi_ip: 10.4.7.3
+ ipmi_user: root
+ ipmi_pass: root
+ cpus: 2
+ memory: 2048
+ disk: 40
+ arch: "x86_64"
+ node3:
+ mac_address: "00:1e:67:4f:cc:f1"
+ ipmi_ip: 10.4.7.4
+ ipmi_user: root
+ ipmi_pass: root
+ cpus: 2
+ memory: 2048
+ disk: 40
+ arch: "x86_64"
+ node4:
+ mac_address: "00:1e:67:4f:cc:0b"
+ ipmi_ip: 10.4.7.5
+ ipmi_user: root
+ ipmi_pass: root
+ cpus: 2
+ memory: 2048
+ disk: 40
+ arch: "x86_64"
+ node5:
+ mac_address: "00:1e:67:4f:b9:55"
+ ipmi_ip: 10.4.7.6
+ ipmi_user: root
+ ipmi_pass: root
+ cpus: 2
+ memory: 2048
+ disk: 40
+ arch: "x86_64"