-
Notifications
You must be signed in to change notification settings - Fork 87
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
Updated Key and Path #209
Conversation
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
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 |
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.
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
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 |
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.
Typo here
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.
Could you clarify which word has typo?
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.
should be --ssh_string?
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.