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

rgos: Also strip system uptime from module #3217

Merged

Conversation

spike77453
Copy link
Contributor

@spike77453 spike77453 commented Jul 4, 2024

Pre-Request Checklist

  • Passes rubocop code analysis (try rubocop --auto-correct)
  • Tests added or adapted (try rake test)
  • Changes are reflected in the documentation
  • User-visible changes appended to CHANGELOG.md

Description

Starting with RGOS/FSOS 12 show version also reports System uptime for any installed module, e.g.:

#show version 
System description      : FS Data Center Switch(N5860-48SC) By FS.COM Inc
System start time       : 2024-07-04 05:43:25
System uptime           : 0:06:26:14
System hardware version : 1.00
System software version : N5860_FSOS 12.5(1)B0506
System patch number     : NA
System serial number    : <redacted>
System boot version     : 1.3.36(Master) 1.3.36(Slave)
System rboot version    : 1.2.8
Module information:
  Slot 0 : N5860-48SC
    System uptime       : 0:06:26:14
    Hardware version    : 1.00
    Boot version        : 1.3.36(Master) 1.3.36(Slave)
    Rboot version       : 1.2.8
    Software version    : N5860_FSOS 12.5(1)B0506
    Serial number       : <redacted>

This change ensures all all lines starting with System uptime are rejected, no matter how many spaces (if any) there are between SOL and System uptime.

@robertcheramy robertcheramy merged commit 1269d04 into ytti:master Jul 5, 2024
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.

2 participants