OVN: Add env file to deploy SRIOV with OVN.

This patch adds an environment file to enable sriov agent with OVN. It is expected to
include the environment file - environments/services/neutron-ovn-sriov.yaml
after including the main OVN environment file. The main OVN environment files
(neutron-ovn-ha.yaml, neutron-ovn-dvr-ha.yaml) disables  all the neutron agent
services.

ovn-controller service responds to the DHCP requests from the VMs.
But in the case of SRIOV VMs, ovn-controller won't be able to capture the traffic sent
via SRIOV directly to the switch. So neutron-ovn-sriov.yaml enables dhcp agent.

Change-Id: Id6a0ce90fdc7348f47e239ec929bf88ca35c5fab
Closes-bug: #1779106
(cherry picked from commit 2e47270962)
This commit is contained in:
Numan Siddique 2018-06-28 16:41:51 +05:30 committed by Kamil Sambor
parent b96e8df236
commit 916a5378c6
1 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,17 @@
# EXPERIMENTAL: The configuration enabled by this environment is not considered
# production-ready.
#
# A Heat environment that can be used to enable SR-IOV support in neutron with OVN
# mechanism driver.
# This environment file should be included after the main OVN environment
# file - neutron-ovn-ha.yaml/neutron-ovn-dvr(-ha).yaml is included.
resource_registry:
OS::TripleO::Services::NeutronSriovAgent: ../../docker/services/neutron-sriov-agent.yaml
OS::TripleO::Services::NeutronSriovHostConfig: ../../puppet/services/neutron-sriov-host-config.yaml
OS::TripleO::Services::NeutronDhcpAgent: ../../docker/services/neutron-dhcp.yaml
parameter_defaults:
NeutronMechanismDrivers: ['sriovnicswitch','ovn']
NovaSchedulerDefaultFilters: ['RetryFilter','AvailabilityZoneFilter','RamFilter','ComputeFilter','ComputeCapabilitiesFilter','ImagePropertiesFilter','ServerGroupAntiAffinityFilter','ServerGroupAffinityFilter','PciPassthroughFilter']
NovaSchedulerAvailableFilters: ["nova.scheduler.filters.all_filters","nova.scheduler.filters.pci_passthrough_filter.PciPassthroughFilter"]