cablelabs / transparent-security

Transparent Security is a solution for identify the source devices of a DDoS attack and mitigates the attack in the customer premises or the access network. This solution leverages a P4 based programmable data plane for add in-band network telemetry (INT) for device identification and in-band mitigation.
https://www.cablelabs.com/vaccinate-your-network-to-prevent-the-spread-of-ddos-attacks
Apache License 2.0
32 stars 4 forks source link

Add switch port configuration to SDN controller #338

Closed spisarski closed 3 years ago

spisarski commented 3 years ago

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.

spisarski commented 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.