neutron-lib/neutron_lib/tests
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
..
etc policy-in-code support in neutron-lib 2018-09-17 08:59:57 +00:00
unit Add ethertype validator for custom ethertype validation 2019-07-19 12:45:36 -04:00
__init__.py Initial cookiecutter commit 2015-11-20 17:24:43 -07:00
_base.py fix WarningsFixture for public consumption 2019-04-10 07:19:42 -06:00
_post_mortem_debug.py Move some common test and framework goo into neutron-lib 2016-01-29 23:45:49 -07:00
tools.py fix WarningsFixture for public consumption 2019-04-10 07:19:42 -06:00