neutron/neutron/tests/unit
Sreekumar S 913a64cc11 SG protocol validation to allow numbers or names
SG rule protocol provided is validated against the DB rules'
protocols for both number and name. The filter provided to DB
is modified so that it is queried for records with both the
protocol name and number, instead of exactly the type provided
with the input. The returned DB rule record's protocol field is
validated against the supplied SG protocol field for both name
or number.
This way, user is still allowed to enter protocol name or number
to create a rule, and API compatibility is maintained.

Change-Id: If4ad684e961433b8d9d3ec8fe2810585d3f6a093
Closes-Bug: #1215181
2016-03-29 04:37:17 +00:00
..
agent Merge "Fix dict.keys() incompatibility in py34 in dhcp test" 2016-03-21 23:24:27 +00:00
api Merge "Update Neutron with temporary registry pattern from VersionedObjectRegistry" 2016-03-18 00:48:29 +00:00
callbacks Provide kwargs for callback abort 2016-01-12 21:48:05 +00:00
cmd Make netns_cleanup to purge resources of selected agent only 2016-02-11 12:19:26 +03:00
common ovs-fw: Enhance port ranges with masks 2016-02-23 16:39:38 +00:00
core_extensions Objects DB api: added composite key to handle multiple primary key 2016-03-01 17:05:11 +00:00
db SG protocol validation to allow numbers or names 2016-03-29 04:37:17 +00:00
debug tests: stop validating neutronclient in neutron-debug tests 2016-01-14 06:46:45 +00:00
extensions SG protocol validation to allow numbers or names 2016-03-29 04:37:17 +00:00
hacking Using LOG.warning replace LOG.warn 2016-03-10 11:02:45 -08:00
ipam Construct exceptions before passing to retryrequest 2016-03-09 16:25:28 -08:00
notifiers Fix module's import order 2016-01-22 06:38:42 -08:00
objects Merge "objects: fixed base to_dict implementation" 2016-03-21 16:26:46 +00:00
plugins Merge "Fix wrong use of list of dict in _check_driver_to_bind" 2016-03-21 23:24:08 +00:00
quota Fix module's import order 2016-01-22 06:38:42 -08:00
scheduler Merge "Move db query to fetch down bindings under try/except" 2016-03-21 23:24:46 +00:00
services DSCP QoS rule implementation 2016-03-18 10:07:24 +01:00
tests tests: register all objects before validating their hash versions 2016-03-16 08:26:37 -04:00
__init__.py oslo: migrate to namespace-less import paths 2015-02-05 15:09:32 +01:00
_test_extension_portbindings.py Fix module's import order 2016-01-22 06:38:42 -08:00
dummy_plugin.py Fixed a bunch of typos throughout Neutron 2015-10-30 08:54:41 -05:00
extension_stubs.py Add a description field to all standard resources 2016-03-05 02:29:35 +00:00
test_auth.py Fix params order in assertEqual 2016-01-13 18:24:04 +05:30
test_context.py Support Unicode request_id on Python 3 2015-11-27 16:21:16 +01:00
test_manager.py Add the ability to load a set of service plugins on startup 2016-02-10 10:04:15 -06:00
test_policy.py Raise RetryRequest on policy parent not found 2016-01-27 05:23:38 -08:00
test_service.py Refactor TestRpcWorker and TestWorkerService 2015-06-16 15:49:48 +03:00
test_wsgi.py Make sure we return unicode strings for process output 2015-11-20 16:49:51 +01:00
testlib_api.py Improve fixture usage. 2015-07-01 14:53:48 +12:00