summaryrefslogtreecommitdiff
path: root/interface-definitions/include
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-08-23 07:35:28 +0200
committerGitHub <noreply@github.com>2023-08-23 07:35:28 +0200
commit8c7fbec24f8bfe064d8ad804951f5ae59b54748f (patch)
tree6bbf7902d77f0761fe95719f2492efad3a486ede /interface-definitions/include
parenta090dd71231167cda95baaf7284e031230b5ee7a (diff)
parent007942130b3e9b86391fd08c3e372002afc6025e (diff)
downloadvyos-1x-8c7fbec24f8bfe064d8ad804951f5ae59b54748f.tar.gz
vyos-1x-8c7fbec24f8bfe064d8ad804951f5ae59b54748f.zip
Merge pull request #2156 from giga1699/T5447
T5447: Initial support for MACsec static keys
Diffstat (limited to 'interface-definitions/include')
-rw-r--r--interface-definitions/include/interface/macsec-key.xml.i15
1 files changed, 15 insertions, 0 deletions
diff --git a/interface-definitions/include/interface/macsec-key.xml.i b/interface-definitions/include/interface/macsec-key.xml.i
new file mode 100644
index 000000000..5a857a612
--- /dev/null
+++ b/interface-definitions/include/interface/macsec-key.xml.i
@@ -0,0 +1,15 @@
+<!-- include start from interface/macsec-key.xml.i -->
+<leafNode name="key">
+ <properties>
+ <help>MACsec static key</help>
+ <valueHelp>
+ <format>txt</format>
+ <description>16-byte (128-bit) hex-string (32 hex-digits) for gcm-aes-128 or 32-byte (256-bit) hex-string (64 hex-digits) for gcm-aes-256</description>
+ </valueHelp>
+ <constraint>
+ <regex>[A-Fa-f0-9]{32}</regex>
+ <regex>[A-Fa-f0-9]{64}</regex>
+ </constraint>
+ </properties>
+</leafNode>
+<!-- include end -->