OpenStack Networking (Neutron)
Go to file
Kevin Benton a19029d3d6 Get rid of marshall_fdb_entries
This function isn't necessary. The json encoding of a
named tuple will already turn into a normal list.

ports = [l2pop_rpc.PortInfo('abcdef', '1.1.1.1')]
json.dumps(ports) == json.dumps([(mac, ip) for (mac, ip) in ports])

An argument could be made that the PortInfo object could have
something added to it later that we wouldn't want to serialize
in order to remain backward compatible. However, doing so would
break all of the constructions of PortInfo objects on the agents
once they got the updated code for PortInfo that requires the
new parameter.

So there is no way currently to add a new field to PortInfo without
breaking existing legacy clients or breaking new clients.
Given that, let's stop doing the json encoder's job.

This patch also adds a sanity unit test to make sure the json
serialization method used in oslo does not break on the named tuples.

Change-Id: I45ae69ef8c9c15ad21a28dc42f2d78b234ccfb0c
2016-02-03 00:16:45 -08:00
bin Replace 'import json' with oslo_serialization 2015-08-11 06:05:37 -07:00
devstack devstack: use stevedore entry point for flavor service plugin 2016-01-14 17:02:22 +01:00
doc Merge "Fail if required extensions are missing" 2016-01-30 17:21:25 +00:00
etc Remove obsolete plugin stuff 2016-01-21 23:16:20 +00:00
neutron Get rid of marshall_fdb_entries 2016-02-03 00:16:45 -08:00
rally-jobs Changes in rally-jobs/README.rst 2015-06-04 10:34:15 -04:00
releasenotes Merge "Fail if required extensions are missing" 2016-01-30 17:21:25 +00:00
tools Delete Tempest fork, import from tempest and tempest_lib 2016-01-29 11:31:27 -05:00
.coveragerc Change ignore-errors to ignore_errors 2015-09-21 14:31:29 +00:00
.gitignore Automatically generate neutron core configuration files 2015-11-27 15:22:59 +00:00
.gitreview Fix .gitreview to not point at a branch 2015-08-17 13:51:51 -06:00
.mailmap Add mailmap entry 2014-05-16 13:40:04 -04:00
.pylintrc pylint: enable `duplicate-key` check 2015-06-04 13:10:44 +10:00
.testr.conf Workaround test stream corruption issue. 2015-09-05 04:19:40 +00:00
CONTRIBUTING.rst Workflow documentation is now in infra-manual 2014-12-05 03:30:37 +00:00
HACKING.rst Unify using assertIsInstance 2016-01-15 00:06:03 +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 Include alembic versions directory to the package 2015-10-21 07:26:24 +00:00
README.rst Update the URLs to the Cloud Admin Guide 2015-08-24 17:24:34 +02:00
TESTING.rst Fix typo in test path in Testing.rst 2016-01-13 20:29:47 +00:00
babel.cfg Use babel to generate translation file 2013-01-24 00:20:32 +08:00
openstack-common.conf remove openstack-common.conf 2016-01-08 12:58:59 +08:00
requirements.txt Updated from global requirements 2016-01-26 23:25:29 +00:00
run_tests.sh Remove check for bash usage 2015-04-07 15:15:33 +00:00
setup.cfg Merge "External DNS driver reference implementation" 2016-01-23 05:53:56 +00:00
setup.py Updated from global requirements 2015-09-21 18:56:49 +00:00
test-requirements.txt Updated from global requirements 2016-01-16 03:28:47 +00:00
tox.ini Delete Tempest fork, import from tempest and tempest_lib 2016-01-29 11:31:27 -05: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 git.openstack.org at <http://git.openstack.org/cgit/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/admin-guide-cloud/networking.html

Networking Guide

http://docs.openstack.org/networking-guide/

Neutron API Reference:

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

Current Neutron developer documentation is available at:

http://wiki.openstack.org/NeutronDevelopment

For help on usage and hacking of Neutron, please send mail to <mailto:openstack-dev@lists.openstack.org>.

For information on how to contribute to Neutron, please see the contents of the CONTRIBUTING.rst file.