summaryrefslogtreecommitdiff
path: root/interface-definitions/include
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-01-23 14:26:00 +0100
committerChristian Poessinger <christian@poessinger.com>2021-01-23 14:27:24 +0100
commitece3796409b33c4255285ee872550e21edb4a9ba (patch)
treebf92e9a853c803753bae0f2c8c8d95796e168a87 /interface-definitions/include
parent75e2ef3439c6de38cdb0dc9eb84d0657b5cb6d1c (diff)
downloadvyos-1x-ece3796409b33c4255285ee872550e21edb4a9ba.tar.gz
vyos-1x-ece3796409b33c4255285ee872550e21edb4a9ba.zip
xml: use "macaddr" key over individual "h:h:h:h:h:h" notation
(cherry picked from commit 8926edf6b64adc550ee2f6bee9a78a43d46a2053)
Diffstat (limited to 'interface-definitions/include')
-rw-r--r--interface-definitions/include/interface-hw-id.xml.i4
-rw-r--r--interface-definitions/include/interface-mac.xml.i2
2 files changed, 3 insertions, 3 deletions
diff --git a/interface-definitions/include/interface-hw-id.xml.i b/interface-definitions/include/interface-hw-id.xml.i
index af58fae3c..55ef55add 100644
--- a/interface-definitions/include/interface-hw-id.xml.i
+++ b/interface-definitions/include/interface-hw-id.xml.i
@@ -3,8 +3,8 @@
<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>
+ <format>macaddr</format>
+ <description>Hardware (MAC) address</description>
</valueHelp>
<constraint>
<validator name="mac-address"/>
diff --git a/interface-definitions/include/interface-mac.xml.i b/interface-definitions/include/interface-mac.xml.i
index e277de85c..87dc5fb60 100644
--- a/interface-definitions/include/interface-mac.xml.i
+++ b/interface-definitions/include/interface-mac.xml.i
@@ -3,7 +3,7 @@
<properties>
<help>Media Access Control (MAC) address</help>
<valueHelp>
- <format>h:h:h:h:h:h</format>
+ <format>macaddr</format>
<description>Hardware (MAC) address</description>
</valueHelp>
<constraint>