Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Interface Overview
Inc drawio | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Current Interface Description
There are 3 distinct parts to the DMI
i) Inventory: The Server side is NCMP, the client the DMI-Plugin
ii) model: The Server side is the DMI-Plugin, the client side is NCMP
iii) data: The server side is DMI-Plugin, the client side is NCMP
Interface | Responsibilities | Target Audience | Current Prefix |
---|
Examples URI's | Proposed Change | ||||
---|---|---|---|---|---|
xNF Model Sync | |||||
CPS-NCMP-I-01 |
| DMI Plugin Instance | /ncmp |
/ncmpInventory
OR
/ncmpDmi/ncmp/v1/ch | Change prefix to /ncmpInventory /ncmpInventory/v1/ch |
OR
/ncmpDmi/v1/ch
| ||||||||
DMI-I-01 |
| Internal |
/dmi |
dmi/v1/ch/{cmHandle}/modules/ dmi/v1/ch/{cmHandle}/moduleResources dmi/v1/inventory/cmHandles |
dmi/modules/v1/ch/{cmHandle}/references/
dmi/modules/v1/ch/{cmHandle}/resources
No Uri Changes but 'Generic Data Request Body' is not needed for these methods:
| ||||||||
xNF Data Access | ||||||||
CPS-E-05 |
| External clients, CM Data consumers (northbound) | /ncmp |
ncmp/v1/ch/{cm-handle}/data/ds/ncmp-datastore:passthrough-operational ncmp/v1/ch/{cm-handle}/data/ds/ncmp-datastore:passthrough-running | No Changes |
DMI-I- |
01 |
| Internal (NCMP) |
/dmi |
dmi/v1/ch/{cmHandle}/data/ds/ncmp-datastore:passthrough-operational dmi/v1/ch/{cmHandle}/data/ds/ncmp-datastore:passthrough-running |
dmi/data/v1/ch/{cmHandle}/ds/ncmp-datastore:passthrough-operational
dmi/data/v1/ch/{cmHandle}/ds/ncmp-datastore:passthrough-running
Proposed Changes (for clear interface separation)
- "Retrieve module-references" method only requires 'cmHandleProperties' in request body (payload)
- "Retrieve yang module resources" method requires both 'cmHandleProperties' and 'data' payload. 'Data' will contain a well defined json (object) of module references
- Temporary hosted on this interface no changes required at all. "Add Cm-Handle" method does not require a request body at all
No changes required, all methods on this interface will use the 'generic data request body' for data access |
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|
The fact that DMI-I-01 and DMI-I-02 were not clearly separated lead to this bug. Items #2 and #3 are now being suggested to fix this bug and introduce clear separation off the DMI Interfaces
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|