c147d88261
There was no validation for the provided ip prefix. This just adds a simple parse using netaddr and explodes with appropriate message. Also makes sure ip prefix _is_ cidr (192.168.1.1-->192.168.1.1/32). Validation occurs at the attribute level (API model) as well as at the db level, where the ethertype is validated against the ip_prefix address type. Unit test cases added - bad prefix, unmasked prefix and incorrect ethertype. Also adds attribute test cases for the added convert_ip_prefix_to_cidr method Change-Id: I71fb8c887963a122a5bd8cfdda800026c1cd3954 Closes-Bug: 1255338 |
||
---|---|---|
bin | ||
doc | ||
etc | ||
neutron | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.pylintrc | ||
.testr.conf | ||
babel.cfg | ||
HACKING.rst | ||
LICENSE | ||
MANIFEST.in | ||
openstack-common.conf | ||
README.rst | ||
requirements.txt | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
TESTING.rst | ||
tox.ini |
# -- 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>.