Commit 8fb25c7
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: 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 79f04e3 commit 8fb25c7
3 files changed
+15
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7284 | 7284 | | |
7285 | 7285 | | |
7286 | 7286 | | |
| 7287 | + | |
7287 | 7288 | | |
| 7289 | + | |
7288 | 7290 | | |
7289 | 7291 | | |
7290 | 7292 | | |
| |||
7295 | 7297 | | |
7296 | 7298 | | |
7297 | 7299 | | |
| 7300 | + | |
7298 | 7301 | | |
7299 | 7302 | | |
7300 | 7303 | | |
| |||
8252 | 8255 | | |
8253 | 8256 | | |
8254 | 8257 | | |
| 8258 | + | |
| 8259 | + | |
8255 | 8260 | | |
8256 | 8261 | | |
8257 | | - | |
8258 | 8262 | | |
8259 | 8263 | | |
8260 | 8264 | | |
| |||
| 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 | | |
| |||
196 | 197 | | |
197 | 198 | | |
198 | 199 | | |
199 | | - | |
| 200 | + | |
200 | 201 | | |
201 | 202 | | |
202 | 203 | | |
| |||
299 | 300 | | |
300 | 301 | | |
301 | 302 | | |
302 | | - | |
| 303 | + | |
303 | 304 | | |
304 | 305 | | |
305 | 306 | | |
| |||
0 commit comments