Update PL PCDU Commands #50
@ -151,30 +151,6 @@ def pack_pl_pcdu_commands(tc_queue: TcQueueT, op_code: str):
|
|||||||
mode=Modes.NORMAL,
|
mode=Modes.NORMAL,
|
||||||
submode=NormalSubmodes.HPA_ON,
|
submode=NormalSubmodes.HPA_ON,
|
||||||
)
|
)
|
||||||
if op_code in OpCodes.UPDATE_DRO_TO_X8_WAIT:
|
|
||||||
pack_wait_time_cmd(
|
|
||||||
tc_queue=tc_queue,
|
|
||||||
param_id=ParamIds.DRO_TO_X8_WAIT_TIME,
|
|
||||||
print_str="DRO to X8",
|
|
||||||
)
|
|
||||||
if op_code in OpCodes.UPDATE_X8_TO_TX_WAIT_TIME:
|
|
||||||
pack_wait_time_cmd(
|
|
||||||
tc_queue=tc_queue,
|
|
||||||
param_id=ParamIds.X8_TO_TX_WAIT_TIME,
|
|
||||||
print_str="X8 to TX",
|
|
||||||
)
|
|
||||||
if op_code in OpCodes.UPDATE_TX_TO_MPA_WAIT_TIME:
|
|
||||||
pack_wait_time_cmd(
|
|
||||||
tc_queue=tc_queue,
|
|
||||||
param_id=ParamIds.TX_TO_MPA_WAIT_TIME,
|
|
||||||
print_str="TX to MPA",
|
|
||||||
)
|
|
||||||
if op_code in OpCodes.UPDATE_MPA_TO_HPA_WAIT_TIME:
|
|
||||||
pack_wait_time_cmd(
|
|
||||||
tc_queue=tc_queue,
|
|
||||||
param_id=ParamIds.MPA_TO_HPA_WAIT_TIME,
|
|
||||||
print_str="MPA to HPA",
|
|
||||||
)
|
|
||||||
if op_code in OpCodes.INJECT_ALL_ON_FAILURE:
|
if op_code in OpCodes.INJECT_ALL_ON_FAILURE:
|
||||||
pack_failure_injection_cmd(
|
pack_failure_injection_cmd(
|
||||||
tc_queue=tc_queue,
|
tc_queue=tc_queue,
|
||||||
|
Loading…
Reference in New Issue
Block a user