From e982b78f24d1dca3d2bc92a39b8e9fcf35b39a37 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 9 Jan 2021 14:31:48 +0100 Subject: xml: op-mode: add preprocessor support as known from configuration mode --- op-mode-definitions/generate-macsec-key.xml.in | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 op-mode-definitions/generate-macsec-key.xml.in (limited to 'op-mode-definitions/generate-macsec-key.xml.in') diff --git a/op-mode-definitions/generate-macsec-key.xml.in b/op-mode-definitions/generate-macsec-key.xml.in new file mode 100644 index 000000000..40d2b9061 --- /dev/null +++ b/op-mode-definitions/generate-macsec-key.xml.in @@ -0,0 +1,26 @@ + + + + + + + Generate MACsec Key + + + + + Generate MACsec connectivity association key (CAK) + + /usr/bin/hexdump -n 16 -e '4/4 "%08x" 1 "\n"' /dev/random + + + + Generate MACsec connectivity association name (CKN) + + /usr/bin/hexdump -n 32 -e '8/4 "%08x" 1 "\n"' /dev/random + + + + + + -- cgit v1.2.3