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

Node: fix SONiC detection, and bug fix #919

Merged
merged 1 commit into from
Jan 10, 2024
Merged

Node: fix SONiC detection, and bug fix #919

merged 1 commit into from
Jan 10, 2024

Conversation

ddutt
Copy link
Member

@ddutt ddutt commented Jan 10, 2024

The newer SONiC versions have a different string to match to extract the version. Add that. Plus, fix a bug in extracting the version during device init.

Set develop as target branch of this PR (delete this line before issuing the PR)

Description

Fix detection of SONiC devices and version extraction of newer SONiC versions.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

New Behavior

SONiC newer versions are correctly detected as SONiC, and version correctly extracted for all versions, old and new.
...

Proposed Release Note Entry

  • Fix SONiC auto detect for newer versions, and fix version extraction for SONiC devices

Double Check

  • I have read the comments and followed the CONTRIBUTING.md.
  • I have explained my PR according to the information in the comments or in a linked issue.
  • My PR source branch is created from the develop branch.
  • My PR targets the develop branch.
  • All my commits have --signoff applied

The newer SONiC versions have a different string to match to extract
the version. Add that. Plus, fix a bug in extracting the version
during device init.

Signed-off-by: Dinesh Dutt <[email protected]>
@ddutt ddutt merged commit 66a46d3 into develop Jan 10, 2024
13 checks passed
@ddutt ddutt deleted the sonic-detect-fix branch January 10, 2024 13:11
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.

4 participants