Commit ac54821
committed
VXLAN: Fix oper_status and tunnel encapsulation TTL
This fixes 2 issues across a range of open tickets building upon patches
created by others with modifications as requested by @VladimirKuk.
The first issue this resolves is the status shown for remote vteps
which in the fact that it is wrong makes debugging nearly impossible:
```
+------------+------------+-------------------+--------------+
| SIP | DIP | Creation Source | OperStatus |
+============+============+===================+==============+
| 172.16.0.1 | 172.16.0.2 | EVPN | oper_down |
+------------+------------+-------------------+--------------+
Total count : 1
```
The VTEP is really up.
Original PR for that is sonic-net#2080.
Also fixes sonic-net/sonic-buildimage#10004
or at least the error message which hurts debugging.
The next issue is in reachabiity across VXLANs. This fixes IP/MAC
learning via ARP. The original PR for that is sonic-net#3216, however it
appears it has its origins in
sonic-net/sonic-buildimage#10050
which goes into greater detail about the issue itself. Also there
is talk about it here kamelnetworks/sonic#9 as well as another
similar patch here: kamelnetworks@02ee3e3
Fixes sonic-net#3216
Fixes sonic-net#2080
Fixes sonic-net/sonic-buildimage#10050
Fixes sonic-net/sonic-buildimage#10004
Signed-off-by: Brad House (@bradh352)1 parent d6dd7af commit ac54821
3 files changed
+13
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7277 | 7277 | | |
7278 | 7278 | | |
7279 | 7279 | | |
| 7280 | + | |
7280 | 7281 | | |
| 7282 | + | |
7281 | 7283 | | |
7282 | 7284 | | |
7283 | 7285 | | |
| |||
7288 | 7290 | | |
7289 | 7291 | | |
7290 | 7292 | | |
| 7293 | + | |
7291 | 7294 | | |
7292 | 7295 | | |
7293 | 7296 | | |
| |||
8215 | 8218 | | |
8216 | 8219 | | |
8217 | 8220 | | |
| 8221 | + | |
| 8222 | + | |
8218 | 8223 | | |
8219 | 8224 | | |
8220 | | - | |
8221 | 8225 | | |
8222 | 8226 | | |
8223 | 8227 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
278 | | - | |
| 278 | + | |
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
| |||
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
357 | 355 | | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | | - | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
362 | 359 | | |
363 | 360 | | |
364 | 361 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
0 commit comments