Adds environment file for ODL OVS Hardware Offload
Change-Id: I0bf2bbe486d3897fe18f2bbbd493d745499a51f9
This commit is contained in:
parent
e6db8c4ad0
commit
4fbc8962fc
31
environments/neutron-opendaylight-hw-offload.yaml
Normal file
31
environments/neutron-opendaylight-hw-offload.yaml
Normal file
@ -0,0 +1,31 @@
|
||||
# A Heat environment that can be used to deploy OpenDaylight with SRIOV
|
||||
resource_registry:
|
||||
OS::TripleO::Services::NeutronOvsAgent: OS::Heat::None
|
||||
OS::TripleO::Services::ComputeNeutronOvsAgent: OS::Heat::None
|
||||
OS::TripleO::Services::ComputeNeutronCorePlugin: OS::Heat::None
|
||||
OS::TripleO::Services::NeutronCorePlugin: ../puppet/services/neutron-plugin-ml2-odl.yaml
|
||||
OS::TripleO::Services::OpenDaylightApi: ../puppet/services/opendaylight-api.yaml
|
||||
OS::TripleO::Services::OpenDaylightOvs: ../puppet/services/opendaylight-ovs.yaml
|
||||
OS::TripleO::Services::NeutronSriovHostConfig: ../puppet/services/neutron-sriov-host-config.yaml
|
||||
OS::TripleO::Services::NeutronL3Agent: OS::Heat::None
|
||||
|
||||
parameter_defaults:
|
||||
NeutronEnableForceMetadata: true
|
||||
NeutronPluginExtensions: 'port_security'
|
||||
NeutronMechanismDrivers: ['opendaylight_v2']
|
||||
NeutronServicePlugins: 'odl-router_v2,trunk'
|
||||
NovaSchedulerDefaultFilters: ['RetryFilter','AvailabilityZoneFilter','RamFilter','ComputeFilter','ComputeCapabilitiesFilter','ImagePropertiesFilter','ServerGroupAntiAffinityFilter','ServerGroupAffinityFilter','PciPassthroughFilter']
|
||||
NovaSchedulerAvailableFilters: ["nova.scheduler.filters.all_filters","nova.scheduler.filters.pci_passthrough_filter.PciPassthroughFilter"]
|
||||
|
||||
# Kernel arguments for ComputeSriov node
|
||||
ComputeSriovParameters:
|
||||
KernelArgs: "intel_iommu=on iommu=pt"
|
||||
OvsHwOffload: True
|
||||
# Number of VFs that needs to be configured for a physical interface
|
||||
#NeutronSriovNumVFs: ["ens3f0:4:switchdev"]
|
||||
# Mapping of SR-IOV PF interface to neutron physical_network.
|
||||
# In case of Vxlan/GRE physical_network should be null.
|
||||
# In case of flat/vlan the physical_network should as configured in neutron.
|
||||
#NovaPCIPassthrough:
|
||||
# - devname: "ens3f0"
|
||||
# physical_network: null
|
@ -91,6 +91,11 @@ parameters:
|
||||
default: {}
|
||||
description: Parameters specific to the role
|
||||
type: json
|
||||
OvsHwOffload:
|
||||
default: false
|
||||
description: |
|
||||
Enable OVS Hardware Offload. This feature supported from OVS 2.8.0
|
||||
type: boolean
|
||||
|
||||
resources:
|
||||
Ovs:
|
||||
@ -117,6 +122,8 @@ resources:
|
||||
neutron::plugins::ovs::opendaylight::vhostuser_socket_dir: VhostuserSocketDir
|
||||
neutron::plugins::ovs::opendaylight::vhostuser_mode: OvsVhostuserMode
|
||||
neutron::plugins::ovs::opendaylight::provider_mappings: OpenDaylightProviderMappings
|
||||
neutron::plugins::ovs::opendaylight::enable_hw_offload: OvsHwOffload
|
||||
vswitch::ovs::enable_hw_offload: OvsHwOffload
|
||||
- values: {get_param: [RoleParameters]}
|
||||
- values:
|
||||
HostAllowedNetworkTypes: {get_param: HostAllowedNetworkTypes}
|
||||
@ -124,6 +131,7 @@ resources:
|
||||
VhostuserSocketDir: {get_param: VhostuserSocketDir}
|
||||
OvsVhostuserMode: {get_param: OvsVhostuserMode}
|
||||
OpenDaylightProviderMappings: {get_param: OpenDaylightProviderMappings}
|
||||
OvsHwOffload: {get_param: OvsHwOffload}
|
||||
|
||||
outputs:
|
||||
role_data:
|
||||
|
@ -0,0 +1,5 @@
|
||||
---
|
||||
features:
|
||||
- Add support for ODL OVS Hardware Offload.
|
||||
This feature requires Linux Kernel >= 4.13
|
||||
Open vSwitch >= 2.8 iproute >= 4.12.
|
Loading…
x
Reference in New Issue
Block a user