Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

frr-reload: fix single-line context command processing #12542

Closed
wants to merge 3,933 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3933 commits
Select commit Hold shift + click to select a range
06582ad
bgpd: Print out useful information about peer
donaldsharp Dec 16, 2022
4385ef2
zebra: Notice Optional Router Advertisement types that are not handled
donaldsharp Oct 12, 2022
7b230ee
zebra: Ensure memory is not freed that dplane depends on in shutdown
donaldsharp Dec 17, 2022
0ea946f
zebra: fix wrong gateway for fpm debug
anlancs Dec 17, 2022
060a37b
bgpd: Convert bgp_packet_mpattr_prefix_size to use an enum
donaldsharp Dec 16, 2022
e43101f
bgpd: make bgp_packet_mpattr_start more prescriptive when using enum's
donaldsharp Dec 16, 2022
a275764
bgpd: Convert bgp_packet_mpattr_prefix to use an enum for safi's
donaldsharp Dec 16, 2022
7489fcd
pathd: fix SA warning in path_pcep_config
Dec 19, 2022
8e76265
zebra: json support for show ip nht route-map
Nov 8, 2022
d079b2b
doc: add documentation for show ip nht route-map
chiragshah6 Dec 16, 2022
16b755f
ospfd: json support for show ip ospf border-routers
Nov 10, 2022
277b86c
doc: add documentation for show ospf border-routers
chiragshah6 Dec 16, 2022
ddc08b7
ospf6d: Fixing memory leak in ospf6_lsa_create_headeronly for both ma…
manojvn Dec 19, 2022
ed42691
bgpd: Check if bgp_path_info is not NULL when setting AIGP metric TLV
ton31337 Dec 20, 2022
26cbcc1
ospfd: fix SPF table memory leak
rzalamena Dec 15, 2022
5672944
ospfd: Fix some json mem leaks and some issues
donaldsharp Dec 19, 2022
1f44b29
bgpd: Make sure we have peer->notify.data before returning for SNMP
ton31337 Dec 15, 2022
dbdf8fc
bgpd: Specify prefix address-family before looking into BGP table
ton31337 Dec 15, 2022
e44014f
bgpd: Return MED, not local-preference if MED attribute exists (SNMP)
ton31337 Dec 15, 2022
3aea011
tests: Add basic tests for SNMP BGP4V2-MIB
ton31337 Dec 15, 2022
6938ac4
bgpd: Zero intial OID items in array at the beginning
ton31337 Dec 19, 2022
629cdb7
tests: Add an option for SNMP config to specify a custom options
ton31337 Dec 19, 2022
b6dc24a
bgpd: When allocating prefix, free it when we are already tracking it
donaldsharp Dec 18, 2022
18628ad
pimd: Fix (S,G) debug issue
patrasar Dec 14, 2022
6c83e85
debian, redhat: updating changelog for new release
Jafaral Nov 3, 2022
9b32493
bgpd: fix static analyzer warnings
rzalamena Dec 20, 2022
4b681b5
ospf6d: Fixing memory leak in ospf6_summary_add_aggr_route_and_blackh…
manojvn Dec 19, 2022
adde02b
vtysh: Remove double retrieve of env VTYSH_HISTFILE
donaldsharp Dec 21, 2022
b8c6fd7
bgpd: fix one wrong debug log for evpn
anlancs Dec 18, 2022
be85c19
bgpd: Fix handling of SRv6 local routes
Dec 8, 2022
32c1859
tests: Add topotest bgp_srv6l3vpn_route_leak
Dec 20, 2022
64a30da
doc: Fix EVPN documentation minor error
sysoleg Dec 23, 2022
c668bf3
doc: Add an example of how to query SNMP for BGP
ton31337 Dec 22, 2022
f3aefdf
tools: Ignore agentx command for frr-reload.py
ton31337 Dec 22, 2022
431c93b
bgpd: fix prefix VRF leaking with 'no network import-check'
louis-6wind Apr 28, 2022
cdaec03
bgpd: fix prefix VRF leaking with 'network import-check' (1/5)
louis-6wind Apr 28, 2022
8686e67
bgpd: fix prefix VRF leaking with 'network import-check' (2/5)
louis-6wind Apr 29, 2022
0e06461
bgpd: fix prefix VRF leaking with 'network import-check' (3/5)
louis-6wind Jul 5, 2022
f4f626a
bgpd: fix prefix VRF leaking with 'network import-check' (4/5)
louis-6wind Apr 29, 2022
1177311
bgpd: fix prefix VRF leaking with 'network import-check' (5/5)
louis-6wind May 5, 2022
cbf1cfb
lib: add a function to get the VRF or loopback interface
louis-6wind Apr 22, 2022
165ce86
lib: fix clang warning
louis-6wind Jul 13, 2022
898b98a
bgpd: fix invalid nexthop interface on leaked routes
louis-6wind Apr 25, 2022
b9db9c2
topotests: update ospf_multi_vrf_bgp_route_leak
louis-6wind May 11, 2022
f50aa31
bgpd: update route leaking when a VRF loopback is received
louis-6wind Apr 26, 2022
cce01d8
topotests: update bgp_vrf_route_leak_basic
louis-6wind May 11, 2022
7ce50f1
bgpd: fix route recursion on leaked routes
louis-6wind Apr 26, 2022
2e2b72c
bgpd: move mp_nexthop_prefer_global boolean attribute to nh_flag
louis-6wind Apr 29, 2022
3cddb53
zebra: delete kernel routes using an interface with no more IPv4 address
louis-6wind Jul 6, 2022
d584abd
bgpd: resend routes deleted by kernel after interface addresses deletion
louis-6wind May 6, 2022
1b84bd8
topotests: add ability to check that a prefix is not in BGP RIB
louis-6wind May 12, 2022
117cfde
topotests: add retry in BGP RIB check
louis-6wind May 12, 2022
8f57362
topotests: add VRF leak tests in bgp_l3vpn_to_bgp_vrf
louis-6wind May 12, 2022
a653d3a
topotests: add tests to bgp-vrf-route-leak-basic
louis-6wind May 12, 2022
6245dc5
topotests: raise an error if pinging from vrf is not possible
louis-6wind May 27, 2022
70b9cc2
topotests: fix appropriate number of routes in bgp
pguibert6WIND Sep 8, 2022
6cb4ea6
bgpd: fix attrhash_cmp() clang-format
louis-6wind Dec 16, 2022
10dc27a
bgpd: Show the real prefix for `show bgp detail`
ton31337 Dec 13, 2022
1693f3a
bgpd: Rename BGP_SHOW_OPT_DETAIL to BGP_SHOW_OPT_JSON_DETAIL
ton31337 Dec 20, 2022
a3f58b8
bgpd: Add `show ip bgp <afi> <safi> detail` command version
ton31337 Dec 20, 2022
a940b3e
doc: Add new command `show bgp detail-routes`
ton31337 Dec 20, 2022
78cf10e
bgpd: Set routes detail flag when using flowspec detailed command
ton31337 Dec 20, 2022
59c40a2
bgpd: Adopt `show bgp detail-routes` command for L3VPN outputs as well
ton31337 Dec 20, 2022
09a8b14
bgpd: static routes are leaked on shutdown
donaldsharp Dec 21, 2022
69d2f19
bgpd: rfapi properly free a couple lists
donaldsharp Dec 21, 2022
ff3fed1
bgpd: bgp_connected_add memory was being leaked in some cases
donaldsharp Dec 22, 2022
358e538
bgpd: Add lttng tracepoints for peer_lock/peer_unlock
ton31337 Dec 22, 2022
e309cfe
bgpd: Add lttng tracepoints for bgp_path_info_add/free
ton31337 Dec 22, 2022
d54841f
ospfd: add advertising router IP to Opaque capability mismatch error …
Jafaral Dec 25, 2022
e359a55
tests: adding bgp unique router id automation.
Nov 15, 2022
98ffcc0
tests: Fix wrong interface name in SRv6 topotest
cscarpitta Dec 31, 2022
2de9ace
zebra: fix a couple of typos
Jan 3, 2023
59c5afc
ospfd: show ospf database info using formatted json
Shikugawa Dec 28, 2022
5035052
bgpd: Fix aggregated routes are withdrawn abnormally.
liron-ze Dec 7, 2022
cc46e09
bgpd: Fix the number of arguments for frrtrace()
ton31337 Jan 5, 2023
ae614c2
lib: fix display cputime-warning and walltime-warning
Dec 28, 2022
8ff0147
fpm: Send NH message to FPM even if the local kernel doesn't support it
YutaroHayakawa Dec 25, 2022
3322d24
ospfd: report the router IP with Opaque capability mismatch
Jafaral Jan 6, 2023
c0f76a6
doc: add guidance for CLI cmds that output JSON
choppsv1 Jan 3, 2023
5c5f0c5
bgpd: add json option to show commands in bgp_nexthop
Pdoijode Dec 27, 2022
fab331c
bgpd: Detail option for nexthop and import-check to display paths
Pdoijode Dec 28, 2022
b41b95c
bgpd: AFI option to query nexthops based on AFI
Pdoijode Jan 5, 2023
d2b7070
zebra: do not load/store wider-than-ptr atomics
eqvinox Jan 6, 2023
68104a4
lib: disable xref ELF note on mips64el
eqvinox Jan 6, 2023
c023d2c
lib/clippy: fix symbol validity check
eqvinox Jan 6, 2023
f509b9c
build: add doc files missing from dist tarball
eqvinox Jan 6, 2023
5b11bde
zebra: Add missing json attributes for show evpn
Jan 7, 2023
b97d4aa
docker,alpine: Remove isl from dependencies
YutaroHayakawa Jan 6, 2023
ac90775
github: Use quay.io as docker registry for github action generated im…
ton31337 Jan 9, 2023
a3f299d
zebra: Continue fpm_read when we decide a netlink message is not needed
donaldsharp Jan 10, 2023
5964c7c
bgpd: Drop deprecated BGP_ATTR_AS_PATHLIMIT path attribute
ton31337 Jan 6, 2023
ed03c26
bgpd: remove one EC log
anlancs Nov 13, 2022
bcaade6
pimd: Handling SGRPT prune received
patrasar Dec 14, 2022
538fb32
zebra: Evpn mac vni detail show command
Pdoijode Jan 3, 2023
cc86ad1
bgpd: fix show bgp all with evpn
louis-6wind Dec 29, 2022
3ad2b7a
bgpd: add "detail" for advertised/received-routes
Jan 10, 2023
1049118
doc: add "detail" advertised/received routes
Jan 10, 2023
9ff4757
doc: Ensure that the underline length is correct
donaldsharp Jan 11, 2023
45616e2
zebra: cosmetic changes for debug
anlancs Jan 9, 2023
03841ab
bfdd: validate incoming control message length
Jan 9, 2023
2d8331a
bgpd: show bgp vrfs per vrf level json support
Jan 3, 2023
d424635
doc: add documentation for show bgp vrfs
chiragshah6 Jan 6, 2023
5802baf
tests: Pim vrf's need 4.19 or better to run properly not 4.15
donaldsharp Jan 11, 2023
10ba981
github: Use static quay.io repository for docker images
ton31337 Jan 11, 2023
90a4290
github: Drop temporary docker-stable github action
ton31337 Jan 11, 2023
5a75d6c
bgpd: Warn an operator, that the peer MUST be created before configur…
ton31337 Jan 11, 2023
3f94357
bgpd: Don't warning twice for neighbor_bfd_check_controlplane_failure
ton31337 Jan 11, 2023
a335e25
Revert "Merge pull request #11127 from louis-6wind/bgp-leak"
donaldsharp Jan 11, 2023
e6992dd
Revert "tests: Fix wrong interface name in SRv6 topotest"
donaldsharp Jan 13, 2023
709f84c
topotests/lib/lutil.py: luSetWaitType("strict"|"nostrict")
paulzlabn Jan 13, 2023
63af327
tests: Breakup bgp_vrf_dynamic_route_leak_topo4
donaldsharp Jan 13, 2023
ff41b98
tools: Add missing daemons
vfreex Jan 9, 2023
3ae59e6
bgpd: fix wrong vrf name for debug
anlancs Jan 15, 2023
df67404
tests: route_scale tests are failing on micronet
donaldsharp Jan 10, 2023
b900b60
lib: BFD automatic source selection
rzalamena Nov 15, 2022
4a0c945
lib: BFD integration clean up function
rzalamena Dec 2, 2022
4f9c094
yang: static route BFD monitoring
rzalamena Mar 24, 2021
27f3aab
staticd: BFD integration northbound support
rzalamena Mar 24, 2021
4e00af9
lib,staticd: BFD integration CLI commands
rzalamena Nov 28, 2022
4dc9d2a
zebra: send BFD messages to staticd
rzalamena Mar 24, 2021
f1a3cea
staticd: add command to show monitored routes
rzalamena Mar 24, 2021
ff87e50
staticd: fix bug on route reinstallation
rzalamena Nov 28, 2022
c041c88
doc: document new static BFD commands
rzalamena Mar 24, 2021
641eb75
topotests: test BFD static route integration
rzalamena Mar 24, 2021
2684bc2
staticd: add debug static bfd command
pguibert6WIND Sep 28, 2021
29bc4f3
tests: Check if routes are not sent back from the sender
ton31337 Jan 5, 2023
3daff81
bgpd: Do not send routes back received from a peer
ton31337 Jan 5, 2023
7b7d4fe
tests: Check if we can discard unwanted attributes from the paths
ton31337 Jan 6, 2023
bcae393
doc: Add `neighbor path-attribute discard` command
ton31337 Jan 6, 2023
0cebf0d
bgpd: Add `neighbor path-attribute discard` command
ton31337 Jan 6, 2023
5cdcd5a
bgpd: Deprecate some unused BGP stuff
ton31337 Jan 6, 2023
696572a
bgpd: Allow importing local routes with accept-own mechanism
ton31337 Jan 13, 2023
b011cbd
tests: Check if connected routes are leaked between VRFs using accept…
ton31337 Jan 13, 2023
bd8bbdf
lib: add a function to get the VRF or loopback interface
louis-6wind Apr 22, 2022
d451083
bgpd: Set nh ifindex to VRF's interface, not the real
ton31337 Jan 15, 2023
16c852d
bgpd: Fix crash during shutdown due to race condition
samanvithab Jan 16, 2023
17a92e7
bgpd: Drop redundant `vrf` keyword in BGP debug log changes
ton31337 Jan 16, 2023
25981f7
zebra: fix use after free on RIB processing
rzalamena Jan 16, 2023
2185f7f
bgpd: imported vpn entries get appropriate distance
pguibert6WIND Jan 2, 2023
d1a4fae
zebra: Adding FRR support for show vrf vrf-id vni
Dec 3, 2022
85c6e71
doc: add documentation for show vrf vni
chiragshah6 Dec 21, 2022
5a6bd5f
tests: replace -a (all) with individual flags for nsenter
choppsv1 Jan 3, 2023
f372ceb
lib: fix gmtime_assafe potential issues
rzalamena Jan 17, 2023
b805fe5
zebra: make sure string is null terminated
rzalamena Jan 17, 2023
9df4fdd
zebra: Fix distance being set incorrectly on kernel offload update
donaldsharp Jan 5, 2023
35639a9
zebra: Set metric appropriately on route offload to asic
donaldsharp Jan 5, 2023
4db5776
zebra: fix fpm netlink encode out of bounds read
rzalamena Jan 18, 2023
c4386c0
lib: show "(null)" for empty IP address
anlancs Jan 11, 2023
6c65941
tests: [topojson]Update assert/error messages
kuldeepkash Dec 12, 2022
a866dec
tests: Fix for frr-bot style issues
kuldeepkash Jan 10, 2023
393bcb3
zebra: fix possible null dereference
rzalamena Jan 19, 2023
3044757
lib: remove dead logic code
rzalamena Jan 19, 2023
8abf2e9
tests: pim_basic fails in micronet
donaldsharp Jan 18, 2023
4e2a1b8
tests: zebra_netlink only gives 10 seconds to install all routes
donaldsharp Jan 18, 2023
677238e
Revert "bgpd: code review comments addressed"
ton31337 Jan 17, 2023
8ae224f
Revert "bgpd, ospfd: update BGP when routes are removed from OSPF rou…
ton31337 Jan 17, 2023
f318741
Revert "bgpd: fix for crash when no neighbor A.B.C.D remote-as AS_NUM…
ton31337 Jan 17, 2023
a9cf97b
Revert "ospfd: few fixes in rSPF calc when LSA received from non root…
ton31337 Jan 17, 2023
ed5757a
Revert "bgpd, ospfd: BGP ORR CI warning fixes"
ton31337 Jan 17, 2023
56c1da4
Revert "ospfd: rSPF calc and messaging for optimal route reflection"
ton31337 Jan 17, 2023
bf8e955
Revert "bgpd: optimal router reflection cli and fsm changes"
ton31337 Jan 17, 2023
ac768ae
Revert "doc: Add documentation for BGP ORR support"
ton31337 Jan 17, 2023
9b305dc
Revert "lib: BGP registration with IGP for BGP ORR rSPF calc"
ton31337 Jan 17, 2023
96285dc
tests: Fix for multicast_pim6_static_rp tests failure
kuldeepkash Nov 21, 2022
cb1fc42
tests: fix for test_pim6_multiple_groups_different_RP_address_p2 failure
kuldeepkash Jan 9, 2023
2bee4cf
tests: Add test to check importing routes to VRF
Jan 19, 2023
5507aca
bgpd: Skip RD match if ACCEPT_OWN is not enabled
Jan 19, 2023
24cd0e9
bgpd: fix vpnv6 nexthop encoding
pguibert6WIND Jan 19, 2023
0f80fe2
bgpd: Limit peer output queue length like input queue length
donaldsharp Jan 19, 2023
ceec909
bgpd: Input Queue does not belong under `router bgp`
donaldsharp Jan 19, 2023
6b27f5a
babeld: Fix --terminal option
vfreex Jan 18, 2023
7623ec5
ospfd: fix crash show ip ospf border-routers json
chiragshah6 Jan 21, 2023
0424f75
ospfd: Free memory for JSON allocated object before return
ton31337 Jan 22, 2023
be4fc06
ospfd: Free memory for JSON allocated object before return
ton31337 Jan 23, 2023
9c444ea
zebra_fpm: Add support for other protocols in fpm:netlink
Jan 23, 2023
1972036
bgpd: encode properly vpnv6 nexthop
pguibert6WIND Jan 23, 2023
0089724
bgpd: fix when route-map changes the link local nexthop for vpnv6
pguibert6WIND Jan 23, 2023
22f0df0
bgpd: cosmetic changes for debug
anlancs Jan 16, 2023
caa2ed0
isisd: changed to output the adjacency-sid in yang format
kanaya516 Jan 4, 2023
a50c4b3
isisd: changed to output the LAN-adjacency-sid in yang format
kanaya516 Jan 4, 2023
2890338
babeld: Add missing `no` commands
vfreex Jan 14, 2023
42f8ddf
lib: fix wrong returned value for filter
anlancs Jan 9, 2023
cb3e489
bgpd: Add missing `no` form for `neighbor path-attribute discard` cmd
ton31337 Jan 22, 2023
3649930
pimd: fix mtracebis tool warning
rzalamena Jan 19, 2023
ad3e1c4
ldpd: fix time truncation
rzalamena Jan 19, 2023
fb0f4a8
*: introduce function for sequence numbers
rzalamena Jan 19, 2023
336de43
bgpd: fix time truncation due to parameter type
rzalamena Jan 20, 2023
9104f32
isisd: fix time truncation on display
rzalamena Jan 23, 2023
aedddde
vtysh: fix build failure for certain case
anlancs Dec 23, 2022
c6aa5b8
lib: do not reopen a zclient socket for bfd
louis-6wind Jan 23, 2023
e4341be
lib: remove concurrent nexthop zapi (un)registration
louis-6wind Jan 23, 2023
4ef3f6a
zebra: use typesafe lib lists in zebra dplane
Jan 20, 2023
7f28342
bgpd: evpn route detail json display non prett
chiragshah6 Jan 24, 2023
1e5a761
zebra: fix JSON fields for "show ip/ipv6 nht"
Pdoijode Jan 25, 2023
df9f27b
topotests: fix bgp_vpnv4_noretain
louis-6wind Jan 23, 2023
bbe4d8c
zebra: Remove impossible to use function
donaldsharp Jan 25, 2023
6865744
lib: Remove dead code
donaldsharp Jan 25, 2023
eaafe09
lib: Forward declaration of a struct does not need to have data type
donaldsharp Jan 26, 2023
8e8b592
zebra: i declaration shadows other i declared
donaldsharp Jan 26, 2023
e34ee03
watchfrr: dmn variable shadows previous declaration
donaldsharp Jan 26, 2023
f3fe839
lib: Remove global variable exposure `struct host host`
donaldsharp Jan 26, 2023
b223e43
zebra: fix SA warning, don't lock plugin list
Jan 25, 2023
37b4d27
github: Prevent merging (fail CI) if 'freeze' label exists for PR
ton31337 Jan 25, 2023
f3b005c
babeld: The function is already a pointer
donaldsharp Jan 28, 2023
5a4e8af
babeld: During intf startup, ignore address already in use
donaldsharp Jan 28, 2023
e6ae72c
tests: Super simple babel test
donaldsharp Jan 28, 2023
2ab9233
bgpd: only unimport routes if tunnel-ip changes
Jan 25, 2023
6a75ddf
bgpd: move tunnel-ip comparison into handler
Jan 25, 2023
3ac30a8
bgpd: bgp_update and bgp_withdraw never return failures
donaldsharp Jan 30, 2023
00084b6
tests: Topotests fix for deleting wrong pidfile
mwinter-osr Jan 30, 2023
ff1d9d8
tests: Check if we vanish hostname/domainname if disabled from anothe…
ton31337 Jan 30, 2023
464809e
bgpd: Free peer's hostname (aka FQDN capability stuff)
ton31337 Jan 30, 2023
71831ac
bgpd: Vanish FQDN capability hostname/domainname before handling new …
ton31337 Jan 30, 2023
c72ce0a
*: apply proper format string attributes
eqvinox Jan 26, 2023
b0e6bcf
*: no-warn pragmas for non-const format strings
eqvinox Jan 26, 2023
514d704
*: fix non-const northbound XPath format strings
eqvinox Jan 26, 2023
e616ae0
lib: literal constant format string for termtable
eqvinox Jan 26, 2023
caf6a17
bgpd: fix format string mess in AS-path printing
eqvinox Jan 26, 2023
51c798f
bgpd: fix silly format string SNAFU
eqvinox Jan 26, 2023
4b646fa
bfdd: fix size_t format string
eqvinox Jan 27, 2023
4c0f5a2
build: enable format string warnings
eqvinox Jan 26, 2023
2a712ac
zebra: Send nht resolved entry up to concerned protocols in all cases
donaldsharp Jan 30, 2023
167e381
build: consistently mkdir -p output for redirect
eqvinox Jan 24, 2023
113ec5a
yang: fix race condition in embedmodel.py mkdir
eqvinox Jan 24, 2023
729c765
tests: Fix wrong tgen.stop_topology() calls which got skipped
mwinter-osr Jan 31, 2023
9c4be9e
debian: make cross-compile work
eqvinox Apr 6, 2020
ec096b6
debian: fix cross-build marks (libelf/libpython3)
eqvinox Jan 5, 2023
089d666
debian: fix sphinx docs
eqvinox Jan 2, 2023
57d59c2
debian: fix texinfo figure installation directory
eqvinox Jan 2, 2023
b5f9f44
debian: remove unused debian/watchfrr.rc file
oerdnj Jul 3, 2020
4ab3fd2
debian: remove bogus "iproute" dependency
eqvinox Jan 2, 2023
2c0c741
debian: fix python3 shebang in new files
eqvinox Jan 2, 2023
fd208d0
debian: fiddle with lintian spellcheck overrides
eqvinox Jan 2, 2023
bbf41b1
debian: frickel a working debian/watch file
eqvinox Jan 2, 2023
645b0ba
debian: point watch file at git tarball
eqvinox Jan 24, 2023
8349984
debian: merge changelogs
eqvinox Jan 24, 2023
5635ed1
pimd: v6 intentionally turned off route-maps. Turn it on.
donaldsharp Jan 29, 2023
780f645
tests: zebra_rib remove a sleep
donaldsharp Jan 19, 2023
a6fe6e6
lib: apply more `printf` attributes
eqvinox Jan 31, 2023
6652cfa
bgpd/rfapi: add missing printf attribute
eqvinox Jan 31, 2023
fc64985
lib: fix one more b0rked format string
eqvinox Jan 31, 2023
ff7cf1d
tests: yank asprintfrr duplicate
eqvinox Jan 31, 2023
7f7e3d7
tests: add missing printf attribute
eqvinox Jan 31, 2023
b6a10be
*: Drop deprecated incorrect JSON fields with wrong naming
ton31337 Jan 31, 2023
aba1621
tests: Use JSON camelCase naming for tests
ton31337 Jan 31, 2023
3b1db5a
vtysh: Schedule shell access for deprecation
donaldsharp Feb 1, 2023
e48c116
bgpd: Set attr to NULL when passing NLRI_UPDATE with treat-as-withdraw
ton31337 Jan 24, 2023
7047ead
lib, bgpd: Add ability to specify that some json output should not be…
donaldsharp Feb 2, 2023
a8583fe
bgpd: Convert evpn output to not pretty print json
donaldsharp Feb 2, 2023
a4a554d
frr-reload: fix single-line context command processing
askorichenko Dec 18, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
6 changes: 5 additions & 1 deletion .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ AllowAllParametersOfDeclarationOnNextLine: false
AlignAfterOpenBracket: true
SpaceAfterCStyleCast: false
MaxEmptyLinesToKeep: 2
BreakBeforeBinaryOperators: NonAssignment
BreakBeforeBinaryOperators: None
BreakStringLiterals: false
SortIncludes: false
IncludeCategories:
Expand All @@ -28,6 +28,9 @@ ForEachMacros:
- frr_each
- frr_each_safe
- frr_each_from
- frr_rev_each
- frr_rev_each_safe
- frr_rev_each_from
- frr_with_mutex
- frr_with_privs
- LIST_FOREACH
Expand Down Expand Up @@ -69,6 +72,7 @@ ForEachMacros:
- SUBGRP_FOREACH_ADJ_SAFE
- AF_FOREACH
- FOREACH_AFI_SAFI
- FOREACH_AFI_SAFI_NSF
- FOREACH_SAFI
# ospfd
- LSDB_LOOP
4 changes: 2 additions & 2 deletions .dir-locals.el
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@

