FRR Mirror
  1. FRR Mirror

FRR

Public
AuthorCommitMessageCommit dateIssues
Chirag ShahChirag Shah
4b63e358bc2bgpd: no router bgp check candidate configFor `no router bgp` without ASN check candidate config for default bgp instance presence to avoid failure from checking backend db where bgp instance may not be created. This situation can be seen in transactional cli mode with following config. bharat(config)# router bgp 101 bharat(config-router)# exit bharat(config)# no router bgp % No BGP process is configured bharat(config)# no router bgp ...
Chirag ShahChirag Shah
5e42cb2fb08bgpd: move router bgp nb callbackmove `router bgp` nb callback at `bgp` node level to have access to bgp context at neighbor and peer-group level and align create/destroy callbacks call during no router bgp. Earlier `no router bgp` is performed first global destroy callback is called which essentially removes `bgp context` then it calls to remove (parallel nodes) neighbor and peer-group which does not have access to bgp conte...
Chirag ShahChirag Shah
87ce25646bebgpd: correct bgp global contextMove bgp (router bgp) context at "bgp" node level from (instead of) "global" level. This change allows access of bgp context at neighbor and peer-group node levels. +--rw bgp <--- (store `struct bgp` at bgp node xpath) +--rw global! | ... | +--rw afi-safis | ... +--rw neighbors | +--rw neighbor* [remote-address] | ... | ...
Chirag ShahChirag Shah
906ebeec980bgpd: shorten northbound callback namesOmit routing protocol augment name from callbacks name. (Omitted: routing_control_plane_protocols_control_plane_protocol_) Signed-off-by: Chirag Shah <chirag@nvidia.com>
Chirag ShahChirag Shah
15cbc382061tests: add bgp yang module registery to attr testSigned-off-by: Chirag Shah <chirag@nvidia.com>
Chirag ShahChirag Shah
64fb3f86661tests/bgpd: initialized candidate_config to vtyshIn test_peer_attr.c test is initializd with vty handler but candiate_config is not set. northbound converted bgp cli expects to derefence the candidate_config field which leads to crash. (gdb) p *test->vty->candidate_config $9 = {dnode = 0x0, version = 0} Signed-off-by: Chirag Shah <chirag@nvidia.com>
Chirag ShahChirag Shah
374069da83fbgpd: register nb routing hookOn bgpd bootstrap register routing hook which ensures only single bgp named instance created per vrf routing hierarchy. Signed-off-by: Chirag Shah <chirag@nvidia.com>
Chirag ShahChirag Shah
ff8a8a7ac10bgpd: convert global config to transactional cliConvert global congigurations clis to transactional clis using northbound plugin callbacks. Signed-off-by: Chirag Shah <chirag@nvidia.com>
Chirag ShahChirag Shah
e4a464160debgpd: register northbound callbacks to bootstrapRegister bgpd northbound callbacks to bgp daemon bootstrap. Signed-off-by: Chirag Shah <chirag@nvidia.com>
Chirag ShahChirag Shah
a363b4b49b2lib: increase the size of northbound max moduleIncrease the size of frr_yang_module_info macro to accomodate bgp module list. root@bharat:~/stash/frr# egrep "xpath" bgpd/bgp_nb.c | wc -l 1150 Signed-off-by: Chirag Shah <chirag@nvidia.com>
Chirag ShahChirag Shah
a1950c80a57bgpd: bgp northbound callbacks prototypesThis commit contains splitting of auto-generated bgp northbound callbacks into separate files. Include the files into bgp makefile. Signed-off-by: Chirag Shah <chirag@nvidia.com>
Chirag ShahChirag Shah
bc8c00cca11*: add bgp yang files into makefilesSigned-off-by: Chirag Shah <chirag@nvidia.com>
Donald SharpGitHubDonald Sharp
4b40d5ffb0cMMerge pull request #6882 from vishaldhingra/staticstaticd : Added the warning log for route when VRF is not ready.
Donald SharpGitHubDonald Sharp
25a7a8e5e5cMMerge pull request #7225 from idryzhov/vtysh-fix-domainnamevtysh: fix multiple "domainname" commands in running config
Donald SharpGitHubDonald Sharp
7302f333e53MMerge pull request #7228 from idryzhov/vtysh-dynamic-daemonsvtysh: dynamically generate the list of daemons for commands
Donald SharpGitHubDonald Sharp
c0c1606d779MMerge pull request #7236 from idryzhov/fix-docstringsisisd, ospfd: fix missing/excessive docstrings
Igor RyzhovIgor Ryzhov
31011d9cbe2isisd, ospfd: fix missing/excessive docstringsSigned-off-by: Igor Ryzhov <iryzhov@nfware.com>
Igor RyzhovIgor Ryzhov
d7b86ae4fefvtysh: dynamically generate the list of daemons for commandsSome daemons were actually missing from the static definitions: nhrpd, babeld, eigrpd and bfdd. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Martin WinterGitHubMartin Winter
3a1d1d60768MMerge pull request #7232 from idryzhov/more-topotests-vrf-idtests: don't compare internal vrfId in topotests
Igor RyzhovIgor Ryzhov
a09775ec9b5tests: don't compare internal vrfId in topotestsSigned-off-by: Igor Ryzhov <iryzhov@nfware.com>
Igor RyzhovIgor Ryzhov
cf8c39655a4vtysh: fix multiple "domainname" commands in running configSigned-off-by: Igor Ryzhov <iryzhov@nfware.com>
Donald SharpGitHubDonald Sharp
38b7c566eb8MMerge pull request #7229 from idryzhov/topotests-vrf-idtests: don't compare internal vrfId in topotests
Igor RyzhovIgor Ryzhov
0224261ee49tests: don't compare internal vrfId in topotestsSigned-off-by: Igor Ryzhov <iryzhov@nfware.com>
Quentin YoungGitHubQuentin Young
46d80d4532dMMerge pull request #7226 from opensourcerouting/topotestfixestests: Topotest fixes to skip comparing InterfaceIndex and Internal status
Martin WinterGitHubMartin Winter
71edf4dd177MMerge pull request #7224 from mjstapp/fix_topo_ptyesttests: fix typos in zebra_rib and _netlink
Donald SharpGitHubDonald Sharp
38e2ec77cd2MMerge pull request #7220 from idryzhov/fix-clear-isisisisd: fix node for clear commands
Martin WinterGitHubMartin Winter
f34653de8abMMerge pull request #7221 from mjstapp/fix_topo_all_circuittests: fix regex in all_proto test
Martin WinterMartin Winter
737a7c578f1tests: Topotest fixes to skip comparing InterfaceIndex and Internal status in json_cmpSigned-off-by: Martin Winter <mwinter@opensourcerouting.org>
Mark StappMark Stapp
5094b56dc5dtests: fix typos in zebra_rib and _netlinkFix a couple of typos in the zebra_rib and _netlink topotest suites. Signed-off-by: Mark Stapp <mjs@voltanet.io>
Mark StappMark Stapp
207c9fb4a1ftests: fix regex in all_proto testMake sure the all-protocols test_isis_interfaces testcase uses a regex substitution that includes all the hex characters. Signed-off-by: Mark Stapp <mjs@voltanet.io>
Igor RyzhovIgor Ryzhov
2b55d9532b0isisd: fix node for clear commandsThese are only clear commands in FRR available from view node. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Mark StappGitHubMark Stapp
0b1dc328a91MMerge pull request #7216 from qlyoung/fix-nht-update-decode-wrong-return-codeFix nht update decode wrong return code
Quentin YoungQuentin Young
6c83ddedcf1*: make failure to decode nht update an errorThis should never happen; no need to debug guard it and it's not a warning, if this isn't working then NHT is not working at all. Signed-off-by: Quentin Young <qlyoung@nvidia.com>
Quentin YoungQuentin Young
2fec17cd047lib: fix zapi_nexthop_update_decode error rcThis function returns true on success and false otherwise. Returning -1 on error is equivalent to returning true. Signed-off-by: Quentin Young <qlyoung@nvidia.com>
Quentin YoungGitHubQuentin Young
fb3bc7a74baMMerge pull request #7215 from mjstapp/fix_z_mlag_readzebra: don't touch mlag read event pointer
Mark StappMark Stapp
f5d8487244dzebra: don't touch mlag read event pointerDon't touch the mlag read event pointer, it's not safe. Signed-off-by: Mark Stapp <mjs@voltanet.io>
Mark StappGitHubMark Stapp
4fdfda2e34bMMerge pull request #7167 from donaldsharp/mlag_rd_killerzebra: the mlag_rd_buf_offset variable was write only
Rafael ZalamenaGitHubRafael Zalamena
9805b533eb4MMerge pull request #7195 from tashanamatl/lookup_fixbfdd: Make new multihop peer if local-address is unique
Donald SharpGitHubDonald Sharp
6535b1d8059MMerge pull request #7203 from idryzhov/fix-vtysh-isisd-fabricdvtysh: fix commands when building only isisd or fabricd
Donald SharpGitHubDonald Sharp
b0b19fd0ec4MMerge pull request #7201 from mjstapp/fix_topo_ubu20tests: pim-basic mcast scripts fixes for python3
Igor RyzhovIgor Ryzhov
97fc5adacb4vtysh: fix commands when building only isisd or fabricd * add files to vtysh_scan when building only fabricd * don't add isisd/fabricd commands when daemon build is disabled Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Mark StappMark Stapp
f635350e8eatests: pim-basic mcast scripts fixes for python3The pim-basic suite uses some private python scripts to send and receive mcast traffic: revise them to support both py2 and py3. Signed-off-by: Mark Stapp <mjs@voltanet.io>
Donald SharpGitHubDonald Sharp
dbbae374d49MMerge pull request #7192 from deastoe/zebra-fpm-blackhole-abortzebra: fix FPM abort for unreach/prohibit routes
Donald SharpGitHubDonald Sharp
e587774b74dMMerge pull request #7039 from opensourcerouting/bgp-norib-runtimebgpd: set/unset no-rib option at runtime
Mark StappGitHubMark Stapp
8619aadd40dMMerge pull request #7156 from sworleys/PBR-Cleanup-IFp-No-Sendpbrd: cleanup pbr ifp info if not sent to zebra
Donald SharpGitHubDonald Sharp
e84c83139cfMMerge pull request #7198 from idryzhov/vtysh-disable-daemonvtysh: respect --disable-daemon configure flags
Patrick RuddyGitHubPatrick Ruddy
aa1f6a87953MMerge pull request #7188 from chiragshah6/evpn_devzebra: EVPN avoid duplicate list-node in l3vni's l2vni-list
Mark StappGitHubMark Stapp
aac200f6cbeMMerge pull request #7199 from donaldsharp/nhg_reasonsNhg reasons
Donald SharpGitHubDonald Sharp
97e551e3000MMerge pull request #7177 from mjstapp/fix_topo_tab_opentests: python3 compat fixes for topotests: tabs and misc api
Donald SharpGitHubDonald Sharp
f4efc793b56MMerge pull request #7197 from idryzhov/fix-teststests: skip tests when building without daemon