neutron/neutron/tests/contrib/hooks
Hongbin Lu 2b1d8ea4a2 Implement filter validation
Enforce validation on filter parameters on list requests.
If an API request contains an unknown or unsupported parameter,
the server will return a 400 response instead of silently ignoring
the invalid input.

In resource attributes map, all filter parameters are annotated by
the ``is_filter`` keyword. Attributes with is_filter set to True
are candidates for validation.

Enabling filter validation requires support from core plugin and
all service plugins so each plugin need to indicate if it supports
the validation by setting ``__filter_validation_support`` to True.
If this field is not set, the default is False and validation is
turned off. Right now, the ML2 plugin and all the in-tree service
plugin support filter validation. Out-of-tree plugins will have
filter validation disabled by default.

An API extension is introduced to allow API users to discover this
new API behavior. This feature can be disabled by cloud operators
if they choose to do that. If it is disabled, the extension won't
be presented.

Depends-On: Ic3ab5b3ffdc378d570678b9c967cb42b0c7a8a9b
Depends-On: I4397df1c35463a8b532afdc9c5d28b37224a37b4
Depends-On: I3f2e6e861adaeef81a1a5819a57b28f5c6281d80
Depends-On: I1189bc9a50308df5c7e18c329f3a1262c90b9e12
Depends-On: I057cd917628c77dd20c0ff7747936c3fec7b4844
Depends-On: I0b24a304cc3466a2c05426cdbb6f9d99f1797edd

Change-Id: I21bf8a752813802822fd9966dda6ab3b6c4abfdc
Partial-Bug: #1749820
2018-07-19 04:13:43 +00:00
..
api_all_extensions Implement filter validation 2018-07-19 04:13:43 +00:00
availability_zone Tempest: Add availability-zone for agent 2017-11-14 15:59:50 +08:00
disable_dvr Allow to disable DVR api extension loading 2017-04-16 17:44:31 -07:00
disable_dvr_tests Disable dvr tempest tests using DISABLE_NETWORK_API_EXTENSIONS 2017-04-04 08:04:52 -07:00
dns Switched gate to new neutron-* service names 2017-03-14 15:03:46 +00:00
dstat gate-hook: Accomodate devstack-gate local.conf changes 2017-02-23 00:38:06 +00:00
dvr Add l3_agent_mode configuration in tempest 2018-03-12 16:41:00 +00:00
iptables_hybrid Replace ovsfw tempest job with iptables-hybrid tempest job 2018-06-03 11:14:03 +02:00
iptables_verify Add debug option to verify iptables rules 2016-08-12 17:09:41 +00:00
linuxbridge_type_drivers gate: don't configure linuxbridge jobs for geneve 2017-09-22 02:43:34 +00:00
log [log]: Devstack plugin for logging api 2017-12-19 14:40:57 +07:00
openvswitch_type_drivers [Tempest] Check connectivity between VM with different MTU size net 2017-09-22 02:40:28 +00:00
osprofiler Add OSprofiler support 2016-05-20 11:35:59 -05:00
qos Switched gate to new neutron-* service names 2017-03-14 15:03:46 +00:00
quotas Bump default quotas for ports, subnets, and networks 2017-03-21 18:35:28 +00:00
segments Enable segments plugin in gate 2017-05-16 16:24:15 +00:00
stack_base gate-hook: Accomodate devstack-gate local.conf changes 2017-02-23 00:38:06 +00:00
trunk Switched gate to new neutron-* service names 2017-03-14 15:03:46 +00:00
tunnel_types [Tempest] Check connectivity between VM with different MTU size net 2017-09-22 02:40:28 +00:00
ubuntu_image Update ubuntu image used for testing 2018-05-23 20:58:00 +00:00
vlan_provider gate_hook: Switched to $NEUTRON_CORE_PLUGIN_CONF 2017-09-13 13:56:02 -06:00