From 974993a17188f10acd6a1f9b2f48002b9c77ef24 Mon Sep 17 00:00:00 2001 From: Ricardo Noriega Date: Mon, 12 Feb 2018 12:58:14 +0100 Subject: Adding SRIOV scenario This scenario should enable SRIOV interfaces to be used by Neutron. Only will be supported in baremetal deployments with SRIOV capable NICs. The name of the interface must be known in advance and the physnet of the SRIOV network is set as nfv_sriov. Change-Id: Ie4295413e0be2197bd9ada4f887f6b47cd486765 Signed-off-by: Ricardo Noriega --- config/deploy/deploy_settings.yaml | 5 +++++ config/deploy/os-odl-sriov-ha.yaml | 21 +++++++++++++++++++++ config/deploy/os-odl-sriov-noha.yaml | 21 +++++++++++++++++++++ 3 files changed, 47 insertions(+) create mode 100644 config/deploy/os-odl-sriov-ha.yaml create mode 100644 config/deploy/os-odl-sriov-noha.yaml (limited to 'config') diff --git a/config/deploy/deploy_settings.yaml b/config/deploy/deploy_settings.yaml index ab3b0a37..a6721b4a 100644 --- a/config/deploy/deploy_settings.yaml +++ b/config/deploy/deploy_settings.yaml @@ -52,6 +52,11 @@ deploy_options: # The dataplane should be specified as fdio if this is set to true vpp: false + # Whether to install and configure SRIOV service in the compute node(s) to + # allow VMs to use VFs/PFs. The user must know in advance the name of the + # SRIOV capable NIC that will be configured. + sriov: em2 + # Whether to run vsperf after the install has completed # vsperf: false diff --git a/config/deploy/os-odl-sriov-ha.yaml b/config/deploy/os-odl-sriov-ha.yaml new file mode 100644 index 00000000..03e34a23 --- /dev/null +++ b/config/deploy/os-odl-sriov-ha.yaml @@ -0,0 +1,21 @@ +--- +global_params: + ha_enabled: true + +deploy_options: + sdn_controller: opendaylight + odl_version: nitrogen + tacker: true + congress: true + sfc: false + vpn: false + sriov: em2 + performance: + Controller: + kernel: + Compute: + kernel: + hugepagesz: 2M + hugepages: 2048 + intel_iommu: 'on' + iommu: pt diff --git a/config/deploy/os-odl-sriov-noha.yaml b/config/deploy/os-odl-sriov-noha.yaml new file mode 100644 index 00000000..52b5aa18 --- /dev/null +++ b/config/deploy/os-odl-sriov-noha.yaml @@ -0,0 +1,21 @@ +--- +global_params: + ha_enabled: false + +deploy_options: + sdn_controller: opendaylight + odl_version: nitrogen + tacker: true + congress: true + sfc: false + vpn: false + sriov: em2 + performance: + Controller: + kernel: + Compute: + kernel: + hugepagesz: 2M + hugepages: 2048 + intel_iommu: 'on' + iommu: pt -- cgit 1.2.3-korg