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.