Hello,
Is there a command like tailf:cli-compact-syntax to show a container and a sub-container on the same line ?
I’m looking to show a container and a sub container on the same line.
Also cli-compact-stats and tailf:cli-compact-syntax didn’t works.
I’m typing my command like that
conf>my-container 50 time1 1800 sub-container 30 40
and when i m using show run i have this
my-container 50 time1 1800
my-container sub-container 30 40
I’m looking to have this
my-container 50 time1 1800 sub-container 30 40
This is my yang model
container my-container {
leaf duration {
type uint32 {
}
tailf:cli-drop-node-name;
}
leaf time1 {
type uint32 {
range "0..2500";
}
}
container sub-container {
leaf time {
type uint32 {
range "10..100";
}
tailf:cli-incomplete-command;
tailf:cli-drop-node-name;
}
tailf:cli-drop-node-name;
}
leaf time-bis {
type uint32 {
range "10..100";
}
tailf:cli-incomplete-command;
tailf:cli-drop-node-name;
}
tailf:cli-drop-node-name;
}
tailf:cli-sequence-commands {
tailf:cli-reset-siblings;
}
tailf:cli-optional-in-sequence;
tailf:cli-compact-syntax;
}
tailf:cli-compact-syntax;
tailf:cli-reset-container;
tailf:cli-suppress-no;
tailf:cli-incomplete-command;
tailf:cli-sequence-commands {
tailf:cli-reset-siblings;
}
}