diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-12-06 18:12:22 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-12-06 20:58:56 +0100 |
commit | 24c99947f4a7ca8b3519a69f8c61eba8af55d859 (patch) | |
tree | 300b8673c75f3d1a22aec4d0c9ba3494f2f117f0 /interface-definitions/include | |
parent | 1053b331172277f7e3b2714fca84da7db4eb6221 (diff) | |
download | vyos-1x-24c99947f4a7ca8b3519a69f8c61eba8af55d859.tar.gz vyos-1x-24c99947f4a7ca8b3519a69f8c61eba8af55d859.zip |
T1843: use include files for interface link-detect feature
Diffstat (limited to 'interface-definitions/include')
-rw-r--r-- | interface-definitions/include/interface-disable-link-detect.xml.i | 6 | ||||
-rw-r--r-- | interface-definitions/include/vif-s.xml.i | 14 | ||||
-rw-r--r-- | interface-definitions/include/vif.xml.i | 7 |
3 files changed, 9 insertions, 18 deletions
diff --git a/interface-definitions/include/interface-disable-link-detect.xml.i b/interface-definitions/include/interface-disable-link-detect.xml.i new file mode 100644 index 000000000..619cd03b0 --- /dev/null +++ b/interface-definitions/include/interface-disable-link-detect.xml.i @@ -0,0 +1,6 @@ +<leafNode name="disable-link-detect"> + <properties> + <help>Ignore link state changes</help> + <valueless/> + </properties> +</leafNode> diff --git a/interface-definitions/include/vif-s.xml.i b/interface-definitions/include/vif-s.xml.i index a109eed6b..772804f53 100644 --- a/interface-definitions/include/vif-s.xml.i +++ b/interface-definitions/include/vif-s.xml.i @@ -10,12 +10,7 @@ #include <include/address-ipv4-ipv6-dhcp.xml.i>
#include <include/interface-description.xml.i>
#include <include/dhcp-dhcpv6-options.xml.i>
- <leafNode name="disable-link-detect">
- <properties>
- <help>Ignore link state changes</help>
- <valueless/>
- </properties>
- </leafNode>
+ #include <include/interface-disable-link-detect.xml.i>
#include <include/interface-disable.xml.i>
<leafNode name="ethertype">
<properties>
@@ -51,12 +46,7 @@ #include <include/address-ipv4-ipv6-dhcp.xml.i>
#include <include/interface-description.xml.i>
#include <include/dhcp-dhcpv6-options.xml.i>
- <leafNode name="disable-link-detect">
- <properties>
- <help>Ignore link state changes</help>
- <valueless/>
- </properties>
- </leafNode>
+ #include <include/interface-disable-link-detect.xml.i>
#include <include/interface-disable.xml.i>
#include <include/interface-mac.xml.i>
#include <include/interface-mtu-68-9000.xml.i>
diff --git a/interface-definitions/include/vif.xml.i b/interface-definitions/include/vif.xml.i index c74d7815e..597137828 100644 --- a/interface-definitions/include/vif.xml.i +++ b/interface-definitions/include/vif.xml.i @@ -14,12 +14,7 @@ #include <include/address-ipv4-ipv6-dhcp.xml.i> #include <include/interface-description.xml.i> #include <include/dhcp-dhcpv6-options.xml.i> - <leafNode name="disable-link-detect"> - <properties> - <help>Ignore link state changes</help> - <valueless/> - </properties> - </leafNode> + #include <include/interface-disable-link-detect.xml.i> #include <include/interface-disable.xml.i> <leafNode name="egress-qos"> <properties> |