clicon / clixon

YANG-based toolchain including NETCONF and RESTCONF interfaces and an interactive CLI
http://www.clicon.org/
Other
215 stars 72 forks source link

Question: Is there any way to write "candidate" datastore using client_api? #299

Open jaeho9929 opened 2 years ago

jaeho9929 commented 2 years ago

Is there any way to write "candidate" datastore using client_api? Or, Is client API just for reading "running" datastore?

krihal commented 2 years ago

Currently the client API only supports reading from the running datastore (should be easy to modify it to read from the candidate store if that helps) but have no functionality for writing.

jaeho9929 commented 2 years ago

Thank you for your reply. Is there any plan to add write features (for a candidate or running datastore)?

olofhagsand commented 2 years ago

We implemented a first stub of a client API with only a rudimentary API focussed on reading an existing datastore. It is straightforward to extend, if there is interest. No actual plans. What more precisely is your interest? Meanwhile, you can always use netconf/restconf as-is.

olofhagsand commented 2 years ago

Changing this to an enhancement request: write feature for the client api