datalogistics / wildfire-dln

Code and scripts for applying DLT in a disconnected, challenged environment with a focus on wildfire incident response.
11 stars 3 forks source link

TASK: Network Connectivity Tools #2

Open gskip17 opened 6 years ago

gskip17 commented 6 years ago

Develop some tools for manipulating network connectivity to test the resiliency of our WDLN tools/services.

Expected Behavior

Scripts should use TC and other commands to programmatically affect connectivity between key containers in the docker environment.

Current Behavior

Currently the network should run fine if the Docker environment is set up correctly.

Possible Solution

Develop some scripts that allow 'simulations' and also manual changes to the network.

Context (Environment)

The WDLN tools are supposed to be resilient and continue operating effectively when there is no/spotty network connection available. These scripts will let us simulate network instability to help development of our tools.

Possible Implementation

Develop a combination of Python/Bash scripts along with Linux TC and interface commands to create an easy tool for creating both random and targeted network connectivity issues.

Timeframe

I am currently focused on some tasks for another project, however, these scripts should be fairly straightforward to make. 1-2 weeks depending on progress/hiccups of extraneous work.