summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-netns.xml.in
diff options
context:
space:
mode:
authorViacheslav <v.gletenko@vyos.io>2021-11-23 17:57:48 +0000
committerViacheslav <v.gletenko@vyos.io>2021-11-23 17:57:48 +0000
commit035a3f1b053136e553f9f03f536d0a3d6daabb72 (patch)
treec29d9549df3b83180bf63bb105f5557ff663a755 /op-mode-definitions/show-netns.xml.in
parent22e3558834784a8ca37f6335c15c58a631a7fe10 (diff)
downloadvyos-1x-035a3f1b053136e553f9f03f536d0a3d6daabb72.tar.gz
vyos-1x-035a3f1b053136e553f9f03f536d0a3d6daabb72.zip
netns: T3829: Add op-mode for show netns
Diffstat (limited to 'op-mode-definitions/show-netns.xml.in')
-rw-r--r--op-mode-definitions/show-netns.xml.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/op-mode-definitions/show-netns.xml.in b/op-mode-definitions/show-netns.xml.in
new file mode 100644
index 000000000..8d5072d4e
--- /dev/null
+++ b/op-mode-definitions/show-netns.xml.in
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<interfaceDefinition>
+ <node name="show">
+ <children>
+ <node name="netns">
+ <properties>
+ <help>Show network namespace information</help>
+ </properties>
+ <command>ip netns ls</command>
+ </node>
+ </children>
+ </node>
+</interfaceDefinition>