Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

devicemanager12data-providerapi-gateway
connectionlog

ConnectionlogBuilder

w (c)r
eventlogEventlogBuilderw (c)r
faultcurrentFaultcurrentBuilderw (cud)r
faultlogFaultlogBuilderw (c)r
historicalperformance15minPmData15mEntityw (cu)r
historicalperformance24hPmData24hEntityw (cu)r
inventoryequipmentInventoryBuilderw (cu)r
maintenancemodeMaintenanceBuilderrw (crd)rw (crud)
mediator-serverMediatorServerEntity-rw (crud) r

networkelement-connection

NetworkElementConnectionw (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:

...