Demo_MACsec/MACsec_Utilitie
Andreas Kirsch b2018348d1 Added "embedded Gateway Builder" Demo
Added DCTC10 Graphical panel
Prepared for TC10 on SFP_01/SFP_02 - not properly working yet
2025-11-27 16:03:51 +01:00
..
yaml Initial commit - moved from https://git.intrepidcs.de/Andreas/Demos 2025-02-13 10:43:40 +01:00
MACSec.zap Initial commit - moved from https://git.intrepidcs.de/Andreas/Demos 2025-02-13 10:43:40 +01:00
README.md Initial commit - moved from https://git.intrepidcs.de/Andreas/Demos 2025-02-13 10:43:40 +01:00
Reset_SFP1_GS0728.bat Initial commit - moved from https://git.intrepidcs.de/Andreas/Demos 2025-02-13 10:43:40 +01:00
Reset_SFP1_GS0733.bat Initial commit - moved from https://git.intrepidcs.de/Andreas/Demos 2025-02-13 10:43:40 +01:00
Reset_SFP2_GS0728.bat Initial commit - moved from https://git.intrepidcs.de/Andreas/Demos 2025-02-13 10:43:40 +01:00
Reset_SFP2_GS0733.bat Initial commit - moved from https://git.intrepidcs.de/Andreas/Demos 2025-02-13 10:43:40 +01:00
Set_SFP1_GS0733.bat Initial commit - moved from https://git.intrepidcs.de/Andreas/Demos 2025-02-13 10:43:40 +01:00
Set_SFP1_GS0733_Encrypt.bat Updated for AEC2025 2025-02-13 10:49:24 +01:00
Set_SFP2_GS0733.bat Initial commit - moved from https://git.intrepidcs.de/Andreas/Demos 2025-02-13 10:43:40 +01:00
Set_SFP2_GS0733_Encrypt.bat Updated for AEC2025 2025-02-13 10:49:24 +01:00
test_sfp_macsec_util.py Added "embedded Gateway Builder" Demo 2025-11-27 16:03:51 +01:00
util.py Initial commit - moved from https://git.intrepidcs.de/Andreas/Demos 2025-02-13 10:43:40 +01:00
util_eth.py Initial commit - moved from https://git.intrepidcs.de/Andreas/Demos 2025-02-13 10:43:40 +01:00
util_i2c.py Initial commit - moved from https://git.intrepidcs.de/Andreas/Demos 2025-02-13 10:43:40 +01:00
util_sfp.py Added "embedded Gateway Builder" Demo 2025-11-27 16:03:51 +01:00
yaml.zip Initial commit - moved from https://git.intrepidcs.de/Andreas/Demos 2025-02-13 10:43:40 +01:00

README.md

Installing Dependencies The following dependencies are required:

  • python_ics
  • pyyaml

Running MACSec utility

Provide arguments for:

  • RADGigastar serial number
  • sfp
  • config_netid
    • NETID_I2C2 for RADGigastar SFP1 port
    • NETID_I2C3 for RADGigastar SFP2 port
    • 'NETID_MDIO_02' for RAD-Comet2 Ethernet1
  • yaml
    • MACsec configuration yaml file name
    • *Assumes .yml is located in "/yaml/" directory

See -h for help text.

Example:

python test_sfp_macsec_util.py GS0694 --sfp --config_netid NETID_I2C2 --yaml test_sfp_macsec_Rule_wildcard_SecY_256_strip_noEncrypt_onlyCheck_sci_SA_sak0.yml

Reset/Clear the MACsec configuration

Add --reset argument. Any MACsec configuration will be cleared and MACsec will be disabled on the device/port. *Make sure to remove --reset argument before configuring MACsec on the module again.

New MACsec configuration

"/yaml/" folder contains 8 existing MACsec yaml configurations to showcase specific use cases of MACsec. To add a new/custom MACsec configuration, add a new .yml file to the "/yaml/" folder in the same format as any of the existing files and edit the MACsec parameters.