-
Notifications
You must be signed in to change notification settings - Fork 664
New issue
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
[sonic-cli-gen] first phase implementation of the SONiC CLI Auto-generation tool #1644
[sonic-cli-gen] first phase implementation of the SONiC CLI Auto-generation tool #1644
Conversation
Signed-off-by: Vadym Hlushko <[email protected]>
Signed-off-by: Vadym Hlushko <[email protected]>
Signed-off-by: Vadym Hlushko <[email protected]>
Signed-off-by: Vadym Hlushko <[email protected]>
Signed-off-by: Vadym Hlushko <[email protected]>
Signed-off-by: Vadym Hlushko <[email protected]>
Signed-off-by: Stepan Blyschak <[email protected]>
Signed-off-by: Stepan Blyschak <[email protected]>
Signed-off-by: Stepan Blyschak <[email protected]>
Signed-off-by: Stepan Blyschak <[email protected]>
Signed-off-by: Stepan Blyschak <[email protected]>
…e_metadata.yang DONE Signed-off-by: Vadym Hlushko <[email protected]>
Signed-off-by: Vadym Hlushko <[email protected]>
Signed-off-by: Vadym Hlushko <[email protected]>
…s - get_leafs(), get_leaf_lists(), get_choices(), get_uses_grouping() Signed-off-by: Vadym Hlushko <[email protected]>
Signed-off-by: Stepan Blyschak <[email protected]>
…ilities into sonic-cli-gen
Signed-off-by: Stepan Blyschak <[email protected]>
Signed-off-by: Vadym Hlushko <[email protected]>
Signed-off-by: Stepan Blyschak <[email protected]>
…ilities into sonic-cli-gen
Signed-off-by: Vadym Hlushko <[email protected]>
Signed-off-by: Stepan Blyschak <[email protected]>
…ilities into sonic-cli-gen
Signed-off-by: Vadym Hlushko <[email protected]>
…ion comments Signed-off-by: Vadym Hlushko <[email protected]>
…nged constructor for YangParser Signed-off-by: Vadym Hlushko <[email protected]>
Signed-off-by: Vadym Hlushko <[email protected]>
Signed-off-by: Vadym Hlushko <[email protected]>
@praveen-li Please check latest changes. Added type annotations in docstring. |
Signed-off-by: Stepan Blyshchak <[email protected]>
Code changes under sonic-utilities-data, looks good. |
Signed-off-by: Stepan Blyshchak <[email protected]>
Signed-off-by: Stepan Blyshchak <[email protected]>
…original cfg Signed-off-by: Stepan Blyshchak <[email protected]>
Hi @renukamanavalan and @praveen-li, did you finish the review? |
@renukamanavalan @praveen-li Could you please also review the second part of the feature in sonic-package-manager - #1650 ? |
I am done with the review of this PR with few minor comments. I would like approval from Praveen, before we merge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM now,
Signed-off-by: Vadym Hlushko <[email protected]>
What I did
Implemented the
sonic-cli-gen
according to the SONiC CLI Auto-generation HLDHow I did it
How the
sonic-cli-gen
works:sonic_cli_gen/yang_parser.py
file).config
orshow
) and generate the CLI plugin.How to verify it
Check the file with unit tests -
tests/cli_autogen_yang_parser_test.py
Command output