diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-05-20 21:35:46 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-05-21 11:58:57 +0200 |
commit | 5038eb5856b809f339e14dd932dd64fb1204eefc (patch) | |
tree | 3d6a619cb3ac34fb05e5555a585176c05da2dde3 /op-mode-definitions/generate-macsec-key.xml | |
parent | fe9d399a4e78a1637cb3a693e0470eaec1dd5de5 (diff) | |
download | vyos-1x-5038eb5856b809f339e14dd932dd64fb1204eefc.tar.gz vyos-1x-5038eb5856b809f339e14dd932dd64fb1204eefc.zip |
macsec: T2023: generate secure channel keys in operation mode
Diffstat (limited to 'op-mode-definitions/generate-macsec-key.xml')
-rw-r--r-- | op-mode-definitions/generate-macsec-key.xml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/op-mode-definitions/generate-macsec-key.xml b/op-mode-definitions/generate-macsec-key.xml new file mode 100644 index 000000000..44ded441d --- /dev/null +++ b/op-mode-definitions/generate-macsec-key.xml @@ -0,0 +1,13 @@ +<?xml version="1.0"?> +<interfaceDefinition> + <node name="generate"> + <children> + <node name="macsec-key"> + <properties> + <help>Generate MACsec secure channel key</help> + </properties> + <command>/usr/bin/hexdump -n 16 -e '4/4 "%08x" 1 "\n"' /dev/random</command> + </node> + </children> + </node> +</interfaceDefinition> |