-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[Local-users-passwords-reset] Add new feature including config, yang and tests #18874
base: master
Are you sure you want to change the base?
Conversation
d051a6d
to
a9ec9e9
Compare
194a5a0
to
5b81bed
Compare
|
f1f9c87
to
a848ace
Compare
432ef6e
to
96119a9
Compare
2304076
to
639dc2e
Compare
platform/mellanox/mlnx-platform-api/sonic_platform/local_users_passwords_reset.py
Outdated
Show resolved
Hide resolved
b3077a4
to
4161fc4
Compare
/azpw run Azure.sonic-buildimage |
c1689a0
to
320f7bd
Compare
/azpw ms_conflict |
320f7bd
to
b887b6f
Compare
/azpw run Azure.sonic-buildimage |
/AzurePipelines run Azure.sonic-buildimage |
Azure Pipelines successfully started running 1 pipeline(s). |
@@ -2686,6 +2691,11 @@ | |||
} | |||
} | |||
}, | |||
"LOCAL_USERS_PASSWORDS_RESET": { |
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.
Why this table dupe in config DB?
description "First Revision"; | ||
} | ||
|
||
container sonic-local-users-passwords-reset { |
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.
There is a "FEATURE" table for every feature config, maybe consider using that table?
$(info "SONIC_BUFFER_MODEL" : "$(SONIC_BUFFER_MODEL)") | ||
$(info "INSTALL_DEBUG_TOOLS" : "$(INSTALL_DEBUG_TOOLS)") | ||
$(info "ROUTING_STACK" : "$(SONIC_ROUTING_STACK)") | ||
$(info "CONFIGURED_PLATFORM" : "$(if $(PLATFORM),$(PLATFORM),$(CONFIGURED_PLATFORM))") |
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.
Most lines do not require any changes. Can these lines remain unchanged?
|
||
try: | ||
import json | ||
import subprocess |
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.
seems these imports are unused
@@ -0,0 +1,63 @@ | |||
#!/usr/bin/env python | |||
|
|||
import os |
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.
seems unused import
Depends on
sonic-net/sonic-platform-common#465
Why I did it
Added local-users-passwords-reset feature-related services according to HLD: sonic-net/SONiC#1577
Work item tracking
Microsoft ADO (number only):
How I did it
How to verify it
Manual test
Which release branch to backport (provide reason below if selected)
Tested branch (Please provide the tested image version)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)