← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1581962] Re: when creating external network for specific tenant, all tenants can see the network (RBAC)

 

You can't specify a network as external while creating it, otherwise it
preserves backward compatible behavior and makes it available to
everyone.

If we change this behavior, it would be a backward incompatible API
change.


To share a network to a specific tenant, just create the network without the 'router:external' flag and then create an rbac policy allowing the tenant access with 'access_as_external'.

** Changed in: neutron
       Status: New => Opinion

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1581962

Title:
  when creating external network for specific tenant, all tenants can
  see the network (RBAC)

Status in neutron:
  Opinion

Bug description:
  We created external network with admin user for tenantA.

  
  $ neutron net-create admin-ext --provider:network_type=vxlan  --router:external --tenant_id=TENANTA_ID

  The rbac policy was created with "*" in target_tenant attribute.

  When creatin an external network for specific tenant the rbac policy
  "target_tenant" value should be the same as "--tenant_id" value .

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1581962/+subscriptions


References