Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
matthieugouel committed Nov 4, 2024
1 parent cdfd4b6 commit 8642558
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,11 @@ kafka:
* Run your Docker container
```bash
docker run -v $(PWD)/risotto.yml:/config/risotto.yml ghcr.io/nxthdr/risotto:main -c /config/risotto.yml
docker run \
-v $(PWD)/risotto.yml:/config/risotto.yml \
ghcr.io/nxthdr/risotto:main -c /config/risotto.yml
```

## Contributing

Check the [testbed](./testbed/) to try Risotto locally along with two [Bird](https://bird.network.cz/) instances using Docker Compose.
Check the [testbed](./testbed/) to try Risotto locally along with two [Bird](https://bird.network.cz/) instances by using Docker Compose.
11 changes: 6 additions & 5 deletions testbed/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,25 @@
Docker Compose setup to facilitate the tests of Risotto.

The testbed consists in two [bird](https://bird.network.cz/) routers exchanging static routes via a eBGP session.
You can find the bird configuration of the routers [here](./config/).
The two routers are configured to send BMP messages to a Risotto instance accessible via `10.0.0.100` bridge IP address.
Check out the [routers](./config/bird/) and [Risotto](./config/risotto/) configuration.

Both routers are configured to send BMP messages to the Risotto instance accessible at the bridge IP address `10.0.0.100`, with the Kafka endpoint disabled in Risotto's configuration.

## Usage

Start the testbed:
* Start the testbed

```sh
docker compose up --build --force-recreate
```

Check Risotto state:
* Check Risotto state

```sh
curl -s http://10.0.0.100:3000 |jq
```

You can exec into one router container to interact with bird:
* You can exec into one router container to interact with bird

```sh
docker exec -ti testbed-bird_10-1 /bin/bash
Expand Down

0 comments on commit 8642558

Please sign in to comment.