diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-12-06 18:02:44 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-12-06 20:58:56 +0100 |
commit | 7b548edefc9e3d9fdccbfe5469f621d07793f715 (patch) | |
tree | bcb2bdf344bdce7ca3d6f59e2b204ea6de39dbe1 /interface-definitions/include/interface-mac.xml.i | |
parent | 9b116825b44ca1611976e0807f9bf22a38ca6812 (diff) | |
download | vyos-1x-7b548edefc9e3d9fdccbfe5469f621d07793f715.tar.gz vyos-1x-7b548edefc9e3d9fdccbfe5469f621d07793f715.zip |
T1843: use include files for interface MAC address
Diffstat (limited to 'interface-definitions/include/interface-mac.xml.i')
-rw-r--r-- | interface-definitions/include/interface-mac.xml.i | 12 |
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> |