Skip to content

Commit

Permalink
testing finished
Browse files Browse the repository at this point in the history
  • Loading branch information
nforsg committed Aug 3, 2023
1 parent 29cf825 commit 64e2441
Show file tree
Hide file tree
Showing 12 changed files with 3,893 additions and 5 deletions.
6 changes: 3 additions & 3 deletions simulation-system/libs/csle-cli/src/csle_cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ def stop_shell_complete(ctx, param, incomplete) -> List[str]:
emulations=MetastoreFacade.list_emulations())
emulations: List[str] = running_emulations
running_containers = ContainerController.list_all_running_containers()
containers: List[Tuple[str, str ,str]] = running_containers
containers: List[Tuple[str, str, str]] = running_containers
container_names: List[str] = list(map(lambda x: x[0], containers))
return ["prometheus", "node_exporter", "cadvisor", "pgadmin", "grafana", "flask",
"statsmanager", "all", "emulation_executions"] + emulations + container_names
Expand Down Expand Up @@ -1039,7 +1039,7 @@ def start_shell_complete(ctx, param, incomplete) -> List[str]:
emulations=MetastoreFacade.list_emulations())
emulations = stopped_emulations
stopped_containers = ContainerController.list_all_stopped_containers()
containers: List[Tuple[str, str ,str]] = stopped_containers
containers: List[Tuple[str, str, str]] = stopped_containers
container_names: List[str] = list(map(lambda x: x[0], containers))
images: List[Tuple[str, str, str, str, str]] = ContainerController.list_all_images()
image_names: List[str] = list(map(lambda x: x[0], images))
Expand Down Expand Up @@ -1313,7 +1313,7 @@ def rm_shell_complete(ctx, param, incomplete) -> List[str]:
emulations = list(map(lambda x: x.name, MetastoreFacade.list_emulations()))
running_containers = ContainerController.list_all_running_containers()
stopped_containers = ContainerController.list_all_stopped_containers()
containers: List[Tuple[str, str ,str]] = running_containers + stopped_containers
containers: List[Tuple[str, str, str]] = running_containers + stopped_containers
container_names: List[str] = list(map(lambda x: x[0], containers))
images: List[Tuple[str, str, str, str, str]] = ContainerController.list_all_images()
image_names: List[str] = list(map(lambda x: x[0], images))
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,282 @@
from _typeshed import Incomplete

