A plugin to drop connection of a certain container to a certain IP address with the use of kittypaws.
Put the main.py
into ~/.kittypaws/plugins/dropper
folder.
plugins:
- dropper:
target: container-name
ip: 192.168.10.10
unavailable_seconds: 1800
frequency: random
min_interval: PT1H
max_interval: PT90M
target
- container in which disconnection should be simulated
ip
- which address to disconnect
unavailable_seconds
- amount of time the ip
will be unavailable for the target
The rest is described in kittypaws README.