neutron/neutron/tests/unit
Slawek Kaplonski 201ea2af16 Migrate address-group API to the new secure rbac rules
This commit updates the port policies to understand scope checking and
account
for a read-only role. This is part of a broader series of changes across
OpenStack to provide a consistent RBAC experience and improve
security.

It also adds new UT to test new API policies for address-group API.

Change-Id: Ibcd6084b30d923803723caffbf61bf2a60c6a408
(cherry picked from commit fd6ee70c3d)
2021-03-31 10:05:03 +00:00
..
agent Revert "Implement "kill" method using os.kill()" 2021-03-25 22:05:58 +00:00
api Set system_scope='all' in elevated context 2021-03-19 12:05:56 +01:00
cmd Migrate "netstat" to oslo.privsep 2020-06-19 14:59:11 +00:00
common Merge "Use normalized_cidr of the SG in the OVN driver" 2021-03-22 18:57:57 +00:00
conf Migrate address-group API to the new secure rbac rules 2021-03-31 10:05:03 +00:00
core_extensions Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
db Set system_scope='all' in elevated context 2021-03-19 12:05:56 +01:00
debug Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
extensions Set system_scope='all' in elevated context 2021-03-19 12:05:56 +01:00
hacking Remove "six" library 2020-07-28 16:55:52 +00:00
ipam Allow to manually define the gateway IP when using subnet pools 2021-02-27 10:06:35 +00:00
notifiers Add config option ``http_retries`` 2020-06-29 22:07:46 -04:00
objects Randomize segmentation ID assignation 2021-03-29 11:23:56 +00:00
pecan_wsgi Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
plugins Randomize segmentation ID assignation 2021-03-29 11:23:56 +00:00
privileged Migrate "netstat" to oslo.privsep 2020-06-19 14:59:11 +00:00
quota Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
scheduler Revert "DVR: Remove control plane arp updates for DVR" 2021-03-01 10:43:12 +08:00
services [OVN] Make delete_router_port() less error prone 2021-03-24 13:46:37 +00:00
tests Remove "six" library 2020-07-28 16:55:52 +00:00
__init__.py Don't set use_stderr to False for tests 2017-04-15 01:41:29 +00:00
_test_extension_portbindings.py Remove "six" library 2020-07-28 16:55:52 +00:00
dummy_plugin.py Remove Neutron LBaaS 2019-09-20 07:46:06 +00:00
extension_stubs.py Consume ServicePluginBase from neutron-lib 2017-03-17 12:06:57 -06:00
fake_resources.py Merge "Use normalized_cidr of the SG in the OVN driver" 2021-03-22 18:57:57 +00:00
test_auth.py Fix context deprecation warnings 2018-02-13 15:02:49 -05:00
test_manager.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_neutron_plugin_base_v2.py Add unit test to validate non DB base core plugin can be loaded 2017-11-15 21:21:35 +00:00
test_opts.py
test_policy.py Always perform policy checks if enforce_new_defaults == true 2021-03-18 08:51:00 +01:00
test_service.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_worker.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_wsgi.py Remove "six" library 2020-07-28 16:55:52 +00:00
testlib_api.py Remove usage of six.text_type and six.string_type 2020-05-22 14:02:55 -04:00