csle_rest_api.resources.emulation_simulation_traces package

Submodules

csle_rest_api.resources.emulation_simulation_traces.routes module

Routes and sub-resources for the /emulation-simulation-traces resource

csle_rest_api.resources.emulation_simulation_traces.routes.emulation_simulation_traces() Tuple[flask.wrappers.Response, int][source]

The /emulation-traces resource.

Returns

A list of emulation traces or a list of ids of the traces or deletes the traces

csle_rest_api.resources.emulation_simulation_traces.routes.emulation_simulation_traces_ids() Tuple[flask.wrappers.Response, int][source]
Returns

An HTTP response with all emulation ids

csle_rest_api.resources.emulation_simulation_traces.routes.emulation_trace(trace_id: int) Tuple[flask.wrappers.Response, int][source]

The /emulation-traces/id resource.

Parameters

trace_id – the id of the trace

Returns

The given trace or delets the trace

Module contents