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

Created web service to set Telemetry Report sample rate #330

Closed spisarski closed 3 years ago

spisarski commented 3 years ago

What does this PR do?

Fixes #328 Allows for setting the Tlemetry Report sample rate from the SDN web service. This PR includes tests that exercise the web service and validates a sample rate of '1' (1 packet for every 2) on the 'ae' machine.

Also added "intf_name" field to each host in the topology to be used by the automated tests.

Do you have any concerns with this PR?

No

How can the reviewer verify this PR?

Run the lab_trial automation scripts

Any background context you want to provide?

After adding in sample rate support for Telemetry Reports, we needed some tests and required the web service on the SDN Controller. This should be useful during the lab trial too.

Screenshots or logs (if appropriate)

Questions:

spisarski commented 3 years ago

Run Tofino aggregate build

spisarski commented 3 years ago

Run Tofino aggregate build