Commit 6d68c87
committed
Add OpenFlow rules for NodePort in shared gateway mode
This commit introduces new OpenFlow rules to correctly handle NodePort
service traffic in a shared gateway configuration.
The new rules address two scenarios:
1. A rule with priority 109 is added to drop traffic originating from
OVN towards a NodePort. This prevents ingress traffic from being
incorrectly forwarded to the host during OVN logical router
resynchronizations.
2. A higher-priority rule (110) is added to allow traffic from the
local host or pods destined for a NodePort service to egress to the
physical network. This ensures that local clients can access
services via their NodePort.1 parent 2663105 commit 6d68c87
2 files changed
+32
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1195 | 1195 | | |
1196 | 1196 | | |
1197 | 1197 | | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
1198 | 1202 | | |
1199 | 1203 | | |
1200 | 1204 | | |
| |||
2308 | 2312 | | |
2309 | 2313 | | |
2310 | 2314 | | |
| 2315 | + | |
| 2316 | + | |
| 2317 | + | |
| 2318 | + | |
2311 | 2319 | | |
2312 | 2320 | | |
2313 | 2321 | | |
| |||
2598 | 2606 | | |
2599 | 2607 | | |
2600 | 2608 | | |
| 2609 | + | |
| 2610 | + | |
| 2611 | + | |
| 2612 | + | |
2601 | 2613 | | |
2602 | 2614 | | |
2603 | 2615 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
332 | 341 | | |
333 | 342 | | |
334 | 343 | | |
335 | 344 | | |
336 | 345 | | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
337 | 357 | | |
338 | 358 | | |
339 | 359 | | |
| |||
0 commit comments