On 06/11/2017 17:24, Lou Berger wrote:

On 11/6/2017 12:17 PM, Juergen Schoenwaelder wrote:
What is default content of a list? Where is this coming from?
Whatever the vendor chooses in their code, and perhaps what gets defined
in future model definitions...
This is mixing up config and state:

The device's default module tags wouldn't be in <running>, only in <operational>, [ and perhaps <intended>.]

Only the clients configured modification to the module tags ends up in <running>.  This is merged with the system module tags, and then the resultant set end up in <operational>.

Resetting the list to default is achieved by just deleting the list entry in <running>.  No special RPC is needed.

Thanks,
Rob

Lou

/js

On Mon, Nov 06, 2017 at 12:12:30PM -0500, Lou Berger wrote:
What's the standard way to reset a list to a default (based on
implementation)?

On 11/6/2017 12:02 PM, Juergen Schoenwaelder wrote:
On Mon, Nov 06, 2017 at 11:48:23AM -0500, Lou Berger wrote:
The tags draft has an RPC to 'reset to default state'.  I could see
wanting the reset to be persistent or not depending on actual usage...

In general, I think we love the usage of standard operations like
edit-config to manipulate configuration datastores and I think we
dislike custom operations that manipulate configuration datastores.

/js

_______________________________________________
netmod mailing list
netmod@ietf.org
https://www.ietf.org/mailman/listinfo/netmod
.


_______________________________________________
netmod mailing list
netmod@ietf.org
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to