diff options
author | Viacheslav <v.gletenko@vyos.io> | 2021-11-23 17:57:48 +0000 |
---|---|---|
committer | Viacheslav <v.gletenko@vyos.io> | 2021-11-23 17:57:48 +0000 |
commit | 035a3f1b053136e553f9f03f536d0a3d6daabb72 (patch) | |
tree | c29d9549df3b83180bf63bb105f5557ff663a755 /op-mode-definitions | |
parent | 22e3558834784a8ca37f6335c15c58a631a7fe10 (diff) | |
download | vyos-1x-035a3f1b053136e553f9f03f536d0a3d6daabb72.tar.gz vyos-1x-035a3f1b053136e553f9f03f536d0a3d6daabb72.zip |
netns: T3829: Add op-mode for show netns
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/show-netns.xml.in | 13 |
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> |