summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian.poessinger@rohde-schwarz.com>2021-12-06 18:49:30 +0100
committerGitHub <noreply@github.com>2021-12-06 18:49:30 +0100
commit84455522574afb9286803f4e192a3d99c259618c (patch)
tree01ab634d8e5a9c40061f2b8150245319c44746a4 /op-mode-definitions
parent5b3ff8574c8265cf308b225c1a39503712f0b21d (diff)
parent47584e030f3341b265e826643951648982cb20d0 (diff)
downloadvyos-1x-84455522574afb9286803f4e192a3d99c259618c.tar.gz
vyos-1x-84455522574afb9286803f4e192a3d99c259618c.zip
Merge pull request #1077 from sever-sever/T3829
netns: T3829: Ability to configure network namespaces
Diffstat (limited to 'op-mode-definitions')
-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>