-
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
Added CLI commands to configure Local Users' Passwords Reset feature #3302
base: master
Are you sure you want to change the base?
Conversation
cc9f2d9
to
860f804
Compare
b41277b
to
40c6e2b
Compare
@azmy98 Can you please fix the conflicts and the build? |
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.
Please add the output of new show command to description
show/main.py
Outdated
data = [] | ||
|
||
for key in hdrs: | ||
data.append(feature_table.get(key, '').replace('\\n', '\n')) |
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.
Can you please clarify why do we need replace here? I don't see any other API doing this.
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.
I used the same as the Banner 'show' command implementation: #3021
40c6e2b
to
db4231a
Compare
@dgsudharsan, The new commands are documented in the doc file. |
db4231a
to
1d84e34
Compare
65294f4
to
039db9d
Compare
a2a14b2
to
c118910
Compare
…and display current configuration
c118910
to
bfc284a
Compare
/azpw run Azure.sonic-utilities |
@azmy98 , please fix build issue. |
/azpw run Azure.sonic-utilities |
/AzurePipelines run Azure.sonic-utilities |
Azure Pipelines successfully started running 1 pipeline(s). |
Please resolve conflict. |
from utilities_common.db import Db | ||
|
||
|
||
class TestLocalUsersPasswordsReset: |
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.
could you add config db json for test as well? https://github.com/sonic-net/sonic-utilities/tree/master/tests
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
What I did
Added CLI commands for Local Users' Passwords Reset feature according to HLD: sonic-net/SONiC#1577
How I did it
Added CLI commands to:
How to verify it
Manual testing
Previous command output (if the output of a command-line utility has changed)
N/A
New command output (if the output of a command-line utility has changed)
N/A