Browse Source

Merge "HW profile for airship-seaworthy servers"

changes/07/596407/2
Zuul 3 years ago
committed by Gerrit Code Review
parent
commit
ad92036b40
  1. 71
      site/airship-seaworthy/profiles/hardware/dell_r720.yaml
  2. 34
      site/airship-seaworthy/profiles/host/cp_r720.yaml
  3. 25
      site/airship-seaworthy/profiles/host/dp_r720.yaml

71
site/airship-seaworthy/profiles/hardware/dell_r720.yaml

@ -0,0 +1,71 @@
---
schema: 'drydock/HardwareProfile/v1'
metadata:
schema: 'metadata/Document/v1'
name: dell_r720
layeringDefinition:
abstract: false
layer: site
storagePolicy: cleartext
data:
# Vendor of the server chassis
vendor: DELL
# Generation of the chassis model
generation: '8'
# 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: '2.2.3'
# 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
# eno1
pxe_nic01:
address: '0000:01:00.0'
# type could identify expected hardware - used for hardware manifest validation
dev_type: 'I350 Gigabit Network Connection'
bus_type: 'pci'
# enp67s0f0
data_nic01:
address: '0000:43:00.0'
dev_type: 'Ethernet 10G 2P X520 Adapter'
bus_type: 'pci'
# enp67s0f1
data_nic02:
address: '0000:43:00.1'
dev_type: 'Ethernet 10G 2P X520 Adapter'
bus_type: 'pci'
# enp68s0f0
data_nic03:
address: '0000:44:00.0'
dev_type: 'Ethernet 10G 2P X520 Adapter'
bus_type: 'pci'
# enp68s0f1
data_nic04:
address: '0000:44:00.1'
dev_type: 'Ethernet 10G 2P X520 Adapter'
bus_type: 'pci'
## storage
# /dev/sda
bootdisk:
address: '0:2.0.0'
dev_type: 'PERC H710P'
bus_type: 'scsi'
# /dev/sdb
cephjournal:
address: '0:2.1.0'
dev_type: 'PERC H710P'
bus_type: 'scsi'
# /dev/sdc
ephemeral:
address: '0:2.2.0'
dev_type: 'PERC H710P'
bus_type: 'scsi'
...

34
site/airship-seaworthy/profiles/host/cp_r720.yaml

@ -21,24 +21,23 @@ metadata:
- method: merge
path: .
data:
# TODO: fixup proper HW profiles
hardware_profile: DELL_HP_Generic
hardware_profile: dell_r720
primary_network: oam
interfaces:
pxe:
device_link: pxe
slaves:
- eno1
- pxe_nic01
networks:
- pxe
bond0:
device_link: data
slaves:
- enp67s0f0
- enp67s0f1
- enp68s0f0
- enp68s0f1
- data_nic01
- data_nic02
- data_nic03
- data_nic04
networks:
- oam
- storage
@ -47,7 +46,7 @@ data:
storage:
physical_devices:
sda:
bootdisk:
labels:
bootdrive: 'true'
partitions:
@ -76,7 +75,7 @@ data:
mountpoint: '/var'
fstype: 'ext4'
mount_options: 'defaults'
sdb:
cephjournal:
partitions:
- name: 'cephj'
size: '100g'
@ -115,24 +114,23 @@ metadata:
- method: merge
path: .
data:
# TODO: fixup proper HW profiles
hardware_profile: DELL_HP_Generic
hardware_profile: dell_r720
primary_network: oam
interfaces:
pxe:
device_link: pxe
slaves:
- eno1
- pxe_nic01
networks:
- pxe
bond0:
device_link: data
slaves:
- enp67s0f0
- enp67s0f1
- enp68s0f0
- enp68s0f1
- data_nic01
- data_nic02
- data_nic03
- data_nic04
networks:
- oam
- storage
@ -141,7 +139,7 @@ data:
storage:
physical_devices:
sda:
bootdisk:
labels:
bootdrive: 'true'
partitions:
@ -170,7 +168,7 @@ data:
mountpoint: '/var'
fstype: 'ext4'
mount_options: 'defaults'
sdb:
cephjournal:
partitions:
- name: 'cephj'
size: '100g'

25
site/airship-seaworthy/profiles/host/dp_r720.yaml

@ -20,24 +20,23 @@ metadata:
- method: merge
path: .
data:
# TODO: fixup proper HW profiles
hardware_profile: DELL_HP_Generic
hardware_profile: dell_r720
primary_network: oam
interfaces:
pxe:
device_link: pxe
slaves:
- eno1
- pxe_nic01
networks:
- pxe
bond0:
device_link: data
slaves:
- enp67s0f0
- enp67s0f1
- enp68s0f0
- enp68s0f1
- data_nic01
- data_nic02
- data_nic03
- data_nic04
networks:
- oam
- storage
@ -46,7 +45,7 @@ data:
storage:
physical_devices:
sda:
bootdisk:
labels:
bootdrive: 'true'
partitions:
@ -75,7 +74,15 @@ data:
mountpoint: '/var'
fstype: 'ext4'
mount_options: 'defaults'
sdb:
cephjournal:
partitions:
- name: 'cephj'
size: '100g'
filesystem:
mountpoint: '/var/lib/ceph/dp'
fstype: 'xfs'
mount_options: 'defaults'
ephemeral:
partitions:
- name: 'nova'
size: '99%'

Loading…
Cancel
Save