[openstack-dev] [Neutron] Elevating context to remove subnets created by admin

Armando M. armamig at gmail.com
Tue Jun 21 06:47:52 UTC 2016


On 20 June 2016 at 18:41, Carl Baldwin <carl at ecbaldwin.net> wrote:

> Somehow, this thread hid from me for a couple of weeks.  I just
> reviewed something relevant to this here [1].  It proposes adding
> tenant id to segment.  But, it also enforces that tenant id is the
> same as that of the network owning the segment.  So, I say why store
> it at all?
>
> I would argue that subnet should also not have a tenant_id and should
> just inherit it from the network.
>

It seems it may potentially limit the ability to describe ownership.
Virtually all Neutron models have it. Not sure I see the value in its
absence.


>
> Carl
>
> [1] https://review.openstack.org/#/c/331497/2/neutron/db/segments_db.py
>
> On Fri, Jun 3, 2016 at 3:05 PM, Henry Gessau <HenryG at gessau.net> wrote:
> > Carl Baldwin <carl at ecbaldwin.net> wrote:
> >> On Fri, Jun 3, 2016 at 2:26 PM, Henry Gessau <HenryG at gessau.net> wrote:
> >>> Darek Smigiel <smigiel.dariusz at gmail.com> wrote:
> >>>> strange, that owner is not able to just get rid of *his* network and
> subnets.
> >>>
> >>> But not all the subnets are his, and consequently the network is
> partially not
> >>> his.
> >>
> >> To me, this is a nonsensical outcome and tells me that subnets
> >> probably shouldn't really have owners distinct from the network's.
> >
> > Right. So are you saying we should prevent that?
> >
> >
> >
> >
> __________________________________________________________________________
> > OpenStack Development Mailing List (not for usage questions)
> > Unsubscribe:
> OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160621/7cf5e1c0/attachment.html>


More information about the OpenStack-dev mailing list