summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/show-kernel-modules.xml.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/op-mode-definitions/show-kernel-modules.xml.in b/op-mode-definitions/show-kernel-modules.xml.in
new file mode 100644
index 000000000..28eb28212
--- /dev/null
+++ b/op-mode-definitions/show-kernel-modules.xml.in
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<interfaceDefinition>
+ <node name="show">
+ <children>
+ <node name="kernel">
+ <properties>
+ <help>Show kernel information</help>
+ </properties>
+ <children>
+ <node name="modules">
+ <properties>
+ <help>Show kernel modules</help>
+ </properties>
+ <command>sudo ${vyos_op_scripts_dir}/kernel_modules.py show</command>
+ </node>
+ </children>
+ </node>
+ </children>
+ </node>
+</interfaceDefinition>