Support device sharing between clouds, regions, and cells

Bug #1662574 reported by Jim Baker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
craton
New
High
Unassigned

Bug Description

Certain devices in deployed OpenStack clouds may be shared between clouds, regions, and/or cells. See http://cdn.pasteraw.com/90abpeqkkw8sa0zxaa1vj3jm03ld5rl

This means that the current modeling in Craton's schema is too rigid, which assumes a single parent in this hierarchy. Instead, we need to support a device being potentially in multiple trees.

This functionality is closest to what was earlier implemented in labels, when labels could themselves have variables; and it uses standard association tables and corresponding SQLAlchemy modeling to implement.

Current REST APIs can remain mostly unchanged, except that request/response bodies where region_id, cell_id, and (newly) cloud_id will now be a list of IDs, not just a single ID.

Jim Baker (jimbaker)
Changed in craton:
assignee: nobody → Jim Baker (jimbaker)
Changed in craton:
importance: Undecided → High
Changed in craton:
assignee: Jim Baker (jimbaker) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.