OpenStack Networking (Neutron)
Go to file
Slawek Kaplonski 61b358b6b5 [S-RBAC] Add API policies for get and activate port bindings
There wasn't policies for get port binding and activate port binding API
calls defined at all.
When we switched to new default policies and regular user wanted to make
call to activate port binding, it was error 500 what we returned instead
of proper 4xx error. It was like that as "get_port_binding" call which
was done internally during "activate" API request falled back to the
default policy which is "admin_or_owner" and as port binding resource
don't have project_id, owner couldn't be checked there.

Now it has defined S-RBAC policies for those API calls and it is allowed
for admin users only to solve that problem.
This patch don't define old, deprecated policies for those API calls as
it wasn't really needed there and we already switched to new policies by
default now.

Closes-Bug: #2013326
Change-Id: Id281e4950dc5d7bac62dfa8175d82cb1f8d2e855
2023-05-29 16:29:58 +02:00
api-ref Fix some typos 2016-06-28 22:46:19 +02:00
devstack Remove note about migration from lib/neutron-legacy to lib/neutron 2022-12-20 11:05:05 +01:00
doc Add rate-limiting to metadata agents 2023-05-17 18:52:25 -05:00
etc Add missing osprofiler options 2023-02-28 18:06:17 +09:00
neutron [S-RBAC] Add API policies for get and activate port bindings 2023-05-29 16:29:58 +02:00
playbooks Limit tox version to <4 2022-12-10 20:43:54 +01:00
rally-jobs [ci] Fix several rally task arguments 2020-05-06 14:56:27 +03:00
releasenotes Merge "port-hint-ovs-tx-steering: shim extension" 2023-05-22 12:23:25 +00:00
roles Use same ovs/ovn versions in local test setups 2022-12-09 19:06:50 +05:30
tools Merge "Update url and package name" 2023-04-13 13:38:39 +00:00
vagrant/ovn Fix local neutron folder path in ovn/sparse/Vagrantfile 2020-11-03 17:02:34 +01:00
zuul.d Disable mysql gather performance in jobs 2023-05-19 14:59:29 +05:30
.coveragerc Cleanup coverage configuration 2016-10-17 17:06:19 +05:30
.gitignore Ignore reno artefacts (RELEASENOTES.rst and reno.cache) 2023-01-18 04:52:03 +01:00
.gitreview OpenDev Migration Patch 2019-04-19 19:38:27 +00:00
.mailmap Add mailmap entry 2014-05-16 13:40:04 -04:00
.pylintrc Update pylint version 2023-05-17 23:04:24 -04:00
.stestr.conf Fix post gate hook to accommodate for new os-testr 2017-09-12 14:20:12 -06:00
CONTRIBUTING.rst [Community goal] Add contributor and PTL guide 2020-03-03 04:43:26 +01:00
HACKING.rst Follow up for replacing assertItemsEqual 2021-06-03 16:04:07 +00:00
LICENSE Adding Apache Version 2.0 license file. This is the official license agreement under which Quantum code is available to 2011-08-08 12:31:04 -07:00
README.rst Doc: make the contributor guide more visible 2022-07-14 13:08:56 +02:00
TESTING.rst Amend documentation for fullstack tests 2022-12-08 14:29:34 +01:00
bindep.txt Drop vzctl dep from bindep package list 2022-04-12 16:40:09 +05:30
plugin.spec Update url and package name 2023-03-28 06:59:20 +00:00
requirements.txt Bump neutron-lib to 3.6.1 2023-05-22 13:29:49 +00:00
setup.cfg Merge "port-hint-ovs-tx-steering: shim extension" 2023-05-22 12:23:25 +00:00
setup.py Updated from global requirements 2017-03-04 11:19:58 +00:00
test-requirements.txt Follow-up: Move linters dependencies to tox.ini 2021-01-07 04:26:07 +09:00
tox.ini Update pylint version 2023-05-17 23:04:24 -04:00

README.rst

OpenStack Neutron

image

Neutron is an OpenStack project to provide "network connectivity as a service" between interface devices (e.g., vNICs) managed by other OpenStack services (e.g., Nova).

To learn more about neutron:

If you would like to contribute to Neutron, please read the file CONTRIBUTING.rst or see the Neutron contributor guide:

https://docs.openstack.org/neutron/latest/contributor/contributing.html

Get in touch via email. Use [Neutron] in your subject.