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

同步上去代码 #3

Merged
merged 6,039 commits into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
6039 commits
Select commit Hold shift + click to select a range
774788d
ospfd: fix no area shortcut MODE command, MODE can be default
Shbinging Oct 11, 2024
e17bc28
Merge pull request #17126 from donaldsharp/ospf_lsa_declarations
ton31337 Oct 16, 2024
c32bdc2
Merge pull request #17116 from enkechen-panw/zfix-2
ton31337 Oct 16, 2024
40dce0b
Merge pull request #17114 from Jafaral/getenv
ton31337 Oct 16, 2024
49cf311
*: clang-SA friendly switch-enum-return-string
eqvinox Oct 16, 2024
c071b43
*: clang-SA switch-enum initializer workarounds
eqvinox Oct 16, 2024
40d4a47
lib: make clang-SA not choke on defun_lex.l
eqvinox Oct 16, 2024
a67df2a
lib: guard close() in netns code
eqvinox Oct 16, 2024
17f512c
lib: fix invalid use of errno in PTM
eqvinox Oct 16, 2024
3ce0fe0
pimd: initialize prefix value in Auto-RP
eqvinox Oct 16, 2024
6476f9d
pimd: mark rest-of-packet ignored in C-RP parse
eqvinox Oct 16, 2024
4a3843e
pimd: MLD packets always have an interface
eqvinox Oct 16, 2024
74b9f0a
ldpd: free previous config if it wasn't applied
eqvinox Oct 16, 2024
42d4688
vtysh: remove duplicate nonblocking handling
eqvinox Oct 16, 2024
e8006bc
vtysh: make clang-SA happy about reusing stdin
eqvinox Oct 16, 2024
1350f8d
zebra: don't try to read past EOF
eqvinox Oct 16, 2024
67b0a45
zebra: don't misappropriate `errno`
eqvinox Oct 16, 2024
e6cb1a9
zebra: check `dirfd()` result
eqvinox Oct 16, 2024
b5f196c
bgpd: hide read() call from clang-SA
eqvinox Oct 16, 2024
84ab021
lib, test: fix display ipv4 mapped ipv6 addresses
louis-6wind Jul 22, 2024
3c430cd
tests: update fuzz after ipv4 mapped ipv6 print change
louis-6wind Jul 23, 2024
80dc863
Merge pull request #16946 from opensourcerouting/fix/match_src-peer
riw777 Oct 16, 2024
cc63dbb
Merge pull request #17020 from pguibert6WIND/asan_shutdown
donaldsharp Oct 16, 2024
1ce225d
Merge pull request #17076 from donaldsharp/rnh_and_redistribution_nex…
ton31337 Oct 16, 2024
75e34c0
Merge pull request #16452 from louis-6wind/fix-ipv4-mapped-ipv6-display
riw777 Oct 16, 2024
f65356d
bgpd: fix several issues in sourcing AIGP attribute
enkechen-panw Oct 16, 2024
5161259
tests: add a new topotest to bgp_aigp
enkechen-panw Oct 16, 2024
8d894e5
Merge pull request #17091 from enkechen-panw/aigp-fix1
ton31337 Oct 17, 2024
5fecb1f
Merge pull request #17065 from Shbinging/fix_some_ospf_commands
ton31337 Oct 17, 2024
71aa5ab
ospfd: update ospf_asbr_status when using no_area_nssa command
Shbinging Oct 16, 2024
466efab
Merge pull request #17136 from opensourcerouting/clang-sa-19
donaldsharp Oct 17, 2024
5a2a9e3
zebra: Fix possible null deref discovered by coverity
donaldsharp Oct 17, 2024
b7420c4
lib: actually propagate MGROUP args
eqvinox Jul 26, 2024
e95fbc1
lib: zlog stays running on shutdown
eqvinox Jul 26, 2024
f177663
lib: do not log_memstats() in crash handler
eqvinox Jul 26, 2024
b3e4007
lib: refactor memstats logging, fix ACTIVEATEXIT
eqvinox Jul 26, 2024
d11ad98
lib: Correctly handle ppoll pfds.events == 0
donaldsharp Oct 8, 2024
1b38f33
tests: logger masked in topotest.py
liambrady Oct 17, 2024
ba60b39
Merge pull request #17154 from donaldsharp/connected_coverity
Jafaral Oct 17, 2024
3f69054
Merge pull request #17134 from Shbinging/fix_no_area_nssa_command
ton31337 Oct 18, 2024
1fe1f8d
lib, zebra: Keep `zebra on-rib-process script` in frr.conf
ton31337 Oct 18, 2024
6cdc82b
zebra: fix showing nexthop vrf for ipv6 blackhole
louis-6wind Oct 18, 2024
97f3dd3
bgpd: changes for code maintainability
sri-mohan1 Oct 18, 2024
841f7a4
Merge pull request #17025 from donaldsharp/ppoll_fix
eqvinox Oct 18, 2024
e63b152
bgpd: Do not filter no-export community for BGP OAD (one administrati…
ton31337 Oct 18, 2024
7eaec54
tests: Check if BGP no-export community is passed to BGP OAD peers
ton31337 Oct 18, 2024
0952110
Merge pull request #17164 from sri-mohan1/srib-24-frr-a
mjstapp Oct 18, 2024
5829fea
zebra: remove useless code
anlancs Oct 19, 2024
67d0720
bgpd: changes for code maintainability
sri-mohan1 Oct 19, 2024
fa291dd
Merge pull request #17167 from sri-mohan1/srib-24-frr-a
ton31337 Oct 20, 2024
5d5da52
Merge pull request #17157 from LabNConsulting/liambrady/topotest-mask…
ton31337 Oct 20, 2024
e07f38a
bgpd: allow value 0 in aigp-metric setting
enkechen-panw Oct 20, 2024
2f84a26
Merge pull request #17169 from enkechen-panw/aigp-fix4
ton31337 Oct 21, 2024
d155d62
doc: Require unified config for all new topotests
ton31337 Oct 21, 2024
cf1da3e
Merge pull request #17172 from opensourcerouting/fix/doc_unified_config
Jafaral Oct 21, 2024
7e7f65c
tests: add a topotest bgp_aigp_rr
enkechen-panw Oct 22, 2024
fc82d77
bgpd: fix AIGP calculation in route advertisement
enkechen-panw Oct 22, 2024
96192f6
zebra: drop NEWLINK event handling in the main thread
anlancs Oct 20, 2024
e2e4894
isisd: fix 'show isis route' and 'show isis fast-reroute summary' err…
baozhen-H3C Oct 21, 2024
baf6047
ospfd:fix the bug that the empty area was not free after no area rang…
Shbinging Oct 22, 2024
fd6f46e
Merge pull request #17168 from enkechen-panw/aigp-fix3
ton31337 Oct 22, 2024
d33585c
bgpd: Handle non-transitive extended communities for link-bandwidth
ton31337 Oct 17, 2024
5246272
tests: Check if non-transitive link-bandwidth communities are sent/re…
ton31337 Oct 17, 2024
601db6d
bgpd: Check for the extended community size before setting the flag
ton31337 Oct 17, 2024
8a4d336
bgpd: Print ipv6 extended communities if debug updates is turned on
ton31337 Oct 17, 2024
5ca4656
bgpd: Add a function to strip non-transitive extended communities
ton31337 Oct 17, 2024
b4e72bc
bgpd: Rework extended community transitiviness
ton31337 Oct 17, 2024
51b2dcd
bgpd: Check transivity flag for node target extended community with C…
ton31337 Oct 17, 2024
60eff2e
bgpd: Handle non-transitive opaque extended communities also for eBGP…
ton31337 Oct 17, 2024
9adcff1
bgpd: Do not leak a stream with bmp code
donaldsharp Oct 22, 2024
56944a5
Merge pull request #17151 from opensourcerouting/fix/send_link_bw_as_…
riw777 Oct 22, 2024
df0dd1b
Merge pull request #17165 from opensourcerouting/fix/bgp_community_no…
riw777 Oct 22, 2024
3152f49
Merge pull request #17166 from anlancs/zebra/review-remove-one
riw777 Oct 22, 2024
98ec22f
Merge pull request #17174 from baozhen-H3C/202410180225
riw777 Oct 22, 2024
6a36b9e
Revert "lib: Attach stdout to child only if --log=stdout and stdout F…
donaldsharp Oct 22, 2024
0078472
Merge pull request #17180 from anlancs/zebra/review-move-dplane
Jafaral Oct 22, 2024
dd10379
bgpd: fix allocating uninitialized bgp_labels
louis-6wind Oct 22, 2024
1530a35
vtysh: fix `find` and `list` commands
eqvinox Oct 22, 2024
8ccd538
Merge pull request #17192 from donaldsharp/bgp_bmp_stream_leak
riw777 Oct 22, 2024
a4ecc2f
Merge pull request #17198 from donaldsharp/backout_stdout_changes
riw777 Oct 22, 2024
66ef357
isisd: The command "'show isis vrf all summary json" has no output.
baozhen-H3C Oct 22, 2024
03649ff
ospfd:fix syntax of some no commands
Shbinging Oct 22, 2024
3225b77
bgpd: fix uninitialized labels
louis-6wind Oct 22, 2024
a6aa6b5
Merge pull request #17183 from Shbinging/fix_no_area_range_command_2
ton31337 Oct 23, 2024
91e157f
Merge pull request #17162 from louis-6wind/fix-bh-nh-vrf
ton31337 Oct 23, 2024
433fce6
pimd: PIM autorp no path RP fix
nabahr Oct 22, 2024
be3b97d
Merge pull request #17191 from louis-6wind/fix-bgp-labels
ton31337 Oct 24, 2024
6bb0c91
tests: apply black to bmpserver
louis-6wind Oct 23, 2024
ad6c107
tests: bmpserver, detect session close immediately
louis-6wind Oct 23, 2024
c8ed08b
tests: add bmpserver logging
louis-6wind Oct 23, 2024
1a2c3d6
tests: add a new BGP AIGP topotest
enkechen-panw Oct 24, 2024
6a7049a
bgpd: compare aigp after local route check in bgp_path_info_cmp()
enkechen-panw Oct 24, 2024
4954d9d
bgpd: Do not call evpn_overlay_free no matter what
donaldsharp Oct 23, 2024
ed94fbf
bgpd: Store aspath count after aspath has changed
donaldsharp Oct 24, 2024
e68550b
bgpd: Only grab the confed path count if we are comparing it
donaldsharp Oct 24, 2024
b097a31
bgpd: Fix deadlock in bgp_keepalive and master pthreads
donaldsharp Oct 24, 2024
138935a
bgpd: Fix wrong pthread event cancelling
donaldsharp Oct 24, 2024
274c986
Merge pull request #17155 from opensourcerouting/memstats-zlog
donaldsharp Oct 25, 2024
c5231ba
Merge pull request #17215 from nabahr/autorp_no_path
ton31337 Oct 25, 2024
ba3836c
Merge pull request #17229 from donaldsharp/bgp_update_optimizations
ton31337 Oct 25, 2024
2606f84
Merge pull request #17207 from louis-6wind/bmpserver-log
ton31337 Oct 25, 2024
3f446ec
Merge pull request #17199 from enkechen-panw/aigp-fix5
ton31337 Oct 25, 2024
6975228
bgpd: fix prefix same as nexthop in label per nexthop
Oct 2, 2024
3c2949e
topotests: supress bgp_vpnv4/6_per_nexthop_label warning
Oct 7, 2024
a7fc9a2
tests: augment bgp bmp test wait time
louis-6wind Oct 23, 2024
44c6f57
tests: rework bgp_bmp
louis-6wind Oct 23, 2024
19a6621
tests: rework bgp_bmp_vrf
louis-6wind Oct 24, 2024
e29abfd
tests: factorize code in bgp_bmp
louis-6wind Oct 24, 2024
14eed3a
tests: factorize code in bgp_bmp_vrf
louis-6wind Oct 24, 2024
7712844
tests: fix bgp_bmp race condition
louis-6wind Oct 24, 2024
a235dbc
tests: fix bgp_bmp_vrf race condition
louis-6wind Oct 24, 2024
8fbd88c
pimd: allow resolving bsr via directly connected secondary address
Jafaral Oct 23, 2024
4e74183
pimd: allow a bsr with higher priority to take over
Jafaral Oct 23, 2024
a7e7cc3
tests: expand bsr topotest to cover ipv6
Jafaral Oct 23, 2024
c735f25
ospfd: Fix opaque LSA refresh interval and modify LSA cmds.
aceelindem Oct 22, 2024
e7b3276
bgpd: fix display of local label in show bgp
louis-6wind Oct 25, 2024
8e861a7
isisd: fix change flex-algorithm number from uint32 to uint8
pguibert6WIND Oct 25, 2024
ee2f1b8
bgpd: fix crash when polling bgp4v2PathAttrTable
fdumontet6WIND Oct 21, 2024
c3eebcc
bgpd: bestpath failure when you have a singlepath not in holddown
donaldsharp Oct 25, 2024
217435b
docs: Update evpn.rst
systemcrash Oct 26, 2024
e0fd591
Merge pull request #17255 from systemcrash/patch-1
donaldsharp Oct 27, 2024
200d54f
Merge pull request #17216 from Jafaral/fix-bsr
ton31337 Oct 27, 2024
f11421d
Merge pull request #17160 from opensourcerouting/fix/keep_zebra_on-ri…
Jafaral Oct 27, 2024
dd48a0b
Merge pull request #17250 from pguibert6WIND/flexalgo_uint8
ton31337 Oct 28, 2024
e4df480
Merge pull request #16354 from Sokolmish/zebra-no-ra
eqvinox Oct 28, 2024
1668f32
Merge pull request #17243 from louis-6wind/fix-bgp-local-label
ton31337 Oct 28, 2024
a7fec9c
zebra: add 'debug zebra srv6' command
pguibert6WIND Oct 8, 2024
9a33ee1
bgpd: fix blank line in running-config with bmp listener cmd
pguibert6WIND Oct 28, 2024
ea0b8a0
Merge pull request #17200 from opensourcerouting/vtysh-fix-list-find
donaldsharp Oct 28, 2024
aff8eaa
sharpd: Allow sharpd to watch nexthops in the mrib
donaldsharp Oct 26, 2024
811168e
zebra: Add safi to some debugs
donaldsharp Oct 25, 2024
3bff65a
zebra: When installing a mroute, allow it to flow
donaldsharp Oct 26, 2024
2945258
Merge pull request #17254 from donaldsharp/mrib_nht_wonky
Jafaral Oct 28, 2024
60f77de
Merge pull request #17257 from pguibert6WIND/srv6_debug
ton31337 Oct 29, 2024
cf6a575
Merge pull request #17189 from Shbinging/fix_some_ospf_unset_commands…
ton31337 Oct 29, 2024
e534d9c
Merge pull request #17278 from pguibert6WIND/bmp_listener
ton31337 Oct 29, 2024
e42dd44
Merge pull request #17245 from fdumontet6WIND/fix1
ton31337 Oct 29, 2024
4a6e1c0
Merge pull request #16990 from lsang6WIND/label-per-nexthop
riw777 Oct 29, 2024
b5c3b44
Merge pull request #17190 from baozhen-H3C/202410180176
riw777 Oct 29, 2024
574a715
Merge pull request #17226 from louis-6wind/fix-bmp-tests
riw777 Oct 29, 2024
56495a8
Merge pull request #17251 from donaldsharp/bgp_best_path_evpn_issue
riw777 Oct 29, 2024
b4dc01b
tests: respect RLIMIT_CORE hard limit
liambrady Oct 29, 2024
d599aa1
nhrpd: Add topotest for retrying resolution request
jmuthiilabn Oct 29, 2024
5718ee3
nhrpd: Modify NHRP authentication feature logging
jmuthiilabn Oct 29, 2024
a7f2236
bgpd: Optimize the usage of jhash
donaldsharp Mar 16, 2024
e2090bf
bgpd: Further extend `show bgp attribute-info`
donaldsharp Mar 16, 2024
1115fee
bgpd: add some counters not displayed yet
donaldsharp Nov 4, 2023
07e9004
bgpd: workaround clang-sa for set but not used value
donaldsharp Oct 25, 2024
5f6200d
zebra: Deconfuse clang-sa about possible NULL pointer
donaldsharp Oct 25, 2024
be2a7ed
zebra: Add ability to import alternate tables into the MRIB
nabahr Oct 28, 2024
1c50a55
doc: Document zebra table import command with additional mrib flag
nabahr Oct 29, 2024
4c1ee29
bgpd: Treat numbered community-list only if it's in a range 1-500
ton31337 Oct 30, 2024
56d994a
Merge pull request #15563 from donaldsharp/bgp_musings
riw777 Oct 30, 2024
ef9f698
doc: Create html_context before setting READTHEDOCS
ton31337 Oct 30, 2024
9397a51
doc: Use RST, not Markdown format for links
ton31337 Oct 30, 2024
e2f3cfa
Merge pull request #17311 from opensourcerouting/fix/syntax_topotests
Jafaral Oct 30, 2024
7c10340
Merge pull request #17310 from opensourcerouting/fix/doc_build
Jafaral Oct 30, 2024
5f11235
Merge pull request #17296 from LabNConsulting/liambrady/core-rlimit-r…
ton31337 Oct 31, 2024
8794667
tests: Add an ability to specify daemon params with unified config
ton31337 Oct 31, 2024
25ae643
zebra: Add missing new line for help string
ton31337 Oct 31, 2024
80bfe67
ospfd: Add a hidden command for old `no router-id`
ton31337 Oct 31, 2024
1073e0f
ospfd: Use router_id what Zebra has if we remove a static router_id
ton31337 Oct 31, 2024
180e1a0
tests: Add zebra rib import-table tests
nabahr Oct 29, 2024
87941fa
Merge pull request #17318 from opensourcerouting/fix/add_missing_new_…
mjstapp Oct 31, 2024
35dbbac
Merge pull request #17317 from opensourcerouting/feature/allow_settin…
Jafaral Oct 31, 2024
7ebda38
lib: Replace usage of in6addr_cmp with memcmp
donaldsharp Oct 30, 2024
1cb6b71
lib, tests: Remove in6addr_cmp function from the system
donaldsharp Oct 30, 2024
852e6c3
bgpd: allowas_in and aspath_loop_count only used in one if statement
donaldsharp Oct 30, 2024
d9fd490
bgpd: Only set bgp_labels in bgp_update if we have num_labels
donaldsharp Oct 30, 2024
fb78a9b
bgpd: In bgp_update try to optimize is_loop_check variable
donaldsharp Oct 30, 2024
e3519b3
bgpd: In bgp_update() for mac addrs ensure we are dealing with evpn
donaldsharp Oct 30, 2024
c6400ca
bgpd: Refactor bgp_update some for nexthop reachability
donaldsharp Oct 30, 2024
5592aec
bgpd: Convert rcvd_attr_printed to a bool
donaldsharp Oct 30, 2024
d14dbdb
bgpd: Move RFC 8212 check for inbound before filter in bgp_update
donaldsharp Oct 30, 2024
44a82da
zebra: fix missing kernel routes
anlancs Oct 31, 2024
6dc03df
tests: Do not set by default netlink receive buffer size for Zebra
ton31337 Oct 31, 2024
ff9781e
lib: In sockunion.c convert v6 memcmp's to IPV6_ADDR_CMP
donaldsharp Oct 31, 2024
66feece
Merge pull request #17281 from nabahr/mrib-import
donaldsharp Oct 31, 2024
97c17c1
lib: Remove wheel name it is no longer used
donaldsharp Oct 31, 2024
2b1e5ce
bgpd: Remove call into event_master_free_unused
donaldsharp Oct 28, 2024
cd80fa0
lib: Remove counter and a function
donaldsharp Oct 28, 2024
66ed5c1
Merge pull request #17327 from donaldsharp/bgp_update_optimizations
Jafaral Oct 31, 2024
dbc4ba9
Revert "ospfd: update ospf_asbr_status when using no_area_nssa command"
donaldsharp Nov 1, 2024
dfcb75a
Merge pull request #17330 from donaldsharp/revert_ospf_asbr_status_ch…
ton31337 Nov 1, 2024
23c92ed
Merge pull request #17329 from donaldsharp/wheel_name_is_useless
mjstapp Nov 1, 2024
eded1e9
Merge pull request #17328 from opensourcerouting/fix/allow_setting_ne…
donaldsharp Nov 1, 2024
248ee22
Merge pull request #17230 from donaldsharp/clang_19_some_more
Jafaral Nov 1, 2024
0073a87
test: add test case for kernel blackhole routes
anlancs Nov 1, 2024
77632a7
Merge pull request #17194 from LabNConsulting/aceelindem/ospf-ls-refr…
riw777 Nov 1, 2024
4411ee9
Merge pull request #17280 from donaldsharp/remove_event_master_free_u…
ton31337 Nov 1, 2024
a69f661
Merge pull request #17312 from donaldsharp/remove_in6addr_cmp
ton31337 Nov 1, 2024
5b3c3b1
tests: Remove unnecessary fields from expected JSON
nabahr Nov 1, 2024
9e74dda
zebra: Delay some processing until after startup is finished
donaldsharp Sep 30, 2024
52b5e66
doc: Fix misspelling locator prefix command
cscarpitta Nov 3, 2024
f948d8a
doc: Fix misspelling behavior usid command
cscarpitta Nov 3, 2024
7a58e5e
doc: Fix misspelling locator format command
cscarpitta Nov 3, 2024
6705703
doc: Fix misspelling SRv6 formats command
cscarpitta Nov 3, 2024
973c475
zebra: Fix wrong debug macro in `alloc_srv6_sid_func_explicit`
cscarpitta Nov 3, 2024
4710baa
zebra: Fix wrong debug macro in `alloc_srv6_sid_func_dynamic`
cscarpitta Nov 3, 2024
8e96fce
zebra: Fix wrong debug macro in `release_srv6_sid_func_explicit`
cscarpitta Nov 3, 2024
a56e790
zebra: Fix wrong debug macro in `release_srv6_sid_func_dynamic`
cscarpitta Nov 3, 2024
58fd136
zebra: Fix wrong debug macro in `alloc_srv6_sid_func_explicit`
cscarpitta Nov 3, 2024
d1810d5
zebra: Fix wrong debug macro in `alloc_srv6_sid_func_dynamic`
cscarpitta Nov 3, 2024
69b1acf
zebra: Fix wrong debug macro in `release_srv6_sid_func_explicit`
cscarpitta Nov 3, 2024
afd9d3f
zebra: Fix wrong debug macro in `release_srv6_sid_func_dynamic`
cscarpitta Nov 3, 2024
d3a9fe9
bgpd: Use `IPV6_MAX_BITLEN` when deleting SRv6 functions
cscarpitta Nov 3, 2024
688aaa4
bgpd: Use `IPV6_MAX_BITLEN` when deleting SRv6 VPN4 SIDs
cscarpitta Nov 3, 2024
2972902
bgpd: Use `IPV6_MAX_BITLEN` when deleting SRv6 VPN6 SIDs
cscarpitta Nov 3, 2024
e2256e3
Merge pull request #17335 from cscarpitta/fix/bgp-use-ipv6-max-bitlen
donaldsharp Nov 3, 2024
747d116
Merge pull request #17334 from cscarpitta/fix/fix-wrong-srv6-debug-ma…
donaldsharp Nov 3, 2024
03012e4
Merge pull request #17333 from cscarpitta/fix/fix-srv6-docs-misspelling
donaldsharp Nov 3, 2024
4c525a4
Merge pull request #17332 from nabahr/fix-import-test
donaldsharp Nov 3, 2024
960462a
Merge pull request #16960 from donaldsharp/zebra_nhg_startup_issue
mjstapp Nov 4, 2024
f51d2a6
zebra: Don't display the vrf if not using namespace based vrfs
donaldsharp Sep 5, 2024
e88cbd6
zebra: Remove large indentation level in do_show_route_helper
donaldsharp Nov 4, 2024
64c67c1
ospfd: Fix assert in LSA refresh interval setting
Nov 5, 2024
ab2117d
Merge pull request #17115 from LabNConsulting/jmuthii/nhrpd-retry-res…
riw777 Nov 5, 2024
f68d5b3
Merge pull request #16750 from donaldsharp/table_display_is_not_vrf_b…
Jafaral Nov 5, 2024
318e983
Merge pull request #17305 from opensourcerouting/fix/bgp_community_li…
riw777 Nov 5, 2024
bee1bcf
tests: Add a topology that supports a large number of ecmp
donaldsharp Oct 25, 2024
408decf
Merge pull request #17319 from opensourcerouting/fix/no_ospf_router-id
riw777 Nov 5, 2024
fe20f83
Merge pull request #17326 from anlancs/fix/zebra-no-ifp-down
riw777 Nov 5, 2024
3e3a666
lib: Add ability to track time in individual routemaps
donaldsharp Oct 10, 2022
905fc5c
Merge pull request #17346 from LabNConsulting/aceelindem/fix_ospf_ref…
Jafaral Nov 5, 2024
24d8d95
ospf6d: remove redundant null ptr check
acooks Nov 6, 2024
8c5a0bb
ospf6d: remove redundant null ptr check
acooks Nov 6, 2024
23c4341
Merge pull request #17364 from acooks-at-bda/fix-redundant-null-ptr-c…
ton31337 Nov 6, 2024
1df6c57
Merge pull request #17363 from acooks-at-bda/fix-redundant-null-ptr-c…
ton31337 Nov 6, 2024
9fa56a0
bgpd:support tcp-mss for neighbor group
zice312963205 Nov 4, 2024
937cf4d
bgpd:support of color extended community color-only types
guoguojia2021 Oct 24, 2024
5a28b62
tests:support of color extended community color-only types
guoguojia2021 Oct 24, 2024
812dcc4
doc:the doc of extcomumnity color
guoguojia2021 Nov 7, 2024
7de464b
bgpd: Clear all paths including addpath once GR expires
ton31337 Nov 7, 2024
895d586
bgpd: Set LLGR stale routes for all the paths including addpath
ton31337 Nov 7, 2024
444bdc4
tests: Check if routes with addpath are cleared if they are stale
ton31337 Nov 7, 2024
2e5e3b4
tests: Check if stale routes with addpath are marked with LLGR community
ton31337 Nov 7, 2024
846af51
Merge pull request #17244 from donaldsharp/high_ecmp_test
ton31337 Nov 7, 2024
36abc43
Merge pull request #17376 from opensourcerouting/fix/stale_routes_wit…
donaldsharp Nov 7, 2024
16bb315
bgpd: Pass in the prefix instead of looking it up again
donaldsharp Nov 7, 2024
ea48239
bgpd: In bgp_withdraw attempt to avoid a if statement on every pass
donaldsharp Nov 7, 2024
fc818fe
bgpd: Mark debugs as unlikely in bgp_withdraw
donaldsharp Nov 7, 2024
bd03373
bgpd: Add unlikely for debugs in bgp_update()
donaldsharp Nov 7, 2024
68ec006
Merge pull request #12109 from donaldsharp/routemap_time_spent
riw777 Nov 7, 2024
af9a2cb
Merge pull request #17231 from guoguojia2021/guozhongfeng_alibaba
ton31337 Nov 8, 2024
f47ae02
lib: Initialize mbefore for route_map_apply_ext()
ton31337 Nov 8, 2024
a85dce2
Merge pull request #17341 from zice312963205/zly_tcpmss
ton31337 Nov 8, 2024
3a47d1f
Merge pull request #17384 from donaldsharp/bgp_withdraw_and_unlikely
ton31337 Nov 8, 2024
b365b0f
Merge pull request #17386 from opensourcerouting/fix/initialize_mbefore
donaldsharp Nov 8, 2024
68358c0
bgpd: Fix for match source-protocol in route-map for redistribute cmd
raja-rajasekar Oct 21, 2024
1dcb4bb
Merge pull request #17362 from raja-rajasekar/rajasekarr/src_proto_fo…
ton31337 Nov 9, 2024
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.
295 changes: 224 additions & 71 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -1,78 +1,231 @@
# SPDX-License-Identifier: GPL-2.0
# clang-format configuration file. Intended for clang-format >= 11.
# If the version is changed also check that CI tool frrbot is updated.
#
# For more information, see:
#
# Documentation/process/clang-format.rst
# https://clang.llvm.org/docs/ClangFormat.html
# https://clang.llvm.org/docs/ClangFormatStyleOptions.html
#
---
BasedOnStyle: LLVM
Language: Cpp
IndentWidth: 8
UseTab: Always
BreakBeforeBraces: Linux
AlwaysBreakBeforeMultilineStrings: true
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AllowShortFunctionsOnASingleLine: false
IndentCaseLabels: false
AlignEscapedNewlinesLeft: false
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
# FRR: Right
AlignEscapedNewlines: Right
AlignOperands: Align
# FRR: true
AlignTrailingComments: true
# FRR: true
AlignConsecutiveMacros: true
AllowAllParametersOfDeclarationOnNextLine: false
AlignAfterOpenBracket: true
SpaceAfterCStyleCast: false
MaxEmptyLinesToKeep: 2
BreakBeforeBinaryOperators: None
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: false
BinPackArguments: true
BinPackParameters: true
BraceWrapping:
AfterClass: false
AfterControlStatement: false
AfterEnum: false
AfterFunction: true
AfterNamespace: true
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
AfterExternBlock: false
BeforeCatch: false
BeforeElse: false
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakBeforeBinaryOperators: false
BreakBeforeBraces: Custom
BreakBeforeInheritanceComma: false
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: false
BreakConstructorInitializers: BeforeComma
BreakAfterJavaFieldAnnotations: false
BreakStringLiterals: false
SortIncludes: false
IncludeCategories:
- Regex: '^(<|lib)'
Priority: 0
ColumnLimit: 100
# Linux: CommentPragmas: '^ IWYU pragma:'
CommentPragmas: '\$(FRR|clippy)'
CompactNamespaces: false
ConstructorInitializerAllOnOneLineOrOnePerLine: false
ConstructorInitializerIndentWidth: 8
ContinuationIndentWidth: 8
Cpp11BracedListStyle: false
DerivePointerAlignment: false
DisableFormat: false
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: false
# Some taken from:
# git grep -h '^#define [^[:space:]]*frr_(each|with)[^[:space:]]*(' ./ \
# | sed "s,^#define \([^[:space:]]*frr_(each|with)[^[:space:]]*\)(.*$, - '\1'," \
# | LC_ALL=C sort -u
# and
# git grep -h '^#define [^[:space:]]*FOREACH[^[:space:]]*(' ./
# | sed "s,^#define \([^[:space:]]*FOREACH[^)]*\)(.*, - '\1',"
# | LC_ALL=C sort -u
ForEachMacros:
# lib
- 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
- LIST_FOREACH_SAFE
- SLIST_FOREACH
- SLIST_FOREACH_SAFE
- SLIST_FOREACH_PREVPTR
- STAILQ_FOREACH
- STAILQ_FOREACH_SAFE
- TAILQ_FOREACH
- TAILQ_FOREACH_SAFE
- TAILQ_FOREACH_REVERSE
- TAILQ_FOREACH_REVERSE_SAFE
- RB_FOREACH
- RB_FOREACH_SAFE
- RB_FOREACH_REVERSE
- RB_FOREACH_REVERSE_SAFE
- SPLAY_FOREACH
- FOR_ALL_INTERFACES
- FOR_ALL_INTERFACES_ADDRESSES
- JSON_FOREACH
# libyang
- LY_FOR_KEYS
- LY_LIST_FOR
- LY_TREE_FOR
- LY_TREE_DFS_BEGIN
- LYD_TREE_DFS_BEGIN
# zebra
- RE_DEST_FOREACH_ROUTE
- RE_DEST_FOREACH_ROUTE_SAFE
- RNODE_FOREACH_RE
- RNODE_FOREACH_RE_SAFE
# bgpd
- UPDGRP_FOREACH_SUBGRP
- UPDGRP_FOREACH_SUBGRP_SAFE
- SUBGRP_FOREACH_PEER
- SUBGRP_FOREACH_PEER_SAFE
- SUBGRP_FOREACH_ADJ
- SUBGRP_FOREACH_ADJ_SAFE
- AF_FOREACH
- FOREACH_AFI_SAFI
- FOREACH_AFI_SAFI_NSF
- FOREACH_SAFI
# ospfd
- LSDB_LOOP
# lib: outliers:
- 'FOR_ALL_INTERFACES'
# libyang outliers:
- 'LY_FOR_KEYS'
- 'LY_LIST_FOR'
- 'LYD_LIST_FOR_INST'
- 'LYD_LIST_FOR_INST_SAFE'
- 'LY_TREE_FOR'
- 'LY_TREE_DFS_BEGIN'
- 'LYD_TREE_DFS_BEGIN'
# ospfd outliers:
- 'LSDB_LOOP'
# first git grep
- 'darr_foreach_p'
- 'darr_foreach_i'
- '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'
# second git grep
- 'AF_FOREACH'
- 'FOREACH_ADAPTER_IN_LIST'
- 'FOREACH_AFI_SAFI'
- 'FOREACH_AFI_SAFI_NSF'
- 'FOREACH_BE_APPLY_BATCH_IN_LIST'
- 'FOREACH_BE_CLIENT_BITS'
- 'FOREACH_BE_TXN_BATCH_IN_LIST'
- 'FOREACH_BE_TXN_IN_LIST'
- 'FOREACH_CMT_REC'
- 'FOREACH_MGMTD_BE_CLIENT_ID'
- 'FOREACH_MGMTD_DS_ID'
- 'FOREACH_SAFI'
- 'FOREACH_SESSION_IN_LIST'
- 'FOREACH_TXN_CFG_BATCH_IN_LIST'
- 'FOREACH_TXN_IN_LIST'
- 'FOREACH_TXN_REQ_IN_LIST'
- 'JSON_FOREACH'
- 'LIST_FOREACH'
- 'LIST_FOREACH_SAFE'
- 'RB_FOREACH'
- 'RB_FOREACH_REVERSE'
- 'RB_FOREACH_REVERSE_SAFE'
- 'RB_FOREACH_SAFE'
- 'RE_DEST_FOREACH_ROUTE'
- 'RE_DEST_FOREACH_ROUTE_SAFE'
- 'RNODE_FOREACH_RE'
- 'RNODE_FOREACH_RE_SAFE'
- 'SIMPLEQ_FOREACH'
- 'SIMPLEQ_FOREACH_SAFE'
- 'SLIST_FOREACH'
- 'SLIST_FOREACH_PREVPTR'
- 'SLIST_FOREACH_SAFE'
- 'SPLAY_FOREACH'
- 'STAILQ_FOREACH'
- 'STAILQ_FOREACH_SAFE'
- 'SUBGRP_FOREACH_ADJ'
- 'SUBGRP_FOREACH_ADJ_SAFE'
- 'SUBGRP_FOREACH_PEER'
- 'SUBGRP_FOREACH_PEER_SAFE'
- 'TAILQ_FOREACH'
- 'TAILQ_FOREACH_REVERSE'
- 'TAILQ_FOREACH_REVERSE_SAFE'
- 'TAILQ_FOREACH_SAFE'
- 'UPDGRP_FOREACH_SUBGRP'
- 'UPDGRP_FOREACH_SUBGRP_SAFE'
- 'XSIMPLEQ_FOREACH'
- 'XSIMPLEQ_FOREACH_SAFE'
IncludeBlocks: Preserve
IncludeCategories:
- Regex: '^(<|lib)'
Priority: 0
## New: XXX whats it mean?
IncludeIsMainRegex: '(Test)?$'
IndentCaseLabels: false
IndentGotoLabels: false
IndentPPDirectives: None
IndentWidth: 8
IndentWrappedFunctionNames: false
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks: false
MacroBlockBegin: ''
MacroBlockEnd: ''
## Linux: MaxEmptyLinesToKeep: 1
MaxEmptyLinesToKeep: 2
NamespaceIndentation: None
ObjCBinPackProtocolList: Auto
ObjCBlockIndentWidth: 8
ObjCSpaceAfterProperty: true
ObjCSpaceBeforeProtocolList: true

## Lowest Penalty Value wins. Values are used by clang-format to influence
## the brak decisions, it's a bit of voodoo magic though.
## Originally from linux which was "Taken from git's rules"
PenaltyBreakAssignment: 30
PenaltyBreakComment: 10
PenaltyBreakFirstLessLess: 0
# Don't break a string into multi-string-fragments
PenaltyBreakString: 1000
# Allow going past the ColumnLimit to keep function arguments aligned
# with the open parenthesis.
PenaltyBreakBeforeFirstCallParameter: 1000
# Try and stay under ColumnLimit, but not at the cost of incomprehensible code.
PenaltyExcessCharacter: 30
PenaltyReturnTypeOnItsOwnLine: 60

PointerAlignment: Right
ReflowComments: false
SortIncludes: false
SortUsingDeclarations: false
SpaceAfterCStyleCast: false
SpaceAfterTemplateKeyword: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: true
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: false
SpacesInContainerLiterals: false
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
Standard: Cpp03
TabWidth: 8
UseTab: Always
WhitespaceSensitiveMacros:
- "DEFPY"
- "DEFPY_HIDDEN"
- "DEFPY_NOSH"
- "DEFPY_YANG"
- "DEFPY_YANG_HIDDEN"
- "DEFPY_YANG_NOSH"
- "DEFSH"
- "DEFSH_HIDDEN"
- "DEFUN"
- "DEFUN_HIDDEN"
- "DEFUN_NOSH"
- "DEFUN_YANG"
- "DEFUN_YANG_HIDDEN"
- "DEFUN_YANG_NOSH"
- "DEFUNSH"
- "DEFUNSH_HIDDEN"
- "ALIAS"
- "ALIAS_HIDDEN"
- "ALIAS_YANG"
- "ALIAS_DEPRECATED"
...
3 changes: 3 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[flake8]
max-line-length = 88
extend-ignore = E203
2 changes: 2 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ c14777c6bfd0a446c85243d3a9835054a259c276
8451921b70044a2c1075e7ba391f095fabee2550
bf8d3d6aca3f20255a621ed1c148fd05b3a8ae5c
96941f80927ce31a41f7d1905717f099187be723
# apply `black` python formatting for all tests/topotests
1a1c2a9f84d0ad1bdadc0cb47d6175d4ccc32544
Loading
Loading