Closed spisarski closed 3 years ago
This may not be possible as I am not able to obtain the BRI table object "$port.port" like the other Tofino-defined tables. We may need to rethink the startup routine or have the controller make a remote call to execute the bfrt_python script instead.
When working on hardware, the switch ports need to be configured which can be done via 3 different means. As the SDN controller is also being used for clearing the switches' table entries on startup, any port configuration gets destroyed each time the controller is restarted, thus the reason why it should be done in there rather than via a ucli or bfrt_python call.