Getting Started with Bagpipe
Bagpipe is a tool which enables an ISP to express its BGP policy in a domain-specific specification language and verify that its router configurations implement this policy.
This README provides a quick start guide for Bagpipe, a more in depth discussion can be found here.
Checkout Bagpipe from github:
git clone --recursive firstname.lastname@example.org:uwplse/bagpipe.git
Docker is the most reliable way to build Bagpipe. To build
Bagpipe and all its dependencies run (running this command for the first
time may take an hour) in the
docker build -t bagpipe .
You can also use Docker to start a Bagpipe development environment that has all the right dependencies setup:
docker rm -f bagpipe; docker run --name bagpipe --entrypoint /bin/bash -v $(pwd):/bagpipe -ti bagpipe
Running the above command starts a shell in the development environment. You can build the Bagpipe project with:
make -C /bagpipe
From another terminal, you can connect to the development environment with your local emacs installation:
If your docker instance runs on another machine, you can connect to it with:
Make sure your emacs has
docker-tramp installed, and
enable-remote-dir-locals must be set.
To push bagpipe to DockerHub run:
docker login docker push konne/bagpipe-private
The name of your local image must match the name that you wish to push. You can get the image back with