summaryrefslogtreecommitdiffstats
path: root/site/intel-pod15/profiles
diff options
context:
space:
mode:
authorJames Gu <james.gu@att.com>2020-09-30 16:06:14 -0700
committerJames Gu <james.gu@att.com>2020-10-05 14:33:43 -0700
commitc700639e5a29b1907976519918969b752d5be1e7 (patch)
tree4d779c4ac7cc76190df43a1df74c2b718804ff11 /site/intel-pod15/profiles
parentda4f1540dec64779c01f7d0258b1a748ace9b131 (diff)
Upgrade intel pod 15 to Airship 1.8
Depends: https://gerrit.opnfv.org/gerrit/c/airship/+/70158 Change-Id: Ic9b8a56de430d02f2f21e053a40c9c29ab40433f Signed-off-by: James Gu <james.gu@att.com>
Diffstat (limited to 'site/intel-pod15/profiles')
-rw-r--r--site/intel-pod15/profiles/hardware/intel-s2600wt.yaml (renamed from site/intel-pod15/profiles/hardware/intel-pod15.yaml)44
-rw-r--r--site/intel-pod15/profiles/host/cp-intel-pod15.yaml105
-rw-r--r--site/intel-pod15/profiles/host/dp-intel-pod15.yaml112
-rw-r--r--site/intel-pod15/profiles/region.yaml16
4 files changed, 17 insertions, 260 deletions
diff --git a/site/intel-pod15/profiles/hardware/intel-pod15.yaml b/site/intel-pod15/profiles/hardware/intel-s2600wt.yaml
index 207ee94..2dcc43b 100644
--- a/site/intel-pod15/profiles/hardware/intel-pod15.yaml
+++ b/site/intel-pod15/profiles/hardware/intel-s2600wt.yaml
@@ -2,30 +2,18 @@
schema: 'drydock/HardwareProfile/v1'
metadata:
schema: 'metadata/Document/v1'
- name: intel-pod15
+ replacement: true
+ name: intel-s2600wt
layeringDefinition:
abstract: false
layer: site
+ parentSelector:
+ name: intel-s2600wt
+ actions:
+ - method: replace
+ path: .device_aliases
storagePolicy: cleartext
data:
- # Vendor of the server chassis
- vendor: Intel
- # Generation of the chassis model
- generation: '4'
- # Version of the chassis model within its generation - not version of the hardware definition
- hw_version: '3'
- # The certified version of the chassis BIOS
- bios_version: 'SE5C610.86B.01.01.0019.101220160604'
- # Mode of the default boot of hardware - bios, uefi
- boot_mode: bios
- # Protocol of boot of the hardware - pxe, usb, hdd
- bootstrap_protocol: pxe
- # Which interface to use for network booting within the OOB manager, not OS device
- pxe_interface: 0
-
- # Map hardware addresses to aliases/roles to allow a mix of hardware configs
- # in a site to result in a consistent configuration
-
device_aliases:
## network
# $ sudo lspci |grep -i ethernet
@@ -46,14 +34,14 @@ data:
bus_type: 'pci'
# data networks
- # ens785f1
+ # ens785f0
data_nic1:
- address: '0000:05:00.1'
+ address: '0000:05:00.0'
dev_type: '82599ES 10-Gigabit SFI/SFP+ Network Connection'
bus_type: 'pci'
- # ens785f0
+ # ens785f1
data_nic2:
- address: '0000:05:00.0'
+ address: '0000:05:00.1'
dev_type: '82599ES 10-Gigabit SFI/SFP+ Network Connection'
bus_type: 'pci'
@@ -78,17 +66,11 @@ data:
# /dev/sda
bootdisk:
address: '0:0.0.0'
- dev_type: 'SSDSC2BB48'
+ dev_type: 'INTEL SSDSC2BB48'
bus_type: 'scsi'
# /dev/sdb
datadisk:
address: '1:0.0.0'
- dev_type: 'MG03ACA1'
+ dev_type: 'TOSHIBA MG03ACA1'
bus_type: 'scsi'
- cpu_sets:
- kvm: '4-43,48-87'
- hugepages:
- dpdk:
- size: '1G'
- count: 32
...
diff --git a/site/intel-pod15/profiles/host/cp-intel-pod15.yaml b/site/intel-pod15/profiles/host/cp-intel-pod15.yaml
deleted file mode 100644
index 5708f12..0000000
--- a/site/intel-pod15/profiles/host/cp-intel-pod15.yaml
+++ /dev/null
@@ -1,105 +0,0 @@
----
-# The primary control plane host profile for Airship for DELL R720s, and
-# should not need to be altered if you are using matching HW. The active
-# participants in the Ceph cluster run on this profile. Other control plane
-# services are not affected by primary vs secondary designation.
-schema: drydock/HostProfile/v1
-metadata:
- schema: metadata/Document/v1
- name: cp-intel-pod15
- storagePolicy: cleartext
- layeringDefinition:
- abstract: false
- layer: site
- parentSelector:
- hosttype: cp-global
- actions:
- - method: replace
- path: .interfaces
- - method: replace
- path: .storage
- - method: merge
- path: .
-data:
- hardware_profile: intel-pod15
-
- primary_network: dmz
- interfaces:
- dmz:
- device_link: dmz
- slaves:
- - ctrl_nic1
- networks:
- - dmz
- admin:
- device_link: admin
- slaves:
- - ctrl_nic2
- networks:
- - admin
- data1:
- device_link: data1
- slaves:
- - data_nic1
- networks:
- - private
- - management
- data2:
- device_link: data2
- slaves:
- - data_nic2
- networks:
- - storage
- - public
-
- storage:
- physical_devices:
- bootdisk:
- labels:
- bootdrive: 'true'
- partitions:
- - name: 'root'
- size: '30g'
- bootable: true
- filesystem:
- mountpoint: '/'
- fstype: 'ext4'
- mount_options: 'defaults'
- - name: 'boot'
- size: '1g'
- filesystem:
- mountpoint: '/boot'
- fstype: 'ext4'
- mount_options: 'defaults'
- - name: 'var_log'
- size: '100g'
- filesystem:
- mountpoint: '/var/log'
- fstype: 'ext4'
- mount_options: 'defaults'
- - name: 'var'
- size: '>100g'
- filesystem:
- mountpoint: '/var'
- fstype: 'ext4'
- mount_options: 'defaults'
-
- datadisk:
- partitions:
- - name: 'ceph'
- size: '99%'
- filesystem:
- mountpoint: '/var/lib/ceph'
- fstype: 'ext4'
- mount_options: 'defaults'
-
- platform:
- image: 'xenial'
- kernel: 'hwe-16.04'
- kernel_params:
- kernel_package: 'linux-image-4.15.0-46-generic'
-
- metadata:
- owner_data:
- openstack-l3-agent: enabled
-...
diff --git a/site/intel-pod15/profiles/host/dp-intel-pod15.yaml b/site/intel-pod15/profiles/host/dp-intel-pod15.yaml
deleted file mode 100644
index 25e8b52..0000000
--- a/site/intel-pod15/profiles/host/dp-intel-pod15.yaml
+++ /dev/null
@@ -1,112 +0,0 @@
----
-# The data plane host profile for Airship for DELL R720s, and should
-# not need to be altered if you are using matching HW. The host profile is setup
-# for cpu isolation (for nova pinning), hugepages, and sr-iov.
-schema: drydock/HostProfile/v1
-metadata:
- schema: metadata/Document/v1
- name: dp-intel-pod15
- storagePolicy: cleartext
- layeringDefinition:
- abstract: false
- layer: type
- parentSelector:
- hosttype: dp-global
- actions:
- - method: replace
- path: .interfaces
- - method: replace
- path: .storage
- - method: merge
- path: .
-data:
- hardware_profile: intel-pod15
-
- primary_network: dmz
- interfaces:
- dmz:
- device_link: dmz
- slaves:
- - ctrl_nic1
- networks:
- - dmz
- admin:
- device_link: admin
- slaves:
- - ctrl_nic2
- networks:
- - admin
- data1:
- device_link: data1
- slaves:
- - data_nic1
- networks:
- - private
- - management
- data2:
- device_link: data2
- slaves:
- - data_nic2
- networks:
- - storage
- - public
-
- storage:
- physical_devices:
- bootdisk:
- labels:
- bootdrive: 'true'
- partitions:
- - name: 'root'
- size: '30g'
- bootable: true
- filesystem:
- mountpoint: '/'
- fstype: 'ext4'
- mount_options: 'defaults'
- - name: 'boot'
- size: '1g'
- filesystem:
- mountpoint: '/boot'
- fstype: 'ext4'
- mount_options: 'defaults'
- - name: 'log'
- size: '100g'
- filesystem:
- mountpoint: '/var/log'
- fstype: 'ext4'
- mount_options: 'defaults'
- - name: 'var'
- size: '>100g'
- filesystem:
- mountpoint: '/var'
- fstype: 'ext4'
- mount_options: 'defaults'
-
- datadisk:
- partitions:
- - name: 'ceph'
- size: '99%'
- filesystem:
- mountpoint: '/var/lib/ceph'
- fstype: 'ext4'
- mount_options: 'defaults'
-
- platform:
- image: 'xenial'
- kernel: 'hwe-16.04'
- kernel_params:
- kernel_package: 'linux-image-4.15.0-46-generic'
- intel_iommu: 'on'
- iommu: 'pt'
- amd_iommu: 'on'
- cgroup_disable: 'hugetlb'
- transparent_hugepage: 'never'
- hugepagesz: 'hardwareprofile:hugepages.dpdk.size'
- hugepages: 'hardwareprofile:hugepages.dpdk.count'
- default_hugepagesz: 'hardwareprofile:hugepages.dpdk.size'
- isolcpus: 'hardwareprofile:cpuset.kvm'
- metadata:
- owner_data:
- sriov: enabled
-...
diff --git a/site/intel-pod15/profiles/region.yaml b/site/intel-pod15/profiles/region.yaml
index fd8d987..8db707a 100644
--- a/site/intel-pod15/profiles/region.yaml
+++ b/site/intel-pod15/profiles/region.yaml
@@ -1,5 +1,5 @@
---
-# The purpose of this file is to define the drydock Region, which in turn drives
+# The purpose of this file is to define the Drydock Region, which in turn drives
# the MaaS region.
schema: 'drydock/Region/v1'
metadata:
@@ -17,7 +17,7 @@ metadata:
schema: pegleg/SoftwareVersions/v1
name: software-versions
path: .packages.repositories.main_archive
- # NEWSITE-CHANGEME: Substitutions from deckhand SSH public keys into the
+ # NEWSITE-CHANGEME: Substitutions from Deckhand SSH public keys into the
# list of authorized keys which MaaS will register for the build-in "ubuntu"
# account during the PXE process. Create a substitution rule for each SSH
# key that should have access to the "ubuntu" account (useful for trouble-
@@ -30,7 +30,7 @@ metadata:
schema: deckhand/PublicKey/v1
# This should match the "name" metadata of the SSH key which will be
# substituted, located in site/intel-pod15/secrets folder.
- name: sridhar_ssh_public_key
+ name: jenkins_ssh_public_key
path: .
- dest:
# Increment the list index
@@ -38,15 +38,7 @@ metadata:
src:
schema: deckhand/PublicKey/v1
# your ssh key
- name: mfix_ssh_public_key
- path: .
- - dest:
- # Increment the list index
- path: .authorized_keys[2]
- src:
- schema: deckhand/PublicKey/v1
- # your ssh key
- name: cedric_ssh_public_key
+ name: jamesg_ssh_public_key
path: .
data:
tag_definitions: []