mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 22:29:23 +00:00
Docker: Call the run script frr-topotests.sh
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
This commit is contained in:
parent
8e6f0d80f6
commit
d9e887de2a
@ -1,23 +1,21 @@
|
|||||||
# Topotests in Docker
|
# Topotests in Docker
|
||||||
|
|
||||||
This is folder contains auxiliary scripts to automate or help deploying
|
## Usage
|
||||||
topology tests under Docker on a standardized Ubuntu environment.
|
|
||||||
|
|
||||||
Files description:
|
If you have Docker installed, you can run the topotests in Docker.
|
||||||
|
The easiest way to do this, is to use the `frr-topotests.sh` script
|
||||||
|
from this repository:
|
||||||
|
|
||||||
* _funcs.sh_: shared bash code
|
```console
|
||||||
* _docker.sh_: builds docker image to run topotests
|
wget -O /usr/local/bin/frr-topotests \
|
||||||
* _compile_frr.sh_: compile FRR sources (should be used by `topotests_run.sh`)
|
https://raw.githubusercontent.com/frrouting/topotests/master/docker/frr-topotests.sh
|
||||||
* _topotests_run.sh_: runs topotest image with the selected command
|
chmod +x /usr/local/bin/frr-topotests
|
||||||
|
```
|
||||||
|
|
||||||
## Running Topotests in Docker
|
Once this script is in place, simply run it while you are inside your FRR repository:
|
||||||
|
|
||||||
All you need to run topotests in Docker is:
|
```
|
||||||
|
frr-topotests
|
||||||
|
```
|
||||||
|
|
||||||
* Have Docker installed (tested against docker-ce[1])
|
It should build FRR inside of the container and run the topotests on it.
|
||||||
* Build the topotest images
|
|
||||||
* Have the FRR/Topotest sources cloned in your machine
|
|
||||||
|
|
||||||
Review and configure your sources folder in `topotests_run.sh`.
|
|
||||||
|
|
||||||
[1]: https://docs.docker.com/install/linux/docker-ce/ubuntu/
|
|
||||||
|
Loading…
Reference in New Issue
Block a user