vmware-nsx/neutron/plugins/openvswitch
Salvatore Orlando 6a9f0ab42f Avoid processing ports which are not yet ready
This patch changes get_vif_port_set in order to not return
OVS ports for which the ofport is not yet assigned, thus avoiding
a regex match failure in get_vif_port_by_id.
Because of this failure, treat_vif_port is unable to wire
the port.
As get_vif_port_by_id is also used elsewhere in the agent, it has
been enhanced in order to tolerate situations in which ofport might
have not yet been assigned.

The ofport field is added to the list of those monitored by the
SimpleInterfaceMonitor. This will guarantee an event is generated
when the ofport is assigned to a port. Otherwise there is a risk
a port would be never processed if it was not yet ready the first
time is was detected. This change won't trigger any extra processing
on the agent side.

Finally, this patch avoids fetching device details from the plugin
for ports which have disappeared from the OVS bridge. This is a
little optimization which might be beneficial for short lived ports.

Change-Id: Icf7f0c7d6fe5239a358567cc9dc9db8ec11c15be
Partial-Bug: #1253896
2014-02-13 15:38:05 -08:00
..
agent Avoid processing ports which are not yet ready 2014-02-13 15:38:05 -08:00
common Update common network type consts to same origin 2013-12-10 19:29:12 +00:00
__init__.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
ovs_db_v2.py Fix race in get_network(s) in OVS plugin 2014-01-02 23:20:23 +04:00
ovs_models_v2.py Fix race in get_network(s) in OVS plugin 2014-01-02 23:20:23 +04:00
ovs_neutron_plugin.py Fix race in get_network(s) in OVS plugin 2014-01-02 23:20:23 +04:00
README Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00

The Open vSwitch (OVS) Neutron plugin is a simple plugin to manage OVS
features using a local agent running on each hypervisor.

For details on how to configure and use the plugin, see:

http://openvswitch.org/openstack/documentation/