OpenStack Networking (Neutron)
Go to file
Salvatore Orlando 2702baed39 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
bin Use oslo.rootwrap library instead of local copy 2014-02-07 10:58:27 +01:00
doc Start of new developer documentation 2013-12-26 17:24:38 -05:00
etc Merge "Add migration support from agent to NSX dhcp/metadata services" 2014-02-12 10:22:32 +00:00
neutron Avoid processing ports which are not yet ready 2014-02-13 15:38:05 -08:00
quantum Re-assign quantum.api module as last operation 2013-07-15 22:51:28 +02:00
tools Merge "Corrects broken format strings in check_i18n.py" 2014-01-07 14:11:59 +00:00
.coveragerc fix some missing change from quantum to neutron 2013-07-08 12:11:04 +08:00
.gitignore Updates .gitignore 2013-11-28 23:18:03 +08:00
.gitreview Rename quantum to neutron in .gitreview. 2013-07-06 12:25:09 -04:00
.mailmap Update Zhenguo Niu's mailmap 2013-11-26 09:25:35 +08:00
.pylintrc Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
.testr.conf Add an explicit tox job for functional tests 2014-02-05 17:11:52 +00:00
HACKING.rst Cleanup HACKING.rst 2013-11-11 10:32:34 -08:00
LICENSE Adding Apache Version 2.0 license file. This is the official license agreement under which Quantum code is available to 2011-08-08 12:31:04 -07:00
MANIFEST.in Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
README.rst Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
TESTING Add post-mortem debug option for tests 2013-12-10 03:56:50 +00:00
babel.cfg Use babel to generate translation file 2013-01-24 00:20:32 +08:00
openstack-common.conf Merge "Use oslo.rootwrap library instead of local copy" 2014-02-11 01:53:53 +00:00
requirements.txt Merge "Remove psutil dependency" 2014-02-11 09:34:08 +00:00
run_tests.sh Fix interprocess locks for run_tests.sh 2014-01-16 20:47:58 +00:00
setup.cfg Merge "Add migration support from agent to NSX dhcp/metadata services" 2014-02-12 10:22:32 +00:00
setup.py Updated from global requirements 2013-10-01 16:13:29 +00:00
test-requirements.txt Sync global requirements to pin sphinx to sphinx>=1.1.2,<1.2 2013-12-10 14:03:20 -08:00
tox.ini Merge "Add an explicit tox job for functional tests" 2014-02-11 08:03:05 +00:00

README.rst

# -- Welcome!

You have come across a cloud computing network fabric controller. It has identified itself as "Neutron." It aims to tame your (cloud) networking!

# -- External Resources:

The homepage for Neutron is: http://launchpad.net/neutron . Use this site for asking for help, and filing bugs. Code is available on github at <http://github.com/openstack/neutron>.

The latest and most in-depth documentation on how to use Neutron is available at: <http://docs.openstack.org>. This includes:

Neutron Administrator Guide http://docs.openstack.org/trunk/openstack-network/admin/content/

Neutron API Reference: http://docs.openstack.org/api/openstack-network/2.0/content/

The start of some developer documentation is available at: http://wiki.openstack.org/NeutronDevelopment

For help using or hacking on Neutron, you can send mail to <mailto:openstack-dev@lists.openstack.org>.