]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Check network vlan ranges for correctness.
authorgessau <gessau@cisco.com>
Wed, 15 May 2013 01:57:47 +0000 (21:57 -0400)
committergessau <gessau@cisco.com>
Sat, 18 May 2013 16:57:28 +0000 (12:57 -0400)
commitb38c56f5b6b0f0b03ff8f2799ccdde2cabfba5a7
treef873d63103e8560ba7f3848225ed248e12989aa2
parent391108a014b3e640525f3c76da248ccd555cddb1
Check network vlan ranges for correctness.

Check that the range beginning and end tags are valid values 1-4094.
Supply two global constants for min/max vlan tags and update all
local usage of these values to use the global constants.

Fixes: Bug #1169266
Change-Id: I054a8bebd16d95ea40414e3cecb6d24a970c730f
14 files changed:
quantum/common/constants.py
quantum/common/exceptions.py
quantum/common/utils.py
quantum/plugins/brocade/vlanbm.py
quantum/plugins/common/utils.py
quantum/plugins/hyperv/common/constants.py
quantum/plugins/linuxbridge/lb_quantum_plugin.py
quantum/plugins/mlnx/common/constants.py
quantum/plugins/mlnx/mlnx_plugin.py
quantum/plugins/nicira/QuantumPlugin.py
quantum/plugins/openvswitch/agent/ovs_quantum_agent.py
quantum/plugins/openvswitch/ovs_quantum_plugin.py
quantum/tests/unit/nec/test_db.py
quantum/tests/unit/test_common_utils.py