You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, the CLI operates on a "virtual datastore" which redirects writes to a "datastore that accepts writing" and reads to a "datastore that returns operational data". In the NETCONF implementation, this means that writes go to either startup or candidate, while reads are from either operational or running or startup. The intention is to make sure that get can print live non-config data, but the implementation is super confusing. For example, I can set something, but a get would not return that data by default.
One possible fix would be to implement separate "edit mode" vs. "read mode", and access the datastores without any fancy mapping. Another option would be some local caching of the data. The ergonomics have to be well thought-out.
The text was updated successfully, but these errors were encountered:
By default, the CLI operates on a "virtual datastore" which redirects writes to a "datastore that accepts writing" and reads to a "datastore that returns operational data". In the NETCONF implementation, this means that writes go to either
startup
orcandidate
, while reads are from eitheroperational
orrunning
orstartup
. The intention is to make sure thatget
can print live non-config data, but the implementation is super confusing. For example, I canset
something, but aget
would not return that data by default.One possible fix would be to implement separate "edit mode" vs. "read mode", and access the datastores without any fancy mapping. Another option would be some local caching of the data. The ergonomics have to be well thought-out.
The text was updated successfully, but these errors were encountered: