Hi Team,
I am aware of key-default extension, I have some issues with it in my yang models.
I would like to dig into it further(code wise how it works ?).
Kindly help with this.
Hi Team,
I am aware of key-default extension, I have some issues with it in my yang models.
I would like to dig into it further(code wise how it works ?).
Kindly help with this.
From ConfD User guide:
tailf:key-default value
Must be used for key leafs only.
Specifies a value that the CLI and WebUI will use when a list entry is created, and this key leaf is not given a value.
If one key leaf has a key-default
value, all key leafs that follow this key leaf must also have key-default
values.
The key-default
statement can be used in: leaf
.
So it basically should allow to give CLI (or WebUI) default values to key
leafs of the list.
Please describe you scenario, so your specific issue can be addressed.