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

Delete Reboot Time and Cause line in aosw.rb #2375

Merged
merged 1 commit into from Nov 30, 2021
Merged

Conversation

feriniguez
Copy link
Contributor

Reboot Time and Cause: AP rebooted Tue Jun 22 06:39:10 UTC 2021; CLI cmd at uptime 0D 0H 41M 48S: reload
Reboot Time and Cause: AP Reboot reason: BadPtr:0000000c PC:_raw_write_lock_bh+0x20/0x40 Wa

The above lines are examples of what we get with the "sh version" command. These lines change at every reboot of the device.
I don't think they're needed as part of the config backup.

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

Reboot Time and Cause: AP rebooted Tue Jun 22 06:39:10 UTC 2021; CLI cmd at uptime 0D 0H 41M 48S: reload
Reboot Time and Cause: AP Reboot reason: BadPtr:0000000c PC:_raw_write_lock_bh+0x20/0x40 Wa

The above lines are examples of what we get with the "sh version" command. These lines change at every reboot of the device.
I don't think they're needed as part of the config backup.
@feriniguez feriniguez changed the title Delete Reboot Time and Cause line. Delete Reboot Time and Cause line in aosw.rb Sep 29, 2021
@feriniguez
Copy link
Contributor Author

Here a complete example of the show version in an Aruba 505H AP:

A-RU-BA-AP-1# sh version 
Aruba Operating System Software.
ArubaOS (MODEL: 505H), Version 8.7.1.4
Website: http://www.arubanetworks.com
(c) Copyright 2021 Hewlett Packard Enterprise Development LP.
Compiled on 2021-06-22 at 05:58:52 UTC (build 80581) by p4build
FIPS Mode :disabled

AP uptime is 1 hour 13 minutes 28 seconds
Reboot Time and Cause: AP rebooted Tue Jun 22 06:39:10 UTC 2021; CLI cmd at uptime 0D 0H 41M 48S: reload

@mortzu mortzu merged commit a7a5ae6 into ytti:master Nov 30, 2021
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.

None yet

2 participants