Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
i2-flowspec-portal/readme.md
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
36 lines (32 sloc)
789 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original Juniper readme moved to [juniper_readme.md](juniper_readme.md) | |
Customize `ui/config.yml` | |
__rr__ is the router where rules will be pushed. | |
__asbr__ are routers for reporting purposes (active flows, firewall filters) | |
__At least one router of type RR has to be configured__ | |
```yaml | |
age_out_interval: 00:01:00 | |
dev_pw: juniper123 | |
dev_user: root | |
routers: | |
- rt1: | |
type: rr | |
ip: 10.11.111.120 | |
- rt2: | |
type: asbr | |
ip: 10.11.111.121 | |
vrfs: | |
# default is the base routing instance | |
- default | |
- myVRF | |
``` | |
Use Python 3 and virtualenv | |
``` | |
python3 -m venv venv | |
source venv/bin/activate | |
pip install -r requirements.txt | |
python main.py | |
``` | |
Docker | |
``` | |
docker run -it --rm -p 8080:8080 -v $PWD/ui/config.yml:/srv/ui/config.yml karlnewell/i2-flowspec-portal | |
``` |