Skip to content
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

[cli/feature]: split feature into a separate file #1034

Merged
merged 3 commits into from
Aug 8, 2020

Conversation

lguohan
Copy link
Contributor

@lguohan lguohan commented Aug 7, 2020

Signed-off-by: Guohan Lu lguohan@gmail.com

- What I did
split feature into a separate file

- How I did it
create new feature.py for both config and show, move the code into feature.py
move common code into sonic-utiltities.common.cli.py

- How to verify it
unit test
also run it in vs switch

- Previous command output (if the output of a command-line utility has changed)

- New command output (if the output of a command-line utility has changed)

@lguohan lguohan changed the title [feature]: split feature into a separate file [cli/feature]: split feature into a separate file Aug 7, 2020
@lguohan lguohan requested a review from jleveque August 7, 2020 10:42
@lguohan
Copy link
Contributor Author

lguohan commented Aug 7, 2020

will use similar approach to split other commands.

@lgtm-com

This comment has been minimized.

@jleveque
Copy link
Contributor

jleveque commented Aug 7, 2020

will use similar approach to split other commands.

FYI, this is a helpful start toward resolving #967!

config/main.py Outdated Show resolved Hide resolved
show/feature.py Outdated Show resolved Hide resolved
jleveque
jleveque previously approved these changes Aug 8, 2020
Signed-off-by: Guohan Lu <lguohan@gmail.com>
Signed-off-by: Guohan Lu <lguohan@gmail.com>
Signed-off-by: Guohan Lu <lguohan@gmail.com>
@lguohan
Copy link
Contributor Author

lguohan commented Aug 8, 2020

@jleveque , rebased to latest master

@lguohan lguohan merged commit e722cb0 into sonic-net:master Aug 8, 2020
@lguohan lguohan deleted the feature4 branch August 8, 2020 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants