Added DCTC10 Graphical panel Prepared for TC10 on SFP_01/SFP_02 - not properly working yet |
||
|---|---|---|
| .. | ||
| yaml | ||
| MACSec.zap | ||
| README.md | ||
| Reset_SFP1_GS0728.bat | ||
| Reset_SFP1_GS0733.bat | ||
| Reset_SFP2_GS0728.bat | ||
| Reset_SFP2_GS0733.bat | ||
| Set_SFP1_GS0733.bat | ||
| Set_SFP1_GS0733_Encrypt.bat | ||
| Set_SFP2_GS0733.bat | ||
| Set_SFP2_GS0733_Encrypt.bat | ||
| test_sfp_macsec_util.py | ||
| util.py | ||
| util_eth.py | ||
| util_i2c.py | ||
| util_sfp.py | ||
| yaml.zip | ||
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_I2C2for RADGigastar SFP1 portNETID_I2C3for 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.