Skip to content

[SED] Change/Reset SED password CLI#620

Open
benle7 wants to merge 2 commits intosonic-net:masterfrom
benle7:change_sed_password
Open

[SED] Change/Reset SED password CLI#620
benle7 wants to merge 2 commits intosonic-net:masterfrom
benle7:change_sed_password

Conversation

@benle7
Copy link
Contributor

@benle7 benle7 commented Jan 11, 2026

HLD: sonic-net/SONiC#2171

Description

I added BaseSedMgmt to provide support for changing/resetting the SED password.
It will be used by the new relevant CLIs.

Motivation and Context

We want to be able to change and reset the SED password via SONiC CLI.

How Has This Been Tested?

config sed change-password -p PASSWORD
config sed reset-password

Additional Information (Optional)

@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run

Signed-off-by: Ben Levi <belevi@nvidia.com>
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@benle7 benle7 force-pushed the change_sed_password branch from 9339915 to 3aec3c1 Compare January 11, 2026 16:43
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

dprital
dprital previously approved these changes Jan 11, 2026
liat-grozovik
liat-grozovik previously approved these changes Feb 15, 2026
@benle7 benle7 changed the title [SED] Change SED password [SED] Change/Reset SED password CLI Feb 15, 2026
@benle7
Copy link
Contributor Author

benle7 commented Feb 19, 2026

@lguohan
Copy link
Contributor

lguohan commented Mar 7, 2026

i see the there are requested change on the HLD. can we get consensus on the HLD? @judyjoseph , @bhouse-nexthop

@benle7
Copy link
Contributor Author

benle7 commented Mar 7, 2026

There are CR comments from @bhouse-nexthop
I will handle them soon.
Thanks

@benle7 benle7 marked this pull request as draft March 9, 2026 09:50
Signed-off-by: Ben Levi <belevi@nvidia.com>
@benle7 benle7 dismissed stale reviews from liat-grozovik and dprital via 6437938 March 23, 2026 16:13
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

try:
min_len = self.get_min_sed_password_len()
max_len = self.get_max_sed_password_len()
if len(new_password) < min_len or len(new_password) > max_len:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the only limitation on password the length? can it be any char?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are not aware to chars limitation. It can be a platform-specific limitation if needed.

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.

6 participants