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

Model impovements for ios/comware/ironware/screenos and new model speedtouch #1896

Merged
merged 7 commits into from
Sep 18, 2019

Conversation

raunz
Copy link
Contributor

@raunz raunz commented Sep 4, 2019

Pre-Request Checklist

  • Passes rubocop code analysis (try rubocop --auto-correct)

Description

Comware model login prompt has changed in newer HPE devices. Fix for #1886
Wipe out 'flash free space' from some Brocade devices which use ironware model.
Added Thomson Speedtouch model.
Added gsub's to ios model, to ignore "configuration last changed", "NVRAM modified" lines from config and VTP status.

@codecov-io
Copy link

codecov-io commented Sep 4, 2019

Codecov Report

Merging #1896 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1896   +/-   ##
=======================================
  Coverage   63.38%   63.38%           
=======================================
  Files          30       30           
  Lines        1491     1491           
=======================================
  Hits          945      945           
  Misses        546      546

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8543c73...5090565. Read the comment docs.

@ytti
Copy link
Owner

ytti commented Sep 16, 2019

Please add speedtouch to supported platforms and in release notes. Looks great!

@raunz raunz changed the title Model impovements for ios/comware/ironware and new model speedtouch Model impovements for ios/comware/ironware/screenos and new model speedtouch Sep 18, 2019
@raunz
Copy link
Contributor Author

raunz commented Sep 18, 2019

Please add speedtouch to supported platforms and in release notes. Looks great!

I've updated the documentation. I also included a small bugfix for ScreenOS model in the same branch.

@ytti ytti merged commit 66b3a50 into ytti:master Sep 18, 2019
@ytti
Copy link
Owner

ytti commented Sep 18, 2019

Thanks!

@raunz raunz mentioned this pull request Sep 18, 2019
2 tasks
@tyler-8
Copy link

tyler-8 commented Sep 30, 2019

I've got to say I object to the changes in 3599f90. That is removing critical details of when the config was actually modified on the device as well as the username that did the modification. That seems like a poor choice for default behavior - particularly since those lines have been included for all ios users up til this commit.

@raunz
Copy link
Contributor Author

raunz commented Oct 1, 2019

Due to buggy behaviour in IOS software it's wiser to remove 'last updated at/changed at'.
I prefer to get a diff only when a configuration actually changes. Also a major change in comment section is justified (e.g. change of serial number due to device hardware replacement).

Here's a example - I logged in, entered conf t but did not change anything, but the last configuration change time got udpated.

eli-sw1#sh ver
Cisco IOS Software, C2960X Software (C2960X-UNIVERSALK9-M), Version 15.2(4)E3, RELEASE SOFTWARE (fc2)
eli-sw1#sh run | i (change|updated)
! Last configuration change at 04:19:51 UTC Tue Oct 1 2019
! NVRAM config last updated at 12:31:07 UTC Thu Apr 25 2019 by sander
eli-sw1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
eli-sw1(config)#exit
eli-sw1#sh run | i (change|updated)
! Last configuration change at 05:35:23 UTC Tue Oct 1 2019 by rauno
! NVRAM config last updated at 12:31:07 UTC Thu Apr 25 2019 by sander

Also there's no need to trigger a commit, when a device has been rebooted and the timestamp of last change is null.
Also a pull #1904 preferred removal of these lines.

@raunz raunz mentioned this pull request Dec 5, 2019
2 tasks
raunz added a commit to raunz/oxidized that referenced this pull request Sep 29, 2021
…fied' in ytti#1896 with modifications for 802.1x where configurations change without username. Fixes ytti#1921
ghost pushed a commit that referenced this pull request Nov 30, 2021
…fied" (#2374)

* comware fix 19x0 cli mode and add device manuinfo

* Restore IOS model filtering of 'configuration last changed/NVRAM modified' in #1896 with modifications for 802.1x where configurations change without username. Fixes #1921

Co-authored-by: Rauno Tuul <rauno@tuul.eu>
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