action Network

Run Simple Web Demo Server

Run fault demo server to explore Reliably's features

Run it now
View details
Typeaction
Modulechaosfault.actions
Namerun_demo
Returnlist

Usage

JSON

{
  "name": "run-demo",
  "type": "action",
  "provider": {
    "type": "python",
    "module": "chaosfault.actions",
    "func": "run_demo",
    "arguments": {
      "duration": 45
    }
  }
}

YAML

name: run-demo
type: action
provider:
  type: python
  module: chaosfault.actions
  func: run_demo
  arguments:
    duration: 45

Arguments

NameTypeDefaultRequiredTitleDescription
durationfloat0NoDurationSets the window in seconds during which the proxy runs. The default of 0 means the proxy does not stop on its own

Run the fault proxy with the appropriate network faults.

Signature

def run_demo(
    duration: float | None = None,
) -> Tuple[int, str, str]:
  pass