((c-mode . ((indent-tabs-mode . t)
(show-trailing-whitespace . t)
(c-basic-offset . 8)
)))
(c-basic-offset . 8)))
(json-mode . ((js-indent-level 4))))
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ A clear and concise description of what the bug is.
Put "x" in "[ ]" if you already tried following:
-->

[ ] Did you check if this is a duplicate issue?
[ ] Did you test it on the latest FRRouting/frr master branch?
- [ ] Did you check if this is a duplicate issue?
- [ ] Did you test it on the latest FRRouting/frr master branch?


**To Reproduce**
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/base-branch-label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Add base branch label

on:
pull_request_target:
types:
- opened
- reopened

jobs:
label:
if: github.repository == 'frrouting/frr'
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: actions-ecosystem/action-add-labels@v1
with:
labels: |
${{ github.event.pull_request.base.ref }}
22 changes: 22 additions & 0 deletions .github/workflows/conflicts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Add a conflict label is PR needs to rebase

on:
push:
pull_request_target:
types: [synchronize]

jobs:
conflicts:
if: github.repository == 'frrouting/frr'
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: Check if PRs need a rebase (have some conflicts)
uses: eps1lon/actions-label-merge-conflict@releases/2.x
with:
dirtyLabel: "conflicts"
removeOnDirtyLabel: "no_conflicts"
repoToken: "${{ secrets.GITHUB_TOKEN }}"
commentOnDirty: "This pull request has conflicts, please resolve those before we can evaluate the pull request."
53 changes: 53 additions & 0 deletions .github/workflows/docker-daily-master.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Build daily 'master' images for Docker

