ToxiProxy
create_bandwith_degradation_toxic
Limit the bandwidth of a downstream connection with a toxicity of 100%
Disables the proxy, this is useful to simulate a proxied service being down
Below are the details and signature of the activity Python module.
Type | action |
Module | chaostoxi.proxy.actions |
Name | disable_proxy |
Return | None |
Usage
JSON
{
"name": "disable-proxy",
"type": "action",
"provider": {
"type": "python",
"module": "chaostoxi.proxy.actions",
"func": "disable_proxy",
"arguments": {
"proxy_name": ""
}
}
}
YAML
name: disable-proxy
provider:
arguments:
proxy_name: ""
func: disable_proxy
module: chaostoxi.proxy.actions
type: python
type: action
Arguments
Name | Type | Default | Required | Title | Description |
---|---|---|---|---|---|
proxy_name | string | Yes | Proxy Name | Name of the proxy to disable |
Signature
def disable_proxy(proxy_name: str,
configuration: Dict[str, Dict[str, str]] = None):
pass