Firewall services for OpenStack Neutron.
Go to file
Aaron Rosen 827cc51705 Notify nova when ports are ready
The following patch adds a callback from neutron to nova that notifies nova
when a port for an instance is *ready to be used*. After nova receives this
event it will then start the instance in a hope that when it comes up
its networking should be in working order.

NOTE: *ready to be used* currently means that a plugin changes the status
in the db associated with a port from:
NO_VALUE/PORT_STATUS_DOWN/PORT_STATUS_ACTIVE to ACTIVE/ERROR.

Neutron will then signal nova: network_vif_plugged:<status> where status
will either be 'completed' or 'failed' given the neutron port status.

Neutron also notifies nova when a port goes from status:
PORT_STATUS_ACTIVE to PORT_STATUS_DOWN and sends nova a network_vif_unplugged
event.

Currently this patch breaks multiregion support (i.e previously you could
back multiple nova regions by one neutron server) though now since neutron
needs to notify nova we'll need to add a way to determine which region a
given port is in.

For now the work around for this would be to set: notify_nova_port_active=False
in neutron to prevent neutron from sending the notification and setting:
vif_plugging_is_fatal=False in nova.conf. Doing this will keep the current
interaction where an instance will be booted without waiting for the network
to be ready.

DocImpact

implements blueprint: nova-event-callback

Change-Id: I4177124485b986706fcf8e73b928024b5d82b822
2014-03-13 17:19:21 -07:00
bin Use oslo.rootwrap library instead of local copy 2014-02-07 10:58:27 +01:00
doc Merge "Developer documentation" 2014-03-08 10:40:41 +00:00
etc Notify nova when ports are ready 2014-03-13 17:19:21 -07:00
neutron Notify nova when ports are ready 2014-03-13 17:19:21 -07: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 mailmap: update .mailmap 2014-02-10 15:48:48 +09: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
babel.cfg Use babel to generate translation file 2013-01-24 00:20:32 +08: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
openstack-common.conf Merge "Remove dependent module py3kcompat" 2014-02-23 06:30:59 +00:00
README.rst Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
requirements.txt Updated from global requirements 2014-03-11 17:31:09 +00:00
run_tests.sh Merge "Don't document non-existing flag '--hide-elapsed'" 2014-02-22 04:05:04 +00:00
setup.cfg One Convergence Neutron Plugin l3 ext support 2014-03-06 21:50:55 +00:00
setup.py Updated from global requirements 2013-10-01 16:13:29 +00:00
test-requirements.txt Updated from global requirements 2014-02-23 09:26:34 +00:00
TESTING.rst Developer documentation 2014-02-26 11:03:46 -05:00
tox.ini Merge "Add an explicit tox job for functional tests" 2014-02-11 08:03:05 +00:00

# -- 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>.