neutron/neutron
Brian Haley 5af046fd4e Remove extra header fields in proxied metadata requests
If a user specifies a header in their request for metadata,
it could override what the proxy would have inserted on their
behalf. Make sure to remove any headers we don't want, and
override something that might be present in the request.
If the agent somehow gets a request with both headers it will
silently drop it.

Change-Id: Id6c103b7bcebe441c27c6049d349d84ba7fd15a6
Closes-bug: #1865036
2020-03-02 11:20:25 -05:00
..
agent Remove extra header fields in proxied metadata requests 2020-03-02 11:20:25 -05:00
api dhcp-agent: equalize port create_low/update/delete priority 2020-02-11 12:25:41 +04:00
cmd Deprecate config option "ovs_integration_bridge" 2020-02-17 11:02:16 +00:00
common Merge "Add 'fip-port-details' to OVN ML2 supported extensions" 2020-02-17 21:18:42 +00:00
conf Deprecate config option "ovs_integration_bridge" 2020-02-17 11:02:16 +00:00
core_extensions Add "qos_network_policy_id" to port definition 2020-01-17 17:57:11 +00:00
db Ensure there is always at most 1 dvr fip gw port per agent and network 2020-02-07 08:32:33 +00:00
debug Do not inherit from built-in "dict" 2019-11-29 18:12:07 +00:00
extensions Merge "Implement tagging during bulk port creation" 2020-01-30 15:26:44 +00:00
hacking Remove references to unittest2 library 2020-01-14 09:03:26 +00:00
ipam IPv6 accepts first address only for routers 2020-01-12 20:39:07 +00:00
locale Imported Translations from Zanata 2019-12-21 07:16:10 +00:00
notifiers Use openstacksdk for ironic notifiers 2019-09-19 06:56:24 +00:00
objects Merge "Workaround in NetworkSegmentRange OVO until "project_id" migration" 2020-02-19 21:07:06 +00:00
pecan_wsgi Set DB retry for quota_enforcement pecan_wsgi hook 2019-11-08 15:34:17 +04:00
plugins Merge "Improve VLAN allocations synchronization" 2020-02-19 15:19:02 +00:00
privileged Remove locks from privileged ip_lib module 2019-12-13 15:44:26 +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 [OVN] Import OVN Client, L3 and QoS related code 2019-12-14 19:17:40 +00:00
server Re-use existing ProcessLauncher from wsgi in RPC workers 2020-02-07 14:51:06 +01:00
services Merge "Enforce "qos_max_rate" and "qos_burst" in OVN QoS options" 2020-02-18 13:57:40 +00:00
tests Remove extra header fields in proxied metadata requests 2020-03-02 11:20:25 -05: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 Support L3 agent cleanup on shutdown 2019-12-16 17:01:31 -05:00
neutron_plugin_base_v2.py Do not load default service plugins if core plugin is not DB based 2017-11-09 20:34:52 +00: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