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/vif-s.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/vif-s.xml.i')
-rw-r--r-- | interface-definitions/include/vif-s.xml.i | 26 |
1 files changed, 2 insertions, 24 deletions
diff --git a/interface-definitions/include/vif-s.xml.i b/interface-definitions/include/vif-s.xml.i index b73a5cdbc..3cb28d7e0 100644 --- a/interface-definitions/include/vif-s.xml.i +++ b/interface-definitions/include/vif-s.xml.i @@ -37,18 +37,7 @@ <constraintErrorMessage>Ethertype must be 0x88A8 or 0x8100</constraintErrorMessage>
</properties>
</leafNode>
- <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>
+ #include <include/interface-mac.xml.i>
<leafNode name="mtu">
<properties>
<help>Maximum Transmission Unit (MTU)</help>
@@ -81,18 +70,7 @@ </properties>
</leafNode>
#include <include/interface-disable.xml.i>
- <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>
+ #include <include/interface-mac.xml.i>
<leafNode name="mtu">
<properties>
<help>Maximum Transmission Unit (MTU)</help>
|