ToxiProxy
create_slow_connection_close_toxic
Limit the bandwith of a downstream connection with a toxicity of 100%
Below are the details and signature of the activity Python module.
Type | action |
Module | chaostoxi.proxy.actions |
Name | modify_proxy |
Return | bool |
Usage
JSON
{
"name": "proxy-exist",
"type": "probe",
"provider": {
"type": "python",
"module": "chaostoxi.proxy.probes",
"func": "proxy_exist",
"arguments": {
"proxy_name": ""
}
}
}
YAML
name: proxy-exist
provider:
arguments:
proxy_name: ""
func: proxy_exist
module: chaostoxi.proxy.probes
type: python
type: probe
Arguments
Name | Type | Default | Required | Title | Description |
---|---|---|---|---|---|
proxy_name | string | Yes | Proxy Name | Name of the proxy to verify’s availability |
Signature
def proxy_exist(proxy_name: str,
configuration: Dict[str, Dict[str, str]] = None) -> bool:
pass