From dbe4d06ab1845a9c4a1465c4163cd80bfcdc787a Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Sat, 2 Mar 2019 12:24:38 +0100 Subject: [PDF/IDF] UNH virtual1 for LaaS/ONAP usage In order to fully utilize all available resources (88 CPU threads, 256GB RAM) in Fuel virtual deployments, add basic PDF/IDF files based on ericsson-virtual1 templates. IDF is mostly unchanged compared to idf-virtual1 from Ericsson lab. PDF allocates more disk capacity for the first node (controller role in Fuel deployments), as well as more vCPUs/RAM for the last 2 nodes (compute role in Fuel virtual deployments). While at it, align ericsson vPOD definitions to match the new format (2 disks should be defined for each compute node; account for HT). Change-Id: Iac8ee857a3297084ea9f087ba8007950413fda25 Signed-off-by: Alexandru Avadanii --- labs/unh/virtual1.yaml | 164 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 164 insertions(+) create mode 100644 labs/unh/virtual1.yaml (limited to 'labs/unh/virtual1.yaml') diff --git a/labs/unh/virtual1.yaml b/labs/unh/virtual1.yaml new file mode 100644 index 00000000..8dc2edda --- /dev/null +++ b/labs/unh/virtual1.yaml @@ -0,0 +1,164 @@ +############################################################################## +# Copyright (c) 2019 Ericsson AB, Mirantis Inc., 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 +############################################################################## +--- +### unh-virtual1 POD descriptor file ### + +version: 1.0 +details: + pod_owner: University of New Hampshire + contact: lincoln.lavoie@iol.unh.edu + lab: UNH lab + location: New Hampshire, USA + type: development + link: https://wiki.opnfv.org/display/INF/Lab+as+a+Service+2.0 +############################################################################## +jumphost: + name: unh-virtual1 + node: &jumpparams + type: baremetal + vendor: HP + model: ProLiant + arch: x86_64 + cpus: 2 + cpu_cflags: haswell + cores: 22 + memory: 512G + disks: + - name: 'disk1' + disk_capacity: 800G + disk_type: ssd + disk_interface: sata + disk_rotation: 0 + os: ubuntu-16.04 + remote_params: &remoteparas + type: ipmi + versions: + - 1.0 + - 2.0 + user: changeme + pass: changeme + remote_management: + <<: *remoteparas + address: 0.0.0.0/24 + mac_address: "00:00:00:00:00:00" + interfaces: + - name: 'nic1' + speed: 10gb + features: 'dpdk|sriov' + address: 100.64.202.5/24 + mac_address: "00:00:00:00:00:00" + - name: 'nic2' + speed: 10gb + features: 'dpdk|sriov' + mac_address: "00:00:00:00:00:00" + - name: 'nic3' + speed: 10gb + features: 'dpdk|sriov' + mac_address: "00:00:00:00:00:00" + - name: 'nic4' + speed: 10gb + features: 'dpdk|sriov' + mac_address: "00:00:00:00:00:00" +############################################################################## +nodes: + - name: node-1 + node: &nodeparams + <<: *jumpparams + # Fuel overrides certain params (e.g. cpus, mem) based on node role later + type: virtual + vendor: libvirt + model: virt + cpus: 1 + cores: 4 + memory: 14G + disks: + - name: 'disk1' + disk_capacity: 400G + disk_type: hdd + disk_interface: scsi # virtio-scsi + disk_rotation: &diskrotation 0 + remote_management: &remotemgmt + type: libvirt + user: changeme + pass: changeme + address: 'qemu:///system' + interfaces: &interfaces + - name: 'nic1' + speed: 1gb + features: 'dpdk|sriov' + mac_address: "00:00:00:00:00:00" # MACs will be assigned by libvirt + vlan: native + - name: 'nic2' + speed: 1gb + features: 'dpdk|sriov' + mac_address: "00:00:00:00:00:00" + vlan: native + - name: 'nic3' + speed: 1gb + features: 'dpdk|sriov' + mac_address: "00:00:00:00:00:00" + vlan: native + - name: 'nic4' + speed: 1gb + features: 'dpdk|sriov' + mac_address: "00:00:00:00:00:00" + vlan: native + ############################################################################ + - name: node-2 + node: + <<: *nodeparams + # Fuel overrides certain params (e.g. cpus, mem) based on node role later + cpus: 1 + cores: 4 + memory: 8G + disks: &disks + - name: 'disk1' + disk_capacity: 100G + disk_type: hdd + disk_interface: scsi # virtio-scsi + disk_rotation: *diskrotation + remote_management: *remotemgmt + interfaces: *interfaces + ############################################################################ + - name: node-3 + node: + <<: *nodeparams + # Fuel overrides certain params (e.g. cpus, mem) based on node role later + cpus: 1 + cores: 4 + memory: 8G + disks: *disks + remote_management: *remotemgmt + interfaces: *interfaces + ############################################################################ + - name: node-4 + node: &compute_nodeparams + <<: *nodeparams + # Fuel overrides certain params (e.g. cpus, mem) based on node role later + cpus: 2 + cores: 18 + memory: 120G + disks: &compute_disks + - name: 'disk1' + disk_capacity: 100G + disk_type: hdd + disk_interface: scsi # virtio-scsi + disk_rotation: *diskrotation + - name: 'disk2' + disk_capacity: 100G + disk_type: hdd + disk_interface: scsi # virtio-scsi + disk_rotation: *diskrotation + remote_management: *remotemgmt + interfaces: *interfaces + ############################################################################ + - name: node-5 + node: *compute_nodeparams + disks: *compute_disks + remote_management: *remotemgmt + interfaces: *interfaces -- cgit 1.2.3-korg