aboutsummaryrefslogtreecommitdiffstats
path: root/labs/ericsson
diff options
context:
space:
mode:
authoragardner <agardner@linuxfoundation.org>2017-05-04 11:36:05 -0400
committeragardner <agardner@linuxfoundation.org>2017-05-19 14:26:56 -0400
commite3a14b510778a4562875600f7b393b27c1dc8eba (patch)
tree38be0bc4c5277f37cefe01fafef54609c512f667 /labs/ericsson
parentc8eba7272eb090642e2489a9dafab10060c1e238 (diff)
Hello, OPNFV installer projects
Firstly, this patchset looks a bit messy at the onset. relevant parts are installers/apex/*.j2 installers/joid/*.j2 installers/compass4nfv/*.j2 and the new verify job that runs check-jinja2.sh If you look at installers/*/pod_config.yaml.j2 you will see the network settings for apex joid and compass4nfv installers, the possible to template hard coded values have been replaced with jinja2 vales, that are populated by reading one of labs/*/*/config/pod.yaml eg: nodes: - name: pod1-node1 becomes - name: {{ conf['nodes'][0]['name'] }} In my last patchset I had ignored data already present in the pod.yaml (which is defined in the pharos spec here: https://gerrit.opnfv.org/gerrit/gitweb?p=pharos.git;a=blob;f=config/pod1.yaml ) I created by own yaml file in an attempt to figure out what all the installers needed to know to install on any given pod. this was counter productive. I have included a script (securedlab/check-jinja2.sh) that will check all securedlab/installers/*/pod_config.yaml.j2 against all securedlab/labs/*/pod*.yaml This is a first step towards having your installers run on any pod that has a pod file created for it. (securedlab/labs/*/pod[pod-number].yaml) Moving forward I would like your input on identifing variables in your installers configs that are needed for deployment but not covered by securedlab/labs/*/pod*.yaml Thanks for your time and feedback Best Regards, Aric Change-Id: I5f2f2b403f219a1ec4b35e46a5bc49037a0a89cf Signed-off-by: agardner <agardner@linuxfoundation.org>
Diffstat (limited to 'labs/ericsson')
-rw-r--r--labs/ericsson/pod1.yaml72
-rw-r--r--labs/ericsson/pod2.yaml74
2 files changed, 73 insertions, 73 deletions
diff --git a/labs/ericsson/pod1.yaml b/labs/ericsson/pod1.yaml
index b3afb21..972fccc 100644
--- a/labs/ericsson/pod1.yaml
+++ b/labs/ericsson/pod1.yaml
@@ -28,7 +28,7 @@ jumphost:
os: ubuntu-16.04
remote_para: &remoteparas
type: ipmi
- version:
+ versions:
- 1.0
- 2.0
user: opnfv
@@ -66,13 +66,13 @@ nodes:
- name: CI-ERICSSON-POD1-NODE1
node:
type: baremetal
- vendor: HP
- model: ProLiant BL460c Gen8
- arch: x86_64
- cpus: 2
- cpu_cflags: ivybridge
- cores: 10
- memory: 64G
+ vendor: HP
+ model: ProLiant BL460c Gen8
+ arch: x86_64
+ cpus: 2
+ cpu_cflags: ivybridge
+ cores: 10
+ memory: 64G
disks: # for nodes in the same pod may have the same configuration
- name: 'disk1'
disk_capacity: 800G
@@ -108,13 +108,13 @@ nodes:
- name: CI-ERICSSON-POD1-NODE2
node:
type: baremetal
- vendor: HP
- model: ProLiant BL460c Gen8
- arch: x86_64
- cpus: 2
- cpu_cflags: ivybridge
- cores: 10
- memory: 64G
+ vendor: HP
+ model: ProLiant BL460c Gen8
+ arch: x86_64
+ cpus: 2
+ cpu_cflags: ivybridge
+ cores: 10
+ memory: 64G
disks: # for nodes in the same pod may have the same configuration
- name: 'disk1'
disk_capacity: 800G
@@ -150,13 +150,13 @@ nodes:
- name: CI-ERICSSON-POD1-NODE3
node:
type: baremetal
- vendor: HP
- model: ProLiant BL460c Gen8
- arch: x86_64
- cpus: 2
- cpu_cflags: ivybridge
- cores: 10
- memory: 64G
+ vendor: HP
+ model: ProLiant BL460c Gen8
+ arch: x86_64
+ cpus: 2
+ cpu_cflags: ivybridge
+ cores: 10
+ memory: 64G
disks: # for nodes in the same pod may have the same configuration
- name: 'disk1'
disk_capacity: 800G
@@ -192,13 +192,13 @@ nodes:
- name: CI-ERICSSON-POD1-NODE4
node:
type: baremetal
- vendor: HP
- model: ProLiant BL460c Gen8
- arch: x86_64
- cpus: 2
- cpu_cflags: ivybridge
- cores: 10
- memory: 64G
+ vendor: HP
+ model: ProLiant BL460c Gen8
+ arch: x86_64
+ cpus: 2
+ cpu_cflags: ivybridge
+ cores: 10
+ memory: 64G
disks: # for nodes in the same pod may have the same configuration
- name: 'disk1'
disk_capacity: 800G
@@ -234,13 +234,13 @@ nodes:
- name: CI-ERICSSON-POD1-NODE5
node:
type: baremetal
- vendor: HP
- model: ProLiant BL460c Gen8
- arch: x86_64
- cpus: 2
- cpu_cflags: ivybridge
- cores: 10
- memory: 64G
+ vendor: HP
+ model: ProLiant BL460c Gen8
+ arch: x86_64
+ cpus: 2
+ cpu_cflags: ivybridge
+ cores: 10
+ memory: 64G
disks: # for nodes in the same pod may have the same configuration
- name: 'disk1'
disk_capacity: 800G
diff --git a/labs/ericsson/pod2.yaml b/labs/ericsson/pod2.yaml
index 8641891..66dabb3 100644
--- a/labs/ericsson/pod2.yaml
+++ b/labs/ericsson/pod2.yaml
@@ -66,14 +66,14 @@ nodes:
- name: CI-ERICSSON-POD2-NODE1
node:
type: baremetal
- vendor: HP
- model: ProLiant BL460c Gen9
- arch: x86_64
- cpus: 2
- cpu_cflags: haswell
- cores: 12
- memory: 128G
- disks: # for nodes in the same pod may have the same configuration
+ vendor: HP
+ model: ProLiant BL460c Gen9
+ arch: x86_64
+ cpus: 2
+ cpu_cflags: haswell
+ cores: 12
+ memory: 128G
+ disks: # for nodes in the same pod may have the same configuration
- name: 'disk1'
disk_capacity: 1200G
disk_type: hdd
@@ -108,13 +108,13 @@ nodes:
- name: CI-ERICSSON-POD2-NODE2
node:
type: baremetal
- vendor: HP
- model: ProLiant BL460c Gen9
- arch: x86_64
- cpus: 2
- cpu_cflags: haswell
- cores: 12
- memory: 128G
+ vendor: HP
+ model: ProLiant BL460c Gen9
+ arch: x86_64
+ cpus: 2
+ cpu_cflags: haswell
+ cores: 12
+ memory: 128G
disks: # for nodes in the same pod may have the same configuration
- name: 'disk1'
disk_capacity: 1200G
@@ -150,13 +150,13 @@ nodes:
- name: CI-ERICSSON-POD2-NODE3
node:
type: baremetal
- vendor: HP
- model: ProLiant BL460c Gen9
- arch: x86_64
- cpus: 2
- cpu_cflags: haswell
- cores: 12
- memory: 128G
+ vendor: HP
+ model: ProLiant BL460c Gen9
+ arch: x86_64
+ cpus: 2
+ cpu_cflags: haswell
+ cores: 12
+ memory: 128G
disks: # for nodes in the same pod may have the same configuration
- name: 'disk1'
disk_capacity: 1200G
@@ -192,13 +192,13 @@ nodes:
- name: CI-ERICSSON-POD2-NODE4
node:
type: baremetal
- vendor: HP
- model: ProLiant BL460c Gen9
- arch: x86_64
- cpus: 2
- cpu_cflags: haswell
- cores: 12
- memory: 128G
+ vendor: HP
+ model: ProLiant BL460c Gen9
+ arch: x86_64
+ cpus: 2
+ cpu_cflags: haswell
+ cores: 12
+ memory: 128G
disks: # for nodes in the same pod may have the same configuration
- name: 'disk1'
disk_capacity: 1200G
@@ -234,14 +234,14 @@ nodes:
- name: CI-ERICSSON-POD2-NODE5
node:
type: baremetal
- vendor: HP
- model: ProLiant BL460c Gen9
- arch: x86_64
- cpus: 2
- cpu_cflags: haswell
- cores: 12
- memory: 128G
- disks: # for nodes in the same pod may have the same configuration
+ vendor: HP
+ model: ProLiant BL460c Gen9
+ arch: x86_64
+ cpus: 2
+ cpu_cflags: haswell
+ cores: 12
+ memory: 128G
+ disks: # for nodes in the same pod may have the same configuration
- name: 'disk1'
disk_capacity: 1200G
disk_type: hdd