summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-02-20 08:07:33 +0100
committerGitHub <noreply@github.com>2022-02-20 08:07:33 +0100
commitb586558a591baf01488fe4f9f32037de7239ae87 (patch)
tree4895eb3c8b98d64f88ea3b8fd58ad73c75692137 /interface-definitions
parent29ba813fb65b8b292105cdae4f8f71fcce6350a1 (diff)
parentcf36ced75094a519682875e0e73571824f34b6ec (diff)
downloadvyos-1x-b586558a591baf01488fe4f9f32037de7239ae87.tar.gz
vyos-1x-b586558a591baf01488fe4f9f32037de7239ae87.zip
Merge pull request #1229 from sever-sever/T4249
containers: T4249: Allow to connect host device to the container
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/containers.xml.in25
1 files changed, 25 insertions, 0 deletions
diff --git a/interface-definitions/containers.xml.in b/interface-definitions/containers.xml.in
index 30c7110b8..07686b16e 100644
--- a/interface-definitions/containers.xml.in
+++ b/interface-definitions/containers.xml.in
@@ -58,6 +58,31 @@
</properties>
</leafNode>
#include <include/generic-description.xml.i>
+ <tagNode name="device">
+ <properties>
+ <help>Add a host device to the container</help>
+ </properties>
+ <children>
+ <leafNode name="source">
+ <properties>
+ <help>Source device (Example: "/dev/x")</help>
+ <valueHelp>
+ <format>txt</format>
+ <description>Source device</description>
+ </valueHelp>
+ </properties>
+ </leafNode>
+ <leafNode name="destination">
+ <properties>
+ <help>Destination container device (Example: "/dev/x")</help>
+ <valueHelp>
+ <format>txt</format>
+ <description>Destination container device</description>
+ </valueHelp>
+ </properties>
+ </leafNode>
+ </children>
+ </tagNode>
#include <include/generic-disable-node.xml.i>
<tagNode name="environment">
<properties>