Skip to content

Updated Key and Path#209

Merged
qiluo-msft merged 8 commits intosonic-net:masterfrom
muhammadalihussnain:HOST_CFG_PR
Feb 10, 2025
Merged

Updated Key and Path#209
qiluo-msft merged 8 commits intosonic-net:masterfrom
muhammadalihussnain:HOST_CFG_PR

Conversation

@muhammadalihussnain
Copy link
Copy Markdown
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
Copy Markdown

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Copy Markdown

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Copy Markdown

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Copy Markdown

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Copy Markdown

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Copy Markdown

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Copy Markdown

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Copy Markdown

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@muhammadalihussnain
Copy link
Copy Markdown
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

"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
Copy Markdown

@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
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Typo here

Copy link
Copy Markdown
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
Copy Markdown
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
4 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