on:
schedule:
- cron: '59 23 * * *'

concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

jobs:
docker_daily_master:
if: github.repository == 'frrouting/frr'
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Custom variables
id: vars
run: |
# To package a specific git commit, the date of the commit gets
# appended to the latest release, e.g. 1.0.0_git20180204.
# This is the requirement by APKBUILD (abuild).
# More details: https://wiki.alpinelinux.org/wiki/APKBUILD_Reference.
echo ::set-output name=date::$(date +'%Y%m%d')

- name: Checkout
uses: actions/checkout@v3
with:
ref: master

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Login to Docker Hub
uses: docker/login-action@v2
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_ROBOT_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v3
with:
context: .
file: ./docker/alpine/Dockerfile
push: true
tags: quay.io/frrouting/frr:master
build-args: PKGVER=${{ steps.vars.outputs.date }}
platforms: linux/amd64,linux/arm64,linux/arm/v7
17 changes: 17 additions & 0 deletions .github/workflows/freeze.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Warn before merging if a "freeze" label exists

on:
pull_request_target:
types: [synchronize, opened, reopened, labeled, unlabeled]

jobs:
freeze_warning:
if: ${{ contains(github.event.*.labels.*.name, 'freeze') }}
name: Warn before merging if a "freeze" label exists
runs-on: ubuntu-latest
steps:
- name: Check for "freeze" label
run: |
echo "Pull request is labeled as 'freeze'"
echo "This workflow fails so that the pull request cannot be merged."
exit 1
22 changes: 22 additions & 0 deletions .github/workflows/mergifyio_backport.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Mergifyio backport

