Quantum data model
The aim of this question is to get people to think about the "Core" quantum data model.
Quantum has currently two "interfaces" which require a "contract":
- the 'public' interface, i.e.: the API
- the plugin interface
While the API specification defines the contract for the public interface, the DB model abstract base class for quantum plugins (quantum.
Currently, these two contracts are sligthly different, for two reasons:
1 - the attachment is a resource of its own in the API, while just an attribute of the Port resource in the db model
2 - Several attribute names differ (e.g.: net-id vs uuid or net-name vs name)
Ideally, these contracts reflect the same data model. This will also be helpful and avoid us doing conversions from db model to API model as we currently do in the plugins.
Any suggestion?
Question information
- Language:
- English Edit question
- Status:
- Open
- For:
- neutron Edit question
- Assignee:
- Somik Behera Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Salvatore Orlando for more information if necessary.