summaryrefslogtreecommitdiffstats
path: root/config/inventory
diff options
context:
space:
mode:
authorViktor Tikkanen <viktor.tikkanen@nokia.com>2015-12-17 10:50:06 +0200
committerViktor Tikkanen <viktor.tikkanen@nokia.com>2015-12-21 10:16:51 +0000
commit3c78ff4776a98ef9f69bdcbe506c56d4a456a80c (patch)
tree961269a6cc3ce2fc3108674787584eb0f559511d /config/inventory
parent9b006ff0e1bf4dbe0239bd7258eda999813bb96b (diff)
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 <viktor.tikkanen@nokia.com>
Diffstat (limited to 'config/inventory')
-rw-r--r--config/inventory/intel_pod2_settings.yaml5
-rw-r--r--config/inventory/pod_example_settings.yaml5
2 files changed, 10 insertions, 0 deletions
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"