opennetworkinglab / ngsdn-tutorial

Hands-on tutorial to learn the building blocks of the Next-Gen SDN architecture
https://www.opennetworking.org/ng-sdn/
Apache License 2.0
321 stars 187 forks source link

Are externs supported in the BMV2 switch used in the tutorial simulations ? #79

Open zakariaCreate opened 3 years ago

zakariaCreate commented 3 years ago

Hi, is it possible to add externs to the BMV2 switch used in the tutorial simulations ? if yes, could you provide clear steps on how to change the switch source code and rebuild it. Thank you so much !

ederollora commented 3 years ago

Hi @zakariaCreate ,

Consider that I have not made custom externs for BMv2 and integrate it with Stratum myself so my answer might not be completely correct.

According to the README, there is a VM with the NGSDN tutorial and dependencies. If you want to run your own externs, then you cannot use the resources from the VM. This seems to be because the exercises and the pre-built VM use Docker and a pre-packaged Stratum+BMv2 container. My guess is that the steps would have to be similar to the following order:

Cheers,