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
list list1{
key "key1 key2";
leaf key1 {
type custom_type;
//is an enum;
}
leaf key2 {
type string;
}
}
typedef custom_type {
type enumeration {
enum value1 {
value "1";
}
enum value2 {
value "2";
}
enum value3 {
value "3";
}
}
description "Custom enum values;
}
Generated CLI:
cli>set list1 <PRESS ?>
<key1> Helptext for key1
cli>set list1 test <PRESS ?>
<cr> <------------------- Presence of <cr>. Not a right behavior
<key2> Helptext for key2
cli>
If the leaf key1 is of any type other than enum the generated datamodel tree would be of below syntax:
cli>set list1 <PRESS ?>
<key1> Helptext for key1
cli>set list1 test <PRESS ?>
<key2> Helptext for key2
cli>
The text was updated successfully, but these errors were encountered:
…95=true and ietf-yang-libra$
* Removed obsolete option: `CLICON_MODULE_LIBRARY_RFC7895'
* Obsolete config options given in the confi file are considered an error
* Added section in CONTRIBUTING relating to optimzation
* Changed reset merge to implicit default values.
* This avoids a potential overwriting of explicitly set default values in the existing config
* Adapted some code to [Make cligen_* functions const ](clicon/cligen#83)
* Test: fixed test for * Fixed: [datamodel tree generated from basemodel tree is not proper when a list has more than one key and key is of enum type](#417)
Generated CLI:
If the leaf key1 is of any type other than enum the generated datamodel tree would be of below syntax:
The text was updated successfully, but these errors were encountered: