From 3c78ff4776a98ef9f69bdcbe506c56d4a456a80c Mon Sep 17 00:00:00 2001 From: Viktor Tikkanen Date: Thu, 17 Dec 2015 10:50:06 +0200 Subject: Added node role configuration If there are dedicated HW nodes for controller and compute nodes, it should be possible to define node roles in configuration files. This patch introduces "capabilities" property into pod_example_settings.yaml so as adds needed flavor definitions and overcloud deploy parameters into opnfv-deploy script. Change-Id: Ie62d3fa215aa168390d074c73fdb2fa03ecc67f5 Signed-off-by: Viktor Tikkanen --- config/inventory/intel_pod2_settings.yaml | 5 +++++ config/inventory/pod_example_settings.yaml | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'config') diff --git a/config/inventory/intel_pod2_settings.yaml b/config/inventory/intel_pod2_settings.yaml index 5f933f1f..4545839f 100644 --- a/config/inventory/intel_pod2_settings.yaml +++ b/config/inventory/intel_pod2_settings.yaml @@ -8,6 +8,7 @@ nodes: memory: 2048 disk: 40 arch: "x86_64" + capabilities: "profile:control" node2: mac_address: "00:1e:67:4f:b7:b1" ipmi_ip: 10.4.7.3 @@ -17,6 +18,7 @@ nodes: memory: 2048 disk: 40 arch: "x86_64" + capabilities: "profile:control" node3: mac_address: "00:1e:67:4f:cc:f1" ipmi_ip: 10.4.7.4 @@ -26,6 +28,7 @@ nodes: memory: 2048 disk: 40 arch: "x86_64" + capabilities: "profile:control" node4: mac_address: "00:1e:67:4f:cc:0b" ipmi_ip: 10.4.7.5 @@ -35,6 +38,7 @@ nodes: memory: 2048 disk: 40 arch: "x86_64" + capabilities: "profile:compute" node5: mac_address: "00:1e:67:4f:b9:55" ipmi_ip: 10.4.7.6 @@ -44,3 +48,4 @@ nodes: memory: 2048 disk: 40 arch: "x86_64" + capabilities: "profile:compute" diff --git a/config/inventory/pod_example_settings.yaml b/config/inventory/pod_example_settings.yaml index f24b8e1c..70fa50e7 100644 --- a/config/inventory/pod_example_settings.yaml +++ b/config/inventory/pod_example_settings.yaml @@ -8,6 +8,7 @@ nodes: memory: 2048 disk: 40 arch: "x86_64" + capabilities: "profile:control" node2: mac_address: "10:23:45:67:89:AC" ipmi_ip: 10.4.17.3 @@ -17,6 +18,7 @@ nodes: memory: 2048 disk: 40 arch: "x86_64" + capabilities: "profile:control" node3: mac_address: "10:23:45:67:89:AD" ipmi_ip: 10.4.17.4 @@ -26,6 +28,7 @@ nodes: memory: 2048 disk: 40 arch: "x86_64" + capabilities: "profile:control" node4: mac_address: "10:23:45:67:89:AE" ipmi_ip: 10.4.17.5 @@ -35,6 +38,7 @@ nodes: memory: 2048 disk: 40 arch: "x86_64" + capabilities: "profile:compute" node5: mac_address: "10:23:45:67:89:AF" ipmi_ip: 10.4.17.6 @@ -44,3 +48,4 @@ nodes: memory: 2048 disk: 40 arch: "x86_64" + capabilities: "profile:compute" -- cgit 1.2.3-korg