Skip to content

WIP: Foundational pieces for VRF-aware Monitoring Protocol (VAMP) #421

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions Documentation/user/protocols/VAMP/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# VRF-Aware Monitoring Protocol (VAMP)

This protocol is designed to allow leveraging Bio-Routing to observe routing information present inside the network, across multiple VRFs and protocols.

Now you may wonder, that this sound similar to the BGP Monitoring Protocol (BMP), and it is, but it's also different in some aspects:

* BMP has support to expose routing information from different VRFs, which are identified by their respective Route Distinguisher (RD). To be able to leverage this feature there needs to be a unique RD per VRF, which introduces the requirement to managed RDs per VRF or device. When dealing with VRF-lite setups managing RDs would otherwise not be required and therefore it may not be desireable to add this additional requirement into the overall architecture.
* BMP only exposes routes learned via BGP - which is was designed to do - in some circumstances however it might be desireable to also expose routing information from other protocols like IS-IS, OSPF, or even static routes, which may have been added manually or programatically.

To be most flexible the VRF-Aware Monitoring Protocol allows exporting routes for multiple VRFs over one gRPC connection.

Bio-Routing, at least for now, only implements a VRF-Aware Monitoring Protocol client componenent, meaning that the user has to run a VAMP server by themselves. An example can be found in the examples/vamp/ folder inside this repository.

The following diagram shows the architectural overview:

![VRF-Aware Monitoring Protocol architecural overview](VAMP Architecture.drawio.svg)
1 change: 1 addition & 0 deletions Documentation/user/protocols/VAMP/VAMP Architecture.drawio
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<mxfile host="Electron" modified="2023-01-29T18:59:27.718Z" agent="5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/16.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vUGRtc6vneS59lj2cda57HSN2s3czlCnmDXRt9EjL9zDFP9Osegdeg0DpdzzgzbJ7fgkOmwjSkREg9OgpoYRJGbXZqDVj1xDhOQWrM/+qwl5uvkPqs+Oq2j09qb0zqGyqr2FYvCYrUbi2WjLYeEygrDIUcIlcGd6X0P2MoCeh5sRiCLHD2PNyMgJ++Jk4O2IqiK/CQDb1XvwA8k8Kaw6Q0CeEli+OTfgBMPi8Nl6wVyV3E4fBr/dcPg8viPRIJP/wc=</diagram></mxfile>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading