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

T5137: Refactoring show tech-support report #1961

Merged
merged 1 commit into from Apr 17, 2023
Merged

Conversation

sever-sever
Copy link
Member

Change Summary

Split script to small functions for flexible output reports. Improve header for commands.
Each function can easily be modified or extended.
Remove splitting command/output via the percent symbol. Remove old commands and directories like /etc/rc.local, iptables, brctl, etc.
Remove ethtool operation for subinterfaces.
Extend ethtool debug output.
Add correct nftables command.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes)
  • Migration from an old Vyatta component to vyos-1x, please link to related PR inside obsoleted component
  • Other (please describe):

Related Task(s)

Component(s) name

tech-support

Proposed changes

How to test

show tech-support report

Checklist:

  • I have read the CONTRIBUTING document
  • I have linked this PR to one or more Phabricator Task(s)
  • I have run the components SMOKETESTS if applicable
  • My commit headlines contain a valid Task id
  • My change requires a change to the documentation
  • I have updated the documentation accordingly

Split script to small functions for flexible output reports.
Improve header for commands.
Each funciton easily can be modified or extended.
Remove splitting command/output via percent symbol.
Remove old commands and directiories like /etc/rc.local, iptables,
brctl, etc.
Remove ethtool operation for subinterfaces.
Extend ethtool debug output.
Add correct nftables command.
@vyosbot vyosbot requested a review from a team April 17, 2023 18:11
@vyosbot vyosbot requested review from dmbaturin, sarthurdev, zdc, jestabro and c-po and removed request for a team April 17, 2023 18:11
@c-po c-po merged commit cdad13f into vyos:current Apr 17, 2023
6 of 7 checks passed
@erkin
Copy link
Contributor

erkin commented Apr 17, 2023

Can this be made to work with diagnostic file generation?

@sever-sever sever-sever deleted the T5137 branch May 10, 2023 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants