Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

of-dpa: only notify about idle timed out bridging table flows #445

Merged
merged 1 commit into from
Aug 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/of-dpa/controller.cc
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,10 @@ void controller::handle_bridging_table_rm(
rofl::caddress_ll eth_dst;
uint16_t vid = 0;

// we only care about flows being timed out
if (msg.get_reason() != rofl::openflow13::OFPRR_IDLE_TIMEOUT)
return;

try {
eth_dst = msg.get_match().get_eth_dst();
vid = msg.get_match().get_vlan_vid() & 0xfff;
Expand Down
Loading