From 94deb1eb96957f71eecd91ebde1e3a4eebddac84 Mon Sep 17 00:00:00 2001 From: Ciprian Barbu Date: Thu, 18 Jun 2020 19:11:32 +0300 Subject: [PATCH] ci/labs: Add baremetal1 PDF/IDF config files ubuntu1804-dev-32c-128g-1 is a jumpserver for a ThunderX-based POD, hosted by the UNH Community Shared Lab for Akraino. JIRA: IEC-49 Signed-off-by: Ciprian Barbu Change-Id: I6e90b7a1e0de44536cfd6226942378443b749e4e --- ci/labs/unh/baremetal1.yaml | 179 ++++++++++++++++++++++++++++++++++++++++ ci/labs/unh/idf-baremetal1.yaml | 113 +++++++++++++++++++++++++ 2 files changed, 292 insertions(+) create mode 100644 ci/labs/unh/baremetal1.yaml create mode 100644 ci/labs/unh/idf-baremetal1.yaml diff --git a/ci/labs/unh/baremetal1.yaml b/ci/labs/unh/baremetal1.yaml new file mode 100644 index 0000000..9620bd3 --- /dev/null +++ b/ci/labs/unh/baremetal1.yaml @@ -0,0 +1,179 @@ +############################################################################## +# Copyright (c) 2020 Enea AB and others. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## +--- +### Akraino ThunderX2 POD 2 descriptor file ### + +version: 1.0 +details: + pod_owner: Akraino UNH + contact: aleblanc@iol.unh.edu + lab: Akraino UNH lab + location: New Hampshire, USA + type: production + link: https://wiki.akraino.org/display/AK/ThunderX2+Pod+2 +############################################################################## +jumphost: + name: ampere-jumphost2 + node: + type: baremetal + vendor: Ampere + model: HR330 + arch: aarch64 + cpus: 1 + cpu_cflags: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid + cores: 32 + memory: 128G + disks: + ## /dev/sda + - name: disk1 + disk_capacity: 450G + disk_type: ssd + disk_interface: sata + disk_rotation: 0 + os: ubuntu-18.04 + remote_params: &remote_params + type: ipmi + versions: + - 2.0 + user: ADMIN + pass: ADMIN + remote_management: + <<: *remote_params + address: 10.11.3.18 + mac_address: "98:FA:9B:02:6E:BC" + interfaces: + - mac_address: "B8:59:9F:0E:52:A0" + speed: 10gb + features: '' + name: 'nic1' + - mac_address: "B8:59:9F:0E:52:A1" + speed: 10gb + features: 'dpdk|sriov' + name: 'nic2' + - mac_address: "00:1B:21:E0:6F:59" + speed: 1gb + features: 'dpdk|sriov' + name: 'nic3' +############################################################################## +nodes: + - name: gigabyte4 + node: &nodeparams + type: baremetal + vendor: Marvell + model: ThunderX2 + arch: aarch64 + cpus: 2 + cpu_cflags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics cpuid asimdrdm + cores: 56 + memory: 128G + disks: &disks + - name: disk1 + disk_capacity: 450G + disk_type: ssd + disk_interface: sata + disk_rotation: 0 + - name: disk2 + disk_capacity: 1T + disk_type: hdd + disk_interface: sata + disk_rotation: 0 + remote_management: + <<: *remote_params + address: 10.11.3.14 + mac_address: "E0:D5:5E:AE:59:42" + interfaces: + - mac_address: "B4:96:91:4D:27:90" + speed: 10gb + features: '' + name: 'nic1' + - mac_address: "B4:96:91:4D:27:91" + speed: 10gb + features: '' + name: 'nic2' + - mac_address: "E0:D5:5E:AE:59:40" + speed: 10gb + features: 'dpdk|sriov' + name: 'nic3' + - mac_address: "E0:D5:5E:AE:59:41" + speed: 10gb + features: 'dpdk|sriov' + name: 'nic4' + - mac_address: "98:03:9B:CB:FB:64" + speed: 40gb + features: 'dpdk|sriov' + name: 'nic5' + - mac_address: "98:03:9B:CB:FB:65" + speed: 40gb + features: 'dpdk|sriov' + name: 'nic6' + ############################################################################ + - name: gigabyte5 + node: *nodeparams + disks: *disks + remote_management: + <<: *remote_params + address: 10.11.3.15 + mac_address: "E0:D5:5E:AE:59:6A" + interfaces: + - mac_address: "B4:96:91:4F:10:54" + speed: 10gb + features: '' + name: 'nic1' + - mac_address: "B4:96:91:4F:10:55" + speed: 10gb + features: '' + name: 'nic2' + - mac_address: "E0:D5:5E:AE:59:68" + speed: 10gb + features: 'dpdk|sriov' + name: 'nic3' + - mac_address: "E0:D5:5E:AE:59:69" + speed: 10gb + features: 'dpdk|sriov' + name: 'nic4' + - mac_address: "98:03:9B:CB:FB:30" + speed: 40gb + features: 'dpdk|sriov' + name: 'nic5' + - mac_address: "98:03:9B:CB:FB:31" + speed: 40gb + features: 'dpdk|sriov' + name: 'nic6' + ############################################################################ + - name: gigabyte6 + node: *nodeparams + disks: *disks + remote_management: + <<: *remote_params + address: 10.11.3.16 + mac_address: "E0:D5:5E:AE:59:42" + interfaces: + - mac_address: "B4:96:91:4D:26:90" + speed: 10gb + features: '' + name: 'nic1' + - mac_address: "B4:96:91:4D:26:91" + speed: 10gb + features: '' + name: 'nic2' + - mac_address: "E0:D5:5E:AE:59:70" + speed: 10gb + features: 'dpdk|sriov' + name: 'nic3' + - mac_address: "E0:D5:5E:AE:59:71" + speed: 10gb + features: 'dpdk|sriov' + name: 'nic4' + - mac_address: "98:03:9B:B4:27:72" + speed: 40gb + features: 'dpdk|sriov' + name: 'nic5' + - mac_address: "98:03:9B:B4:27:73" + speed: 40gb + features: 'dpdk|sriov' + name: 'nic6' diff --git a/ci/labs/unh/idf-baremetal1.yaml b/ci/labs/unh/idf-baremetal1.yaml new file mode 100644 index 0000000..006e6e0 --- /dev/null +++ b/ci/labs/unh/idf-baremetal1.yaml @@ -0,0 +1,113 @@ +############################################################################## +# Copyright (c) 2020 Enea AB and others. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## +--- +### Akraino ThunderX2 POD 2 installer descriptor file ### + +idf: + version: 0.1 + installer: ['apex', 'compass4nfv', 'daisy', 'fuel'] + net_config: + oob: + ip-range: 10.11.3.14-10.11.3.16 + vlan: native + mask: 24 + admin: + interface: 2 + vlan: native + network: 192.168.11.0 + mask: 24 + mgmt: + interface: 5 + vlan: 3006 + network: 172.16.10.0 + ip-range: 172.16.10.10-172.16.10.254 # Some IPs are in use by lab infra + mask: 24 + storage: # Not actually needed for IEC + interface: 5 + vlan: 3007 + network: 10.2.0.0 + mask: 24 + private: # Not actually needed for IEC + interface: 5 + vlan: 3008 + network: 10.1.0.0 + mask: 24 + public: + interface: 4 + vlan: native + network: 10.11.4.0 + ip-range: 10.11.4.100-10.11.4.253 # Some IPs are in use by lab infra + mask: 24 + gateway: 10.11.4.1 + dns: + - 8.8.8.8 + - 8.8.4.4 + fuel: + jumphost: + bridges: + admin: 'admin_br0' + mgmt: 'mgmt_br0' + private: ~ + public: 'public_br0' + maas: + # MaaS timeouts (in minutes) + timeout_comissioning: 25 + timeout_deploying: 35 + network: + node: + # Ordered-list, index should be in sync with node index in PDF + - interfaces: &interfaces + # Ordered-list, index should be in sync with interface index in PDF + - 'enp5s0f0' + - 'enp5s0f1' + - 'eno1' + - 'eno2' + - 'enp145s0f0' + - 'enp145s0f1' + busaddr: &busaddr + # Bus-info reported by `ethtool -i ethX` + - '0000:05:00.0' + - '0000:05:00.1' + - '0000:0c:00.0' + - '0000:0c:00.1' + - '0000:91:00.0' + - '0000:91:00.1' + - interfaces: *interfaces + busaddr: *busaddr + - interfaces: *interfaces + busaddr: *busaddr + - interfaces: *interfaces + busaddr: *busaddr + - interfaces: *interfaces + busaddr: *busaddr + reclass: + node: + - compute_params: &compute_params + common: + nova_cpu_pinning: &nova_cpu_pinning_common "8-47" + compute_hugepages_size: 2M + compute_hugepages_count: 8192 + compute_hugepages_mount: /mnt/hugepages_2M + compute_kernel_isolcpu: *nova_cpu_pinning_common + dpdk: + nova_cpu_pinning: "12-47" + compute_hugepages_size: 1G + compute_hugepages_count: 16 + compute_hugepages_mount: /mnt/hugepages_1G + compute_kernel_isolcpu: *nova_cpu_pinning_common + compute_dpdk_driver: vfio + compute_ovs_pmd_cpu_mask: "0x300" + compute_ovs_dpdk_socket_mem: "2048" + compute_ovs_dpdk_lcore_mask: "0xC00" + compute_ovs_memory_channels: "2" + dpdk0_driver: vfio-pci + dpdk0_n_rxq: 2 + - compute_params: *compute_params + - compute_params: *compute_params + - compute_params: *compute_params + - compute_params: *compute_params -- 2.16.6