Commit b148789
committed
Add TranslateUplinkAddrMaskTo64 option only for non LL /128
This patch transforms the UplinkSubnetMask option to TranslateUplinkAddrMaskTo64
and restricts it to only apply to non linklocal v6 addresses read on the
uplink interface, and that have a /128 prefix
With the previous implementation we were trying to program VPP with LL /64
addresses which was returning errors.
Also this patch makes it so that vpp-manager will error out if it fails
programming VPP with an address so that we notice such errors
Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>1 parent 149f253 commit b148789
2 files changed
+24
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
321 | | - | |
322 | | - | |
323 | | - | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
324 | 327 | | |
325 | 328 | | |
326 | 329 | | |
| |||
341 | 344 | | |
342 | 345 | | |
343 | 346 | | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
| 347 | + | |
| 348 | + | |
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
53 | 56 | | |
54 | | - | |
| 57 | + | |
55 | 58 | | |
56 | 59 | | |
57 | | - | |
58 | | - | |
59 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
60 | 66 | | |
61 | 67 | | |
62 | 68 | | |
63 | | - | |
| 69 | + | |
64 | 70 | | |
65 | 71 | | |
66 | 72 | | |
| |||
521 | 527 | | |
522 | 528 | | |
523 | 529 | | |
524 | | - | |
| 530 | + | |
525 | 531 | | |
526 | 532 | | |
527 | | - | |
| 533 | + | |
528 | 534 | | |
529 | 535 | | |
530 | 536 | | |
| |||
657 | 663 | | |
658 | 664 | | |
659 | 665 | | |
660 | | - | |
| 666 | + | |
661 | 667 | | |
662 | | - | |
| 668 | + | |
663 | 669 | | |
664 | 670 | | |
665 | 671 | | |
666 | | - | |
| 672 | + | |
667 | 673 | | |
668 | 674 | | |
669 | 675 | | |
| |||
0 commit comments