On 10/11/2021 21:52, makuz...@gmail.com wrote:
Hi All,
Hello Maciej,
I'm trying to build a device configuration management application using OpenDaylight and lighty.io. When I'm adding Netconf connector to the network topology I'm able (after device is succesfully connected) to read and modify device's configuration through the data broker taken from the mount point. From what I've learned (and please correct me if I'm wrong) mount point's data broker delegate all Netconf operations directly to the device so device configuration is kept only inside the device itself - in particular configuration is not available if the device is not connected.
Yes, netconf mountpoints are completely stateless.
There is a need to store configurations from multiple devices in distributed store for high availability.My question is:Is there a way to keep devices' configurations inside controller's MD-SAL storage?
Not out of the box, no.
I would like to store, read and modify device configuration even if the device itself is not connected and then e.g. synchronize it later.
All the building blocks are present, AFAICT, it is just a matter of putting some engineering into getting it off the ground.
Note though, what you are looking for is essentially a cache -- and you get into https://martinfowler.com/bliki/TwoHardThings.html area -- hence there are number of questions, all starting with "what should happen if":
- what should happen if the datastore accepts something the device does not?- what should happen if both the cached view and the device's configuration changes? - what should happen if the device changes while it's not connected? (think firmware upgrades)
And then it's just a matter of getting to code written and contributed :) Regards, Robert -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#8835): https://lists.opendaylight.org/g/Discuss/message/8835 Mute This Topic: https://lists.opendaylight.org/mt/86971241/21656 Mute #opendaylight:https://lists.opendaylight.org/g/Discuss/mutehashtag/opendaylight Group Owner: discuss+ow...@lists.opendaylight.org Unsubscribe: https://lists.opendaylight.org/g/Discuss/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
OpenPGP_signature
Description: OpenPGP digital signature