Refactor of cli show commands:
- Changed `cli_show_config()` - Removed `cli_show_config_state()` - Replaced `cli_auto_show()` with `cli_show_auto_mode()`
This commit is contained in:
parent
9a224ea4a0
commit
a6f67755b3
32 changed files with 706 additions and 746 deletions
|
|
@ -111,14 +111,14 @@ CLICON_MODE="example";
|
|||
CLICON_PROMPT="%U@%H> ";
|
||||
|
||||
show {
|
||||
base @datamodel, cli_show_auto_state("running", "cli", true, false, "report-all","set ");
|
||||
add-nonconfig @datamodelstate, cli_show_auto_state("running", "cli", true, false, "report-all","set ");
|
||||
add-show @datamodelshow, cli_show_auto_state("running", "cli", true, false, "report-all","set ");
|
||||
base @datamodel, cli_show_auto("running", "cli", true, true, "report-all","set ");
|
||||
add-nonconfig @datamodelstate, cli_show_auto("running", "cli", true, true, "report-all","set ");
|
||||
add-show @datamodelshow, cli_show_auto("running", "cli", true, true, "report-all","set ");
|
||||
}
|
||||
|
||||
auto {
|
||||
set @datamodel, cli_auto_set();
|
||||
show, cli_auto_show("datamodel", "candidate", "text", true, false);
|
||||
show, cli_show_auto_mode("candidate", "text", true, false);
|
||||
}
|
||||
EOF
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue