summaryrefslogtreecommitdiffstats
path: root/config.version.in (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-07-07zebra: use fib nexthops for pseudowiresMark Stapp1-3/+5
Make sure to use the installed/fib set of nexthops when capturing info about pseudowire updates. Signed-off-by: Mark Stapp <mjs@voltanet.io>
2020-07-07zebra: add const to mpls and dplane nhlfe apisMark Stapp4-8/+8
Add const to an arg to a couple of the dplane and mpls module apis that add nhlfes to LSPs. Signed-off-by: Mark Stapp <mjs@voltanet.io>
2020-07-07zebra: include backup nexthops in nexthop-trackingMark Stapp1-12/+144
Include backup nexthops when examining routes that resolve NHT requests. Include installed backups when sending nexthops in zapi messages to client daemons. Signed-off-by: Mark Stapp <mjs@voltanet.io>
2020-07-07zebra: improve logic handling backup nexthop installationMark Stapp2-78/+214
When handling a fib notification event that involves a route with backup nexthops, be clearer about representing the installed state of the backups: any installed backup will be on a dedicated route_entry list. Signed-off-by: Mark Stapp <mjs@voltanet.io>
2020-07-07sharpd: be explicit if nht is uninstalledMark Stapp1-0/+6
Emit a debug if sharpd gets a nexthop-tracking message without any nexthops. Signed-off-by: Mark Stapp <mjs@voltanet.io>
2020-07-07zebra: skip un-installed recursive matchMark Stapp1-6/+10
Do less work when resolving a recursive route: just skip nexthops if the resolving route is not installed. Signed-off-by: Mark Stapp <mjs@voltanet.io>
2020-07-07lib: test vrfs in nexthop_same_firsthop()Mark Stapp2-9/+16
Test the two nexthops' vrfs, and convert api to 'bool' return. Signed-off-by: Mark Stapp <mjs@voltanet.io>
2020-07-07zebra: revise vty output for backup nexthopsMark Stapp1-187/+231
Include backup nexthops in json output; function-ify the json output for nexthops; revise the display of backup nexthops to use the 'b' character. Signed-off-by: Mark Stapp <mjs@voltanet.io>
2020-07-07zebra: add fib nhg for backups, revise apiMark Stapp4-7/+21
Add an nhg for the fib-installed backup nexthops; rename an api to access the fib-installed nexthop nhg. Signed-off-by: Mark Stapp <mjs@voltanet.io>
2020-07-07zebra: only use ACTIVE nexthops in recursive resolutionMark Stapp1-0/+4
Only use ACTIVE nexthops to resolve recursive routes, not all nexthops from a resolving route. Signed-off-by: Mark Stapp <mjs@voltanet.io>
2020-07-07zebra: add dplane backup nhg apiMark Stapp2-0/+33
Add an api to allow a dplane plugin to set a route's backup nexthops. Signed-off-by: Mark Stapp <mjs@voltanet.io>
2020-07-07zebra: allow recursive resolution to use backup nexthopsMark Stapp1-5/+36
Allow both primary and backup nexthops to be used in recursive resolution processing. Signed-off-by: Mark Stapp <mjs@voltanet.io>
2020-07-07staticd,zebra: use ALLOW_RECURSION for static routesMark Stapp3-28/+2
Remove a special-case clause for static routes - it was the same as the clause for other recursive routes. Have staticd just tell zebra that recursion is allowed. Update topotest that was aware of this 'internal' flag. Signed-off-by: Mark Stapp <mjs@voltanet.io>
2020-07-07doc: add note about generous BGP topotest timeoutsMark Stapp2-0/+12
Add note blocks to the topotest and topotest-json dev docs to emphasize the need for generous BGP retry/convergence timers. Signed-off-by: Mark Stapp <mjs@voltanet.io>
2020-07-07tests: fix short timeout in lib/bgp.pyMark Stapp1-1/+1
Another short timeout for bgp - make the verify_bgp_convergence_from_running_config() api use the same generous timeout as verify_bgp_convergence() Signed-off-by: Mark Stapp <mjs@voltanet.io>
2020-07-07tests: Fix rare case in ospf tests due to small hello timerDonald Sharp1-0/+1
There exists the possiblity that the hello timer printed would show a time to expiration in this format: Hello due in 350 usecs The tests are looking for: Hello due in 5.430s Just notice that we may have gotten usecs and act accordingly Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2020-07-06lib: fix route map description memory leakRafael Zalamena1-0/+3
Route map entries are not getting a chance to call `description` string deallocation on shutdown or when the parent entry is destroyed, so lets add a code to handle this in the `route_map_index_delete` function. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
2020-07-06doc: specify output for json commands w/ no outputQuentin Young1-1/+3
JSON commands should always return valid JSON Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2020-07-06tests: Add bgp_recursive_route_ebgp_multi_hop test suiteKuldeep Kashyap3-89/+2834
1. Added 7 test cases to verify bgp recursive nexthop and ebgp multi-hop functionality 2. Added framework support to automate these test cases 3. Total execution time is ~5 mins Signed-off-by: Kuldeep Kashyap <kashyapk@vmware.com>
2020-07-06isisd: gracefully handle spf errorEmanuele Di Pascale1-4/+17
the code in isis_spf_add2tent was asserting in case the vertex we were trying to add was already present in the path or tent trees. This however CAN happen if the user accidentally configures the system Id of the area to the same value of an estabished neighbor. Handle this more gracefully by logging and returning, to prevent crashes. Signed-off-by: Emanuele Di Pascale <emanuele@voltanet.io>
2020-07-05zebra: check LSP flags when deleting an LSPMark Stapp1-3/+18
Check the LSP INSTALLED flag in delete apis, to ensure we enqueue a delete operation for the lfib. Some apis were only checking the nexthop/nhlfe INSTALLED flags, and those could be unset if there's an in-flight dataplane update. Signed-off-by: Mark Stapp <mjs@voltanet.io>
2020-07-04tests,zebra: fix more startup topotest issuesMark Stapp2-5/+5
Use the right list of daemons to avoid trying to start zebra twice. Change a zebra log message to INFO level to avoid stderr check failure. Signed-off-by: Mark Stapp <mjs@voltanet.io>
2020-07-03tests: wait longer when shutting down in topotestsMark Stapp1-5/+29
Add a few retries during router shutdown before killing a daemon. Also work harder to start only a single instance of daemons, esp. zebra. Signed-off-by: Mark Stapp <mjs@voltanet.io>
2020-07-03bfdd: Use XFREE, clean up SA warning for bfd profilesMark Stapp1-1/+2
Use XFREE instead of raw free, clean up SA warning in bfd profile delete. Signed-off-by: Mark Stapp <mjs@voltanet.io>
2020-07-02bgpd: detect change of RT for L3VPN routesPat Ruddy1-3/+8
If the RT changes on a L3VPN route then any leak of this route into a VRF should be withdrawn. Extend existing EVPN check for RT change to cover L3VPN routes. Signed-off-by: Pat Ruddy <pat@voltanet.io>
2020-07-02topotests: remove daemons start up sleepRafael Zalamena1-7/+3
Instead of waiting for daemons start with `sleep`, start them with the `-d` parameter so they can release the terminal themselves when ready. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
2020-07-02topotests: start logging earlyRafael Zalamena1-3/+3
Start logging early everything (including debug) to `/tmp/topotest/<test>/<node>/<daemon>.{out,err}`. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
2020-07-02topotests: remove duplicated codeRafael Zalamena1-68/+43
Handle the duplicated code with a simple conditional: if called from specialized API use provided daemons configuration, otherwise fallback to old `Router` own daemon settings. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
2020-07-02bgpd: Actually find the sequence number for large-community-listDonatas Abraitis1-4/+2
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>