]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add enable_tunneling openvswitch configuration variable
authorBob Kukura <rkukura@redhat.com>
Sun, 9 Sep 2012 15:49:25 +0000 (11:49 -0400)
committerBob Kukura <rkukura@redhat.com>
Tue, 11 Sep 2012 02:34:57 +0000 (22:34 -0400)
commit00dd97c7e9a852f4abd6e8460a0d094c01d3d0ba
tree0695dd042ba009196d23bc4e1fd20da7eeb37be9
parent39b74e42ecdc0ea6aaeaed88c33f6be9070b35ab
Add enable_tunneling openvswitch configuration variable

Not all systems that support Open vSwitch support its GRE tunneling
feature that is not in the Linux kernel source tree. Therefore, a new
configuration variable, enable_tunneling, applies to both the server
and agent. Its default value is False, so it must be set to True to
enable tunneling for tenant and/or provider networks. If
enable_tunneling is False, the server will not allow creation of GRE
networks, and the agent will not initialize the tunnel bridge and will
log an error if there is an attempt to provision a GRE network. If it
is True, the agent now logs an error and exits if it fails to
initialize the patch ports used for the tunnel bridge. Fixes bug
1045610.

When there is an attempt to provision a flat or VLAN network and the
agent has no bridge mapping configured for a the specified physical
network, the agent will now log an error rather than crash.

An undefined variable in a logging statement has been corrected.

Logging levels for openvswitch have been checked and updated where
necessary, and logging statements now avoid the % string substitution
syntax. Fixes bug 1045592.

The corresponding devstack update has already been merged.

Change-Id: I149db182dd132cc05802dcb20c6b552e293664a5
etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini
quantum/plugins/openvswitch/agent/ovs_quantum_agent.py
quantum/plugins/openvswitch/common/config.py
quantum/plugins/openvswitch/ovs_quantum_plugin.py
quantum/tests/unit/openvswitch/test_ovs_defaults.py
quantum/tests/unit/openvswitch/test_ovs_tunnel.py