summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-12-29 11:34:40 +0100
committerChristian Poessinger <christian@poessinger.com>2020-12-29 11:51:28 +0100
commitd59354e52a8a7fbdd6bb0a020f50600d64c799a9 (patch)
tree5bc44f1b8ca1dbb38a138ac8fc62645bc308e831 /interface-definitions
parent5e5e87467dd6b22d1378269f4a62825b7d122a5c (diff)
downloadvyos-1x-d59354e52a8a7fbdd6bb0a020f50600d64c799a9.tar.gz
vyos-1x-d59354e52a8a7fbdd6bb0a020f50600d64c799a9.zip
ethernet: T1466: add EAPoL support
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/include/interface-eapol.xml.i12
-rw-r--r--interface-definitions/interfaces-ethernet.xml.in3
2 files changed, 14 insertions, 1 deletions
diff --git a/interface-definitions/include/interface-eapol.xml.i b/interface-definitions/include/interface-eapol.xml.i
new file mode 100644
index 000000000..94476f0f1
--- /dev/null
+++ b/interface-definitions/include/interface-eapol.xml.i
@@ -0,0 +1,12 @@
+<!-- included start from interface-eapol.xml.i -->
+<node name="eapol">
+ <properties>
+ <help>Extensible Authentication Protocol over Local Area Network</help>
+ </properties>
+ <children>
+ #include <include/certificate.xml.i>
+ #include <include/certificate-ca.xml.i>
+ #include <include/certificate-key.xml.i>
+ </children>
+</node>
+<!-- included end -->
diff --git a/interface-definitions/interfaces-ethernet.xml.in b/interface-definitions/interfaces-ethernet.xml.in
index 5dd685c37..9564f5ab8 100644
--- a/interface-definitions/interfaces-ethernet.xml.in
+++ b/interface-definitions/interfaces-ethernet.xml.in
@@ -28,7 +28,6 @@
</leafNode>
#include <include/interface-disable-link-detect.xml.i>
#include <include/interface-disable.xml.i>
- #include <include/interface-vrf.xml.i>
<leafNode name="duplex">
<properties>
<help>Duplex mode</help>
@@ -54,6 +53,7 @@
</properties>
<defaultValue>auto</defaultValue>
</leafNode>
+ #include <include/interface-eapol.xml.i>
#include <include/interface-hw-id.xml.i>
#include <include/interface-ipv4-options.xml.i>
#include <include/interface-ipv6-options.xml.i>
@@ -187,6 +187,7 @@
</node>
#include <include/vif-s.xml.i>
#include <include/vif.xml.i>
+ #include <include/interface-vrf.xml.i>
#include <include/interface-xdp.xml.i>
</children>
</tagNode>