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

Support for platforms based on Clounix Networks' device #2108

Merged
merged 3 commits into from
Nov 30, 2022

Conversation

songqh2022
Copy link

@songqh2022 songqh2022 commented Mar 18, 2022

What I did

Add support for platforms based on Clounix Networks' device

How I did it

Add support for platforms based on Clounix Networks' device

How to verify it

Verified on pythical DUT

Previous command output (if the output of a command-line utility has changed)

New command output (if the output of a command-line utility has changed)

@wangzhClounix
Copy link

@kcudnik can you kindly approving review for this pull request ?

@@ -713,6 +713,11 @@ then
systemctl stop "$service_name"
fi

if [[ "$sonic_asic_type" = 'clounix' ]];
then
systemctl stop clx-modules.service || debug "Ignore stopping clounix service error $?"
Copy link

Choose a reason for hiding this comment

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

should failure be logged as error in syslog instead of debug?

Copy link
Author

Choose a reason for hiding this comment

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

Hi kcudnik:
You're right, "debug" will be recorded in syslog,because in this fast-boot file the definition of "debug" is:
function debug()
{
if [[ x"${VERBOSE}" == x"yes" ]]; then
echo date $@
fi
logger "$@"
}

Copy link

Choose a reason for hiding this comment

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

@kcudnik
Hi Kamil,
Thanks for your comment.
As Qinghua’s mentioned, this log will be logged in syslog, looks like this script is using the similar style.
May I know if we can keep this this change?
Thanks again for your feedback.

Copy link

Choose a reason for hiding this comment

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

sure , works for me

@Battier
Copy link

Battier commented Aug 17, 2022

@qiluo-msft
Could you please kindly approving review for this PR?

@wangzhClounix
Copy link

@qiluo-msft can you kindly approving review for this pull request ?

@qiluo-msft qiluo-msft requested a review from vaibhavhd October 18, 2022 00:13
@wangzhClounix
Copy link

@vaibhavhd Could you please kindly approving review for this PR?

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Nov 7, 2022

CLA Signed

The committers listed above are authorized under a signed CLA.

@wangzhClounix
Copy link

@kcudnik Could you please kindly approving review and merging for this PR?

@vaibhavhd
Copy link
Contributor

LGTM. Sorry for getting late to this. Please sync with the latest and solve merge conflicts.

@songqh2022
Copy link
Author

EasyCLA have done

@vaibhavhd vaibhavhd merged commit ad7a4d4 into sonic-net:202012 Nov 30, 2022
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