neutron-lib/neutron_lib/tests/unit
Nate Johnston db04334582 Add ethertype validator for custom ethertype validation
Since the restriction on ethertypes is being raised so that ethertypes
other than IPv4 and IPv6 can be specified in security group rules, add a
validator to ensure that ethertypes will be a valid two octet value.
The ethertype handling is configurable so make sure the validator
handles both possible configuration alternatives: the original style
where only IPv4 and IPv6 are valid, and the new style where any valid
two octet number (or it's string equivalent) works.

Related-Bug: #1832758
Needed-By: https://review.opendev.org/670203
Change-Id: I900f370f1de20b5137f138e54c5eec2102f77cce
2019-07-19 12:45:36 -04:00
..
api Add ethertype validator for custom ethertype validation 2019-07-19 12:45:36 -04:00
callbacks Update hacking version 2019-04-23 01:13:21 +00:00
clients Placement client: move to neutron_lib.placement 2018-08-21 16:52:30 +02:00
db make sql fixtures public 2019-06-28 09:39:42 -06:00
exceptions add exceptions package 2017-02-13 12:34:04 -07:00
hacking Update flake8 style enforcement 2019-06-26 16:30:35 -04:00
legacy Move some common test and framework goo into neutron-lib 2016-01-29 23:45:49 -07:00
objects rehome neutron.objects.common_types 2019-03-28 08:17:21 -06:00
placement Add noauth option for placement client 2019-04-15 10:52:44 +02:00
plugins Fix pep8 E126 2019-01-30 08:15:14 +01:00
policy Add policy module to neutron-lib 2019-02-19 09:41:39 +01:00
services Use QoS constants definitions 2018-10-19 11:44:32 -05:00
utils Update flake8 style enforcement 2019-06-26 16:30:35 -04:00
__init__.py Adding callback mechanism 2015-12-18 19:05:15 +00:00
fake_notifier.py rehome rpc and related plumbing 2018-07-12 13:13:21 -06:00
test_context.py Add interface to add a constraint to context 2017-07-14 13:42:34 -07:00
test_fixture.py make sql fixtures public 2019-06-28 09:39:42 -06:00
test_neutron_lib.py Removes unnecessary utf-8 encoding 2016-12-28 17:08:10 +07:00
test_rpc.py Catch only MessageDeliveryFailure exceptions 2019-02-21 15:31:14 -05:00
test_worker.py Update hacking version 2019-04-23 01:13:21 +00:00