DESCRIPTOR: Incomplete
StopPidMsg: Incomplete
CheckPidMsg: Incomplete
StartSparkServerMsg: Incomplete
StopSparkServerMsg: Incomplete
StartSparkServersMsg: Incomplete
StopSparkServersMsg: Incomplete
GetExecutionTimeSeriesDataMsg: Incomplete
EmulationMetricsTimeSeriesDTO: Incomplete
AvgPortStatisticDict: Incomplete
AggFlowStatisticDict: Incomplete
AvgFlowStatisticDict: Incomplete
PortStatisticDict: Incomplete
FlowStatisticDict: Incomplete
OSSECIdsAlertCountersDict: Incomplete
HostMetricsDict: Incomplete
DockerStatsDict: Incomplete
AvgPortStatisticDTO: Incomplete
AvgFlowStatisticDTO: Incomplete
AggFlowStatisticDTO: Incomplete
PortStatisticDTO: Incomplete
FlowStatisticDTO: Incomplete
OSSECIdsAlertCountersDTO: Incomplete
SnortIdsAlertCountersDTO: Incomplete
SnortIdsIpAlertCountersDict: Incomplete
SnortIdsAlertCountersDict: Incomplete
SnortIdsRuleCountersDict: Incomplete
SnortIdsIpAlertCountersDTO: Incomplete
SnortIdsRuleCountersDTO: Incomplete
EmulationAttackerActionDTO: Incomplete
EmulationDefenderActionDTO: Incomplete
HostMetricsDataDTO: Incomplete
DockerStatsDTO: Incomplete
ClientPopulationMetricsDTO: Incomplete
GetClusterManagerLogsMsg: Incomplete
GetContainerLogsMsg: Incomplete
GetClientManagerLogsMsg: Incomplete
GetKafkaManagerLogsMsg: Incomplete
GetKafkaLogsMsg: Incomplete
GetSnortIdsLogsMsg: Incomplete
GetSnortIdsManagerLogsMsg: Incomplete
GetOSSECIdsManagerLogsMsg: Incomplete
GetOSSECIdsLogsMsg: Incomplete
GetHostManagerLogsMsg: Incomplete
GetTrafficManagerLogsMsg: Incomplete
GetElkManagerLogsMsg: Incomplete
GetElkLogsMsg: Incomplete
GetRyuManagerLogsMsg: Incomplete
GetRyuControllerLogsMsg: Incomplete
StopRyuMonitorThreadMsg: Incomplete
StartRyuMonitorThreadMsg: Incomplete
StopHostMonitorThreadsMsg: Incomplete
StopHostMonitorThreadMsg: Incomplete
RemoveKibanaTunnelMsg: Incomplete
CreateKibanaTunnelMsg: Incomplete
ListKibanaTunnelsMsg: Incomplete
KibanaTunnelsDTO: Incomplete
KibanaTunnelDTO: Incomplete
RemoveRyuTunnelMsg: Incomplete
CreateRyuTunnelMsg: Incomplete
ListRyuTunnelsMsg: Incomplete
RyuTunnelsDTO: Incomplete
RyuTunnelDTO: Incomplete
SnortIdsMonitorThreadStatusesDTO: Incomplete
GetSnortIdsManagersInfoMsg: Incomplete
GetSnortIdsMonitorThreadStatusesMsg: Incomplete
StopSnortIdsMonitorThreadsMsg: Incomplete
StopSnortIdsManagerMsg: Incomplete
StartSnortIdsManagerMsg: Incomplete
StopSnortIdsManagersMsg: Incomplete
StartSnortIdsManagersMsg: Incomplete
StartSnortMsg: Incomplete
StartSnortIdsMonitorThreadMsg: Incomplete
StartSnortIdsMonitorThreadsMsg: Incomplete
StopSnortMsg: Incomplete
StopSnortIdsMonitorThreadMsg: Incomplete
StopSnortIdsesMsg: Incomplete
StopSnortIdsesMonitorThreadsMsg: Incomplete
GetRyuManagersInfoMsg: Incomplete
StopRyuMonitorServiceMsg: Incomplete
StartRyuMonitorServiceMsg: Incomplete
StopRyuServiceMsg: Incomplete
StartRyuServiceMsg: Incomplete
GetRyuServiceStatusMsg: Incomplete
StopRyuManagerMsg: Incomplete
StartRyuManagerMsg: Incomplete
GetOSSECIDSManagersInfoMsg: Incomplete
OSSECIdsMonitorThreadStatusesDTO: Incomplete
GetOSSECIDSMonitorThreadStatusesMsg: Incomplete
StopOSSECIDSMonitorThreadsMsg: Incomplete
StopOSSECIDSMonitorThreadMsg: Incomplete
StartOSSECIDSMonitorThreadMsg: Incomplete
StopOSSECIDSManager: Incomplete
StartOSSECIDSManager: Incomplete
StopOSSECIDSManagers: Incomplete
StartOSSECIDSManagers: Incomplete
StartOSSECIDSMsg: Incomplete
StopOSSECIDSMsg: Incomplete
StartOSSECIDSesMsg: Incomplete
StopOSSECIDSesMsg: Incomplete
GetKafkaManagersInfoMsg: Incomplete
StartKafkaServerMsg: Incomplete
StopKafkaServerMsg: Incomplete
GetKafkaManagerStatusMsg: Incomplete
CreateKafkaTopicsMsg: Incomplete
StopKafkaManagerMsg: Incomplete
StartKafkaManagerMsg: Incomplete
GetHostManagersInfoMsg: Incomplete
GetHostMonitorThreadsStatusesMsg: Incomplete
ApplyFileBeatConfigMsg: Incomplete
ApplyPacketBeatConfigMsg: Incomplete
ApplyMetricBeatConfigMsg: Incomplete
ApplyHeartBeatConfigMsg: Incomplete
StopFileBeatMsg: Incomplete
StopPacketBeatMsg: Incomplete
StopMetricBeatMsg: Incomplete
StopHeartBeatMsg: Incomplete
StartFileBeatMsg: Incomplete
StartPacketBeatMsg: Incomplete
StartMetricBeatMsg: Incomplete
StartHeartBeatMsg: Incomplete
StartHostMonitorThreadMsg: Incomplete
StopHeartbeatsMsg: Incomplete
StopPacketbeatsMsg: Incomplete
StopFilebeatsMsg: Incomplete
StopMetricbeatsMsg: Incomplete
StartHostMonitorThreadsMsg: Incomplete
StopHostManagerMsg: Incomplete
StartHostManagerMsg: Incomplete
StopHostManagersMsg: Incomplete
ExecutionInfoDTO: Incomplete
RyuManagersInfoDTO: Incomplete
RyuManagerStatusDTO: Incomplete
HostManagersInfoDTO: Incomplete
HostManagerStatusesDTO: Incomplete
HostManagerStatusDTO: Incomplete
KafkaManagersInfoDTO: Incomplete
KafkaStatusDTO: Incomplete
OSSECIdsManagersInfoDTO: Incomplete
OSSECIdsStatusDTO: Incomplete
SnortIdsManagersInfoDTO: Incomplete
SnortIdsStatusDTO: Incomplete
GetExecutionInfoMsg: Incomplete
StopContainersOfExecutionMsg: Incomplete
RunContainerMsg: Incomplete
StartContainersOfExecutionMsg: Incomplete
GetElkManagersInfoMsg: Incomplete
ElkManagersInfoDTO: Incomplete
StopLogstashServiceMsg: Incomplete
StartLogstashServiceMsg: Incomplete
StopKibanaServiceMsg: Incomplete
StartKibanaServiceMsg: Incomplete
StopElasticServiceMsg: Incomplete
StartElasticServiceMsg: Incomplete
StopElkStackMsg: Incomplete
ElkStatusDTO: Incomplete
GetElkStackStatusMsg: Incomplete
StopElkManagerMsg: Incomplete
StartElkManagerMsg: Incomplete
GetDockerStatsManagersInfoMsg: Incomplete
DockerStatsManagersInfoDTO: Incomplete
RemoveAllDockerNetworksMsg: Incomplete
RemoveDockerNetworksMsg: Incomplete
DockerStatsMonitorStatusDTO: Incomplete
GetDockerStatsManagerStatusMsg: Incomplete
StopDockerStatsManagerThreadMsg: Incomplete
CreateEmulationNetworksMsg: Incomplete
ListAllStoppedContainersMsg: Incomplete
StoppedContainersDTO: Incomplete
ListAllRunningEmulationsMsg: Incomplete
RunningEmulationsDTO: Incomplete
ListAllRunningContainersMsg: Incomplete
RunningContainersDTO: Incomplete
DockerContainerDTO: Incomplete
StartContainerMsg: Incomplete
StartAllStoppedContainersMsg: Incomplete
ListAllDockerNetworksMsg: Incomplete
DockerNetworksDTO: Incomplete
ContainerImagesDTO: Incomplete
ContainerImageDTO: Incomplete
ListAllContainerImagesMsg: Incomplete
RemoveContainerImageMsg: Incomplete
RemoveAllContainerImagesMsg: Incomplete
RemoveAllStoppedContainersMsg: Incomplete
RemoveContainerMsg: Incomplete
StopContainerMsg: Incomplete
StopAllRunningContainersMsg: Incomplete
GetTrafficManagersInfoMsg: Incomplete
TrafficManagersInfoDTO: Incomplete
TrafficManagerInfoDTO: Incomplete
ClientManagersInfoDTO: Incomplete
GetClientManagersInfoMsg: Incomplete
StartTrafficGeneratorMsg: Incomplete
StopTrafficGeneratorMsg: Incomplete
StopTrafficGeneratorsMsg: Incomplete
GetNumClientsDTO: Incomplete
GetNumActiveClientsMsg: Incomplete
StopClientPopulationMsg: Incomplete
StopClientManagerMsg: Incomplete
StartClientManagerMsg: Incomplete
StopTrafficManagersMsg: Incomplete
StopTrafficManagerMsg: Incomplete
StartTrafficManagerMsg: Incomplete
CleanAllExecutionsMsg: Incomplete
StopAllExecutionsMsg: Incomplete
StopExecutionMsg: Incomplete
CleanExecutionMsg: Incomplete
StopAllExecutionsOfEmulationMsg: Incomplete
CleanAllExecutionsOfEmulationMsg: Incomplete
GetCsleLogFilesMsg: Incomplete
GetLogFileMsg: Incomplete
StartContainersInExecutionMsg: Incomplete
AttachContainersToNetworksInExecutionMsg: Incomplete
InstallLibrariesMsg: Incomplete
ApplyKafkaConfigMsg: Incomplete
StartSdnControllerMsg: Incomplete
ApplyResouceConstraintsMsg: Incomplete
CreateOvsSwitchesMsg: Incomplete
PingExecutionMsg: Incomplete
ConfigureOvsMsg: Incomplete
StartSdnControllerMonitorMsg: Incomplete
CreateUsersMsg: Incomplete
CreateVulnsMsg: Incomplete
CreateFlagsMsg: Incomplete
CreateTopologyMsg: Incomplete
StartTrafficManagersMsg: Incomplete
StartTrafficGeneratorsMsg: Incomplete
StartClientPopulationMsg: Incomplete
StartKafkaClientProducerMsg: Incomplete
StopKafkaClientProducerMsg: Incomplete
StartSnortIdsesMsg: Incomplete
StartSnortIdsesMonitorThreadsMsg: Incomplete
StartOSSECIdsesMsg: Incomplete
StartOSSECIdsesMonitorThreadsMsg: Incomplete
StartElkStackMsg: Incomplete
StartHostManagersMsg: Incomplete
ApplyFileBeatConfigsMsg: Incomplete
ApplyPacketBeatConfigsMsg: Incomplete
ApplyMetricBeatConfigsMsg: Incomplete
ApplyHeartBeatConfigsMsg: Incomplete
StartFileBeatsMsg: Incomplete
StartPacketBeatsMsg: Incomplete
StartMetricBeatsMsg: Incomplete
StartHeartBeatsMsg: Incomplete
GetDockerStatsManagerLogsMsg: Incomplete
GetPrometheusLogsMsg: Incomplete
GetNodeExporterLogsMsg: Incomplete
GetCAdvisorLogsMsg: Incomplete
GetPgAdminLogsMsg: Incomplete
GetGrafanaLogsMsg: Incomplete
GetNginxLogsMsg: Incomplete
GetDockerLogsMsg: Incomplete
GetPostgreSQLLogsMsg: Incomplete
GetFlaskLogsMsg: Incomplete
LogsDTO: Incomplete
OperationOutcomeDTO: Incomplete
GetNodeStatusMsg: Incomplete
NodeStatusDTO: Incomplete
ServiceStatusDTO: Incomplete
StartPostgreSQLMsg: Incomplete
StartCAdvisorMsg: Incomplete
StartNodeExporterMsg: Incomplete
StartGrafanaMsg: Incomplete
StartPrometheusMsg: Incomplete
StartPgAdminMsg: Incomplete
StartNginxMsg: Incomplete
StartFlaskMsg: Incomplete
StartDockerStatsManagerMsg: Incomplete
StartDockerStatsManagerThreadMsg: Incomplete
StartDockerEngineMsg: Incomplete
StopPostgreSQLMsg: Incomplete
StopCAdvisorMsg: Incomplete
StopNodeExporterMsg: Incomplete
StopGrafanaMsg: Incomplete
StopPrometheusMsg: Incomplete
StopPgAdminMsg: Incomplete
StopNginxMsg: Incomplete
StopFlaskMsg: Incomplete
StopDockerStatsManagerMsg: Incomplete
StopDockerEngineMsg: Incomplete
Loading

0 comments on commit 64e2441

Please sign in to comment.