Compare commits
No commits in common. "master" and "felix" have entirely different histories.
|
|
@ -19,7 +19,6 @@ from util_sfp import (
|
|||
|
||||
import ics
|
||||
import argparse
|
||||
from sys import exit
|
||||
|
||||
###############################################################################
|
||||
# This loads a single macsec configuration from selected yaml into supported
|
||||
|
|
@ -37,6 +36,7 @@ def main():
|
|||
|
||||
|
||||
def run_test(args, power_supply):
|
||||
print(f"Attempting to load {args.yaml}...")
|
||||
|
||||
fail = 0
|
||||
|
||||
|
|
@ -52,7 +52,6 @@ def run_test(args, power_supply):
|
|||
)
|
||||
# if we only want reset, exit here
|
||||
if args.reset:
|
||||
print("Reset")
|
||||
exit(0)
|
||||
|
||||
# if we only want the phy macsec counters, read then exit
|
||||
|
|
@ -83,7 +82,6 @@ def run_test(args, power_supply):
|
|||
exit(0)
|
||||
|
||||
# load yaml macsec config
|
||||
print(f"Attempting to load {args.yaml}...")
|
||||
load_macsec_from_yaml(device, args.config_netid, args.yaml, args.sfp)
|
||||
|
||||
if fail: # bail out if something fails
|
||||
|
|
|
|||
|
|
@ -824,7 +824,7 @@ def sfp_ics_update_macsec(
|
|||
def sfp_query_verify_macsec_support(device, netid_config, reset):
|
||||
netid = get_hwnetid(netid_config)
|
||||
# query for MACSec supproted SFP module
|
||||
print(f"Checking for SFP modules... ")
|
||||
print("Checking for SFP modules...")
|
||||
msa = sfp_query_module(device, netid)
|
||||
if msa is None:
|
||||
print(f"\nNo SFP module found on port {netid_config}... exiting.")
|
||||
|
|
|
|||
1203
TC10_MACsec Demo.vs3
1203
TC10_MACsec Demo.vs3
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue