...
Expand | ||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||
Let's add an IPv4 route into freeRouter CLI
Upon entering the ipv4 route and pressing <enter>, you'll see the following message appearing
Let's delete the route via FreeRouter CLI
The documentation of this message API will be documented and published soon, but for those who are curious and can't wait this documentation, you can read forwarder.py, bf_forwarder.py or p4dpdk.bin source code |
...
Expand | |||||
---|---|---|---|---|---|
| |||||
This design is pretty unique because, if for any reason you would like to "hook" freeRouter control plane to an other dataplane such as: This is possible ! You would "just" have to port your P4 code logic into the target dataplane and create an interface able to translate API messages from FreeRouter into understandable message from the target dataplane.
|
...
Expand | ||
---|---|---|
| ||
One thing that we did not experiencedexperience, but this can be maybe one day a reality. What if you have your own control plane and that you absolutely want to keep it, but would like to re-use BMv2/TOFINO or DPDK RARE dataplane ? Well this is possible ! Long time ago I met Thomas MANGIN (yet another cool and nice French guy ) which is the author of Exa-BGP, i did not talk to him about this and I don't want to give him bad idea, but what if if he would like to hook a TOFINO P4 dataplane to exaBGP Exa-BGP ? Well, he actually would just have to teach exaBGP to handle entry ADD/DELETE/MODIFY message according to the message API above. I also love the work DONE at the SoNIC project level and I know that SoNIC has already a P4 dataplane called switch.p4. I doubt it will be the case one day but, what if SoNIC project wanted to re-use RARE dataplane for especially for Service Provider capability ? OK, this sounds crazy, but the modular design we proposed here is valid and can make the RARE dataplane available for other control plane. Of course, we strongly suggest you to stick with FreeRouter as you will just realize IMHO that in the TELCO Service Provider space there is no match. You'll have the venerable IOS-XR and JUNOS, but these are not Open Source counterparts. |
...