Added CLI commands to configure Local Users' Passwords Reset feature#3302
Added CLI commands to configure Local Users' Passwords Reset feature#3302azmy98 wants to merge 3 commits intosonic-net:masterfrom
Conversation
cc9f2d9 to
860f804
Compare
b41277b to
40c6e2b
Compare
|
@azmy98 Can you please fix the conflicts and the build? |
dgsudharsan
left a comment
There was a problem hiding this comment.
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.
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.
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.
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