An open API service indexing awesome lists of open source software.

https://github.com/ringsnetwork/rings-sim

Simulate ring behind NAT in docker to test rings-node.
https://github.com/ringsnetwork/rings-sim

Last synced: about 1 year ago
JSON representation

Simulate ring behind NAT in docker to test rings-node.

Awesome Lists containing this project

README

          

# Ring Simulation
Simulate ring behind NAT in docker to test [rings-node](https://github.com/RingsNetwork/rings-node).

## Prepare

Build test images
```shell
❯ git submodule update --init --recursive

# May take a while...
❯ python nind.py build_image

# Show the built images
❯ docker images | grep ringsnetwork
```

Prepare stun sever in docker
```shell
❯ python nind.py create_coturn
```

## Run Test
```shell
cargo test
```

## Clean up
```shell
# Remove routers and nondes
> python nind.py clean

# Also remove coturn container and global network
> python nind.py clean --all

```