summaryrefslogtreecommitdiff
path: root/interface-definitions/include/interface-hw-id.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-13 10:31:19 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-13 10:31:22 +0200
commit021a2470bd67dccfac0a53c9f4ef511640c03101 (patch)
treef00f410a63b969234fe9f14fca949d9647a19cc1 /interface-definitions/include/interface-hw-id.xml.i
parent1fa62cd27ad535669cd62cb2e0560ff840681281 (diff)
downloadvyos-1x-021a2470bd67dccfac0a53c9f4ef511640c03101.tar.gz
vyos-1x-021a2470bd67dccfac0a53c9f4ef511640c03101.zip
XML: T2282: clarify on ethernet and wireless hw-id nodes
Diffstat (limited to 'interface-definitions/include/interface-hw-id.xml.i')
-rw-r--r--interface-definitions/include/interface-hw-id.xml.i12
1 files changed, 12 insertions, 0 deletions
diff --git a/interface-definitions/include/interface-hw-id.xml.i b/interface-definitions/include/interface-hw-id.xml.i
new file mode 100644
index 000000000..cefc9f0a0
--- /dev/null
+++ b/interface-definitions/include/interface-hw-id.xml.i
@@ -0,0 +1,12 @@
+<leafNode name="mac">
+ <properties>
+ <help>Associate Ethernet Interface with given Media Access Control (MAC) address</help>
+ <valueHelp>
+ <format>h:h:h:h:h:h</format>
+ <description>Hardware Media Access Control (MAC) address</description>
+ </valueHelp>
+ <constraint>
+ <validator name="mac-address"/>
+ </constraint>
+ </properties>
+</leafNode>