OVS-agent: Switch the default to "native" of_interface

UpgradeImpact
Change-Id: If3b27a623da762989980157a29376f8fa9bc991e
This commit is contained in:
IWAMOTO Toshihiro 2016-05-23 17:26:20 +09:00 committed by Armando Migliaccio
parent ce644b821a
commit 7ae9e4ee00
2 changed files with 11 additions and 1 deletions

View File

@ -65,7 +65,7 @@ ovs_opts = [
"integration bridge to physical networks. "
"Support kernel without Open vSwitch patch port "
"support so long as it is set to True.")),
cfg.StrOpt('of_interface', default='ovs-ofctl',
cfg.StrOpt('of_interface', default='native',
choices=['ovs-ofctl', 'native'],
help=_("OpenFlow interface to use.")),
cfg.StrOpt('datapath_type', default=constants.OVS_DATAPATH_SYSTEM,

View File

@ -0,0 +1,10 @@
---
prelude: >
Prior to Newton, the neutron-openvswitch-agent used 'ovs-ofctl'
of_interface driver by default. In Newton, 'of_interface'
defaults to 'native'. This mostly eliminates spawning ovs-ofctl
and improves performance a little.
upgrade:
- To retain the old default for neutron-openvswitch-agent, use
'of_interface = ovs-ofctl' in the '[ovs]' section of your
openvswitch agent configuration file.