summaryrefslogtreecommitdiff
path: root/interface-definitions/netns.xml.in
diff options
context:
space:
mode:
authorViacheslav <v.gletenko@vyos.io>2021-11-23 18:07:12 +0000
committerViacheslav <v.gletenko@vyos.io>2021-11-23 18:07:12 +0000
commita2fe5dc40d439a28deb4d09e78fcf93aba4555a4 (patch)
treeecce45f1d37cf31e2d5d39e76b2b681992b08069 /interface-definitions/netns.xml.in
parent502448171a62aa809c07d19a3999df885a65f715 (diff)
downloadvyos-1x-a2fe5dc40d439a28deb4d09e78fcf93aba4555a4.tar.gz
vyos-1x-a2fe5dc40d439a28deb4d09e78fcf93aba4555a4.zip
netns: T3829: Add XML for netns CLI configuration
Diffstat (limited to 'interface-definitions/netns.xml.in')
-rw-r--r--interface-definitions/netns.xml.in23
1 files changed, 23 insertions, 0 deletions
diff --git a/interface-definitions/netns.xml.in b/interface-definitions/netns.xml.in
new file mode 100644
index 000000000..88451737a
--- /dev/null
+++ b/interface-definitions/netns.xml.in
@@ -0,0 +1,23 @@
+<?xml version="1.0"?>
+<interfaceDefinition>
+ <node name="netns" owner="${vyos_conf_scripts_dir}/netns.py">
+ <properties>
+ <help>Network namespace</help>
+ <priority>299</priority>
+ </properties>
+ <children>
+ <tagNode name="name">
+ <properties>
+ <help>Network namespace name</help>
+ </properties>
+ <children>
+ <leafNode name="descriprion">
+ <properties>
+ <help>Network namespace description</help>
+ </properties>
+ </leafNode>
+ </children>
+ </tagNode>
+ </children>
+ </node>
+</interfaceDefinition>