We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi olof, I'm using cl:autocli-op hide in yang submodule, and find has no effect. my main yang is: example.yang
cl:autocli-op hide
example.yang
module example { yang-version 1.1; namespace "example.com"; prefix ex; include demo; uses demo; }
submodule is demo.yang
demo.yang
submodule demo { belongs-to "example" { prefix "demo"; } import clixon-lib { prefix cl; } grouping demo { container a { cl:autocli-op hide; leaf b { type string; } } } }
config.cli:
CLICON_MODE="config"; CLICON_PLUGIN="mgmt-cli"; # Autocli syntax tree operations config @datamodel, cli_auto_edit("datamodel"); up, cli_auto_up("datamodel"); top, cli_auto_top("datamodel"); set @datamodel, cli_auto_set(); create @datamodel, cli_auto_create(); delete("Delete a configuration item") { @datamodel, cli_auto_del(); }
When enter , option a still exist in cli:
a
root@localhost (config) > set <TAB> a
The text was updated successfully, but these errors were encountered:
confirmed. Temporary work-around: add import clixon-lib { prefix cl; } in main module
import clixon-lib { prefix cl; }
Sorry, something went wrong.
It is actually worse, not only grouping/uses from submodules but the same issue exists for imported modules.
Fixed: [cl:autocli-op hide has no effect in yang submodule](#282)
5297ebe
Fixed by patch ^. Please verify.
No branches or pull requests
Hi olof,
I'm using
cl:autocli-op hide
in yang submodule, and find has no effect.my main yang is:
example.yang
submodule is
demo.yang
config.cli:
When enter , option
a
still exist in cli:The text was updated successfully, but these errors were encountered: