neutron/neutron/tests
Slawek Kaplonski 0396912208 Fix handling of network:shared field in policy module
Some policy rules e.g. for create_port are using rule "network:shared"
in which "shared" field is related to network resource instead of
port directly.
Because of that, "shared" was missing from "target" in policy
enforce module thus validation wasn't working properly for such rule.

This patch fixes it by adding to FieldCheck checker possibility to
get network object and use its "shared" field to validate policy.

Change-Id: I56c99883fce40c37a5ee26e6e661c0cc0783c42f
Closes-Bug: #1808112
2019-05-07 11:31:25 +02:00
..
common Merge "remove neutron.common.constants" 2019-04-11 18:33:05 +00:00
contrib Replace openstack.org git:// URLs with https:// 2019-03-25 11:31:17 +01:00
etc Convert policy.json into policy-in-code 2018-12-13 20:37:53 +00:00
fullstack Merge "remove neutron.common.constants" 2019-04-11 18:33:05 +00:00
functional Merge "remove neutron.common.constants" 2019-04-11 18:33:05 +00:00
unit Fix handling of network:shared field in policy module 2019-05-07 11:31:25 +02:00
var
__init__.py Avoid eventlet monkey patching for the tempest plugin 2016-04-29 22:47:24 -05:00
base.py Handle DBConnectionError in skip_if_timeout decorator 2019-04-10 07:56:07 +00:00
post_mortem_debug.py
tools.py remove neutron.common.constants 2019-04-04 14:10:26 -06:00