summaryrefslogtreecommitdiff
path: root/interface-definitions/interfaces-macsec.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-05-21 10:43:44 +0200
committerChristian Poessinger <christian@poessinger.com>2020-05-21 11:59:08 +0200
commit04d03f5bdd262bbf95f09e6ba3f211ab1d459573 (patch)
tree72ab35b2d9aa5df32711a99948df0937a13ad66f /interface-definitions/interfaces-macsec.xml.in
parent5038eb5856b809f339e14dd932dd64fb1204eefc (diff)
downloadvyos-1x-04d03f5bdd262bbf95f09e6ba3f211ab1d459573.tar.gz
vyos-1x-04d03f5bdd262bbf95f09e6ba3f211ab1d459573.zip
macsec: T2023: add optional encryption command
By default MACsec only authenticates traffic but has support for optional encryption. Encryption can now be enabled using: set interfaces macsec <interface> encrypt
Diffstat (limited to 'interface-definitions/interfaces-macsec.xml.in')
-rw-r--r--interface-definitions/interfaces-macsec.xml.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/interface-definitions/interfaces-macsec.xml.in b/interface-definitions/interfaces-macsec.xml.in
index 79837dfb5..13448e758 100644
--- a/interface-definitions/interfaces-macsec.xml.in
+++ b/interface-definitions/interfaces-macsec.xml.in
@@ -36,6 +36,12 @@
</constraint>
</properties>
</leafNode>
+ <leafNode name="encrypt">
+ <properties>
+ <help>Enable optional MACsec encryption</help>
+ <valueless/>
+ </properties>
+ </leafNode>
#include <include/interface-description.xml.i>
#include <include/interface-disable.xml.i>
#include <include/interface-vrf.xml.i>