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

Updated Key and Path #209

Merged
merged 8 commits into from
Feb 10, 2025
Merged

Conversation

muhammadalihussnain
Copy link
Contributor

Updated SSH_KEY to ssh_key and SSH_PATH to ssh_path and ssh_path respectively to maintain consistency with lowercase naming conventions in the configuration and YANG model. This change ensures uniform key formatting across the system.

@mssonicbld
Copy link

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@muhammadalihussnain
Copy link
Contributor Author

Thanks for your valuable feedback, @ram25794. Based on your suggestion, we've updated the SSH_KEY and SSH_PATH to lowercase in the PR for consistency with other config variables. All necessary changes have been made, and we've tested the updates thoroughly. Please review the updated PR, and I would appreciate your approval for merging it

@@ -1141,8 +1141,8 @@ class KdumpCfg(object):
"memory": "0M-2G:256M,2G-4G:320M,4G-8G:384M,8G-:448M",
"num_dumps": "3",
"remote": "false", # New feature: remote, default is "false"
"SSH_KEY": "<user@server>", # New feature: SSH key, default value
"SSH_PATH": "<path>" # New feature: SSH path, default value
"ssh_key": "<user@server>", # New feature: SSH key, default value
Copy link

@wajahatrazi wajahatrazi Feb 10, 2025

Choose a reason for hiding this comment

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

The PR that you have created, does not reflect the YANG model leaf names, as it was suggested.

Kindly refer to the YANG model mentioned below

https://github.com/sonic-net/sonic-buildimage/blob/5c91afd99ed70d4b0ca03521cd386c98bc67260d/src/sonic-yang-models/yang-models/sonic-kdump.yang

call(['sonic-kdump-config', '--num_dumps', '3']),
call(['sonic-kdump-config', '--memory', '0M-2G:256M,2G-4G:320M,4G-8G:384M,8G-:448M']),
call(['sonic-kdump-config', '--remote', 'false']), # Covering remote
call(['sonic-kdump-config', '--ssh_key', '<user@server>']), # Covering ssh_key

Choose a reason for hiding this comment

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

Typo here

Copy link
Contributor

Choose a reason for hiding this comment

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

Could you clarify which word has typo?

Copy link
Contributor

Choose a reason for hiding this comment

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

should be --ssh_string?

@qiluo-msft qiluo-msft merged commit 1fe9a76 into sonic-net:master Feb 10, 2025
5 checks passed
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.

5 participants