-
Notifications
You must be signed in to change notification settings - Fork 3
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
*: PBR - netlink interaction and basic definitions #2
Commits on Dec 14, 2017
-
bgpd: handle argv_find_and_parse_afi return value
Handle the return value of argv_find_and_parse_afi() to avoid passing along bad values. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Configuration menu - View commit details
-
Copy full SHA for 1ad057a - Browse repository at this point
Copy the full SHA 1ad057aView commit details -
Merge pull request FRRouting#1550 from opensourcerouting/missing-lint…
…ian-file debianpkg: Add missing frr-dbg.lintian-overrides to Makefile
Configuration menu - View commit details
-
Copy full SHA for b9bd264 - Browse repository at this point
Copy the full SHA b9bd264View commit details -
Merge pull request FRRouting#1554 from opensourcerouting/cover-fix1
bgpd: fix some coverity scan issues
Configuration menu - View commit details
-
Copy full SHA for fe15e7a - Browse repository at this point
Copy the full SHA fe15e7aView commit details -
zebra, lib: zebra changes for symmetric routing support
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for b7cfce9 - Browse repository at this point
Copy the full SHA b7cfce9View commit details -
bgpd: Bgpevpn tenant vrf association
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 29c5392 - Browse repository at this point
Copy the full SHA 29c5392View commit details -
bgpd: l3vni/rmac association with bgp vrf
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for fe1dc5a - Browse repository at this point
Copy the full SHA fe1dc5aView commit details -
bgpd: import/export rt for BGP vrf
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for c581d8b - Browse repository at this point
Copy the full SHA c581d8bView commit details -
zebra: don't get rmac in remote macip add
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for b80320d - Browse repository at this point
Copy the full SHA b80320dView commit details -
bgpd: link l2vnis(bgpevpn) to l3vni(vrf)
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 6a8657d - Browse repository at this point
Copy the full SHA 6a8657dView commit details -
bgpd: bgpevpn APIs to get l3vni/rmac and import/export RT list
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 6d8c58b - Browse repository at this point
Copy the full SHA 6d8c58bView commit details -
bgpd: add VRF export RTs to mac-ip routes
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 7a3e76f - Browse repository at this point
Copy the full SHA 7a3e76fView commit details -
bgpd: handle export rt change for vrf
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for f1f8b53 - Browse repository at this point
Copy the full SHA f1f8b53View commit details -
zebra: don't get rmac in remote macip delete
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for 23a06e1 - Browse repository at this point
Copy the full SHA 23a06e1View commit details -
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for bc59a67 - Browse repository at this point
Copy the full SHA bc59a67View commit details -
bgpd: import rt to vrf mapping
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 10ebe1a - Browse repository at this point
Copy the full SHA 10ebe1aView commit details -
bgpd: program mac-ip routes in matching vrfs
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for d3135ba - Browse repository at this point
Copy the full SHA d3135baView commit details -
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 2dbad57 - Browse repository at this point
Copy the full SHA 2dbad57View commit details -
bgpd: import/unimport vrf routes upon l3vni change
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for 5ba238b - Browse repository at this point
Copy the full SHA 5ba238bView commit details -
bgpd: set evpn rvtep nexthops as active by default
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for 19a847a - Browse repository at this point
Copy the full SHA 19a847aView commit details -
bgpd: use bgp_process while processing evpn routes in vrf
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for 1eb8800 - Browse repository at this point
Copy the full SHA 1eb8800View commit details -
bgpd: only install mac_ip routes in vrf
Signed-off-by: Mitesh Kanjariya<mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for 30a30f5 - Browse repository at this point
Copy the full SHA 30a30f5View commit details -
bgpd: do not send label to zebra route add for evpn routes
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for a89b49c - Browse repository at this point
Copy the full SHA a89b49cView commit details -
zebra: proper refcounting for rmac/nh entries
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.comy>
Configuration menu - View commit details
-
Copy full SHA for 6134fd8 - Browse repository at this point
Copy the full SHA 6134fd8View commit details -
zebra: show commands for specific rmac/nh entries
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for 9aa741e - Browse repository at this point
Copy the full SHA 9aa741eView commit details -
bgpd: set type-2 route flag if necessary in bgp_zebra_witgdraw
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for 01740ff - Browse repository at this point
Copy the full SHA 01740ffView commit details -
zebra: free host_list while deleting rmac/nh entry
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for 55aabf6 - Browse repository at this point
Copy the full SHA 55aabf6View commit details -
bgpd: json support for show bgp l2vpn evpn vrf-import-rt
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for 181c08c - Browse repository at this point
Copy the full SHA 181c08cView commit details -
bgpd: json support for show bgp vrf <> l3vni info
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for ceb9a92 - Browse repository at this point
Copy the full SHA ceb9a92View commit details -
zebra: json support for show vrf vni command
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for 35be554 - Browse repository at this point
Copy the full SHA 35be554View commit details -
zebra: json support for show evpn l3vni
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for 51d8de8 - Browse repository at this point
Copy the full SHA 51d8de8View commit details -
zebra: json support for show evpn l3vni vni command
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for b2ee5a1 - Browse repository at this point
Copy the full SHA b2ee5a1View commit details -
zebra: json support for show evpn next-hop vni all
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for 3279896 - Browse repository at this point
Copy the full SHA 3279896View commit details -
zebra: json support for show evpn next-hop l3vni <vni>
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for 9187f60 - Browse repository at this point
Copy the full SHA 9187f60View commit details -
zebra: json support for show evpn specific next-hop command
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for c0e519d - Browse repository at this point
Copy the full SHA c0e519dView commit details -
zebra: json support for show evpn rmac command
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for c0b4eaa - Browse repository at this point
Copy the full SHA c0b4eaaView commit details -
zebra: json support for show evpn rmac vni command
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for 75223c9 - Browse repository at this point
Copy the full SHA 75223c9View commit details -
zebra: json support for show evpn rmac specific mac command
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for 316f4ca - Browse repository at this point
Copy the full SHA 316f4caView commit details -
bgpd: uninstall all nh/rmac when l3vni is deleted
Upon a l3vni delete (no vni under a vrf) is executed, we should uninstall all the RMACs and NHs associated with the l3vni. This is because by the time we get a route delete in zebra l3vni is already deleted and we dont have refernce to RMACs and NHs Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for 5e06422 - Browse repository at this point
Copy the full SHA 5e06422View commit details -
bgpd: update all routes when vrf changes on a VNI
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for e92bd2a - Browse repository at this point
Copy the full SHA e92bd2aView commit details -
bgpd: write vrf import/export RT config to frr.conf
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for 41d6d60 - Browse repository at this point
Copy the full SHA 41d6d60View commit details -
zebra: re-install remote next-hop neigh entries upon age out
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for 8c9b80b - Browse repository at this point
Copy the full SHA 8c9b80bView commit details -
zebra: only write vni config under vrf if the vni is valid
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for 9ccae64 - Browse repository at this point
Copy the full SHA 9ccae64View commit details -
zebra: remove l3vni/rmac from gw macip APIs
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for 964ec88 - Browse repository at this point
Copy the full SHA 964ec88View commit details -
bgpd: adjust show bgp l2vpn evpn vni command to avoid sanity breakages
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for 6be9a20 - Browse repository at this point
Copy the full SHA 6be9a20View commit details -
zebra: use list_delete_and_null instead of list_delete
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for bb7a24a - Browse repository at this point
Copy the full SHA bb7a24aView commit details -
zebra: Reinstall remote VTEP next hop when it becomes stale
When a remote VTEP next hop entry (for symmetric routing) becomes stale, reinstall it. This makes the behavior the same as what is done for remote host next hops (for asymmetric routing and ARP suppression). Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 3bcbba1 - Browse repository at this point
Copy the full SHA 3bcbba1View commit details -
bgpd: do not advertise ipv6 host routes with l3-vni related ext-comm
Currently, kernel doesn't support ipv6 routes with ipv4 nexthops. To avoid the crash, we will only attach l3-vni related RTs/ecommunities only to ipv4 host routes. Ticket: CM-18743 Review: ccr-6912 Testing: Manaul Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for 7ec156a - Browse repository at this point
Copy the full SHA 7ec156aView commit details -
bgpd: move vrf RT command under address-family l2vpn evpn
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for df399d1 - Browse repository at this point
Copy the full SHA df399d1View commit details -
bgpd: properly initialize ret variable
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for c4edf70 - Browse repository at this point
Copy the full SHA c4edf70View commit details -
bgpd: handle different sequence of bgp vrf create/delete
BGP VRF can be created/deleted either via config or via l3vni add/del. We need to handle various sequences. 1. If user config is presented, an l3vni del should not delete the vrf instance 2. do not write bgp config in show running for auto created vrf 2. If l3vni present, disallow the cli for deleting bgp vrf instance 3. If l3vni is added and vrf config is present set the flags properly 4. if bgp vrf is configured unset the AUTO flag Ticket: CM-18630 Review: CCR-6906 Testing: Manual Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for 0b5131c - Browse repository at this point
Copy the full SHA 0b5131cView commit details -
zebra: vrf to vni mapping command is only valid under vrf submode
Ticket: CM-18821 Review: Trivial Testing: Manual Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for 90384b2 - Browse repository at this point
Copy the full SHA 90384b2View commit details -
bgpd: move rd id bitfield to bgp_master
currently, we have a rd_id bitfield to assign an unique index for auto RD. This bitfield currently resides under struct bgp which seems wrong. We need to shift this to a global space as this ID space is really global per box. One more reason to keep it at a global data structure is, the ID space could be used by both VNIs and VRFs. Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for e9eb5f6 - Browse repository at this point
Copy the full SHA e9eb5f6View commit details -
1. VRF RD can be auto-derived (simillar to RD for a VNI) 2. VRF RD can be configured manually through a config Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 676f83b - Browse repository at this point
Copy the full SHA 676f83bView commit details -
bgpd: set vrf originator ip to kernels local-ip
For EVPN type-5 route the NH in the NLRI is set to the local tunnel ip. This information has to be obtained from kernel notification. We need to pass this info from zebra to bgp in l3vni call flow. This patch doesn't handle the tunnel-ip change. Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for b67a60d - Browse repository at this point
Copy the full SHA b67a60dView commit details -
bgpd: advertise/withdraw type-5 routes upon user config
CLI config for enabling/disabling type-5 routes router bgp <as> vrf <vrf> address-family l2vpn evpn [no] advertise <ipv4|ipv6|both> loop through all the routes in VRF instance and advertise/withdraw all ip routes as type-5 routes in default instance. Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 342dd0c - Browse repository at this point
Copy the full SHA 342dd0cView commit details -
bgpd: update type-5 routes when RD changes
when router-id/RD changes for a bgp vrf instance, we need to update all type-5 routes. Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for 80b140a - Browse repository at this point
Copy the full SHA 80b140aView commit details -
bgpd: evpn enabled should only be checked for default instance
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for 94c2f69 - Browse repository at this point
Copy the full SHA 94c2f69View commit details -
bgpd: update/withdraw type-5 routes upon l3-vni add/del
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for 06d2e8f - Browse repository at this point
Copy the full SHA 06d2e8fView commit details -
bgpd: update type-5 routes upon vrf export-rt change
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for 4992b4a - Browse repository at this point
Copy the full SHA 4992b4aView commit details -
bgpd: follow AFI/SAFI style for advertising/withdrawing type-5 routes
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for 053905d - Browse repository at this point
Copy the full SHA 053905dView commit details -
bgpd: write advertise <ipv4|ipv6> unicast under bgp vrf config
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for 6ee8638 - Browse repository at this point
Copy the full SHA 6ee8638View commit details -
bgpd: only advertise valid subnet routes as evpn type-5 routes
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for 408b00c - Browse repository at this point
Copy the full SHA 408b00cView commit details -
bgpd: distinguish between frr prefixlen and packet prefixlen for EVPN…
… type-5 routes for EVPN routes prefixlen filed in struct prefix represents the sizeof of the struct rather than the actual prefix len. This is later used in looking up route node in RIB. Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for e9fc284 - Browse repository at this point
Copy the full SHA e9fc284View commit details -
bgpd: process evpn type-5 routes received from peers
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for 90264d6 - Browse repository at this point
Copy the full SHA 90264d6View commit details -
bgpd: advertise/withdraw new added/deleted type-5 routes
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for 5424b7b - Browse repository at this point
Copy the full SHA 5424b7bView commit details -
bgpd: move vrf rd command under address-family l2vpn evpn
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for bf48830 - Browse repository at this point
Copy the full SHA bf48830View commit details -
bgpd: uninstall type-5 routes from vrf
When we receive an MP_UNREACH, we try to uninstall routes from the VRF and the VNI. The route-node in the VRF corresponds to the ip prefix formed from EVPN prefix. We should correctly form the prefix based on the EVPN route-type. Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for 42cb44f - Browse repository at this point
Copy the full SHA 42cb44fView commit details -
zebra/bgpd: cleanup l3vni on no advertise-all-vni
EVPN is only enabled when user configures advertise-all-vni. All VNIs (L2 and L3) should be cleared upon removal of this config. Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 14, 2017 Configuration menu - View commit details
-
Copy full SHA for 655b04d - Browse repository at this point
Copy the full SHA 655b04dView commit details -
bgpd: resolve memory leak in bm_master_init
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for c3004bc - Browse repository at this point
Copy the full SHA c3004bcView commit details -
zebra: NUD_STALE is only valid in GNU linux
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for c05a738 - Browse repository at this point
Copy the full SHA c05a738View commit details -
zebra: pass ERR_STR_SZ in zebra_vxlan_process_vrf_vni_cmd
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 3f02fba - Browse repository at this point
Copy the full SHA 3f02fbaView commit details -
zebra: only show vrf matched to a l3-vni in show vrf vni
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 0412988 - Browse repository at this point
Copy the full SHA 0412988View commit details -
bgpd: fix configuration of 0 for coalesce-time
Was using 0 as a sentinel value, so user couldn't configure 0 as the value of the coalesce timer. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 37a333f - Browse repository at this point
Copy the full SHA 37a333fView commit details
Commits on Dec 15, 2017
-
zebra: pass instance to zebra_find_client
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 15, 2017 Configuration menu - View commit details
-
Copy full SHA for 6f3a200 - Browse repository at this point
Copy the full SHA 6f3a200View commit details -
bgpd: solve SA issue in bgp_evpn_unconfigure_export_rt_for_vrf
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 15, 2017 Configuration menu - View commit details
-
Copy full SHA for 877702e - Browse repository at this point
Copy the full SHA 877702eView commit details -
Merge pull request FRRouting#1535 from qlyoung/fix-coalesce-time-display
bgpd: fix config display of coalesce-time
Configuration menu - View commit details
-
Copy full SHA for 62b0598 - Browse repository at this point
Copy the full SHA 62b0598View commit details -
Merge pull request FRRouting#1549 from lucize/cross
configure: exclude some checks not needed on clippy host build
Configuration menu - View commit details
-
Copy full SHA for 8253e0a - Browse repository at this point
Copy the full SHA 8253e0aView commit details -
bgpd: solve valgrind issues in bgp_evpn_cleanup
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 15, 2017 Configuration menu - View commit details
-
Copy full SHA for c383080 - Browse repository at this point
Copy the full SHA c383080View commit details -
Merge pull request FRRouting#1547 from donaldsharp/sa_from_clang
Sa from clang
Configuration menu - View commit details
-
Copy full SHA for acf43be - Browse repository at this point
Copy the full SHA acf43beView commit details -
bgpd: rd_idspace should be freed in bgp_exit
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Mitesh Kanjariya committedDec 15, 2017 Configuration menu - View commit details
-
Copy full SHA for 3d57c99 - Browse repository at this point
Copy the full SHA 3d57c99View commit details
Commits on Dec 18, 2017
-
Revert "isisd: bpf: ETHER_HDR_LEN -> ETH_ALEN"
This reverts commit d9e5b00. ETH_ALEN is not equivalent to ETHER_HDR_LEN. ETHER_HDR_LEN is the definition for the length of the full ethernet header, meanwhile ETH_ALEN is just the length of the ethernet address. Here is the OpenBSD/FreeBSD definition for ETHER_HDR_LEN: #define ETHER_ADDR_LEN 6 /* Ethernet address length */ #define ETHER_TYPE_LEN 2 /* Ethernet type field length */ #define ETHER_HDR_LEN ((ETHER_ADDR_LEN * 2) + ETHER_TYPE_LEN) (OpenBSD's definition is at net/if_ether.h, FreeBSD's is at net/ethernet.h) Linux definitions can be found at: net/ethernet.h #define ETHER_ADDR_LEN ETH_ALEN /* size of ethernet addr */ #define ETHER_TYPE_LEN 2 /* bytes in type field */ #define ETHER_HDR_LEN ETH_HLEN /* total octets in header */ net/if_ether.h: #define ETH_HLEN 14 /* Total octets in header. */ #define ETH_ALEN 6 /* Octets in one ethernet addr */ Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Configuration menu - View commit details
-
Copy full SHA for 12386e8 - Browse repository at this point
Copy the full SHA 12386e8View commit details
Commits on Dec 19, 2017
-
bgpd: fixed '-Werror=maybe-uninitialized' warnings
- used @SharpD's slack patch as a starting point - fixes compile time issue, but code path not tested Signed-off-by: Raymond P. Burkholder <github@oneunified.net>
Configuration menu - View commit details
-
Copy full SHA for fb8f41e - Browse repository at this point
Copy the full SHA fb8f41eView commit details -
The json code was freeing json_paths and then turning around and free'ing it again. Newer versions of json-c have started to assert this bad behavior. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 449feb8 - Browse repository at this point
Copy the full SHA 449feb8View commit details -
Merge pull request FRRouting#1543 from donaldsharp/pim_sg_rpt
pimd: Really, Actually send S,G rpt prune upstream
Configuration menu - View commit details
-
Copy full SHA for 97c772b - Browse repository at this point
Copy the full SHA 97c772bView commit details -
Merge pull request FRRouting#1533 from donaldsharp/REALMS
Add Linux Realms and some Pim Documentation
Configuration menu - View commit details
-
Copy full SHA for 75d1899 - Browse repository at this point
Copy the full SHA 75d1899View commit details -
Merge pull request FRRouting#1515 from donaldsharp/selected_to_front1
Store selected_fib as a pointer off of rib_dest_t
Configuration menu - View commit details
-
Copy full SHA for fb6f7c2 - Browse repository at this point
Copy the full SHA fb6f7c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1de0576 - Browse repository at this point
Copy the full SHA 1de0576View commit details -
Merge pull request FRRouting#1553 from donaldsharp/bgp_json_routes
bgpd: Speedup vtysh handling of 'show bgp afi safi json' display
Configuration menu - View commit details
-
Copy full SHA for e492e66 - Browse repository at this point
Copy the full SHA e492e66View commit details -
Merge pull request FRRouting#1563 from opensourcerouting/isis-bpf-hlen
Unbreak ISIS Hellos (FreeBSD)
Configuration menu - View commit details
-
Copy full SHA for 2cef518 - Browse repository at this point
Copy the full SHA 2cef518View commit details -
Merge pull request FRRouting#1551 from LabNConsulting/working/master/…
…minor-perf bgpd: minor performance enhancement
Configuration menu - View commit details
-
Copy full SHA for ff99c5b - Browse repository at this point
Copy the full SHA ff99c5bView commit details -
Simple ring buffer implementation useful for fixed size FIFO queues. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 5318d89 - Browse repository at this point
Copy the full SHA 5318d89View commit details
Commits on Dec 21, 2017
-
bgpd: convert network statements from DEFUN to DEFPY
Problems reported with inconsistent use of parameters for bgp network statements. Converted 12 DEFUNs to 2 DEFPY statements, making the parameter use consistent with the exception of keeping the "backdoor" keywork ipv4 only. Also verified that if a route-map or label-index is specified in the "no" case it matches what had been previously defined. Manual testing looks good and bgp-smoke will be performed before pushing. Ticket: CM-16860 Signed-off-by: Don Slice <dslice@cumulusnetworks.com> Reviewed-by: CCR-7056
Configuration menu - View commit details
-
Copy full SHA for e2a86ad - Browse repository at this point
Copy the full SHA e2a86adView commit details
Commits on Dec 26, 2017
-
Peek functionality for ring buffers and associated tests. Also: * Slight optimization to avoid 0-byte memcpy() by changing > to >= * Add rv checks for some ringbuf_[put|get] calls that were missing them in the test Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for a508062 - Browse repository at this point
Copy the full SHA a508062View commit details
Commits on Dec 27, 2017
-
ospfd: Set filter to unbound debug logs
Ticket:CM-19213 Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 05ba78e - Browse repository at this point
Copy the full SHA 05ba78eView commit details -
bgpd, lib, zebra: fix style problems
Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 523cafc - Browse repository at this point
Copy the full SHA 523cafcView commit details
Commits on Dec 30, 2017
-
ospf6d: Fix ospf6 redist with route-map
When ospf6 configure with redistribute connected/protocol with route-map. Upon restart of frr.service, ospf6 receives redistribute update then route-map update. During redistribute route update, since route-map info is not filled, route is suppressed from injected as external route. Fix: reset redistribute when route-map update received matches with redistribution (type) and route-map name. Ticket:CM-13800 Testing Done: Configure ospf6 redistribute with route-map to inject Type-2 external routes into database. Trigger frr restart redistribute with route-map happens. Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for c600ce4 - Browse repository at this point
Copy the full SHA c600ce4View commit details
Commits on Jan 2, 2018
-
debianpkg: fix indentation and variable name
Signed-off-by: Raymond P. Burkholder <github@oneunified.net>
Configuration menu - View commit details
-
Copy full SHA for 18e1d11 - Browse repository at this point
Copy the full SHA 18e1d11View commit details -
Merge pull request FRRouting#1583 from donaldsharp/1558-more
debianpkg: fix indentation and variable name
Configuration menu - View commit details
-
Copy full SHA for c930697 - Browse repository at this point
Copy the full SHA c930697View commit details -
Merge pull request FRRouting#1582 from chiragshah6/mdev1
ospf6d: Fix ospf6 redist with route-map
Configuration menu - View commit details
-
Copy full SHA for eae3872 - Browse repository at this point
Copy the full SHA eae3872View commit details -
Merge pull request FRRouting#1580 from chiragshah6/mdev
ospfd: Set filter to unbound debug logs
Configuration menu - View commit details
-
Copy full SHA for e980cd4 - Browse repository at this point
Copy the full SHA e980cd4View commit details -
Merge pull request FRRouting#1572 from dslicenc/bgpd-network-defpy-cm…
…16860 bgpd: convert network statements from DEFUN to DEFPY
Configuration menu - View commit details
-
Copy full SHA for d87c580 - Browse repository at this point
Copy the full SHA d87c580View commit details -
The rn can not have an rn->info pointer and as such the dest may be NULL. Don't assign the old_fib pointer if so. This is ok because we know RNODE_FOREACH... will not iterate if dest is NULL. Fixes: FRRouting#1575 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 607425e - Browse repository at this point
Copy the full SHA 607425eView commit details -
Merge pull request FRRouting#1569 from qlyoung/ringbuf
lib: add ring buffer
Configuration menu - View commit details
-
Copy full SHA for 82b9bf3 - Browse repository at this point
Copy the full SHA 82b9bf3View commit details -
Merge pull request FRRouting#1584 from donaldsharp/1575_fix
zebra: Fix dest dereference
Configuration menu - View commit details
-
Copy full SHA for baa68bc - Browse repository at this point
Copy the full SHA baa68bcView commit details -
ospf6d: Fix External routes ECMP
Handle RFC 2328 16.4 Calculating AS external routes with ECMP For ASBR route, if it is learnt via new LSA and contains different nexthop list. First lookup route in ospf6 route table if it exists, merge nexthop list to existing and call the callback to install into FIB (zebra). Delete created new route as it is identical to existing entry in route table. Ticket:CM-16139 Testing Done: Run two ASBR with 2 ECMP paths from each DUT neighbor receievs 4 ECMP path to a external route. ospf6 installs all 4 ECMP path to FIB/RIB Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 064d435 - Browse repository at this point
Copy the full SHA 064d435View commit details
Commits on Jan 3, 2018
-
pimd: Add finer grain return codes for configuration
When PIM handles some MSDP commands, a repeated command was causing a CMD_WARNING_CONFIG_FAILED. This should be a CMD_WARNING. Fix the code to allow vtysh to handle this appropriately. Ticket: CM-19053 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 01841ed - Browse repository at this point
Copy the full SHA 01841edView commit details -
ospfd: return non-zero for configuration failures
Signed-off-by: lihongguang <lhg803@163.com>
Configuration menu - View commit details
-
Copy full SHA for e3e0481 - Browse repository at this point
Copy the full SHA e3e0481View commit details -
Merge pull request FRRouting#1589 from lihongguang/master
ospfd: return non-zero for configuration failures
Configuration menu - View commit details
-
Copy full SHA for 9bc82f1 - Browse repository at this point
Copy the full SHA 9bc82f1View commit details -
bgpd: Fix peer uptime display in milliseconds
For some reason bgp is calculating the peer uptime in miliseconds incorrectly. Additionally we have the peer_uptime function call that should be doing this! But since we've choosen different names for the json output we cannot fix it at this point. uptime contains the number of seconds of uptime here. Just multiply by 1k and display that( as peer_uptime does ) Fixes: FRRouting#1585 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for e033027 - Browse repository at this point
Copy the full SHA e033027View commit details -
bgpd: Allow for deprecation of json bgpTimerUp
The bgpTimerUp value was incorrectly named, add a correct name bgpTimerUpMsec and add some code to allow for deprecation. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for d3c7efe - Browse repository at this point
Copy the full SHA d3c7efeView commit details -
Quick 'n easy way to copy the contents of one ringbuf to another. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for cb94eae - Browse repository at this point
Copy the full SHA cb94eaeView commit details -
lib: fix a few bugs in ring buffers
* Fix rare failure caused when end pointer is at end of buffer memory and a call to ringbuf_get() is made that reads all of the data in the buffer; start pointer was advanced past end pointer, causing some special handling to be skipped * Fix ringbuf_peek() moving start pointer * Fix use after free * Remove extraneous assignment * Update relevant tests Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 74e4a32 - Browse repository at this point
Copy the full SHA 74e4a32View commit details -
bgpd: use ring buffer for network input
The multithreading code has a comment that reads: "XXX: Heavy abuse of stream API. This needs a ring buffer." This patch makes the relevant code use a ring buffer. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 74ffbfe - Browse repository at this point
Copy the full SHA 74ffbfeView commit details -
lib: Fix no interface cmd vrf parsing
For no interface <ifname> vrf VRFNAME, vrf-name is not parsed properly. Ticket:CM-19274 Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 1505b53 - Browse repository at this point
Copy the full SHA 1505b53View commit details -
ospfd: fix [no] area authentication command
Signed-off-by: lihongguang lhg803@163.com
Configuration menu - View commit details
-
Copy full SHA for ca19319 - Browse repository at this point
Copy the full SHA ca19319View commit details
Commits on Jan 4, 2018
-
Merge pull request FRRouting#1592 from lihongguang/master
ospfd: fix [no] area authentication command
Configuration menu - View commit details
-
Copy full SHA for 3cace9d - Browse repository at this point
Copy the full SHA 3cace9dView commit details -
bgpd: fix failing to compile on 32 bit systems
-Werror=sign-compare is failing with signed/unsigned usage in the conditional expression. Fixes: FRRouting#1593 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 8356e9b - Browse repository at this point
Copy the full SHA 8356e9bView commit details -
bgpd: add PMSI_TUNNEL_ATTRIBUTE to EVPN IMET routes
Signed-off-by: Dario Wiesner <dario.wiesner@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for a21bd7a - Browse repository at this point
Copy the full SHA a21bd7aView commit details -
Merge pull request FRRouting#1594 from donaldsharp/32_bit_fuckery
bgpd: fix failing to compile on 32 bit systems
Configuration menu - View commit details
-
Copy full SHA for 9f465cc - Browse repository at this point
Copy the full SHA 9f465ccView commit details
Commits on Jan 5, 2018
-
ldpd: Add privs to label manager
Signed-off-by: ßingen <bingen@voltanet.io>
ßingen committedJan 5, 2018 Configuration menu - View commit details
-
Copy full SHA for 7bfe377 - Browse repository at this point
Copy the full SHA 7bfe377View commit details -
Merge pull request FRRouting#1595 from dwiesner/pmsi-tunnel
bgpd: add PMSI_TUNNEL_ATTRIBUTE to EVPN IMET routes
Configuration menu - View commit details
-
Copy full SHA for bdb6f26 - Browse repository at this point
Copy the full SHA bdb6f26View commit details
Commits on Jan 6, 2018
-
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for b2140cb - Browse repository at this point
Copy the full SHA b2140cbView commit details -
bgpd: Ensure that io thread is running after start
The BGP IO thread must be running before other threads can start using it. So at startup check to see that it running once, instead of before every function call into. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 88b24de - Browse repository at this point
Copy the full SHA 88b24deView commit details -
Merge pull request FRRouting#1600 from donaldsharp/more_thread_yield
More thread yield
Configuration menu - View commit details
-
Copy full SHA for 1882323 - Browse repository at this point
Copy the full SHA 1882323View commit details
Commits on Jan 8, 2018
-
Merge pull request FRRouting#1606 from bingen/lm_privs
ldpd: Add privs to label manager
Configuration menu - View commit details
-
Copy full SHA for 3abeaef - Browse repository at this point
Copy the full SHA 3abeaefView commit details -
ospfd: Fix no passive interface command parsing
Ticket: CM-19365 Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 9a0dfa3 - Browse repository at this point
Copy the full SHA 9a0dfa3View commit details -
Merge pull request FRRouting#1590 from chiragshah6/pim_dev
lib: Fix no interface cmd vrf parsing
Configuration menu - View commit details
-
Copy full SHA for e741a61 - Browse repository at this point
Copy the full SHA e741a61View commit details -
Merge pull request FRRouting#1588 from donaldsharp/msdp_return
pimd: Add finer grain return codes for configuration
Configuration menu - View commit details
-
Copy full SHA for 76724ed - Browse repository at this point
Copy the full SHA 76724edView commit details -
Merge pull request FRRouting#1599 from chiragshah6/mdev
ospfd: Fix no passive interface command parsing
Configuration menu - View commit details
-
Copy full SHA for 4060fcc - Browse repository at this point
Copy the full SHA 4060fccView commit details -
pimd: Allow use-source to return more subtle error codes
The 'ip pim use-source ...' command returns a hard success/failure. Allow it to return a soft-failure for when we re-enter the same line. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 23f1c68 - Browse repository at this point
Copy the full SHA 23f1c68View commit details -
ospfd: do not complain if same area is reconfigured
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com> Before ------ cel-redxp-10(config)# router ospf vrf RED cel-redxp-10(config-router)# network 1.1.1.1/32 area 0.0.0.0 cel-redxp-10(config-router)# network 1.1.1.1/32 area 0.0.0.0 There is already same network statement. cel-redxp-10(config-router)# When we see the "There is already same network statement." message vtysh exits non-zero. This scenario breaks frr-reload because the command took and it in the config, it should exit zero here. After ----- cel-redxp-10(config)# router ospf vrf RED cel-redxp-10(config-router)# network 1.1.1.1/32 area 0.0.0.0 cel-redxp-10(config-router)# network 1.1.1.1/32 area 0.0.0.0 cel-redxp-10(config-router)# network 1.1.1.1/32 area 0.0.0.0 cel-redxp-10(config-router)# network 1.1.1.1/32 area 0 cel-redxp-10(config-router)# cel-redxp-10(config-router)# network 1.1.1.1/32 area 0.0.0.1 There is already same network statement. cel-redxp-10(config-router)#
Daniel Walton committedJan 8, 2018 Configuration menu - View commit details
-
Copy full SHA for 2b0a905 - Browse repository at this point
Copy the full SHA 2b0a905View commit details -
vtysh: optimize printout routine
When printing responses from a client, vtysh searches through every response it receives twice. Once is to look for the terminating sequence and the other is to translate \n to \0, which is used with the line processing callback capability. However: * There's no need to search all of the output for the terminator, we can just check the last 4 bytes. * In most scenarios we won't have a callback. Therefore we don't need to process the output and can just dump it. Together these optimizations have a significant impact on the total runtime of talkative CLI commands, such as `sh ip bgp json` which runs roughly 1000% faster when dumping 1,000,000 routes. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 08ee8e2 - Browse repository at this point
Copy the full SHA 08ee8e2View commit details
Commits on Jan 9, 2018
-
lib: add MTYPE for synchronization primitives
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 0bbb9e7 - Browse repository at this point
Copy the full SHA 0bbb9e7View commit details -
bgpd: improve bgp thread startup characteristics
Replace atomic spinlock with condition variable. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for f09a656 - Browse repository at this point
Copy the full SHA f09a656View commit details -
bgpd: use atomic_* ops on _Atomic variables
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 0112e9e - Browse repository at this point
Copy the full SHA 0112e9eView commit details -
Merge pull request FRRouting#1615 from qlyoung/fix-bgpd-atomic-usage
bgpd: use atomic_* ops on _Atomic variables
Configuration menu - View commit details
-
Copy full SHA for d215f9a - Browse repository at this point
Copy the full SHA d215f9aView commit details
Commits on Jan 10, 2018
-
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 1de8dd9 - Browse repository at this point
Copy the full SHA 1de8dd9View commit details -
bgpd: move startup sync lock around
Condition needs to be set inside critical section, otherwise i/o thread can deadlock. Also unlock mutex once finished with it, no need to hold the lock for the life of the program. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for f42ebe8 - Browse repository at this point
Copy the full SHA f42ebe8View commit details -
bgpd: 'summary' to show NoNeg if peer did not negotiate afi/safi
If we have configured neighbor 1.1.1.1 for an afi/safi but they have not activated that afi/safi with us then display "NoNeg" in the state column of the summary output. This is to make troubleshooting afi/safi easier. Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 95077ab - Browse repository at this point
Copy the full SHA 95077abView commit details -
Merge pull request FRRouting#1608 from donaldsharp/use_source
pimd: Allow use-source to return more subtle error codes
Configuration menu - View commit details
-
Copy full SHA for d1df0ee - Browse repository at this point
Copy the full SHA d1df0eeView commit details -
bgpd: fix updating redist bitmask when vrf_id changes
Problem reported that when "systemctl restart networking" was performed, prefixes previously redistributed into bgp from connected were deleted from the bgp table. Determined that we were not correctly changing the redistribution bitmask when the vrf_id of the vrf was changed. This patch corrects that behavior. Manual tests look good. bgp-min and vrf-min completed with no new failures. Ticket: CM-19369 Signed-off-by: Don Slice <dslice@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 48c74f8 - Browse repository at this point
Copy the full SHA 48c74f8View commit details
Commits on Jan 11, 2018
-
Merge pull request FRRouting#1586 from donaldsharp/1585_fix
bgpd: Fix peer uptime display in milliseconds
Configuration menu - View commit details
-
Copy full SHA for bb46988 - Browse repository at this point
Copy the full SHA bb46988View commit details -
Merge pull request FRRouting#1591 from qlyoung/bgpd-ringbuf
bgpd: use ring buffer for network input
Configuration menu - View commit details
-
Copy full SHA for 2ed7e4c - Browse repository at this point
Copy the full SHA 2ed7e4cView commit details -
Merge pull request FRRouting#1620 from dslicenc/bgpd-vrf-redist
bgpd: fix updating redist bitmask when vrf_id changes
Configuration menu - View commit details
-
Copy full SHA for 3a92d53 - Browse repository at this point
Copy the full SHA 3a92d53View commit details -
Merge pull request FRRouting#1619 from donaldsharp/bgp_debugging
bgpd: 'summary' to show NoNeg if peer did not negotiate afi/safi
Configuration menu - View commit details
-
Copy full SHA for d29715c - Browse repository at this point
Copy the full SHA d29715cView commit details -
Merge pull request FRRouting#1616 from qlyoung/sharpd-gitignore
sharpd: add .gitignore
Configuration menu - View commit details
-
Copy full SHA for 51f682b - Browse repository at this point
Copy the full SHA 51f682bView commit details -
Merge pull request FRRouting#1609 from dwalton76/ospf-reconfigure-area
ospfd: do not complain if same area is reconfigured
Configuration menu - View commit details
-
Copy full SHA for c124004 - Browse repository at this point
Copy the full SHA c124004View commit details -
zebra: Add one-shot thread to recheck speed
There are certain interfaces that when brought up and we receive the netlink notification about it, the speed of the interface is not set correctly. This creates a one-shot thread that will wait 15 seconds and then requery the speed and if it is different it will renotify the running daemons. The kernel should notify us on speed changes, unfortunately this is not done currently via a netlink message as you would think. As I understand it there is some in-fighting about the proper way to approach this issue and due to the way the kernel release cycle works we are a ways off from getting this fixed. This is a `hack` to make us work correctly while we wait for the true answer. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for dc7b3ca - Browse repository at this point
Copy the full SHA dc7b3caView commit details -
lib, bgpd: fixup use of of CMD_ARGC_MAX
The constant to limit # of allowed cli tokens on any one line was defined in multiple places, all inconsistent with each other. Fix. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 09f6d01 - Browse repository at this point
Copy the full SHA 09f6d01View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bb77a5 - Browse repository at this point
Copy the full SHA 9bb77a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4781461 - Browse repository at this point
Copy the full SHA 4781461View commit details -
bgpd: preserve admin shutdown on peer-group add
When a peer configured with administrative shutdown is added to a peer group, the administrative shutdown status is discarded and the peer will enter the BGP FSM. This is not what we want. Preserve the flag instead. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 89898ce - Browse repository at this point
Copy the full SHA 89898ceView commit details -
bgp: don't show vnc response-lifetime config line when set to default…
… value Signed-off-by: Lou Berger <lberger@labn.net>
Configuration menu - View commit details
-
Copy full SHA for 9b73cd8 - Browse repository at this point
Copy the full SHA 9b73cd8View commit details
Commits on Jan 12, 2018
-
Merge pull request FRRouting#1624 from qlyoung/fix-cmd-argc-max-usage
lib, bgpd: fixup use of of CMD_ARGC_MAX
Configuration menu - View commit details
-
Copy full SHA for 48442c0 - Browse repository at this point
Copy the full SHA 48442c0View commit details -
Merge pull request FRRouting#1455 from mkanjari/evpn-symmetric-routing
Support for Evpn symmetric routing + EVPN Prefix route
Configuration menu - View commit details
-
Copy full SHA for 8eac481 - Browse repository at this point
Copy the full SHA 8eac481View commit details -
bgpd: fix summary line reporting routes with RDs (no json case)
Signed-off-by: Lou Berger <lberger@labn.net>
Configuration menu - View commit details
-
Copy full SHA for 0136788 - Browse repository at this point
Copy the full SHA 0136788View commit details -
Merge pull request FRRouting#1626 from LabNConsulting/working/master/…
…vnc-config bgp: don't show vnc response-lifetime config line when set to default…
Configuration menu - View commit details
-
Copy full SHA for b782607 - Browse repository at this point
Copy the full SHA b782607View commit details -
lib: Add notice of when we can remove some deprecated code.
The zapi_ipv4_route, zapi_ipv6_route and zapi_ipv4_route_ipv6_nexthop functions are deprecated. Add notice of when we can remove the deprecated code from the system. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 0cb76b9 - Browse repository at this point
Copy the full SHA 0cb76b9View commit details -
lib: Allow interface lookup by VRF_UNKNOWN
Modify if_lookup_by_index to accept a VRF_UNKNOWN as a vrf_id. This will cause it to look in all vrf's for the interface pointer. Subsequently all if_XXXX functions that call this function will also get this behavior. VRF_UNKNOWN *should* not be used for interface creation as that this will break some core assumptions. This work is part of allowing vrf route leaking. Currently it is possible to create a route in the linux kernel that has a nexthop across vrf boundaries. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 14fcc65 - Browse repository at this point
Copy the full SHA 14fcc65View commit details -
zebra: Add nh_vrf_id to 'struct route_entry`
With VRF route-leaking we need to know what vrf the nexthops are in compared to this vrf. This code adds the nh_vrf_id to the route entry and sets it up correctly for the non-route-leaking case. The assumption here is that future commits will make the nh_vrf_id *different* than the vrf_id. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 8f43b4d - Browse repository at this point
Copy the full SHA 8f43b4dView commit details -
zebra: Use the correct vrf id to lookup the ifp pointer
Use the nexthop vrf_id to properly lookup the ifp pointer for display purposes. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 99b9d96 - Browse repository at this point
Copy the full SHA 99b9d96View commit details -
zebra: Add nh_vrf_id to rib_add
Add to the rib_add function the ability to pass in the nexthops vrf. Additionally when we decode the netlink message from the linux kernel, properly figure out the nexthops vrf_id. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 8795f90 - Browse repository at this point
Copy the full SHA 8795f90View commit details -
zebra: When handling nexthops use the correct vrf
When we are handling nexthops in zebra, use the appropriate vrf to figure out if the nexthops are active or not. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 007dbee - Browse repository at this point
Copy the full SHA 007dbeeView commit details -
zebra: When displaying nexthop information show correct vrf
If the vrf for the nexthop is different than the vrf the route is in, display the nexthops vrf. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 2793a09 - Browse repository at this point
Copy the full SHA 2793a09View commit details -
*: Send/receive the nexthop vrf_id
Modify the code to send and receive to/from zebra the nexthops vrf_id. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for d5b2119 - Browse repository at this point
Copy the full SHA d5b2119View commit details -
lib: Increment zapi version number
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 9ceac4c - Browse repository at this point
Copy the full SHA 9ceac4cView commit details -
zebra: Move NS/VRF initialization earlier
Move the NS/VRF initialization code for zebra to an earlier point in startup. In the future we will have code that will want to install_element into a VRF_NODE from zebra_vty.c Signed-off-by: Donald Sharp <sahrpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for f84fc2c - Browse repository at this point
Copy the full SHA f84fc2cView commit details -
zebra: Add zebra_static_route_leak function
Add a function to handle the route leaking of a static route. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 2f03bc8 - Browse repository at this point
Copy the full SHA 2f03bc8View commit details -
zebra: Add the zvrf pointer to the 'struct static_route'
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for cbb0dbf - Browse repository at this point
Copy the full SHA cbb0dbfView commit details -
zebra: Cleanup vrf_config_write
Optimize vrf_config_write a tiny bit to be a bit more efficient. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for ab32921 - Browse repository at this point
Copy the full SHA ab32921View commit details -
zebra: Add vrf level 'ip route ...' commands
Add the ability to accept 'ip route ...' commands from within a vrf context. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for b2ffa06 - Browse repository at this point
Copy the full SHA b2ffa06View commit details -
zebra: Move
ip route ...
generation to vrf controlMove the code that generates the 'show run' output for 'ip route' to be controlled by the vrf config generation code. Since it really belongs there. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 3772804 - Browse repository at this point
Copy the full SHA 3772804View commit details -
zebra: Encode the ifindex over netlink
In order for routes to be leaked the ifindex must be sent down into the kernel over the netlink protocol. So send it( we always figure it out ) when we add the route. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 5e21052 - Browse repository at this point
Copy the full SHA 5e21052View commit details -
zebra: Allow static non interface based routes to leak
Allow this to work: vrf DONNA ip route 4.3.2.1/32 192.168.1.5 nexthop-vrf EVA The static route code was not properly telling the nexthop resolution code what vrf to use. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 5bdd34d - Browse repository at this point
Copy the full SHA 5bdd34dView commit details -
zebra: Add ability for default vrf to route-leak
Allow the end user to specify static routes that leak across vrf's in the default vrf. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 6140853 - Browse repository at this point
Copy the full SHA 6140853View commit details -
BGP "allowas-in" should accept AS paths with "local-as"
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com> For issue FRRouting#1548
Daniel Walton committedJan 12, 2018 Configuration menu - View commit details
-
Copy full SHA for c436891 - Browse repository at this point
Copy the full SHA c436891View commit details -
vtysh: add ability to output to file
Add ability to set file destination for all vtysh output, with the exception of tab-complete and similar meta output. This is useful for inline recording of some information without exiting the shell. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 193a5a9 - Browse repository at this point
Copy the full SHA 193a5a9View commit details -
bgpd: disallow invalid config at cli layer
Remove the ability to attempt to configure a couple of options on directly connected neighbors that don't make sense for them, as well as the soft error handling code. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for a174be6 - Browse repository at this point
Copy the full SHA a174be6View commit details -
bgpd: add neighbor autoshutdown
Adds ability to specify that peers should be administratively shutdown when first configured. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for f26845f - Browse repository at this point
Copy the full SHA f26845fView commit details
Commits on Jan 14, 2018
-
bgpd: fix handling of nhp_ary when exporting vrf routes to zebra
Signed-off-by: Lou Berger <lberger@labn.net>
Configuration menu - View commit details
-
Copy full SHA for b40c506 - Browse repository at this point
Copy the full SHA b40c506View commit details
Commits on Jan 15, 2018
-
Merge pull request FRRouting#1623 from donaldsharp/zebra_interface_on…
…e_shot zebra: Add one-shot thread to recheck speed
Configuration menu - View commit details
-
Copy full SHA for 3cd878d - Browse repository at this point
Copy the full SHA 3cd878dView commit details
Commits on Jan 16, 2018
-
ospf6d: Add protocol stats and show command
Add OSPFv3 Protocol incoming/outgoing packets stats. r3# show ipv6 ospf6 interface traffic Interface HELLO DB-Desc LS-Req LS-Update LS-Ack Rx/Tx Rx/Tx Rx/Tx Rx/Tx Rx/Tx -------------------------------------------------------------------------------------------- swp1 3/4 2/2 0/2 8/6 3/2 swp2 3/4 2/2 0/1 7/3 2/0 swp3 0/4 0/0 0/0 0/0 0/0 Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 43855e3 - Browse repository at this point
Copy the full SHA 43855e3View commit details -
ospfd: Speed up show ip ospf [vrf all] route json
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 1406159 - Browse repository at this point
Copy the full SHA 1406159View commit details -
Merge pull request FRRouting#1612 from chiragshah6/mdev
ospf6d: Add protocol stats and show command
Configuration menu - View commit details
-
Copy full SHA for dab1b55 - Browse repository at this point
Copy the full SHA dab1b55View commit details -
Merge pull request FRRouting#1635 from qlyoung/bgpd-remove-options-di…
…rectly-connected bgpd: disallow invalid config at cli layer
Configuration menu - View commit details
-
Copy full SHA for 9d57c91 - Browse repository at this point
Copy the full SHA 9d57c91View commit details -
Merge pull request FRRouting#1638 from LabNConsulting/working/master/…
…vnc2zebra bgpd: fix handling of nhp_ary when exporting vrf routes to zebra
Configuration menu - View commit details
-
Copy full SHA for 21f8f34 - Browse repository at this point
Copy the full SHA 21f8f34View commit details -
Merge pull request FRRouting#1642 from chiragshah6/mdev1
ospfd: Speed up show ip ospf [vrf all] route json
Configuration menu - View commit details
-
Copy full SHA for 23b6084 - Browse repository at this point
Copy the full SHA 23b6084View commit details -
Merge pull request FRRouting#1614 from qlyoung/imp-bgpd-pthread-start…
…up-sync improve bgpd thread startup characteristics
Configuration menu - View commit details
-
Copy full SHA for 49323fd - Browse repository at this point
Copy the full SHA 49323fdView commit details -
Merge pull request FRRouting#1632 from dwalton76/bgpd-localas-allowasin
BGP "allowas-in" should accept AS paths with "local-as"
Configuration menu - View commit details
-
Copy full SHA for df294c8 - Browse repository at this point
Copy the full SHA df294c8View commit details -
Merge pull request FRRouting#1611 from qlyoung/fix-vtysh-perf
vtysh: optimize printout routine
Configuration menu - View commit details
-
Copy full SHA for 04057a9 - Browse repository at this point
Copy the full SHA 04057a9View commit details -
Merge pull request FRRouting#1625 from qlyoung/fix-peer-group-admin-s…
…hutdown-override bgpd: preserve admin shutdown on peer-group add
Configuration menu - View commit details
-
Copy full SHA for 4e7b328 - Browse repository at this point
Copy the full SHA 4e7b328View commit details -
lib: avoid crash when cancelling invalid rw job
There are some observed instances where we end up trying to cancel a rw job based on a file descriptor that we don't have a reference on. The specific cancel function for rw jobs assumes it's called with a file descriptor that is valid within pollfds and will cause a segmentation fault by buffer overrun if this is not the case. Instead log it and move on. Since the fd does not exist this should patch over the buggy behavior and provide additional information to help in finding the root cause. Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com> Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 42d7453 - Browse repository at this point
Copy the full SHA 42d7453View commit details -
Merge pull request FRRouting#1627 from qlyoung/bgp-autoshutdown
BGP auto-shutdown
Configuration menu - View commit details
-
Copy full SHA for 7256280 - Browse repository at this point
Copy the full SHA 7256280View commit details -
Merge pull request FRRouting#1634 from qlyoung/vtysh-output-file
vtysh: add ability to output to file
Configuration menu - View commit details
-
Copy full SHA for 7c0c85a - Browse repository at this point
Copy the full SHA 7c0c85aView commit details -
ospfd: show ip ospf interface json output format
Current json output does not differentiate start of interface objects. Adding "interfaces" keyword at the beginning of the interface list. This is useful when displaying vrf level output along with interface list. Ticket:CM-19115 Testing Done: show ip ospf vrf all interface json show ip ospf vrf all interface <specific intf> json show ip ospf interface json show ip ospf interface <specific intf> json Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 7dab10c - Browse repository at this point
Copy the full SHA 7dab10cView commit details -
* Clarify that FRR implements as well as manages protocols * Move IS-IS out of "early support" * Add Babel - friends don't leave friends out of READMEs! * Add mention of further information Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 91437c6 - Browse repository at this point
Copy the full SHA 91437c6View commit details
Commits on Jan 17, 2018
-
tools: frr-reload 'vni' keyword does not always create a sub-context
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Daniel Walton committedJan 17, 2018 Configuration menu - View commit details
-
Copy full SHA for 9d877af - Browse repository at this point
Copy the full SHA 9d877afView commit details -
ospfd: LSDB_LOOP treat it as a loop.
Inform the .clang-format file about LSDB_LOOP and put the proper indentation for this loop into the code. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 044506e - Browse repository at this point
Copy the full SHA 044506eView commit details -
bgpd: Remove peer->hash as that it is unused
The peer->hash pointer is allocating a bunch of memory but is never used. Remove. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 48a67e2 - Browse repository at this point
Copy the full SHA 48a67e2View commit details -
Merge pull request FRRouting#1649 from donaldsharp/ospfd_lsdb_loop
ospfd: LSDB_LOOP treat it as a loop.
Configuration menu - View commit details
-
Copy full SHA for a23df59 - Browse repository at this point
Copy the full SHA a23df59View commit details -
Merge pull request FRRouting#1650 from donaldsharp/hash_it_fucker
bgpd: Remove peer->hash as that it is unused
Configuration menu - View commit details
-
Copy full SHA for a80281d - Browse repository at this point
Copy the full SHA a80281dView commit details
Commits on Jan 18, 2018
-
Build redhat rpm's with FPM. It's a module so not a bad idea. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 84b05ca - Browse repository at this point
Copy the full SHA 84b05caView commit details -
zebra: Add some more debug information on read issues in FPM
When we receive a read failure in handling a FPM read let's add a bit more information to what we think has gone wrong, in a hope that debugging will be a bit easier. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 677f704 - Browse repository at this point
Copy the full SHA 677f704View commit details -
Merge pull request FRRouting#1646 from qlyoung/update-readme
frr: update README
Configuration menu - View commit details
-
Copy full SHA for f5b366f - Browse repository at this point
Copy the full SHA f5b366fView commit details -
Merge pull request FRRouting#1648 from dwalton76/frr-reload
tools: frr-reload 'vni' keyword does not always create a sub-context
Configuration menu - View commit details
-
Copy full SHA for 81dadac - Browse repository at this point
Copy the full SHA 81dadacView commit details -
Merge pull request FRRouting#1645 from qlyoung/fix-cancel-invalid-rw
lib: avoid crash when cancelling invalid rw job
Configuration menu - View commit details
-
Copy full SHA for 9ee9eb8 - Browse repository at this point
Copy the full SHA 9ee9eb8View commit details -
Merge pull request FRRouting#1566 from chiragshah6/ospfv3_dev
ospf6d: Fix External routes ECMP
Configuration menu - View commit details
-
Copy full SHA for 0c6a8fb - Browse repository at this point
Copy the full SHA 0c6a8fbView commit details
Commits on Jan 19, 2018
-
bgp: small fix for write to 'address-family l2vpn evpn' configuration
dturlupov committedJan 19, 2018 Configuration menu - View commit details
-
Copy full SHA for 7bcc8da - Browse repository at this point
Copy the full SHA 7bcc8daView commit details -
Merge pull request FRRouting#1630 from LabNConsulting/working/master/…
…pr1629-no-json bgpd: fix reporting of no vpn routes (no json)
Configuration menu - View commit details
-
Copy full SHA for 0071178 - Browse repository at this point
Copy the full SHA 0071178View commit details -
Doc: Update OSPF-TE and ISIS-TE example
- In ospfd and isisd documentation, Traffic Engineering examples are referring to old interface syntax. Update both examples to 'link-param' syntax. Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
Configuration menu - View commit details
-
Copy full SHA for ee65c55 - Browse repository at this point
Copy the full SHA ee65c55View commit details -
Merge pull request FRRouting#1647 from chiragshah6/ospf_vrf_dev
ospfd: show ip ospf interface json output format
Configuration menu - View commit details
-
Copy full SHA for 4ff9eb7 - Browse repository at this point
Copy the full SHA 4ff9eb7View commit details
Commits on Jan 21, 2018
-
zebra: Install connected routes during VRF change only if interface i…
…s up During VRF change handling, the connected route for the interface should be installed only if the interface is up. Otherwise, we end up with duplicate connected routes which can lead to other problems. Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com> Reviewed-by: Don Slice <dslice@cumulusnetworks.com> Ticket: CM-19364 Reviewed By: CCR-7099 Testing Done: Manual verification
Configuration menu - View commit details
-
Copy full SHA for 4030583 - Browse repository at this point
Copy the full SHA 4030583View commit details
Commits on Jan 22, 2018
-
Merge pull request FRRouting#1661 from donaldsharp/connected
zebra: Install connected routes during VRF change only if interface i…
Configuration menu - View commit details
-
Copy full SHA for c228c75 - Browse repository at this point
Copy the full SHA c228c75View commit details -
lib: increase vrf_id from 16 bit to 32 bit identifier
This is a preparatory work for configuring vrf/frr over netns vrf structure is being changed to 32 bit, and the VRF will have the possibility to have a backend made up of NETNS. Let's put some history. Initially the 32 bit was because one wanted to map on vrf_id both the VRFLITE and the NSID. Initially, one would have liked to make zebra configure at the same time both vrf lite and vrf from netns in a flat way. From the show running perspective, one would have had both kind of vrfs, thatone would configure on the same way. however, it leads to inconsistencies in concepts, because it mixes vrf vrf with vrf, and vrf is not always mapped with netns. For instance, logical-router could also be used with netns. In that case, it would not be possible to map vrf with netns. There was an other reason why 32 bit is proposed. this is because some systems handle NSID to 32 bits. As vrf lite exists only on Linux, there are other systems that would like to use an other vrf backend than vrf lite. The netns backend for vrf will be used for that too. for instance, for windows or freebsd, some similar netns concept exists; so it will be easier to reuse netns backend for vrf, than reusing vrflite backend for vrf. This commit is here to extend vrf_id to 32 bits. Following commits in a second step will help in enable a VRF backend. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Configuration menu - View commit details
-
Copy full SHA for a9ff90c - Browse repository at this point
Copy the full SHA a9ff90cView commit details -
lib: vrf_bitmap_groups increased from 8 to 1024
The number of vrf bitmap groups is increased so as to avoid consuming too much memory. This fix is related to a fork memory that occured when running pimd as daemon. A check on memory consumed shows that the memory consumed goes from 33480ko to 46888ko with that change. This is less compared to if the value of the bitmap groups is increased to 16 ( 852776ko). Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Configuration menu - View commit details
-
Copy full SHA for 3bd7475 - Browse repository at this point
Copy the full SHA 3bd7475View commit details -
lib: ns_id_t changed to 32 bit
Because the VRF_ID is mapped into 32 bit, and because when NETNS will be the backend of VRF, then the NS identifier must also be encoded as 32 bit. Also, the NS_UNKNOWN value is changed accordingly to UINT32_MAX. Also, the NS_UNKNOWN and NS_DEFAULT values are removed from zebra_ns.h and kept on ns.h header file. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Configuration menu - View commit details
-
Copy full SHA for 3eca551 - Browse repository at this point
Copy the full SHA 3eca551View commit details -
ospfd: fix compilation issue with ospfd
the change of vrf_id field from 16 bit to 32 bit leads to some changes in other daemon. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Configuration menu - View commit details
-
Copy full SHA for fe3da9e - Browse repository at this point
Copy the full SHA fe3da9eView commit details -
bgpd: fix compilation issue with bgpd
Changes due to the change of vrf_id_t moved from 16 bits to 32 bits. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Configuration menu - View commit details
-
Copy full SHA for a8bf7d9 - Browse repository at this point
Copy the full SHA a8bf7d9View commit details -
pim: fix compilation issue with pim
The change of vrf_id_t from 16 bit to 32 bit needs some changes in pim daemon. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Configuration menu - View commit details
-
Copy full SHA for 87ad28f - Browse repository at this point
Copy the full SHA 87ad28fView commit details -
bgpd: bgp_redist_lookup param handles instances, not vrfs
The VRF_DEFAULT parameter is incorrectly used. The 0 value for the bgp instance is passed instead. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com> fixup bgpd: fix compilation issue with bgpd
Configuration menu - View commit details
-
Copy full SHA for 2fcdb1b - Browse repository at this point
Copy the full SHA 2fcdb1bView commit details -
zebra: replace 0 value on zebra with VRF_DEFAULT
On some places of code, the VRF_DEFAULT define was not used. This commit is ensuring that the macros is well used. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Configuration menu - View commit details
-
Copy full SHA for 90ac32c - Browse repository at this point
Copy the full SHA 90ac32cView commit details -
zebra: replace 0 value on zebra with NS_DEFAULT
On some places, macro NS_DEFAULT was not used. This commit is replacind on some identified places where 0 can be replaced with NS_DEFAULT macro. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Configuration menu - View commit details
-
Copy full SHA for f1abb72 - Browse repository at this point
Copy the full SHA f1abb72View commit details -
Merge pull request FRRouting#1587 from pguibert6WIND/issue_385_step23
Netns Support / passing vrf_id_t to 32 bit work
Configuration menu - View commit details
-
Copy full SHA for 4b1e01b - Browse repository at this point
Copy the full SHA 4b1e01bView commit details -
Merge pull request FRRouting#1658 from Orange-OpenSource/TE
Doc: Update OSPF-TE and ISIS-TE example
Configuration menu - View commit details
-
Copy full SHA for f8f7e9c - Browse repository at this point
Copy the full SHA f8f7e9cView commit details -
Merge pull request FRRouting#1651 from donaldsharp/redhat_build_fpm
redhat: Build with FPM
Configuration menu - View commit details
-
Copy full SHA for 8602ad3 - Browse repository at this point
Copy the full SHA 8602ad3View commit details -
lib, zebra: Rename and place appropriately the label stack
Fix and rename the label stack to be better named. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 8ecdb26 - Browse repository at this point
Copy the full SHA 8ecdb26View commit details -
zebra: use zclient_create_header
The function zserv_create_header was exactly the same as zclient_create_header. Let's just have one in the system. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 7cf15b2 - Browse repository at this point
Copy the full SHA 7cf15b2View commit details -
zebra: implement recursive MPLS labels
When a nexthop is resolved via a label based nexthop, copy the labels into the newly created recursive nexthop. Please note that this does not fix the case where we have a label based nexthop that is recursively resolved through *another* nexthop that is also label based. In this case we need to create a new label stack for those routes. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Configuration menu - View commit details
-
Copy full SHA for f674dfe - Browse repository at this point
Copy the full SHA f674dfeView commit details -
Merge pull request FRRouting#1656 from ak503/bgp
bgp: small fix for write to 'address-family l2vpn evpn' configuration
Configuration menu - View commit details
-
Copy full SHA for 75869e4 - Browse repository at this point
Copy the full SHA 75869e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for c192736 - Browse repository at this point
Copy the full SHA c192736View commit details -
bgpd: update last_update whenever obuf sent
(to be consistent with last_write updates) Signed-off-by: Lou Berger <lberger@labn.net>
Configuration menu - View commit details
-
Copy full SHA for eb2277c - Browse repository at this point
Copy the full SHA eb2277cView commit details -
Merge pull request FRRouting#1655 from LabNConsulting/working/master/…
…consistent_count bgpd: update last_update whenever obuf sent
Configuration menu - View commit details
-
Copy full SHA for 5c65809 - Browse repository at this point
Copy the full SHA 5c65809View commit details
Commits on Jan 23, 2018
-
Merge pull request FRRouting#1618 from donaldsharp/zebra_startup_orde…
…ring zebra route-leaking for static routes
Configuration menu - View commit details
-
Copy full SHA for d6fed38 - Browse repository at this point
Copy the full SHA d6fed38View commit details -
pbrd: Add PBR shell to compile and startup daemon
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for b922918 - Browse repository at this point
Copy the full SHA b922918View commit details
Commits on Jan 24, 2018
-
vtysh: Add PBR as a viable option
Add the PBRD as a command that vtysh can interact with. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 75ed06d - Browse repository at this point
Copy the full SHA 75ed06dView commit details -
pbrd: Add infrastructure for pbr_vty
Add the infrastructure for the pbr_vty.[ch] code Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 9318d95 - Browse repository at this point
Copy the full SHA 9318d95View commit details -
lib, zebra: Move nh_resolve_via_default to appropriate header
The nh_resolve_via_default function is an accessor function for NHT in zebra. Let's move this function to it's proper place. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for fa82188 - Browse repository at this point
Copy the full SHA fa82188View commit details
Commits on Jan 26, 2018
-
pbrd, vtysh: Add initial cli to allow some thought about the issue
Add an initial cli to allow people to mock this up some. "pbr-policy (1-100000) {src <A.B.C.D/M|X:X::X:X/M>|dest <A.B.C.D/M|X:X::X:X/M>} nexthop-group NAME" Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 2bedd4e - Browse repository at this point
Copy the full SHA 2bedd4eView commit details -
pbrd: Add pbr_map.[ch] code to compilation
pbr_map.[ch] will contain the code that handles the policy-mapping. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 59b0897 - Browse repository at this point
Copy the full SHA 59b0897View commit details -
Add some code to tell git what to ignore. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for cb0b378 - Browse repository at this point
Copy the full SHA cb0b378View commit details -
pbrd: Add a RB Tree infrastructure to hold the pbr_maps
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for c2ab99c - Browse repository at this point
Copy the full SHA c2ab99cView commit details -
pbrd: Add ability to build from inside pbrd directory
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 68b282c - Browse repository at this point
Copy the full SHA 68b282cView commit details -
zebra: Modify
struct route_entry
to use nexthop_groupsSigned-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 9cb844a - Browse repository at this point
Copy the full SHA 9cb844aView commit details -
lib, zebra: Move ALL_NEXTHOPS loop to nexthop_group.h
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for e33dc68 - Browse repository at this point
Copy the full SHA e33dc68View commit details -
lib: Isolate nexthop_group functions to nexthop_group.c
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 6306963 - Browse repository at this point
Copy the full SHA 6306963View commit details -
lib, pbrd, vtysh: Start cli for nexthop-group
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 5741b99 - Browse repository at this point
Copy the full SHA 5741b99View commit details
Commits on Jan 31, 2018
-
zebra: Fix broken compile for some configure options.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 34f29a9 - Browse repository at this point
Copy the full SHA 34f29a9View commit details -
lib: Add missing NH_GROUP_NODE to a switch statement
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 65862e5 - Browse repository at this point
Copy the full SHA 65862e5View commit details -
lib, vtysh: Add nexthop-group NODE to config
Add code that tracks creation and deletion of the nexthop-group. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 3ba52be - Browse repository at this point
Copy the full SHA 3ba52beView commit details
Commits on Feb 4, 2018
-
*: PBR - netlink interaction and basic definitions
Implement netlink interactions for Policy Based Routing. This includes APIs to install and uninstall rules and handle notifications from the kernel related to rule addition or deletion. Various definitions are added to facilitate this. Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
Configuration menu - View commit details
-
Copy full SHA for 7a15f54 - Browse repository at this point
Copy the full SHA 7a15f54View commit details