OpenStack Networking (Neutron)
Go to file
Slawek Kaplonski d5edb080b0 Treat networks shared by RBAC in same way as shared with all tenants
In patch [1] handle of networks with "shared" flag set to True was
fixed and it is now possible to use "rule:shared" in API policy in
actions related e.g. to ports or subnets.
But network can be shared with some specific tenant only by doing it
with RBAC mechanism and in such case it didn't work with [1] only.
It was like that because context.get_admin_context() was used to get
network so this returned network had got shared=False set even if
request comes from tenant for which network was shared through RBAC.

Now network will be always get with context which have got set proper
tenant_id so "shared" flag will be set properly even in case if it's
shared through RBAC.

[1] https://review.opendev.org/#/c/652636/

Change-Id: I38615c0d18bb5a1f22f3e7865ce24615a540aa9a
Closes-Bug: #1833455
2019-06-26 22:04:36 +00:00
api-ref Fix some typos 2016-06-28 22:46:19 +02:00
bin Use os-xenapi for neutron when XenServer as hypervisor 2017-03-30 18:33:37 +00:00
devstack Add devstack plugin for placement service plugin 2019-05-24 11:34:49 +02:00
doc Import "Manage Networking service quotas" admin guide 2019-06-24 13:37:36 -04:00
etc Merge "Add kill hooks for external processes" 2019-06-05 01:09:51 +00:00
neutron Treat networks shared by RBAC in same way as shared with all tenants 2019-06-26 22:04:36 +00:00
playbooks OpenDev Migration Patch 2019-04-19 19:38:27 +00:00
rally-jobs Allow VM booting rally scenarios to time out 2019-06-17 13:59:24 +02:00
releasenotes Merge "Release notes for dns_domain behavioural changes" 2019-06-20 23:00:25 +00:00
roles Add "project_name" variable to configure_functional_tests role 2019-05-22 15:30:46 +02:00
tools Replace git.openstack.org URLs with opendev.org URLs 2019-04-23 10:00:45 +08:00
.coveragerc Cleanup coverage configuration 2016-10-17 17:06:19 +05:30
.gitignore Removing existing dirs from .gitignore 2019-05-31 13:35:30 +00: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 Fix pylint R1717 (consider-using-dict-comprehension) refactor messages 2019-03-14 23:19:58 +00:00
.stestr.conf Fix post gate hook to accommodate for new os-testr 2017-09-12 14:20:12 -06:00
.zuul.yaml DVR: Modify DVR flows to allow ARP requests to hit ARP Responder table 2019-05-30 08:11:31 +00:00
babel.cfg Use babel to generate translation file 2013-01-24 00:20:32 +08:00
bindep.txt Add libffi-dev to bindep.txt 2017-06-13 19:26:49 +00:00
CONTRIBUTING.rst Update link for contribution 2017-08-31 16:44:51 +02:00
HACKING.rst Update the documentation link for doc migration 2017-07-22 18:46:13 +09: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
lower-constraints.txt bump neutron-lib to 1.27.0 2019-06-18 06:21:08 -06:00
README.rst Update mailinglist from dev to discuss 2018-12-12 12:44:12 +08:00
requirements.txt bump neutron-lib to 1.27.0 2019-06-18 06:21:08 -06:00
setup.cfg fix NetworkSegmentRange OVO entry point 2019-06-06 09:31:26 -06:00
setup.py Updated from global requirements 2017-03-04 11:19:58 +00:00
test-requirements.txt Blacklist bandit 1.6.0 due to directory exclusion bug 2019-05-09 21:00:54 -04:00
TESTING.rst Merge "Fix some formatting issues in TESTING.rst" 2019-04-25 12:10:35 +00:00
tox.ini Use openstack-python3-train-jobs template 2019-05-20 08:58:48 +00:00

Team and repository tags

image

Welcome!

To learn more about neutron:

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

To learn how to contribute:

CONTRIBUTING.rst