Overview
Api specification: data-provider.yang in sdnr-wt-data-provider-model
RESTCONF API Definition: ODLUX DB API
Data provider bundle, specifies the data model and provides read/write access to the database for specific devicemanagers and via Restconf.
- for data stored in the database
- provided via Restconf interface to clients
- read/write via java interface and yang-tools generated classes
Database and classes
Access: r:read /w:write/ rw:read+write/ -:not applicable
Details: c: create, r: read, u: update, d: delete
Tablename (alias) | jClass builder | devicemanager12 | data-provider | api-gateway |
---|---|---|---|---|
connectionlog | ConnectionlogBuilder | w (c) | r | |
eventlog | EventlogBuilder | w (c) | r | |
faultcurrent | FaultcurrentBuilder | w (cud) | r | |
faultlog | FaultlogBuilder | w (c) | r | |
historicalperformance15min | PmData15mEntity | w (cu) | r | |
historicalperformance24h | PmData24hEntity | w (cu) | r | |
inventoryequipment | InventoryBuilder | w (cu) | r | |
maintenancemode | MaintenanceBuilder | rw (crd) | rw (crud) | |
mediator-server | MediatorServerEntity | - | rw (crud) | r |
networkelement-connection | NetworkElementConnection | w (cud) | rw (ru) |
Collision: networkelement-connection/is-required
To prevent these concurrent update a partial update mechanism is implemented in the sdnr-wt-common lib
Remote Initialization
networkelement-connection:
- clear all entries which are not required (is-required=false)
- set all entries to status=Disconnected
faultcurrent:
- clear all
Remote
...
synchronization
networkelement-connection:
...