neutron/neutron
Lucas Alvares Gomes f6010f6042 [OVN] Enhance port's extra DHCP options support
Prior to this patch OVN did not validate any extra DHCP option passed
to the port leading to confusion because the user of the API could just
input any value and OVN would accept it (returning 200) but ignoring the
option internally.

This patch now adds such validations on port creation and update.

This patch also sync with the latest supported DHCP options from OVN and
create a map between the different names and option codes to their OVN
counterpart.

Closes-bug: #1874282
Change-Id: I99799e54e941cdd8da2614feecad1ef6299703fc
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
2020-05-25 11:23:02 +01:00
..
agent Remove usage of six.add_metaclass 2020-05-21 14:41:18 -04:00
api Remove usage of six.add_metaclass 2020-05-21 14:41:18 -04:00
cmd Merge "Remove usage of six.add_metaclass" 2020-05-22 20:35:31 +00:00
common [OVN] Enhance port's extra DHCP options support 2020-05-25 11:23:02 +01:00
conf Merge "[OVN] Add IGMP snooping support" 2020-03-09 15:29:33 +00:00
core_extensions Remove usage of six.add_metaclass 2020-05-21 14:41:18 -04:00
db Merge "Revising log with wrong network_id when create port failed" 2020-05-20 18:28:24 +00:00
debug Fix neutron debug probe to use integration_bridge 2020-03-31 11:17:47 +00:00
extensions Remove usage of six.add_metaclass 2020-05-21 14:41:18 -04:00
hacking Switch to hacking 3.0.1 2020-05-12 16:58:41 -04:00
ipam Remove usage of six.add_metaclass 2020-05-21 14:41:18 -04:00
locale Imported Translations from Zanata 2020-05-03 07:38:11 +00:00
notifiers Use openstacksdk for ironic notifiers 2019-09-19 06:56:24 +00:00
objects Remove usage of six.add_metaclass 2020-05-21 14:41:18 -04:00
pecan_wsgi Set DB retry for quota_enforcement pecan_wsgi hook 2019-11-08 15:34:17 +04:00
plugins [OVN] Enhance port's extra DHCP options support 2020-05-25 11:23:02 +01:00
privileged Replace ctype.CDLL by ctypes.PyDLL in linux.ip_lib 2020-04-02 13:59:29 +00:00
profiling Add profiler decorator to Neutron 2019-10-31 10:05:01 -05:00
quota Set DB retry for quota_enforcement pecan_wsgi hook 2019-11-08 15:34:17 +04:00
scheduler Remove usage of six.add_metaclass 2020-05-21 14:41:18 -04:00
server Re-use existing ProcessLauncher from wsgi in RPC workers 2020-02-07 14:51:06 +01:00
services Remove usage of six.add_metaclass 2020-05-21 14:41:18 -04:00
tests [OVN] Enhance port's extra DHCP options support 2020-05-25 11:23:02 +01:00
__init__.py Fix incorrect usage of '# flake8: noqa' 2018-10-29 15:27:50 -04:00
_i18n.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
auth.py Use oslo.context class method to construct context object 2017-03-23 09:02:46 +00:00
manager.py Remove usage of six.add_metaclass 2020-05-21 14:41:18 -04:00
neutron_plugin_base_v2.py Remove usage of six.add_metaclass 2020-05-21 14:41:18 -04:00
opts.py Fix duplicate ID warning during doc build 2020-02-04 12:13:14 -05:00
policy.py List SG rules which belongs to tenant's SG 2019-11-27 15:45:09 +01:00
service.py Re-use existing ProcessLauncher from wsgi in RPC workers 2020-02-07 14:51:06 +01:00
version.py
worker.py Change process name of neutron-server to match worker role 2019-03-01 14:18:09 -05:00
wsgi.py Re-use existing ProcessLauncher from wsgi in RPC workers 2020-02-07 14:51:06 +01:00