Neutron shared routines and utilities.
Go to file
Slawek Kaplonski 8ccdecc7d1 Add is_service_role property to the context class
As we are moving to the new S-RBAC policies, we want to use "service"
role for all service to service communication. See [1] for details.

This require from Context class property similar to old "is_advsvc" but
with new naming convention and using new policy rule.

This patch adds this new property together with all required policies
and rules.
For now "ContextBase.is_advsvc" property will return True if one of the
advsvc OR service_role will be True to make it working in the same way
with both old and new policies but once we will get rid of the old
policies we should also remove is_advsvc property from the ContextBase
class.

[1] https://governance.openstack.org/tc/goals/selected/consistent-and-secure-rbac.html#phase-2

Change-Id: Ic401db8b4e2745234e61fe2c05afd5b4ab719a03
2023-06-30 15:56:20 +02:00
api-ref/source Merge "Add port hardware offload extension" 2023-06-28 09:01:27 +00:00
doc Update URL for flake8 from Gitlab to Github 2022-11-16 11:16:41 +09:00
neutron_lib Add is_service_role property to the context class 2023-06-30 15:56:20 +02:00
releasenotes Add is_service_role property to the context class 2023-06-30 15:56:20 +02:00
tools Remove import statement for six 2021-12-19 14:21:51 +09:00
.coveragerc Improvements to tox envs 2015-12-19 01:00:22 -05:00
.gitignore Switch to stestr 2018-05-24 11:09:18 -07:00
.gitreview OpenDev Migration Patch 2019-04-19 19:32:02 +00:00
.mailmap Initial cookiecutter commit 2015-11-20 17:24:43 -07:00
.pylintrc Fix missed six library items in .pylintrc 2022-09-23 15:21:16 -04:00
.stestr.conf Fix unit test failures due to switch to testr changes 2017-09-14 08:17:35 -07:00
.zuul.yaml Switch to 2023.1 Python3 unit tests and generic template name 2022-09-14 09:25:33 +00:00
CONTRIBUTING.rst Merge "Update links in CONTRIBUTING.rst" 2017-10-05 20:47:37 +00:00
HACKING.rst Update the documentation link for doc migration 2017-07-20 15:46:41 +00:00
LICENSE Initial cookiecutter commit 2015-11-20 17:24:43 -07:00
README.rst Replace git.openstack.org URLs with opendev.org URLs 2019-04-22 11:23:33 +08:00
requirements.txt Drop "__autocommit=False" from context manager 2023-04-24 11:41:44 +02:00
setup.cfg Update python testing as per zed cycle teting runtime 2022-05-11 22:24:52 -05:00
setup.py Updated from global requirements 2017-03-02 11:49:11 +00:00
test-requirements.txt Start running pylint for pep8 tests 2020-09-17 09:53:01 -04:00
tox.ini Update envlist for tox4 2023-01-13 09:56:43 -05:00

README.rst

Team and repository tags

image

neutron-lib

Neutron shared routines and utilities

Features

  • TODO