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

op mode: T6501: add "run show kernel modules" #3683

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

dmbaturin
Copy link
Member

Change Summary

Add a new command for listing details information about kernel modules, run show kernel modules.

The script supports displaying information about a single module, so it's possible to add a CLI for that, if we decide what to call the command.

Perhaps the command should be in run show system kernel modules, not sure.

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)

Related PR(s)

Component(s) name

Op mode.

Proposed changes

How to test

vyos@vyos:~$ show kernel modules 

Module: efi_pstore

initsize: 0
refcnt: 0
coresize: 12288
initstate: live

Parameters:

record_size: 1024
pstore_disable: N
-------------

Module: nls_ascii

initsize: 0
refcnt: 0
coresize: 12288
initstate: live

-------------
...

Smoketest result

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

Copy link


PR title 'op mode: T6501: add "run show kernel modules"' does not match the required format!. Valid title example: T99999: make IPsec secure

@jestabro jestabro merged commit 819b4a3 into vyos:current Jun 24, 2024
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

3 participants