summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore3
-rw-r--r--INFO8
-rw-r--r--INFO.yaml79
-rw-r--r--config/installers/fuel/net_macros.j221
-rw-r--r--config/installers/fuel/net_map.j212
-rw-r--r--config/installers/fuel/pod_config.yml.j27
-rw-r--r--config/pdf/idf-pod1.schema.yaml2
-rw-r--r--config/pdf/pod1.schema.yaml4
-rw-r--r--docs/conf.py8
-rw-r--r--docs/conf.yaml10
-rw-r--r--docs/requirements.txt9
-rw-r--r--labs/arm/idf-pod10.yaml148
-rw-r--r--labs/arm/idf-pod5.yaml22
-rw-r--r--labs/arm/idf-pod6.yaml6
-rw-r--r--labs/arm/idf-pod7.yaml6
-rw-r--r--labs/arm/idf-pod8.yaml6
-rw-r--r--labs/arm/idf-pod9.yaml6
-rw-r--r--labs/arm/idf-virtual2.yaml3
-rw-r--r--labs/arm/pod10.yaml322
-rw-r--r--labs/arm/pod5.yaml16
-rw-r--r--labs/arm/virtual2.yaml24
-rw-r--r--labs/ericsson/idf-virtual-pod1bl01.yaml5
-rw-r--r--labs/ericsson/idf-virtual1.yaml5
-rw-r--r--labs/ericsson/idf-virtual2.yaml5
-rw-r--r--labs/ericsson/idf-virtual3.yaml5
-rw-r--r--labs/ericsson/idf-virtual4.yaml5
-rw-r--r--labs/ericsson/idf-virtual5.yaml5
-rw-r--r--labs/ericsson/virtual-pod1bl01.yaml24
-rw-r--r--labs/ericsson/virtual1.yaml24
-rw-r--r--labs/ericsson/virtual2.yaml24
-rw-r--r--labs/ericsson/virtual3.yaml24
-rw-r--r--labs/ericsson/virtual4.yaml24
-rw-r--r--labs/ericsson/virtual5.yaml25
-rw-r--r--labs/intel/idf-pod18.yaml77
-rw-r--r--labs/intel/pod18.yaml16
-rw-r--r--labs/itri/idf-pod1.yaml92
-rw-r--r--labs/itri/pod1.yaml295
-rw-r--r--labs/unh/idf-virtual1.yaml105
-rw-r--r--labs/unh/virtual1.yaml164
-rw-r--r--tox.ini24
40 files changed, 1555 insertions, 115 deletions
diff --git a/.gitignore b/.gitignore
index 1b737286..596f179d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -47,7 +47,7 @@ coverage.xml
*.log
# Sphinx documentation
-docs/_build/
+docs/_build/*
# PyBuilder
target/
@@ -58,7 +58,6 @@ target/
*~
.*.sw?
-/docs_build/
/docs_output/
/releng/
diff --git a/INFO b/INFO
index 2ebe872e..06a7a04b 100644
--- a/INFO
+++ b/INFO
@@ -2,8 +2,8 @@ Project: Testbed infrastructure (Pharos)
Project Creation Date: January 8, 2015
Project Category: Integration & Testing
Lifecycle State: Mature
-Primary Contact: Julien Zhang (zhang.jun3g@zte.com.cn)
-Project Lead: Julien Zhang (zhang.jun3g@zte.com.cn)
+Primary Contact: Jack Morgan <jack@jento.io>
+Project Lead: Jack Morgan <jack@jento.io>
Jira Project Name: Testbed infrastructure project
Jira Project Prefix: PHAROS
Mailing list tag: [pharos]
@@ -16,8 +16,8 @@ Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Aric Gardner <agardner@linuxfoundation.org>
Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Guillermo Herrero <guillermo.herrero@enea.com>
-Jack Morgan <jack.morgan@intel.com>
-Julien Zhang <zhang.jun3g@zte.com.cn>
+Jack Morgan <jack@jento.io>
+Julien Zhang <julienjut@gmail.com>
Parker Berberian <pberberian@iol.unh.edu>
Trevor Bramwell <tbramwell@linuxfoundation.org>
Trevor Cooper <trevor.cooper@intel.com>
diff --git a/INFO.yaml b/INFO.yaml
new file mode 100644
index 00000000..d889f04c
--- /dev/null
+++ b/INFO.yaml
@@ -0,0 +1,79 @@
+---
+project: 'Testbed infrastructure (Pharos)'
+project_creation_date: 'January 8, 2015'
+project_category: 'Integration & Testing'
+lifecycle_state: 'Mature'
+project_lead: &opnfv_pharos_ptl
+ name: 'Jack Morgan'
+ email: 'jack@jento.io'
+ id: 'jentoio'
+ company: 'none'
+ timezone: 'PDT(UTC-7)'
+primary_contact: *opnfv_pharos_ptl
+issue_tracking:
+ type: 'jira'
+ url: 'https://jira.opnfv.org/projects/PHAROS'
+ key: 'PHAROS'
+mailing_list:
+ type: 'mailman2'
+ url: 'opnfv-tech-discuss@lists.opnfv.org'
+ tag: '[pharos]'
+realtime_discussion:
+ type: irc
+ server: 'freenode.net'
+ channel: '#opnfv-pharos'
+meetings:
+ - type: 'gotomeeting+irc'
+ agenda: # eg: 'https://wiki.opnfv.org/display/'
+ url: # eg: 'https://global.gotomeeting.com/join/819733085'
+ server: 'freenode.net'
+ channel: '#opnfv-meeting'
+ repeats: 'weekly'
+ time: # eg: '16:00 UTC'
+repositories:
+ - 'pharos'
+ - 'pharos-tools'
+committers:
+ - <<: *opnfv_pharos_ptl
+ - name: 'Wenjing Chu'
+ email: 'chu.wenjing@gmail.com'
+ company: 'gmail.com'
+ id: 'wenjing'
+ - name: 'Morgan Richomme'
+ email: 'morgan.richomme@orange.com'
+ company: 'orange.com'
+ id: 'mrichomme'
+ - name: 'Trevor Cooper'
+ email: 'trevor.cooper@intel.com'
+ company: 'intel.com'
+ id: 'trev'
+ - name: 'Jose Lausuch'
+ email: 'jalausuch@suse.com'
+ company: 'suse.com'
+ id: 'jose.lausuch'
+ - name: 'Fatih Degirmenci'
+ email: 'fdegir@gmail.com'
+ company: 'gmail.com'
+ id: 'fdegir'
+ - name: 'julien zhang'
+ email: 'julienjut@gmail.com'
+ company: 'gmail.com'
+ id: 'Julien-zte'
+ - name: 'Aric Gardner'
+ email: 'agardner@linuxfoundation.org'
+ company: 'linuxfoundation.org'
+ id: 'agardner'
+ - name: 'Trevor Bramwell'
+ email: 'tbramwell@linuxfoundation.org'
+ company: 'linuxfoundation.org'
+ id: 'bramwelt'
+ - name: 'Alexandru Avadanii'
+ email: 'Alexandru.Avadanii@enea.com'
+ company: 'enea.com'
+ id: 'AlexandruAvadanii'
+ - name: 'Guillermo Herrero'
+ email: 'guillermo.herrero@enea.com'
+ company: 'enea.com'
+ id: 'gherrero'
+tsc:
+ approval: 'http//meetbot.opnfv.org/meetings/opnfv-meeting/'
diff --git a/config/installers/fuel/net_macros.j2 b/config/installers/fuel/net_macros.j2
index b9693d11..c0a5d329 100644
--- a/config/installers/fuel/net_macros.j2
+++ b/config/installers/fuel/net_macros.j2
@@ -5,24 +5,25 @@
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
-{%- macro linux_network_interfaces_nic(nics) -%}
+{%- macro linux_network_interfaces_nic(nics, proto = 'manual') -%}
{%- for nic in nics %}
{{ nic }}:
enabled: true
type: eth
- proto: manual
+ proto: {{ proto }}
mtu: ${_param:interface_mtu}
name: {{ nic }}
noifupdown: true
{%- endfor %}
{%- endmacro -%}
-{%- macro linux_network_interfaces_vlan(vlans) -%}
+{%- macro linux_network_interfaces_vlan(vlans, proto = 'manual') -%}
{%- for vlan in vlans %}
{%- if vlan | int > 0 %}
{{ vlans[vlan] }}.{{ vlan }}:
enabled: true
- proto: manual
+ proto: {{ proto }}
+ mtu: ${_param:interface_mtu}
type: vlan
name: {{ vlans[vlan] }}.{{ vlan }}
use_interfaces:
@@ -34,3 +35,15 @@
{%- macro interface_str(nic, vlan = 0) -%}
{{ nic }}{% if vlan | int > 0 %}.{{ vlan }}{% endif %}
{%- endmacro -%}
+
+{%- macro vpp_interface_str(speed, pci_addr, driver = '') -%}
+ {%- set p = pci_addr.replace('.', ':').split(':') -%}
+ {%- set s = 'Ethernet%d/%d/%d' | format(p[-3] | int(0, 16),
+ p[-2] | int(0, 16),
+ p[-1] | int(0, 16)) -%}
+ {%- if 'vfio' in driver -%}
+ VirtualFunction{{ s }}
+ {%- else -%}
+ {% if '40g' in speed %}Forty{% elif '10g' in speed %}Ten{% endif %}Gigabit{{ s }}
+ {%- endif -%}
+{%- endmacro -%}
diff --git a/config/installers/fuel/net_map.j2 b/config/installers/fuel/net_map.j2
index a12159ea..bc1ac789 100644
--- a/config/installers/fuel/net_map.j2
+++ b/config/installers/fuel/net_map.j2
@@ -36,6 +36,7 @@
{#- Physical interface OS name for each network (e.g. em1, enp1s0f1) #}
{%- for role in [ctl01, cmp001] %}
+ {%- if role.idx < conf.nodes | length %}
{%- set node = conf.idf.fuel.network.node[role.idx] %}
{%- do role.update({
'nic_mcp': node.interfaces[idx_mcp],
@@ -45,6 +46,7 @@
'nic_public': node.interfaces[idx_public],
'bus_private': node.busaddr[idx_private]}) %}
{#- PCI addresses are only used on computes for DPDK on private net #}
+ {%- endif %}
{%- endfor %}
{%- set net_admin = [net.admin.network, net.admin.mask] | join("/") %}
@@ -101,6 +103,8 @@
'opnfv_openstack_control_node02_pxe_admin_address',
'opnfv_openstack_control_node03_pxe_admin_address',
'opnfv_opendaylight_server_node01_pxe_admin_address',
+ 'opnfv_opendaylight_server_node02_pxe_admin_address',
+ 'opnfv_opendaylight_server_node03_pxe_admin_address',
'opnfv_stacklight_monitor_node01_pxe_admin_address',
'opnfv_stacklight_monitor_node02_pxe_admin_address',
'opnfv_stacklight_monitor_node03_pxe_admin_address',
@@ -140,7 +144,10 @@
'opnfv_openstack_control_node01_address',
'opnfv_openstack_control_node02_address',
'opnfv_openstack_control_node03_address',
- 'opnfv_opendaylight_server_node01_single_address',
+ 'opnfv_opendaylight_server_address',
+ 'opnfv_opendaylight_server_node01_address',
+ 'opnfv_opendaylight_server_node02_address',
+ 'opnfv_opendaylight_server_node03_address',
'opnfv_stacklight_monitor_address',
'opnfv_stacklight_monitor_node01_address',
'opnfv_stacklight_monitor_node02_address',
@@ -163,7 +170,8 @@
'opnfv_openstack_gateway_node03_external_address',
'opnfv_openstack_control_node01_external_address',
'opnfv_openstack_control_node02_external_address',
- 'opnfv_openstack_control_node03_external_address'] %}
+ 'opnfv_openstack_control_node03_external_address',
+ 'opnfv_opendaylight_server_external_address'] %}
{%- set net_private_hosts = [
'opnfv_openstack_gateway_node01_tenant_address',
diff --git a/config/installers/fuel/pod_config.yml.j2 b/config/installers/fuel/pod_config.yml.j2
index ad406891..657bc2c1 100644
--- a/config/installers/fuel/pod_config.yml.j2
+++ b/config/installers/fuel/pod_config.yml.j2
@@ -13,9 +13,10 @@ parameters:
region:
machines:
{%- set ctl_roles = 3 if 'virtual' not in conf else conf.virtual.nodes.control | length %}
+ {%- set has_cmp = True if 'virtual' not in conf else 'compute' in conf.virtual.nodes %}
{%- for node in conf.nodes %}
{%- if (node.node.type == 'baremetal' and (
- loop.index > nm.cmp001.idx or loop.index0 < ctl_roles)) %}
+ (has_cmp and loop.index > nm.cmp001.idx) or loop.index0 < ctl_roles)) %}
{%- if loop.index > nm.cmp001.idx %}
cmp{{ '%03d' | format(loop.index - nm.cmp001.idx) }}:
{%- elif 'virtual' not in conf %} {#- strictly for Pharos verify job #}
@@ -27,11 +28,11 @@ parameters:
mac: {{ node.interfaces[nm.idx_admin].mac_address }}
power_parameters:
power_address: {{ node.remote_management.address.rsplit('/')[0] }}
- power_password: {{ node.remote_management.pass }}
+ power_pass: {{ node.remote_management.pass }}
power_type: {{ node.remote_management.type }}
power_user: {{ node.remote_management.user }}
architecture: {{ node.node.arch | dpkg_arch }}/generic
- distro_series: xenial
+ distro_series: bionic
hwe_kernel: ${_param:hwe_kernel}
{%- if loop.index > nm.cmp001.idx %}
disk_layout:
diff --git a/config/pdf/idf-pod1.schema.yaml b/config/pdf/idf-pod1.schema.yaml
index a1108a00..7546279d 100644
--- a/config/pdf/idf-pod1.schema.yaml
+++ b/config/pdf/idf-pod1.schema.yaml
@@ -63,6 +63,8 @@ definitions:
network:
type: 'object'
properties:
+ interface_mtu:
+ type: 'number'
ntp_strata_host1:
type: 'string'
ntp_strata_host2:
diff --git a/config/pdf/pod1.schema.yaml b/config/pdf/pod1.schema.yaml
index 33b2d8c3..4de326ed 100644
--- a/config/pdf/pod1.schema.yaml
+++ b/config/pdf/pod1.schema.yaml
@@ -74,6 +74,10 @@ definitions:
type: 'string'
pass:
type: 'string'
+ port:
+ type: 'number'
+ privilege_level:
+ type: 'string'
type:
type: 'string'
versions:
diff --git a/docs/conf.py b/docs/conf.py
new file mode 100644
index 00000000..f0c2a787
--- /dev/null
+++ b/docs/conf.py
@@ -0,0 +1,8 @@
+##############################################################################
+# Copyright (c) 2018 Linux Foundation 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
+##############################################################################
+from docs_conf.conf import * # noqa: F401,F403
diff --git a/docs/conf.yaml b/docs/conf.yaml
new file mode 100644
index 00000000..b3782ee9
--- /dev/null
+++ b/docs/conf.yaml
@@ -0,0 +1,10 @@
+##############################################################################
+# Copyright (c) 2018 Linux Foundation 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
+##############################################################################
+---
+project_cfg: opnfv
+project: PHAROS
diff --git a/docs/requirements.txt b/docs/requirements.txt
new file mode 100644
index 00000000..00450768
--- /dev/null
+++ b/docs/requirements.txt
@@ -0,0 +1,9 @@
+##############################################################################
+# Copyright (c) 2018 Linux Foundation 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
+##############################################################################
+lfdocs-conf
+sphinx_opnfv_theme
diff --git a/labs/arm/idf-pod10.yaml b/labs/arm/idf-pod10.yaml
new file mode 100644
index 00000000..39aac781
--- /dev/null
+++ b/labs/arm/idf-pod10.yaml
@@ -0,0 +1,148 @@
+##############################################################################
+# Copyright (c) 2018 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
+##############################################################################
+---
+### ARM POD 10 installer descriptor file ###
+
+idf:
+ version: 0.1
+ # NOTE: Compass & Joid are not supported on this POD since they require at
+ # least 3 network ports on all nodes.
+ installer: ['fuel']
+ net_config:
+ oob:
+ ip-range: 10.0.21.2-10.0.21.7
+ vlan: native
+ mask: 24
+ admin:
+ interface: 0
+ vlan: native
+ network: 192.168.11.0
+ mask: 24
+ mgmt:
+ interface: 1
+ vlan: 2443
+ 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:
+ interface: 1
+ vlan: 2444
+ network: 10.2.0.0
+ mask: 24
+ private:
+ interface: 2
+ vlan: 2445-2460
+ network: 10.1.0.0
+ mask: 24
+ public:
+ interface: 1
+ vlan: native
+ network: 10.0.21.0
+ ip-range: 10.0.21.100-10.0.21.253 # Some IPs are in use by lab infra
+ mask: 24
+ gateway: 10.0.21.254
+ dns:
+ - 8.8.8.8
+ - 8.8.4.4
+ fuel:
+ jumphost:
+ bridges:
+ admin: 'admin20_br0'
+ mgmt: 'mgmt20_br0'
+ private: ~
+ public: 'public20_br0'
+ maas:
+ # MaaS timeouts (in minutes)
+ timeout_comissioning: 10
+ timeout_deploying: 25
+ network:
+ ntp_strata_host1: 1.se.pool.ntp.org
+ ntp_strata_host2: 0.se.pool.ntp.org
+ node:
+ # Ordered-list, index should be in sync with node index in PDF
+ - interfaces: &interfaces_intel
+ # Ordered-list, index should be in sync with interface index in PDF
+ - 'eno1'
+ - 'enp5s0f0'
+ - 'enp5s0f1'
+ - 'eno2'
+ - 'eno3'
+ - 'eno4'
+ busaddr: &busaddr_intel
+ # Bus-info reported by `ethtool -i ethX`
+ - '0000:02:00.0'
+ - '0000:05:00.0'
+ - '0000:05:00.1'
+ - '0000:02:00.1'
+ - '0000:03:00.0'
+ - '0000:03:00.1'
+ - interfaces: *interfaces_intel
+ busaddr: *busaddr_intel
+ - interfaces: *interfaces_intel
+ busaddr: *busaddr_intel
+ - interfaces: &interfaces_arm
+ - 'enP5p144s0'
+ - 'enP2p1s0f1'
+ - 'enP2p1s0f2'
+ - 'enP2p1s0f3'
+ - 'enP2p1s0f4'
+ - 'enP2p1s0f5'
+ busaddr: &busaddr_arm
+ - '0005:90:00.0'
+ - '0002:01:00.1'
+ - '0002:01:00.2'
+ - '0002:01:00.3'
+ - '0002:01:00.4'
+ - '0002:01:00.5'
+ - interfaces: *interfaces_arm
+ busaddr: *busaddr_arm
+ reclass:
+ node:
+ - compute_params: &compute_params_intel
+ common:
+ nova_cpu_pinning: &nova_cpu_pinning_common_intel "2-15"
+ compute_hugepages_size: 2M
+ compute_hugepages_count: 8192
+ compute_hugepages_mount: /mnt/hugepages_2M
+ compute_kernel_isolcpu: *nova_cpu_pinning_common_intel
+ dpdk:
+ nova_cpu_pinning: "4-15"
+ compute_hugepages_size: 2M
+ compute_hugepages_count: 8192
+ compute_hugepages_mount: /mnt/hugepages_2M
+ compute_kernel_isolcpu: *nova_cpu_pinning_common_intel
+ compute_dpdk_driver: uio
+ compute_ovs_pmd_cpu_mask: "0xc"
+ compute_ovs_dpdk_socket_mem: "2048"
+ compute_ovs_dpdk_lcore_mask: "0xc"
+ compute_ovs_memory_channels: "2"
+ dpdk0_driver: igb_uio
+ dpdk0_n_rxq: 2
+ - compute_params: *compute_params_intel
+ - compute_params: *compute_params_intel
+ - compute_params: &compute_params_cavium
+ common:
+ nova_cpu_pinning: &nova_cpu_pinning_common_arm "8-47"
+ compute_hugepages_size: 2M
+ compute_hugepages_count: 8192
+ compute_hugepages_mount: /mnt/hugepages_2M
+ compute_kernel_isolcpu: *nova_cpu_pinning_common_arm
+ 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_arm
+ 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_cavium
diff --git a/labs/arm/idf-pod5.yaml b/labs/arm/idf-pod5.yaml
index 6aaefb70..09fe4cb6 100644
--- a/labs/arm/idf-pod5.yaml
+++ b/labs/arm/idf-pod5.yaml
@@ -35,7 +35,7 @@ idf:
network: 10.2.0.0
mask: 24
private:
- interface: 1
+ interface: 2
vlan: 2185-2200
network: 10.1.0.0
mask: 24
@@ -77,10 +77,18 @@ idf:
busaddr: *busaddr
- interfaces: *interfaces
busaddr: *busaddr
- - interfaces: *interfaces
- busaddr: *busaddr
- - interfaces: *interfaces
- busaddr: *busaddr
+ - interfaces: &interfaces_dual
+ - 'eth0'
+ - 'eth1'
+ - 'enp1s0f0'
+ - 'enp1s0f1'
+ busaddr: &busaddr_dual
+ - 'e0700000.xgmac'
+ - 'e0900000.xgmac'
+ - '0000:01:00.0'
+ - '0000:01:00.1'
+ - interfaces: *interfaces_dual
+ busaddr: *busaddr_dual
reclass:
node:
- compute_params: &compute_params
@@ -96,12 +104,12 @@ idf:
compute_hugepages_count: 8192
compute_hugepages_mount: /mnt/hugepages_2M
compute_kernel_isolcpu: *nova_cpu_pinning_common
- compute_dpdk_driver: vfio
+ compute_dpdk_driver: uio
compute_ovs_pmd_cpu_mask: "0xc"
compute_ovs_dpdk_socket_mem: "4096"
compute_ovs_dpdk_lcore_mask: "0xc"
compute_ovs_memory_channels: "2"
- dpdk0_driver: vfio-pci
+ dpdk0_driver: igb_uio
dpdk0_n_rxq: 2
- compute_params: *compute_params
- compute_params: *compute_params
diff --git a/labs/arm/idf-pod6.yaml b/labs/arm/idf-pod6.yaml
index e07c2ea3..6d6c9c37 100644
--- a/labs/arm/idf-pod6.yaml
+++ b/labs/arm/idf-pod6.yaml
@@ -98,9 +98,9 @@ idf:
compute_kernel_isolcpu: *nova_cpu_pinning_common
dpdk:
nova_cpu_pinning: "12-47"
- compute_hugepages_size: 2M
- compute_hugepages_count: 8192
- compute_hugepages_mount: /mnt/hugepages_2M
+ 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"
diff --git a/labs/arm/idf-pod7.yaml b/labs/arm/idf-pod7.yaml
index d21fd875..2cc681bf 100644
--- a/labs/arm/idf-pod7.yaml
+++ b/labs/arm/idf-pod7.yaml
@@ -100,9 +100,9 @@ idf:
compute_kernel_isolcpu: *nova_cpu_pinning_common_a
dpdk:
nova_cpu_pinning: "4-47"
- compute_hugepages_size: 2M
- compute_hugepages_count: 8192
- compute_hugepages_mount: /mnt/hugepages_2M
+ compute_hugepages_size: 1G
+ compute_hugepages_count: 16
+ compute_hugepages_mount: /mnt/hugepages_1G
compute_kernel_isolcpu: *nova_cpu_pinning_common_a
compute_dpdk_driver: vfio
compute_ovs_pmd_cpu_mask: "0xc"
diff --git a/labs/arm/idf-pod8.yaml b/labs/arm/idf-pod8.yaml
index 2b0146ac..f5ef7241 100644
--- a/labs/arm/idf-pod8.yaml
+++ b/labs/arm/idf-pod8.yaml
@@ -96,9 +96,9 @@ idf:
compute_kernel_isolcpu: *nova_cpu_pinning_common
dpdk:
nova_cpu_pinning: "12-47"
- compute_hugepages_size: 2M
- compute_hugepages_count: 8192
- compute_hugepages_mount: /mnt/hugepages_2M
+ 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"
diff --git a/labs/arm/idf-pod9.yaml b/labs/arm/idf-pod9.yaml
index 27ae3cdb..b6252d36 100644
--- a/labs/arm/idf-pod9.yaml
+++ b/labs/arm/idf-pod9.yaml
@@ -100,9 +100,9 @@ idf:
compute_kernel_isolcpu: *nova_cpu_pinning_common
dpdk:
nova_cpu_pinning: "12-47"
- compute_hugepages_size: 2M
- compute_hugepages_count: 8192
- compute_hugepages_mount: /mnt/hugepages_2M
+ 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"
diff --git a/labs/arm/idf-virtual2.yaml b/labs/arm/idf-virtual2.yaml
index fa83e191..85529187 100644
--- a/labs/arm/idf-virtual2.yaml
+++ b/labs/arm/idf-virtual2.yaml
@@ -36,7 +36,7 @@ idf:
mask: 24
private:
interface: 2
- vlan: native
+ vlan: 1000-1999
network: 10.1.0.0
mask: 24
public:
@@ -57,6 +57,7 @@ idf:
private: ~
public: 'public'
network:
+ interface_mtu: 9000
ntp_strata_host1: 1.se.pool.ntp.org
ntp_strata_host2: 0.se.pool.ntp.org
node:
diff --git a/labs/arm/pod10.yaml b/labs/arm/pod10.yaml
new file mode 100644
index 00000000..0199c584
--- /dev/null
+++ b/labs/arm/pod10.yaml
@@ -0,0 +1,322 @@
+##############################################################################
+# Copyright (c) 2018 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
+##############################################################################
+---
+### Enea ARM POD 10 descriptor file ###
+
+version: 1.0
+details:
+ pod_owner: ENEA AB
+ contact: dan.lilliehorn@enea.com
+ lab: ENEA lab
+ location: Stockholm, Sweden
+ type: production
+ link: https://wiki.opnfv.org/display/pharos/Enea+Hosting
+##############################################################################
+jumphost:
+ name: jenkins-slave-arm-pod10
+ node:
+ type: baremetal
+ vendor: Dell
+ model: PowerEdge R440
+ arch: x86_64
+ cpus: 1
+ cpu_cflags: skylake
+ cores: 16
+ memory: 96GB
+ disks:
+ - name: disk1
+ disk_capacity: 240G
+ disk_type: ssd
+ disk_interface: sata
+ disk_rotation: 0
+ - name: disk2
+ disk_capacity: 2T
+ disk_type: hdd
+ disk_interface: sata
+ disk_rotation: 7200
+ os: ubuntu-16.04
+ remote_params: &remote_params
+ type: ipmi
+ versions:
+ - 2.0
+ user: ADMIN
+ pass: ADMIN
+ remote_management:
+ <<: *remote_params
+ address: 10.0.21.7
+ mac_address: "D0:94:66:87:55:32"
+ interfaces:
+ # eno1
+ - mac_address: "d0:94:66:87:55:38"
+ speed: 1gb
+ features: ''
+ name: 'nic1'
+ # eno2
+ - mac_address: "d0:94:66:87:55:39"
+ speed: 1gb
+ features: ''
+ name: 'nic2'
+##############################################################################
+nodes:
+ - name: intel2660-1
+ node: &nodeparams
+ type: baremetal
+ vendor: Dell
+ model: PowerEdge R430
+ arch: x86_64
+ cpus: 1
+ cpu_cflags: 'sandy bridge'
+ cores: 14
+ memory: 128GB
+ disks: &disks
+ - name: 'disk1'
+ disk_capacity: 240G
+ disk_type: ssd
+ disk_interface: sata
+ disk_rotation: 0
+ - name: 'disk2'
+ disk_capacity: 240G
+ disk_type: ssd
+ disk_interface: sata
+ disk_rotation: 0
+ - name: 'disk3'
+ disk_capacity: 1T
+ disk_type: ssd
+ disk_interface: sata
+ disk_rotation: 7200
+ - name: 'disk4'
+ disk_capacity: 1T
+ disk_type: hdd
+ disk_interface: sata
+ disk_rotation: 7200
+ remote_management:
+ <<: *remote_params
+ address: 10.0.21.2
+ mac_address: "D0:94:66:58:8C:A8"
+ interfaces:
+ # eno1
+ - mac_address: "D0:94:66:58:8C:A4"
+ speed: 1gb
+ features: ''
+ name: 'nic1'
+ # enp5s0f0
+ - mac_address: "B4:96:91:31:9D:44"
+ speed: 10gb
+ features: 'dpdk|sriov'
+ name: 'nic2'
+ # enp5s0f1
+ - mac_address: "B4:96:91:31:9D:46"
+ speed: 10gb
+ features: 'dpdk|sriov'
+ name: 'nic3'
+ # eno2 UNUSED
+ - mac_address: "D0:94:66:58:8C:A5"
+ speed: 1gb
+ features: ''
+ name: 'nic4'
+ # eno3 UNUSED
+ - mac_address: "D0:94:66:58:8C:A6"
+ speed: 1gb
+ features: ''
+ name: 'nic5'
+ # eno4 UNUSED
+ - mac_address: "D0:94:66:58:8C:A7"
+ speed: 1gb
+ features: ''
+ name: 'nic6'
+ ############################################################################
+ - name: intel2660-2
+ node: *nodeparams
+ disks: *disks
+ remote_management:
+ <<: *remote_params
+ address: 10.0.21.3
+ mac_address: "D0:94:66:6D:9A:DE"
+ interfaces:
+ # eno1
+ - mac_address: "D0:94:66:6D:9A:DA"
+ speed: 1gb
+ features: ''
+ name: 'nic1'
+ # enp5s0f0
+ - mac_address: "B4:96:91:31:9C:64"
+ speed: 10gb
+ features: 'dpdk|sriov'
+ name: 'nic2'
+ # enp5s0f1
+ - mac_address: "B4:96:91:31:9C:66"
+ speed: 10gb
+ features: 'dpdk|sriov'
+ name: 'nic3'
+ # eno2 UNUSED
+ - mac_address: "D0:94:66:6D:9A:DB"
+ speed: 1gb
+ features: ''
+ name: 'nic4'
+ # eno3 UNUSED
+ - mac_address: "D0:94:66:6D:9A:DC"
+ speed: 1gb
+ features: ''
+ name: 'nic5'
+ # eno4 UNUSED
+ - mac_address: "D0:94:66:6D:9A:DD"
+ speed: 1gb
+ features: ''
+ name: 'nic6'
+ ############################################################################
+ - name: intel2660-3
+ node: *nodeparams
+ disks: *disks
+ remote_management:
+ <<: *remote_params
+ address: 10.0.21.4
+ mac_address: "D0:94:66:58:9E:DF"
+ interfaces:
+ # eno1
+ - mac_address: "D0:94:66:58:9E:DB"
+ speed: 1gb
+ features: ''
+ name: 'nic1'
+ # enp5s0f0
+ - mac_address: "B4:96:91:31:9C:9C"
+ speed: 10gb
+ features: 'dpdk|sriov'
+ name: 'nic2'
+ # enp5s0f1
+ - mac_address: "B4:96:91:31:9C:9E"
+ speed: 10gb
+ features: 'dpdk|sriov'
+ name: 'nic3'
+ # eno2 UNUSED
+ - mac_address: "D0:94:66:58:9E:DC"
+ speed: 1gb
+ features: ''
+ name: 'nic4'
+ # eno3 UNUSED
+ - mac_address: "D0:94:66:58:9E:DD"
+ speed: 1gb
+ features: ''
+ name: 'nic5'
+ # eno4 UNUSED
+ - mac_address: "D0:94:66:58:9E:DE"
+ speed: 1gb
+ features: ''
+ name: 'nic6'
+ ############################################################################
+ - name: cn8890-14
+ node:
+ type: baremetal
+ vendor: Cavium
+ model: ThunderX
+ arch: aarch64
+ cpus: 1
+ cpu_cflags: fp asimd evtstrm aes pmull sha1 sha2 crc32
+ cores: 48
+ memory: 128G
+ disks:
+ - name: 'disk1'
+ disk_capacity: 240G
+ disk_type: ssd
+ disk_interface: sata
+ disk_rotation: 0
+ remote_management:
+ type: ipmi
+ versions:
+ - 2.0
+ user: ADMIN
+ pass: ADMIN
+ address: 10.0.21.5
+ mac_address: "1c:1b:0d:60:ed:9b"
+ interfaces:
+ # enP5144s0, Connected, used only for admin/PXE
+ - mac_address: "68:05:ca:42:cb:e5"
+ speed: 1gb
+ features: ''
+ name: 'nic1'
+ # enP2p1s0f1, Connected, trunk for all other VLANs
+ - mac_address: "1c:1b:0d:60:ed:96"
+ speed: 10gb
+ features: 'dpdk|sriov'
+ name: 'nic2'
+ # enP2p1s0f2, private
+ - mac_address: "1c:1b:0d:60:ed:97"
+ speed: 10gb
+ features: 'dpdk|sriov'
+ name: 'nic3'
+ # enP2p1s0f3, Not connected
+ - mac_address: "1c:1b:0d:60:ed:98"
+ speed: 10gb
+ features: 'dpdk|sriov'
+ name: 'nic4'
+ # enP2p1s0f4, Not connected
+ - mac_address: "1c:1b:0d:60:ed:99"
+ speed: 10gb
+ features: 'dpdk|sriov'
+ name: 'nic4'
+ # enP2p1s0f5, Not connected
+ - mac_address: "1c:1b:0d:60:ed:9a"
+ speed: 40gb
+ features: 'dpdk|sriov'
+ name: 'nic4'
+
+ ############################################################################
+ - name: cn8890-15
+ node:
+ type: baremetal
+ vendor: Cavium
+ model: ThunderX
+ arch: aarch64
+ cpus: 1
+ cpu_cflags: fp asimd evtstrm aes pmull sha1 sha2 crc32
+ cores: 48
+ memory: 64G
+ disks:
+ - name: 'disk1'
+ disk_capacity: 240G
+ disk_type: ssd
+ disk_interface: sata
+ disk_rotation: 0
+ remote_management:
+ type: ipmi
+ versions:
+ - 2.0
+ user: ADMIN
+ pass: ADMIN
+ address: 10.0.21.6
+ mac_address: "1c:1b:0d:60:ed:b7"
+ interfaces:
+ # enP5p144s0
+ - mac_address: "68:05:ca:42:cb:e8"
+ speed: 1gb
+ features: ''
+ name: 'nic1'
+ # enP2p1s0f1
+ - mac_address: "1c:1b:0d:60:ed:b2"
+ speed: 10gb
+ features: 'dpdk|sriov'
+ name: 'nic2'
+ # enP2p1s0f2
+ - mac_address: "1c:1b:0d:60:ed:b3"
+ speed: 10gb
+ features: 'dpdk|sriov'
+ name: 'nic3'
+ # enP2p1s0f3, Not connected
+ - mac_address: "1c:1b:0d:60:ed:b4"
+ speed: 10gb
+ features: 'dpdk|sriov'
+ name: 'nic4'
+ # enP2p1s0f4, Not connected
+ - mac_address: "1c:1b:0d:60:ed:b5"
+ speed: 10gb
+ features: 'dpdk|sriov'
+ name: 'nic5'
+ # enP2p1s0f5, Not connected
+ - mac_address: "1c:1b:0d:60:ed:b6"
+ speed: 40gb
+ features: 'dpdk|sriov'
+ name: 'nic6'
diff --git a/labs/arm/pod5.yaml b/labs/arm/pod5.yaml
index 3a55678e..35d46017 100644
--- a/labs/arm/pod5.yaml
+++ b/labs/arm/pod5.yaml
@@ -156,6 +156,14 @@ nodes:
speed: 10gb
features: ''
name: 'nic2'
+ - mac_address: "ac:1f:6b:8a:82:84"
+ speed: 10gb
+ features: 'dpdk|sriov'
+ name: 'nic3'
+ - mac_address: "ac:1f:6b:8a:82:85"
+ speed: 10gb
+ features: 'dpdk|sriov'
+ name: 'nic4'
############################################################################
- name: softiron-7
node: *nodeparams
@@ -173,3 +181,11 @@ nodes:
speed: 10gb
features: ''
name: 'nic2'
+ - mac_address: "ac:1f:6b:8a:82:a0"
+ speed: 10gb
+ features: 'dpdk|sriov'
+ name: 'nic3'
+ - mac_address: "ac:1f:6b:8a:82:a1"
+ speed: 10gb
+ features: 'dpdk|sriov'
+ name: 'nic4'
diff --git a/labs/arm/virtual2.yaml b/labs/arm/virtual2.yaml
index 3c2b3b10..f19a5de6 100644
--- a/labs/arm/virtual2.yaml
+++ b/labs/arm/virtual2.yaml
@@ -33,7 +33,7 @@ jumphost:
disk_capacity: 500G
disk_type: hdd
disk_interface: sata
- disk_rotation: 7200
+ disk_rotation: &diskrotation 7200
os: ubuntu-16.04
remote_params: &remote_params
type: ipmi
@@ -92,22 +92,22 @@ nodes:
address: 'qemu:///system'
interfaces: &interfaces
- name: 'nic1'
- speed: 10gb
+ speed: 1gb
features: 'dpdk|sriov'
mac_address: "00:00:00:00:00:00" # MACs will be assigned by libvirt
vlan: native
- name: 'nic2'
- speed: 10gb
+ speed: 1gb
features: 'dpdk|sriov'
mac_address: "00:00:00:00:00:00"
vlan: native
- name: 'nic3'
- speed: 10gb
+ speed: 1gb
features: 'dpdk|sriov'
mac_address: "00:00:00:00:00:00"
vlan: native
- name: 'nic4'
- speed: 10gb
+ speed: 1gb
features: 'dpdk|sriov'
mac_address: "00:00:00:00:00:00"
vlan: native
@@ -126,12 +126,22 @@ nodes:
############################################################################
- name: node-4
node: *nodeparams
- disks: *disks
+ 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: *nodeparams
- disks: *disks
+ disks: *compute_disks
remote_management: *remotemgmt
interfaces: *interfaces
diff --git a/labs/ericsson/idf-virtual-pod1bl01.yaml b/labs/ericsson/idf-virtual-pod1bl01.yaml
index 528152cb..62db57d4 100644
--- a/labs/ericsson/idf-virtual-pod1bl01.yaml
+++ b/labs/ericsson/idf-virtual-pod1bl01.yaml
@@ -58,6 +58,7 @@ idf:
private: ~
public: ~
network:
+ interface_mtu: 9000
ntp_strata_host1: 1.se.pool.ntp.org
ntp_strata_host2: 0.se.pool.ntp.org
node:
@@ -87,13 +88,13 @@ idf:
- compute_params: &compute_params
common: &compute_params_common
compute_hugepages_size: 2M
- compute_hugepages_count: 2048
+ compute_hugepages_count: 5120
compute_hugepages_mount: /mnt/hugepages_2M
dpdk:
<<: *compute_params_common
compute_dpdk_driver: uio
compute_ovs_pmd_cpu_mask: "0x6"
- compute_ovs_dpdk_socket_mem: "1024"
+ compute_ovs_dpdk_socket_mem: "3072"
compute_ovs_dpdk_lcore_mask: "0x8"
compute_ovs_memory_channels: "2"
dpdk0_driver: igb_uio
diff --git a/labs/ericsson/idf-virtual1.yaml b/labs/ericsson/idf-virtual1.yaml
index e7ba00fb..2a997c38 100644
--- a/labs/ericsson/idf-virtual1.yaml
+++ b/labs/ericsson/idf-virtual1.yaml
@@ -58,6 +58,7 @@ idf:
private: ~
public: ~
network:
+ interface_mtu: 9000
ntp_strata_host1: 1.se.pool.ntp.org
ntp_strata_host2: 0.se.pool.ntp.org
node:
@@ -87,13 +88,13 @@ idf:
- compute_params: &compute_params
common: &compute_params_common
compute_hugepages_size: 2M
- compute_hugepages_count: 2048
+ compute_hugepages_count: 5120
compute_hugepages_mount: /mnt/hugepages_2M
dpdk:
<<: *compute_params_common
compute_dpdk_driver: uio
compute_ovs_pmd_cpu_mask: "0x6"
- compute_ovs_dpdk_socket_mem: "1024"
+ compute_ovs_dpdk_socket_mem: "3072"
compute_ovs_dpdk_lcore_mask: "0x8"
compute_ovs_memory_channels: "2"
dpdk0_driver: igb_uio
diff --git a/labs/ericsson/idf-virtual2.yaml b/labs/ericsson/idf-virtual2.yaml
index 586661a4..1b200778 100644
--- a/labs/ericsson/idf-virtual2.yaml
+++ b/labs/ericsson/idf-virtual2.yaml
@@ -58,6 +58,7 @@ idf:
private: ~
public: ~
network:
+ interface_mtu: 9000
ntp_strata_host1: 1.se.pool.ntp.org
ntp_strata_host2: 0.se.pool.ntp.org
node:
@@ -87,13 +88,13 @@ idf:
- compute_params: &compute_params
common: &compute_params_common
compute_hugepages_size: 2M
- compute_hugepages_count: 2048
+ compute_hugepages_count: 5120
compute_hugepages_mount: /mnt/hugepages_2M
dpdk:
<<: *compute_params_common
compute_dpdk_driver: uio
compute_ovs_pmd_cpu_mask: "0x6"
- compute_ovs_dpdk_socket_mem: "1024"
+ compute_ovs_dpdk_socket_mem: "3072"
compute_ovs_dpdk_lcore_mask: "0x8"
compute_ovs_memory_channels: "2"
dpdk0_driver: igb_uio
diff --git a/labs/ericsson/idf-virtual3.yaml b/labs/ericsson/idf-virtual3.yaml
index 4a7aa82d..86d7b3b0 100644
--- a/labs/ericsson/idf-virtual3.yaml
+++ b/labs/ericsson/idf-virtual3.yaml
@@ -58,6 +58,7 @@ idf:
private: ~
public: ~
network:
+ interface_mtu: 9000
ntp_strata_host1: 1.se.pool.ntp.org
ntp_strata_host2: 0.se.pool.ntp.org
node:
@@ -87,13 +88,13 @@ idf:
- compute_params: &compute_params
common: &compute_params_common
compute_hugepages_size: 2M
- compute_hugepages_count: 2048
+ compute_hugepages_count: 5120
compute_hugepages_mount: /mnt/hugepages_2M
dpdk:
<<: *compute_params_common
compute_dpdk_driver: uio
compute_ovs_pmd_cpu_mask: "0x6"
- compute_ovs_dpdk_socket_mem: "1024"
+ compute_ovs_dpdk_socket_mem: "3072"
compute_ovs_dpdk_lcore_mask: "0x8"
compute_ovs_memory_channels: "2"
dpdk0_driver: igb_uio
diff --git a/labs/ericsson/idf-virtual4.yaml b/labs/ericsson/idf-virtual4.yaml
index ddcd621c..6d93173b 100644
--- a/labs/ericsson/idf-virtual4.yaml
+++ b/labs/ericsson/idf-virtual4.yaml
@@ -58,6 +58,7 @@ idf:
private: ~
public: ~
network:
+ interface_mtu: 9000
ntp_strata_host1: 1.se.pool.ntp.org
ntp_strata_host2: 0.se.pool.ntp.org
node:
@@ -87,13 +88,13 @@ idf:
- compute_params: &compute_params
common: &compute_params_common
compute_hugepages_size: 2M
- compute_hugepages_count: 2048
+ compute_hugepages_count: 5120
compute_hugepages_mount: /mnt/hugepages_2M
dpdk:
<<: *compute_params_common
compute_dpdk_driver: uio
compute_ovs_pmd_cpu_mask: "0x6"
- compute_ovs_dpdk_socket_mem: "1024"
+ compute_ovs_dpdk_socket_mem: "3072"
compute_ovs_dpdk_lcore_mask: "0x8"
compute_ovs_memory_channels: "2"
dpdk0_driver: igb_uio
diff --git a/labs/ericsson/idf-virtual5.yaml b/labs/ericsson/idf-virtual5.yaml
index 067ec0c0..3d6a366a 100644
--- a/labs/ericsson/idf-virtual5.yaml
+++ b/labs/ericsson/idf-virtual5.yaml
@@ -58,6 +58,7 @@ idf:
private: ~
public: ~
network:
+ interface_mtu: 9000
ntp_strata_host1: 1.se.pool.ntp.org
ntp_strata_host2: 0.se.pool.ntp.org
node:
@@ -87,13 +88,13 @@ idf:
- compute_params: &compute_params
common: &compute_params_common
compute_hugepages_size: 2M
- compute_hugepages_count: 2048
+ compute_hugepages_count: 5120
compute_hugepages_mount: /mnt/hugepages_2M
dpdk:
<<: *compute_params_common
compute_dpdk_driver: uio
compute_ovs_pmd_cpu_mask: "0x6"
- compute_ovs_dpdk_socket_mem: "1024"
+ compute_ovs_dpdk_socket_mem: "3072"
compute_ovs_dpdk_lcore_mask: "0x8"
compute_ovs_memory_channels: "2"
dpdk0_driver: igb_uio
diff --git a/labs/ericsson/virtual-pod1bl01.yaml b/labs/ericsson/virtual-pod1bl01.yaml
index 9edebee4..e565d54e 100644
--- a/labs/ericsson/virtual-pod1bl01.yaml
+++ b/labs/ericsson/virtual-pod1bl01.yaml
@@ -100,7 +100,7 @@ nodes:
vendor: libvirt
model: virt
cpus: 1
- cores: 8
+ cores: 4
memory: 6G
disks: &disks
- name: 'disk1'
@@ -115,22 +115,22 @@ nodes:
address: 'qemu:///system'
interfaces: &interfaces
- name: 'nic1'
- speed: 10gb
+ speed: 1gb
features: 'dpdk|sriov'
mac_address: "00:00:00:00:00:00" # MACs will be assigned by libvirt
vlan: native
- name: 'nic2'
- speed: 10gb
+ speed: 1gb
features: 'dpdk|sriov'
mac_address: "00:00:00:00:00:00"
vlan: native
- name: 'nic3'
- speed: 10gb
+ speed: 1gb
features: 'dpdk|sriov'
mac_address: "00:00:00:00:00:00"
vlan: native
- name: 'nic4'
- speed: 10gb
+ speed: 1gb
features: 'dpdk|sriov'
mac_address: "00:00:00:00:00:00"
vlan: native
@@ -149,12 +149,22 @@ nodes:
############################################################################
- name: node-4
node: *nodeparams
- disks: *disks
+ 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: *nodeparams
- disks: *disks
+ disks: *compute_disks
remote_management: *remotemgmt
interfaces: *interfaces
diff --git a/labs/ericsson/virtual1.yaml b/labs/ericsson/virtual1.yaml
index c19d9c79..57f855bc 100644
--- a/labs/ericsson/virtual1.yaml
+++ b/labs/ericsson/virtual1.yaml
@@ -100,7 +100,7 @@ nodes:
vendor: libvirt
model: virt
cpus: 1
- cores: 8
+ cores: 4
memory: 6G
disks: &disks
- name: 'disk1'
@@ -115,22 +115,22 @@ nodes:
address: 'qemu:///system'
interfaces: &interfaces
- name: 'nic1'
- speed: 10gb
+ speed: 1gb
features: 'dpdk|sriov'
mac_address: "00:00:00:00:00:00" # MACs will be assigned by libvirt
vlan: native
- name: 'nic2'
- speed: 10gb
+ speed: 1gb
features: 'dpdk|sriov'
mac_address: "00:00:00:00:00:00"
vlan: native
- name: 'nic3'
- speed: 10gb
+ speed: 1gb
features: 'dpdk|sriov'
mac_address: "00:00:00:00:00:00"
vlan: native
- name: 'nic4'
- speed: 10gb
+ speed: 1gb
features: 'dpdk|sriov'
mac_address: "00:00:00:00:00:00"
vlan: native
@@ -149,12 +149,22 @@ nodes:
############################################################################
- name: node-4
node: *nodeparams
- disks: *disks
+ 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: *nodeparams
- disks: *disks
+ disks: *compute_disks
remote_management: *remotemgmt
interfaces: *interfaces
diff --git a/labs/ericsson/virtual2.yaml b/labs/ericsson/virtual2.yaml
index 7298b78c..cab58ee4 100644
--- a/labs/ericsson/virtual2.yaml
+++ b/labs/ericsson/virtual2.yaml
@@ -100,7 +100,7 @@ nodes:
vendor: libvirt
model: virt
cpus: 1
- cores: 8
+ cores: 4
memory: 6G
disks: &disks
- name: 'disk1'
@@ -115,22 +115,22 @@ nodes:
address: 'qemu:///system'
interfaces: &interfaces
- name: 'nic1'
- speed: 10gb
+ speed: 1gb
features: 'dpdk|sriov'
mac_address: "00:00:00:00:00:00" # MACs will be assigned by libvirt
vlan: native
- name: 'nic2'
- speed: 10gb
+ speed: 1gb
features: 'dpdk|sriov'
mac_address: "00:00:00:00:00:00"
vlan: native
- name: 'nic3'
- speed: 10gb
+ speed: 1gb
features: 'dpdk|sriov'
mac_address: "00:00:00:00:00:00"
vlan: native
- name: 'nic4'
- speed: 10gb
+ speed: 1gb
features: 'dpdk|sriov'
mac_address: "00:00:00:00:00:00"
vlan: native
@@ -149,12 +149,22 @@ nodes:
############################################################################
- name: node-4
node: *nodeparams
- disks: *disks
+ 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: *nodeparams
- disks: *disks
+ disks: *compute_disks
remote_management: *remotemgmt
interfaces: *interfaces
diff --git a/labs/ericsson/virtual3.yaml b/labs/ericsson/virtual3.yaml
index 33f2e09f..d4011712 100644
--- a/labs/ericsson/virtual3.yaml
+++ b/labs/ericsson/virtual3.yaml
@@ -100,7 +100,7 @@ nodes:
vendor: libvirt
model: virt
cpus: 1
- cores: 8
+ cores: 4
memory: 6G
disks: &disks
- name: 'disk1'
@@ -115,22 +115,22 @@ nodes:
address: 'qemu:///system'
interfaces: &interfaces
- name: 'nic1'
- speed: 10gb
+ speed: 1gb
features: 'dpdk|sriov'
mac_address: "00:00:00:00:00:00" # MACs will be assigned by libvirt
vlan: native
- name: 'nic2'
- speed: 10gb
+ speed: 1gb
features: 'dpdk|sriov'
mac_address: "00:00:00:00:00:00"
vlan: native
- name: 'nic3'
- speed: 10gb
+ speed: 1gb
features: 'dpdk|sriov'
mac_address: "00:00:00:00:00:00"
vlan: native
- name: 'nic4'
- speed: 10gb
+ speed: 1gb
features: 'dpdk|sriov'
mac_address: "00:00:00:00:00:00"
vlan: native
@@ -149,12 +149,22 @@ nodes:
############################################################################
- name: node-4
node: *nodeparams
- disks: *disks
+ 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: *nodeparams
- disks: *disks
+ disks: *compute_disks
remote_management: *remotemgmt
interfaces: *interfaces
diff --git a/labs/ericsson/virtual4.yaml b/labs/ericsson/virtual4.yaml
index cbf50f08..effa8610 100644
--- a/labs/ericsson/virtual4.yaml
+++ b/labs/ericsson/virtual4.yaml
@@ -100,7 +100,7 @@ nodes:
vendor: libvirt
model: virt
cpus: 1
- cores: 8
+ cores: 4
memory: 6G
disks: &disks
- name: 'disk1'
@@ -115,22 +115,22 @@ nodes:
address: 'qemu:///system'
interfaces: &interfaces
- name: 'nic1'
- speed: 10gb
+ speed: 1gb
features: 'dpdk|sriov'
mac_address: "00:00:00:00:00:00" # MACs will be assigned by libvirt
vlan: native
- name: 'nic2'
- speed: 10gb
+ speed: 1gb
features: 'dpdk|sriov'
mac_address: "00:00:00:00:00:00"
vlan: native
- name: 'nic3'
- speed: 10gb
+ speed: 1gb
features: 'dpdk|sriov'
mac_address: "00:00:00:00:00:00"
vlan: native
- name: 'nic4'
- speed: 10gb
+ speed: 1gb
features: 'dpdk|sriov'
mac_address: "00:00:00:00:00:00"
vlan: native
@@ -149,12 +149,22 @@ nodes:
############################################################################
- name: node-4
node: *nodeparams
- disks: *disks
+ 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: *nodeparams
- disks: *disks
+ disks: *compute_disks
remote_management: *remotemgmt
interfaces: *interfaces
diff --git a/labs/ericsson/virtual5.yaml b/labs/ericsson/virtual5.yaml
index 48260449..b49d6e87 100644
--- a/labs/ericsson/virtual5.yaml
+++ b/labs/ericsson/virtual5.yaml
@@ -92,7 +92,7 @@ nodes:
vendor: libvirt
model: virt
cpus: 1
- cores: 8
+ cores: 4
memory: 6G
disks: &disks
- name: 'disk1'
@@ -107,22 +107,22 @@ nodes:
address: 'qemu:///system'
interfaces: &interfaces
- name: 'nic1'
- speed: 10gb
+ speed: 1gb
features: 'dpdk|sriov'
mac_address: "00:00:00:00:00:00" # MACs will be assigned by libvirt
vlan: native
- name: 'nic2'
- speed: 10gb
+ speed: 1gb
features: 'dpdk|sriov'
mac_address: "00:00:00:00:00:00"
vlan: native
- name: 'nic3'
- speed: 10gb
+ speed: 1gb
features: 'dpdk|sriov'
mac_address: "00:00:00:00:00:00"
vlan: native
- name: 'nic4'
- speed: 10gb
+ speed: 1gb
features: 'dpdk|sriov'
mac_address: "00:00:00:00:00:00"
vlan: native
@@ -141,13 +141,22 @@ nodes:
############################################################################
- name: node-4
node: *nodeparams
- disks: *disks
+ 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: *nodeparams
- disks: *disks
+ disks: *compute_disks
remote_management: *remotemgmt
interfaces: *interfaces
-##############################################################################
diff --git a/labs/intel/idf-pod18.yaml b/labs/intel/idf-pod18.yaml
index 0e23c862..e219e3b9 100644
--- a/labs/intel/idf-pod18.yaml
+++ b/labs/intel/idf-pod18.yaml
@@ -8,43 +8,96 @@
---
idf:
version: 0.1
- installer: ['joid']
+ installer: ['joid', 'fuel']
net_config:
# NOTE: Network names are likely to change after the PDF spec is updated
oob:
interface: 0
- ip-range:
- vlan:
+ ip-range: 10.10.180.10-10.10.180.15
+ vlan: native
mask: 24
admin: # admin
interface: 1
vlan: native
network: 10.10.181.0
mask: 24
- gateway: 10.10.181.2
bridge: brAdm
mgmt: # data
interface: 2
- vlan:
- network: 10.10.182.0
+ vlan: 184
+ network: 10.10.184.0
+ ip-range: 10.10.184.10-10.10.184.254
mask: 24
storage: # storage
interface: 3
- vlan:
- network: 10.10.182.0
+ vlan: native
+ network: 10.10.183.0
mask: 24
private: # floating
- interface:
- vlan:
- network: 10.10.180.0
+ interface: 2
+ vlan: 1000-1030
+ network: 10.10.182.0
mask: 24
bridge: brExt
public: # public
- interface:
+ interface: 3
vlan: 1183
network: 10.10.185.0
+ ip-range: 10.10.185.100-10.10.185.253
mask: 24
gateway: 10.10.185.1
dns:
- 8.8.8.8
- 8.8.4.4
+ fuel:
+ jumphost:
+ bridges:
+ admin: 'brAdm'
+ mgmt: 'mgmt18_br0'
+ private: ~
+ public: 'brExt'
+ maas:
+ # MaaS timeouts (in minutes)
+ timeout_comissioning: 10
+ timeout_deploying: 15
+ network:
+ ntp_strata_host1: 1.pool.ntp.org
+ ntp_strata_host2: 0.pool.ntp.org
+ 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
+ - 'eno1'
+ - 'eno2'
+ - 'ens785f0'
+ - 'ens785f1'
+ - 'ens785f2'
+ - 'ens785f3'
+ busaddr: &busaddr
+ # Bus-info reported by `ethtool -i ethX`
+ - '0000:03:00.0'
+ - '0000:03:00.3'
+ - '0000:05:00.0'
+ - '0000:05:00.1'
+ - '0000:05:00.2'
+ - '0000:05:00.3'
+ - interfaces: *interfaces
+ busaddr: *busaddr
+ - interfaces: *interfaces
+ busaddr: *busaddr
+ - interfaces: *interfaces
+ busaddr: *busaddr
+ - interfaces:
+ - 'eno1'
+ - 'enp3s0f3'
+ - 'ens785f0'
+ - 'ens785f1'
+ - 'ens785f2'
+ - 'ens785f3'
+ busaddr:
+ - '0000:03:00.0'
+ - '0000:03:00.3'
+ - '0000:05:00.0'
+ - '0000:05:00.1'
+ - '0000:05:00.2'
+ - '0000:05:00.3'
diff --git a/labs/intel/pod18.yaml b/labs/intel/pod18.yaml
index 088ef358..73ab232d 100644
--- a/labs/intel/pod18.yaml
+++ b/labs/intel/pod18.yaml
@@ -51,9 +51,13 @@ jumphost:
mac_address: "A4:BF:01:16:31:96"
vlan: native
- name: 'nic2'
- address: 10.10.181.20
+ address: 10.10.182.20
mac_address: "A4:BF:01:16:31:97"
vlan: native
+ - name: 'nic3'
+ address: 10.10.181.20
+ mac_address: "3c:fd:fe:a4:9c:f1"
+ vlan: native
nodes:
- name: pod18-node1
node: &nodeparas
@@ -92,7 +96,7 @@ nodes:
features:
address: 10.10.181.21
mac_address: "A4:BF:01:14:40:17"
- vlan: native
+ vlan: 184
- name: 'nic3'
speed: 10gb
features: 'dpdk|sriov'
@@ -136,7 +140,7 @@ nodes:
features:
address: 10.10.181.22
mac_address: "A4:BF:01:16:31:1F"
- vlan: native
+ vlan: 184
- name: 'nic3'
speed: 10gb
features: 'dpdk|sriov'
@@ -180,7 +184,7 @@ nodes:
features:
address: 10.10.181.23
mac_address: "A4:BF:01:16:30:F7"
- vlan: native
+ vlan: 184
- name: 'nic3'
speed: 10gb
features: 'dpdk|sriov'
@@ -224,7 +228,7 @@ nodes:
features:
address: 10.10.181.24
mac_address: "A4:BF:01:14:72:0E"
- vlan: native
+ vlan: 184
- name: 'nic3'
speed: 10gb
features: 'dpdk|sriov'
@@ -268,7 +272,7 @@ nodes:
features:
address: 10.10.181.25
mac_address: "A4:BF:01:14:71:69"
- vlan: native
+ vlan: 184
- name: 'nic3'
speed: 10gb
features: 'dpdk|sriov'
diff --git a/labs/itri/idf-pod1.yaml b/labs/itri/idf-pod1.yaml
new file mode 100644
index 00000000..f88a913f
--- /dev/null
+++ b/labs/itri/idf-pod1.yaml
@@ -0,0 +1,92 @@
+##############################################################################
+# Copyright (c) 2019 ITRI.
+# 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
+##############################################################################
+---
+### ITRI POD 1 installer descriptor file ###
+
+idf:
+ version: 0.1
+ installer: ['compass4nfv', 'fuel']
+ net_config:
+ # NOTE: Network names are likely to change after the PDF spec is updated
+ admin:
+ interface: 0
+ vlan: native
+ network: 10.1.0.0
+ mask: 24
+ storage:
+ interface: 1
+ vlan: native
+ network: 172.16.2.0
+ mask: 24
+ oob:
+ interface: 1
+ ip-range: 100.86.5.28-100.86.5.33
+ vlan: native
+ public:
+ interface: 2
+ vlan: native
+ network: 100.86.0.0
+ mask: 16
+ gateway: 100.86.0.254
+ dns:
+ - 8.8.8.8
+ - 8.8.4.4
+ mgmt:
+ interface: 4
+ vlan: 1001
+ network: 172.16.3.0
+ mask: 24
+ private:
+ interface: 3
+ vlan: 100
+ network: 172.16.1.0
+ mask: 24
+ fuel:
+ jumphost:
+ bridges:
+ admin: 'pxebr'
+ mgmt: 'br-ctl'
+ private: ''
+ public: ''
+ network:
+ node:
+ # Ordered-list, index should be in sync with node index in PDF
+ - interfaces:
+ # Ordered-list, index should be in sync with interface index in PDF
+ - 'eth0'
+ - 'eth1'
+ - 'eth2'
+ - 'eth3'
+ - 'eth4'
+ busaddr:
+ # Bus-info reported by `ethtool -i ethX`
+ - '0000:03:00.0'
+ - '0000:05:00.3'
+ - '0000:02:00.1'
+ - '0000:05:00.0'
+ - '0000:02:00.0'
+ - interfaces: &interfaces
+ - 'eth0'
+ - 'eth1'
+ - 'eth2'
+ - 'eth3'
+ - 'eth4'
+ busaddr: &busaddr
+ - '0000:03:00.0'
+ - '0000:04:00.1'
+ - '0000:02:00.1'
+ - '0000:05:00.1'
+ - '0000:02:00.0'
+ - interfaces: *interfaces
+ busaddr: *busaddr
+ - interfaces: *interfaces
+ busaddr: *busaddr
+ - interfaces: *interfaces
+ busaddr: *busaddr
+ - interfaces: *interfaces
+ busaddr: *busaddr
diff --git a/labs/itri/pod1.yaml b/labs/itri/pod1.yaml
new file mode 100644
index 00000000..06140900
--- /dev/null
+++ b/labs/itri/pod1.yaml
@@ -0,0 +1,295 @@
+##############################################################################
+# Copyright (c) 2018 ITRI, 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
+##############################################################################
+---
+### ITRI POD 1 descriptor file ###
+
+version: 1.0
+details:
+ pod_owner: ITRI
+ contact: mhhsu@itri.org.tw
+ lab: ITRI Pharos Lab
+ location: Taiwan
+ type: production
+ link: https://wiki.opnfv.org/display/pharos/Community+Labs
+##############################################################################
+jumphost:
+ name: pod1-jump
+ node:
+ type: baremetal
+ vendor: Dell
+ model: PowerEdge R730
+ arch: x86_64
+ cpus: 2
+ cpu_cflags: Broadwell
+ cores: 24
+ memory: 64G
+ disks: &disks
+ - name: 'disk1'
+ disk_capacity: 480G
+ disk_type: ssd
+ disk_interface: ssd
+ disk_rotation: 0
+ - name: 'disk2'
+ disk_capacity: 480G
+ disk_type: ssd
+ disk_interface: ssd
+ disk_rotation: 0
+ - name: 'disk3'
+ disk_capacity: 480G
+ disk_type: ssd
+ disk_interface: ssd
+ disk_rotation: 0
+ - name: 'disk4'
+ disk_capacity: 480G
+ disk_type: ssd
+ disk_interface: ssd
+ disk_rotation: 0
+ - name: 'disk5'
+ disk_capacity: 1T
+ disk_type: hdd
+ disk_interface: sata
+ disk_rotation: 7200
+ - name: 'disk6'
+ disk_capacity: 1T
+ disk_type: hdd
+ disk_interface: sata
+ disk_rotation: 7200
+ - name: 'disk7'
+ disk_capacity: 1T
+ disk_type: hdd
+ disk_interface: sata
+ disk_rotation: 7200
+ - name: 'disk8'
+ disk_capacity: 1T
+ disk_type: hdd
+ disk_interface: sata
+ disk_rotation: 7200
+ os: ubuntu-16.04
+ remote_params: &remote_params
+ type: ipmi
+ versions:
+ - 2.0
+ user: admin
+ pass: admin
+ remote_management:
+ <<: *remote_params
+ address: 100.86.5.23
+ mac_address: "10:98:36:b5:6f:79"
+ interfaces:
+ - mac_address: "52:54:00:7c:d6:b4"
+ speed: 1gb
+ features: 'dpdk|sriov'
+ address: 10.1.0.1
+ name: 'nic1'
+##############################################################################
+nodes:
+ - name: pod1-node1
+ node: &nodeparams
+ type: baremetal
+ vendor: Dell
+ model: PowerEdge R730
+ arch: x86_64
+ cpus: 2
+ cpu_cflags: Broadwell
+ cores: 24
+ memory: 128G
+ disks: *disks
+ remote_management:
+ <<: *remote_params
+ address: 100.86.5.28
+ mac_address: "18:66:da:a3:f0:99"
+ interfaces:
+ - mac_address: "18:66:da:a3:f0:97"
+ speed: 1gb
+ features: 'dpdk|sriov'
+ address: 10.1.0.50
+ name: 'nic1'
+ - mac_address: "3c:fd:fe:12:29:c6"
+ speed: 10gb
+ features: 'dpdk|sriov'
+ address: 172.16.2.1
+ name: 'nic2'
+ - mac_address: "18:66:da:a3:f0:96"
+ speed: 1gb
+ features: 'dpdk|sriov'
+ address: 100.86.88.10
+ name: 'nic3'
+ - mac_address: "3c:fd:fe:12:29:c0"
+ speed: 10gb
+ features: 'dpdk|sriov'
+ address: 172.16.1.1
+ name: 'nic4'
+ - mac_address: "18:66:da:a3:f0:95"
+ speed: 1gb
+ features: 'dpdk|sriov'
+ name: 'nic5'
+ ############################################################################
+ - name: pod1-node2
+ node: *nodeparams
+ disks: *disks
+ remote_management:
+ <<: *remote_params
+ address: 100.86.5.29
+ mac_address: "18:66:da:a3:f3:c9"
+ interfaces:
+ - mac_address: "18:66:da:a3:f3:c7"
+ speed: 1gb
+ features: 'dpdk|sriov'
+ address: 10.1.0.51
+ name: 'nic1'
+ - mac_address: "3c:fd:fe:1a:e0:02"
+ speed: 10gb
+ features: 'dpdk|sriov'
+ address: 172.16.2.2
+ name: 'nic2'
+ - mac_address: "18:66:da:a3:f3:c6"
+ speed: 1gb
+ features: 'dpdk|sriov'
+ address: 100.86.88.11
+ name: 'nic3'
+ - mac_address: "3c:fd:fe:12:09:e2"
+ speed: 10gb
+ features: 'dpdk|sriov'
+ address: 172.16.1.2
+ name: 'nic4'
+ - mac_address: "18:66:da:a3:f3:c5"
+ speed: 1gb
+ features: 'dpdk|sriov'
+ name: 'nic5'
+ ############################################################################
+ - name: pod1-node3
+ node: *nodeparams
+ disks: *disks
+ remote_management:
+ <<: *remote_params
+ address: 100.86.5.30
+ mac_address: "18:66:da:a3:c2:c6"
+ interfaces:
+ - mac_address: "18:66:da:a3:c2:c4"
+ speed: 1gb
+ features: 'dpdk|sriov'
+ address: 10.1.0.52
+ name: 'nic1'
+ - mac_address: "3c:fd:fe:1b:23:62"
+ speed: 10gb
+ features: 'dpdk|sriov'
+ address: 172.16.2.3
+ name: 'nic2'
+ - mac_address: "18:66:da:a3:c2:c3"
+ speed: 1gb
+ features: 'dpdk|sriov'
+ address: 100.86.88.12
+ name: 'nic3'
+ - mac_address: "3c:fd:fe:12:29:e2"
+ speed: 10gb
+ features: 'dpdk|sriov'
+ address: 172.16.1.3
+ name: 'nic4'
+ - mac_address: "18:66:da:a3:c2:c2"
+ speed: 1gb
+ features: 'dpdk|sriov'
+ name: 'nic5'
+ ############################################################################
+ - name: pod1-node4
+ node: *nodeparams
+ disks: *disks
+ remote_management:
+ <<: *remote_params
+ address: 100.86.5.31
+ mac_address: "18:66:da:a3:bd:dd"
+ interfaces:
+ - mac_address: "18:66:da:a3:bd:db"
+ speed: 1gb
+ features: 'dpdk|sriov'
+ address: 10.1.0.53
+ name: 'nic1'
+ - mac_address: "3c:fd:fe:1a:c6:c2"
+ speed: 10gb
+ features: 'dpdk|sriov'
+ address: 172.16.2.4
+ name: 'nic2'
+ - mac_address: "18:66:da:a3:bd:da"
+ speed: 1gb
+ features: 'dpdk|sriov'
+ address: 100.86.88.13
+ name: 'nic3'
+ - mac_address: "3c:fd:fe:12:2b:22"
+ speed: 10gb
+ features: 'dpdk|sriov'
+ address: 172.16.1.4
+ name: 'nic4'
+ - mac_address: "18:66:da:a3:bd:d9"
+ speed: 1gb
+ features: 'dpdk|sriov'
+ name: 'nic5'
+ ############################################################################
+ - name: pod1-node5
+ node: *nodeparams
+ disks: *disks
+ remote_management:
+ <<: *remote_params
+ address: 100.86.5.32
+ mac_address: "18:66:da:a3:b9:8e"
+ interfaces:
+ - mac_address: "18:66:da:a3:b9:8c"
+ speed: 1gb
+ features: 'dpdk|sriov'
+ address: 10.1.0.54
+ name: 'nic1'
+ - mac_address: "3c:fd:fe:1b:22:e2"
+ speed: 10gb
+ features: 'dpdk|sriov'
+ address: 172.16.2.5
+ name: 'nic2'
+ - mac_address: "18:66:da:a3:b9:8b"
+ speed: 1gb
+ features: 'dpdk|sriov'
+ address: 100.86.88.14
+ name: 'nic3'
+ - mac_address: "3c:fd:fe:12:29:a2"
+ speed: 10gb
+ features: 'dpdk|sriov'
+ address: 172.16.1.5
+ name: 'nic4'
+ - mac_address: "18:66:da:a3:b9:8a"
+ speed: 1gb
+ features: 'dpdk|sriov'
+ name: 'nic5'
+ ############################################################################
+ - name: pod1-node6
+ node: *nodeparams
+ disks: *disks
+ remote_management:
+ <<: *remote_params
+ address: 100.86.5.33
+ mac_address: "18:66:da:a3:c7:5b"
+ interfaces:
+ - mac_address: "18:66:da:a3:c7:59"
+ speed: 1gb
+ features: 'dpdk|sriov'
+ address: 10.1.0.55
+ name: 'nic1'
+ - mac_address: "3c:fd:fe:1b:00:82"
+ speed: 10gb
+ features: 'dpdk|sriov'
+ address: 172.16.2.6
+ name: 'nic2'
+ - mac_address: "18:66:da:a3:c7:58"
+ speed: 1gb
+ features: 'dpdk|sriov'
+ address: 100.86.88.15
+ name: 'nic3'
+ - mac_address: "3c:fd:fe:12:2a:c2"
+ speed: 10gb
+ features: 'dpdk|sriov'
+ address: 172.16.1.6
+ name: 'nic4'
+ - mac_address: "18:66:da:a3:c7:57"
+ speed: 1gb
+ features: 'dpdk|sriov'
+ name: 'nic5'
diff --git a/labs/unh/idf-virtual1.yaml b/labs/unh/idf-virtual1.yaml
new file mode 100644
index 00000000..0ab8353a
--- /dev/null
+++ b/labs/unh/idf-virtual1.yaml
@@ -0,0 +1,105 @@
+##############################################################################
+# 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 Installer descriptor file ###
+
+idf:
+ version: 0.1
+ net_config:
+ # NOTE: Network names are likely to change after the PDF spec is updated
+ oob:
+ interface: 0
+ ip-range: ~
+ vlan: native
+ mask: 24
+ # All networks (except OOB) are virtual networks managed by `libvirt`
+ # Interface indexes are based on Fuel installer defaults
+ admin:
+ interface: 0 # when used, will be first vnet interface, untagged
+ vlan: native
+ network: 192.168.11.0
+ mask: 24
+ mgmt:
+ interface: 1 # when used, will be second vnet interface, untagged
+ vlan: native
+ 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:
+ interface: 4 # when used, will be fifth vnet interface, untagged
+ vlan: native
+ network: 192.168.20.0
+ mask: 24
+ private:
+ interface: 2 # when used, will be third vnet interface, untagged
+ vlan: 1000-1999
+ network: 10.1.0.0
+ mask: 24
+ public:
+ interface: 3 # when used, will be fourth vnet interface, untagged
+ vlan: native
+ network: 10.16.0.0
+ ip-range: 10.16.0.100-10.16.0.254 # Some IPs are in use by lab infra
+ mask: 24
+ gateway: 10.16.0.1
+ dns:
+ - 8.8.8.8
+ - 8.8.4.4
+ fuel:
+ jumphost:
+ bridges:
+ admin: ~
+ mgmt: ~
+ private: ~
+ public: ~
+ network:
+ interface_mtu: 9000
+ ntp_strata_host1: 1.pool.ntp.org
+ ntp_strata_host2: 0.pool.ntp.org
+ 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
+ - 'ens3'
+ - 'ens4'
+ - 'ens5'
+ - 'ens6'
+ busaddr: &busaddr
+ # Bus-info reported by `ethtool -i ethX`
+ - '0000:00:03.0'
+ - '0000:00:04.0'
+ - '0000:00:05.0'
+ - '0000:00:06.0'
+ - interfaces: *interfaces
+ busaddr: *busaddr
+ - interfaces: *interfaces
+ busaddr: *busaddr
+ - interfaces: *interfaces
+ busaddr: *busaddr
+ - interfaces: *interfaces
+ busaddr: *busaddr
+ reclass:
+ node:
+ - compute_params: &compute_params
+ common: &compute_params_common
+ compute_hugepages_size: 2M
+ compute_hugepages_count: 5120
+ compute_hugepages_mount: /mnt/hugepages_2M
+ dpdk:
+ <<: *compute_params_common
+ compute_dpdk_driver: uio
+ compute_ovs_pmd_cpu_mask: "0x6"
+ compute_ovs_dpdk_socket_mem: "3072"
+ compute_ovs_dpdk_lcore_mask: "0x8"
+ compute_ovs_memory_channels: "2"
+ dpdk0_driver: igb_uio
+ dpdk0_n_rxq: 2
+ - compute_params: *compute_params
+ - compute_params: *compute_params
+ - compute_params: *compute_params
+ - compute_params: *compute_params
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
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 00000000..8898266c
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,24 @@
+##############################################################################
+# Copyright (c) 2018 Linux Foundation 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
+##############################################################################
+[tox]
+minversion = 1.6
+envlist =
+ docs,
+ docs-linkcheck
+skipsdist = true
+
+[testenv:docs]
+deps = -rdocs/requirements.txt
+commands =
+ sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
+ echo "Generated docs available in {toxinidir}/docs/_build/html"
+whitelist_externals = echo
+
+[testenv:docs-linkcheck]
+deps = -rdocs/requirements.txt
+commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck