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

Export multipath route to kernel on ipv4 and ipv6 #379

Merged
merged 2 commits into from Oct 22, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions etc/calico/confd/templates/bird.cfg.template
Expand Up @@ -85,6 +85,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
1 change: 1 addition & 0 deletions etc/calico/confd/templates/bird6.cfg.template
Expand Up @@ -86,6 +86,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
1 change: 1 addition & 0 deletions tests/compiled_templates/explicit_peering/global/bird.cfg
Expand Up @@ -23,6 +23,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
1 change: 1 addition & 0 deletions tests/compiled_templates/explicit_peering/global/bird6.cfg
Expand Up @@ -22,6 +22,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
Expand Up @@ -21,6 +21,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
Expand Up @@ -21,6 +21,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
Expand Up @@ -21,6 +21,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
Expand Up @@ -21,6 +21,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
Expand Up @@ -21,6 +21,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
Expand Up @@ -21,6 +21,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
Expand Up @@ -21,6 +21,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
Expand Up @@ -21,6 +21,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
Expand Up @@ -21,6 +21,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
Expand Up @@ -20,6 +20,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
Expand Up @@ -21,6 +21,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
Expand Up @@ -21,6 +21,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
1 change: 1 addition & 0 deletions tests/compiled_templates/mesh/communities/bird.cfg
Expand Up @@ -28,6 +28,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
1 change: 1 addition & 0 deletions tests/compiled_templates/mesh/communities/bird6.cfg
Expand Up @@ -25,6 +25,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
1 change: 1 addition & 0 deletions tests/compiled_templates/mesh/communities/step2/bird.cfg
Expand Up @@ -27,6 +27,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
1 change: 1 addition & 0 deletions tests/compiled_templates/mesh/communities/step2/bird6.cfg
Expand Up @@ -26,6 +26,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
1 change: 1 addition & 0 deletions tests/compiled_templates/mesh/hash/bird.cfg
Expand Up @@ -21,6 +21,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
1 change: 1 addition & 0 deletions tests/compiled_templates/mesh/hash/bird6.cfg
Expand Up @@ -21,6 +21,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
1 change: 1 addition & 0 deletions tests/compiled_templates/mesh/ipip-always/bird.cfg
Expand Up @@ -21,6 +21,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
1 change: 1 addition & 0 deletions tests/compiled_templates/mesh/ipip-always/bird6.cfg
Expand Up @@ -21,6 +21,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
1 change: 1 addition & 0 deletions tests/compiled_templates/mesh/ipip-cross-subnet/bird.cfg
Expand Up @@ -21,6 +21,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
1 change: 1 addition & 0 deletions tests/compiled_templates/mesh/ipip-cross-subnet/bird6.cfg
Expand Up @@ -21,6 +21,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
1 change: 1 addition & 0 deletions tests/compiled_templates/mesh/ipip-off/bird.cfg
Expand Up @@ -21,6 +21,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
1 change: 1 addition & 0 deletions tests/compiled_templates/mesh/ipip-off/bird6.cfg
Expand Up @@ -20,6 +20,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
Expand Up @@ -21,6 +21,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
Expand Up @@ -21,6 +21,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
1 change: 1 addition & 0 deletions tests/compiled_templates/mesh/static-routes/bird.cfg
Expand Up @@ -21,6 +21,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
1 change: 1 addition & 0 deletions tests/compiled_templates/mesh/static-routes/bird6.cfg
Expand Up @@ -21,6 +21,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
1 change: 1 addition & 0 deletions tests/compiled_templates/mesh/static-routes/step2/bird.cfg
Expand Up @@ -21,6 +21,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
Expand Up @@ -21,6 +21,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
1 change: 1 addition & 0 deletions tests/compiled_templates/mesh/vxlan-always/bird.cfg
Expand Up @@ -21,6 +21,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
1 change: 1 addition & 0 deletions tests/compiled_templates/mesh/vxlan-always/bird6.cfg
Expand Up @@ -21,6 +21,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
1 change: 1 addition & 0 deletions tests/compiled_templates/password-deadlock/bird.cfg
Expand Up @@ -22,6 +22,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
1 change: 1 addition & 0 deletions tests/compiled_templates/password-deadlock/bird6.cfg
Expand Up @@ -21,6 +21,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
1 change: 1 addition & 0 deletions tests/compiled_templates/password/step1/bird.cfg
Expand Up @@ -22,6 +22,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
1 change: 1 addition & 0 deletions tests/compiled_templates/password/step1/bird6.cfg
Expand Up @@ -20,6 +20,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
1 change: 1 addition & 0 deletions tests/compiled_templates/password/step2/bird.cfg
Expand Up @@ -21,6 +21,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
1 change: 1 addition & 0 deletions tests/compiled_templates/password/step2/bird6.cfg
Expand Up @@ -20,6 +20,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
1 change: 1 addition & 0 deletions tests/compiled_templates/password/step3/bird.cfg
Expand Up @@ -21,6 +21,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
1 change: 1 addition & 0 deletions tests/compiled_templates/password/step3/bird6.cfg
Expand Up @@ -20,6 +20,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
1 change: 1 addition & 0 deletions tests/compiled_templates/password/step4/bird.cfg
Expand Up @@ -21,6 +21,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
1 change: 1 addition & 0 deletions tests/compiled_templates/password/step4/bird6.cfg
Expand Up @@ -20,6 +20,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
1 change: 1 addition & 0 deletions tests/compiled_templates/password/step5/bird.cfg
Expand Up @@ -21,6 +21,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
1 change: 1 addition & 0 deletions tests/compiled_templates/password/step5/bird6.cfg
Expand Up @@ -20,6 +20,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
1 change: 1 addition & 0 deletions tests/compiled_templates/password/step6/bird.cfg
Expand Up @@ -21,6 +21,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down
1 change: 1 addition & 0 deletions tests/compiled_templates/password/step6/bird6.cfg
Expand Up @@ -20,6 +20,7 @@ protocol kernel {
# flapping since multiple nodes update their BGP
# configuration at the same time, GR is not guaranteed to
# work correctly in this scenario.
merge paths on; # Allow export multipath routes (ECMP)
}

# Watch interface up/down events.
Expand Down