Open zakariaCreate opened 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:
bazel build //stratum/hal/bin/bmv2:${STRATUM_TARGET}_deb
so you might have to modify how that .deb file is generated. Cheers,
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 !