updated so that throughputs will update link color/width based on threshold

This commit is contained in:
Blake Harnden 2019-12-27 00:32:10 -08:00
parent 5dd08c283a
commit 2be0713ed1
7 changed files with 75 additions and 167 deletions

View file

@ -212,9 +212,7 @@ class CoreClient:
)
return
logging.info("handling throughputs event: %s", event)
self.app.canvas.throughput_draw.process_grpc_throughput_event(
event.interface_throughputs
)
self.app.canvas.set_throughputs(event)
def handle_exception_event(self, event):
logging.info("exception event: %s", event)
@ -511,6 +509,7 @@ class CoreClient:
start = time.perf_counter()
try:
response = self.client.stop_session(session_id)
self.app.canvas.stopped_session()
logging.debug(
"stopped session(%s), result: %s", session_id, response.result
)