on: [issue_comment]

jobs:
mergifyio_backport:
if: github.repository == 'frrouting/frr'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: actions-ecosystem/action-regex-match@v2
id: regex-match
with:
text: ${{ github.event.comment.body }}
regex: '[Mm]ergifyio backport '

- uses: actions-ecosystem/action-add-labels@v1
if: ${{ steps.regex-match.outputs.match != '' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
labels: backport
26 changes: 26 additions & 0 deletions .github/workflows/size-label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Add PRs size label

on: pull_request_target

jobs:
size-label:
if: github.repository == 'frrouting/frr'
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: size-label
uses: "pascalgn/[email protected]"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
sizes: >
{
"0": "XS",
"20": "S",
"50": "M",
"200": "L",
"800": "XL",
"2000": "XXL"
}
29 changes: 29 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Mark stale issues

on:
workflow_dispatch:
schedule:
- cron: "30 1 * * *"

permissions:
contents: read

jobs:
stale:
if: github.repository == 'frrouting/frr'
permissions:
issues: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue is stale because it has been open 180 days with no activity. Comment or remove the `autoclose` label in order to avoid having this issue closed.'
stale-issue-label: autoclose
stale-pr-message: 'This PR is stale because it has been open 180 days with no activity. Comment or remove the `autoclose` label in order to avoid having this PR closed.'
stale-pr-label: autoclose
days-before-stale: 180
days-before-close: 194
days-before-pr-stale: 180
days-before-pr-close: 194
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,5 @@ refix
.emacs.desktop*

/test-suite.log
pceplib/test/*.log
pceplib/test/*.trs
6 changes: 6 additions & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[MASTER]
init-hook="import sys; sys.path.insert(0, '..')"
signature-mutators=common_config.retry,retry

[MESSAGES CONTROL]
disable=I,C,R,W
26 changes: 24 additions & 2 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,33 @@ AM_CPPFLAGS = \
-I$(top_srcdir)/lib/assert \
$(CPPFLAGS_BASE) \
# end

# AM_LDFLAGS is used for executables (daemons). LDFLAGS can be left alone,
# but if it is changed it should include $(AM_LDFLAGS)
AM_LDFLAGS = \
-export-dynamic \
$(AC_LDFLAGS) \
$(AC_LDFLAGS_EXEC) \
$(SAN_FLAGS) \
# end

# libraries need to use libxxx_LDFLAGS = $(LIB_LDFLAGS) -version-info X:Y:Z
LIB_LDFLAGS = \
-export-dynamic \
$(AC_LDFLAGS) \
$(SAN_FLAGS) \
# end

# modules need to use xxx_LDFLAGS = $(MODULE_LDFLAGS)
MODULE_LDFLAGS = \
-export-dynamic \
-avoid-version \
-module \
-shared \
$(AC_LDFLAGS) \
$(SAN_FLAGS) \
# end

DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\" -DCONFDATE=$(CONFDATE)

AR_FLAGS = @AR_FLAGS@
Expand Down Expand Up @@ -122,7 +144,6 @@ pkginclude_HEADERS =
nodist_pkginclude_HEADERS =
dist_yangmodels_DATA =
man_MANS =
vtysh_scan =
vtysh_daemons =
clippy_scan =

Expand Down Expand Up @@ -204,12 +225,13 @@ EXTRA_DIST += \
python/makefile.py \
python/tiabwarfo.py \
python/xrelfo.py \
python/xref2vtysh.py \
python/test_xrelfo.py \
python/runtests.py \
\
python/xrefstructs.json \
\
redhat/frr.logrotate \
tools/etc/logrotate.d/frr \
redhat/frr.pam \
redhat/frr.spec \
\
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ lists:

For chat, we currently use [Slack](https://frrouting.slack.com). You can join
by clicking the "Slack" link under the
[Participate](https://frrouting.org/#participate) section of our website.
[Participate](https://frrouting.org/community) section of our website.


Contributing
Expand Down
17 changes: 9 additions & 8 deletions alpine/APKBUILD.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ depends="json-c c-ares iproute2 python3 bash"
makedepends="ncurses-dev net-snmp-dev gawk texinfo perl
acct autoconf automake bash binutils bison bsd-compat-headers build-base
c-ares c-ares-dev ca-certificates cryptsetup-libs curl device-mapper-libs
expat fakeroot flex fortify-headers gdbm git gmp isl json-c-dev kmod
expat fakeroot flex fortify-headers gdbm git gmp json-c-dev kmod
lddtree libacl libatomic libattr libblkid libburn libbz2 libc-dev
libcap-dev libcurl libedit libffi libgcc libgomp libisoburn libisofs
libltdl libressl libssh2 libstdc++ libtool libuuid libyang-dev
libltdl libressl libssh2 libstdc++ libtool libuuid
linux-headers lzip lzo m4 make mkinitfs mpc1 mpfr4 mtools musl-dev
ncurses-libs ncurses-terminfo ncurses-terminfo-base patch pax-utils pcre
perl pkgconf python3 python3-dev readline readline-dev sqlite-libs
ncurses-libs ncurses-terminfo ncurses-terminfo-base patch pax-utils pcre2
perl pkgconf python3 python3-dev readline readline-dev sqlite-libs pcre2-dev
squashfs-tools sudo tar texinfo xorriso xz-libs py-pip rtrlib rtrlib-dev
py3-sphinx elfutils elfutils-dev"
py3-sphinx elfutils elfutils-dev libyang-dev"
checkdepends="pytest py-setuptools"
install="$pkgname.pre-install $pkgname.pre-deinstall $pkgname.post-deinstall"
subpackages="$pkgname-dev $pkgname-doc $pkgname-dbg"
Expand Down Expand Up @@ -46,8 +46,9 @@ build() {
--enable-multipath=64 \
--enable-vty-group=frrvty \
--enable-user=$_user \
--enable-group=$_user
make
--enable-group=$_user \
--enable-pcre2posix
make -j $(nproc)
}

check() {
Expand All @@ -60,7 +61,7 @@ package() {
cd "$builddir"
make DESTDIR="$pkgdir" install

install -Dm644 "$builddir"/tools/etc/frr/daemons "$pkgdir"$_sysconfdir
install -Dm644 "$builddir"/tools/etc/frr/daemons "$pkgdir"$_sysconfdir/daemons
install -d "$pkgdir"/etc/init.d
ln -s ${_sbindir}/frr "$pkgdir"/etc/init.d/frr
}
1 change: 1 addition & 0 deletions babeld/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
!Makefile
!subdir.am
!.gitignore
*_clippy.c
Loading
Loading