You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/drunc/controller/interface/shell_utils.py
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -480,6 +480,9 @@ def run_one_fsm_command(
480
480
ArgumentException: If there is an issue with the arguments
481
481
ServerTimeout: If the server times out
482
482
"""
483
+
log=get_logger("controller.shell_utils")
484
+
485
+
#! Is this where we want the protobuf handler?
483
486
log.info(
484
487
f"Running transition '{transition_name}' on controller '{controller_name}', targeting: '{targetiftargetelsecontroller_name}'"
485
488
)
@@ -543,7 +546,10 @@ class DummyCommand:
543
546
time_start=time.time()
544
547
result=None
545
548
549
+
log.info("About to execute the command")
550
+
546
551
withThreadPoolExecutor() asexecutor:
552
+
# so the shell utils hands this over to the actual controller, which will then execute its own fsm command. Wow
547
553
future=executor.submit(
548
554
obj.get_driver("controller").execute_fsm_command,
549
555
command=data,
@@ -581,6 +587,10 @@ class DummyCommand:
581
587
"Alternatively, if you are patient, you can try to wait a bit longer and send [yellow]'status'[/yellow] to check if the command ends up being executed (you may want to check the logs of the controller and application with the [yellow]'logs'[/yellow] command)."
0 commit comments