Skip to content

Commit

Permalink
A new command is added.
Browse files Browse the repository at this point in the history
  • Loading branch information
foroughsh committed Aug 16, 2024
1 parent 110e7b6 commit 8239115
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions simulation-system/libs/csle-cli/src/csle_cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -3573,7 +3573,6 @@ def list_containers_hw_info(ip: str, emulation: str, ip_first_octet: int) -> Non
:return: None
"""
### Still working on this
from csle_common.metastore.metastore_facade import MetastoreFacade
execution_config = MetastoreFacade.get_emulation_execution(ip_first_octet=ip_first_octet, emulation_name=emulation)
if (execution_config):
Expand Down Expand Up @@ -3601,7 +3600,7 @@ def list_containers_hw_info(ip: str, emulation: str, ip_first_octet: int) -> Non
f"{click.style(execution_config.physical_servers[0], fg='magenta')}")
padding_length = 89 - len(line)
click.secho(f"|{line}{' ' * padding_length}|")
for i in range(1,len(execution_config.physical_servers)):
for i in range(1, len(execution_config.physical_servers)):
click.secho('|', nl=False, fg='white')
click.secho(f"{execution_config.physical_servers[i]}{' ' * padding_length}|",
fg="magenta", nl=False)
Expand Down

0 comments on commit 8239115

Please sign in to comment.