summaryrefslogtreecommitdiff
path: root/interface-definitions/include/interface-mac.xml.i
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/include/interface-mac.xml.i')
-rw-r--r--interface-definitions/include/interface-mac.xml.i12
1 files changed, 12 insertions, 0 deletions
diff --git a/interface-definitions/include/interface-mac.xml.i b/interface-definitions/include/interface-mac.xml.i
new file mode 100644
index 000000000..7b2456236
--- /dev/null
+++ b/interface-definitions/include/interface-mac.xml.i
@@ -0,0 +1,12 @@
+<leafNode name="mac">
+ <properties>
+ <help>Media Access Control (MAC) address</help>
+ <valueHelp>
+ <format>h:h:h:h:h:h</format>
+ <description>Hardware (MAC) address</description>
+ </valueHelp>
+ <constraint>
+ <validator name="mac-address"/>
+ </constraint>
+ </properties>
+</leafNode>