-
Notifications
You must be signed in to change notification settings - Fork 1
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
Topotests fail #7
Commits on Dec 14, 2023
-
tests: ospf_suppress_fa sleeps, convert to run_and_expect
The test_ospf_suppres_fa.py script is using straight up sleeps before testing that the next step worked properly. On a unloaded test system this will work 100% of the time on a loaded test system this will have random failures. Convert the test to use run_and_expect and give each section of the test 30 seconds to get to the next state appropriately instead of 10. Signed-off-by: Donald Sharp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 48df84a - Browse repository at this point
Copy the full SHA 48df84aView commit details -
ospfd: Correct LSA parser which fulfill the TED
Traffic Engineering Database (TED) is fulfill from the various LSA advertised and received by the router. To remove information on the TED, 2 mechanisms are used: i) parse TE Opaque LSA when there are flushed and ii) compare the list of prefixes advertised in the Router LSA with the list of corresponding edges and subnets contained in the TED. However, this second mechanism assumes that the Router LSA is unique and contains all prefixes of the advertised router. But, this is wrong. Prefixes could be advertised with several Router LSA. This conduct to remove edge and subnet in the TED while it should be maintained. The result is a faulty test with ospf_sr_te_topo1 topotest when server is heavy loaded. This simple patch removed deletion of edges and subnets when parsing the Router LSA and only removed them when the corresponding TE Opaque LSA is flushed. In addition, TE Opaque LSA are not flushed when OSPF ajacency goes down. This patch also correct this second problem. Signed-off-by: Olivier Dugeon <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a323032 - Browse repository at this point
Copy the full SHA a323032View commit details -
tests: Update OSPF TE topotests
The OSPF TE topotest is using switches to interconnect router. During the test, interfaces are shutdown on some routers to simulate link failure and check that the TED is correctly updated. However, the switche between router avoid the detection by the neighbor router that the interface is down i.e. the interface line remains up as it is conneted to the switch and not to the router. This patch update the tested topology by removing the switch and connect directly the router excepted the inter AS link on R3. Interface are also renamed accordingly. Signed-off-by: Olivier Dugeon <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 55ad785 - Browse repository at this point
Copy the full SHA 55ad785View commit details -
Merge pull request #15026 from Orange-OpenSource/ospf-te
ospfd: Correct LSA parser which fulfill the TED
Configuration menu - View commit details
-
Copy full SHA for 68edff1 - Browse repository at this point
Copy the full SHA 68edff1View commit details -
Merge pull request #15025 from donaldsharp/dplane_fpm_nl_wedgied
zebra: Prevent possible wedged fpm write
Configuration menu - View commit details
-
Copy full SHA for 594be7d - Browse repository at this point
Copy the full SHA 594be7dView commit details
Commits on Dec 15, 2023
-
Merge pull request #15023 from opensourcerouting/fix/drop_redundant_v…
…rf_name bgpd: Drop redundant VRF name printing for `show bgp summary`
Configuration menu - View commit details
-
Copy full SHA for db4bdf7 - Browse repository at this point
Copy the full SHA db4bdf7View commit details -
Merge pull request #15015 from donaldsharp/test_ospf_suppress_fa_cleanup
tests: ospf_suppress_fa sleeps, convert to run_and_expect
Configuration menu - View commit details
-
Copy full SHA for a912f8f - Browse repository at this point
Copy the full SHA a912f8fView commit details -
bgpd: "default-originate" shouldn't withdraw non-default routes
Prevent "default-originate" from withdrawing non-default routes like 0.0.0.0/1 by checking prefix length. Signed-off-by: Xiao Liang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4d74ba9 - Browse repository at this point
Copy the full SHA 4d74ba9View commit details
Commits on Dec 16, 2023
-
lib, bgpd, nhrpd: Cleanup memory in lib/resolver on shutdown
This memory was not being cleaned up on shutdown. Fix this. Signed-off-by: Donald Sharp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f38687b - Browse repository at this point
Copy the full SHA f38687bView commit details -
nhrpd: Cleanup a hash on nhrp shutdown
Signed-off-by: Donald Sharp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e700069 - Browse repository at this point
Copy the full SHA e700069View commit details
Commits on Dec 17, 2023
-
bgpd: Use CAPABILITY_CODE_ADDPATH_LEN instead of numeric value
Signed-off-by: Donatas Abraitis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 66c78c6 - Browse repository at this point
Copy the full SHA 66c78c6View commit details -
Merge pull request #15035 from donaldsharp/more_frr_memory_leaks_on_s…
…hutdown More frr memory leaks on shutdown
Configuration menu - View commit details
-
Copy full SHA for e09b5af - Browse repository at this point
Copy the full SHA e09b5afView commit details -
bgpd: Validate Addpath capability flags per AF
Send/Receive: This field indicates whether the sender is (a) able to receive multiple paths from its peer (value 1), (b) able to send multiple paths to its peer (value 2), or (c) both (value 3) for the <AFI, SAFI>. If any other value is received, then the capability SHOULD be treated as not understood and ignored [RFC5492]. Signed-off-by: Donatas Abraitis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0f05e56 - Browse repository at this point
Copy the full SHA 0f05e56View commit details
Commits on Dec 18, 2023
-
tests: Check for 0.0.0.0/1 in bgp_default_route
Ensure that 0.0.0.0/1 route can be advertised along with default-originate. Signed-off-by: Xiao Liang <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4538247 - Browse repository at this point
Copy the full SHA 4538247View commit details -
bgpd: rework debug nexthop in separate function
When adding/removing a route, the next-hop can be dumped with debugging turned on. Move this function in a separate function. There is no other change in this commit. Signed-off-by: Philippe Guibert <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5d4af03 - Browse repository at this point
Copy the full SHA 5d4af03View commit details -
bgpd: rework bgp_zebra_announce() function, separate nexthop handling
Separate the processing in bgp_zebra_announce(), by separating the nexthop code in a separate function called bgp_zebra_announce_parse_nexthop(). This commit does not bring any functional change. Signed-off-by: Philippe Guibert <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 237ebf8 - Browse repository at this point
Copy the full SHA 237ebf8View commit details -
bgpd, lib: add zapi_route_set_nhg_id() support
There is no function that both sets the nhg id, and sets the ZAPI_MESSAGE_NHG flag if the nhg id is valid. Create a ZAPI API to do this, and apply the changes wherever needed. Signed-off-by: Philippe Guibert <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d8477d4 - Browse repository at this point
Copy the full SHA d8477d4View commit details -
Merge pull request #15032 from leonshaw/fix/bgp-default-withdraw
bgpd: "default-originate" shouldn't withdraw non-default routes
Configuration menu - View commit details
-
Copy full SHA for 24ecc73 - Browse repository at this point
Copy the full SHA 24ecc73View commit details -
Merge pull request #15037 from opensourcerouting/fix/validate_send_re…
…ceive_flags bgpd: Validate Addpath capability flags per AF
Configuration menu - View commit details
-
Copy full SHA for b3e5ee5 - Browse repository at this point
Copy the full SHA b3e5ee5View commit details -
Merge pull request #15036 from opensourcerouting/fix/use_constants_fo…
…r_addpath_cap_length bgpd: Use CAPABILITY_CODE_ADDPATH_LEN instead of numeric value
Configuration menu - View commit details
-
Copy full SHA for 490928b - Browse repository at this point
Copy the full SHA 490928bView commit details -
Merge pull request #15022 from opensourcerouting/fix/change_to_log.error
tools: Use error log level when failing to execute commands via frr-reload.py
Configuration menu - View commit details
-
Copy full SHA for 066f379 - Browse repository at this point
Copy the full SHA 066f379View commit details
Commits on Dec 19, 2023
-
Merge pull request #15002 from donaldsharp/bgp_evpn_label_no_delete
bgpd: When receiving a label, store it
Configuration menu - View commit details
-
Copy full SHA for a3388fa - Browse repository at this point
Copy the full SHA a3388faView commit details -
Configuration menu - View commit details
-
Copy full SHA for d1b3f07 - Browse repository at this point
Copy the full SHA d1b3f07View commit details -
Merge pull request #15046 from FRRouting/revert-15002-bgp_evpn_label_…
…no_delete Revert "bgpd: When receiving a label, store it"
Configuration menu - View commit details
-
Copy full SHA for b6cb72f - Browse repository at this point
Copy the full SHA b6cb72fView commit details
Commits on Dec 20, 2023
-
ospfd: Fix opaque functab leak and opaque AS cleanup problems
1. Fix ospf opaque LSA function table memory leak. 2. Remove incorrect one-to-one association of OSPF info-per-type to function table (since there many be many). 3. Fix a problem with opaque AS external cleanup that was exposed by #2. 4. Fix LSA memory leak in ospf_opaque_type9_lsa_if_cleanup(). Signed-off-by: Acee <[email protected]>
Acee committedDec 20, 2023 Configuration menu - View commit details
-
Copy full SHA for dec87fa - Browse repository at this point
Copy the full SHA dec87faView commit details -
Merge pull request #15047 from LabNConsulting/aceelindem/fix-opaque-f…
…unctab-leak ospfd: Fix opaque functab memory leak and opaque AS External LSA cleanup problems
Configuration menu - View commit details
-
Copy full SHA for bbda45a - Browse repository at this point
Copy the full SHA bbda45aView commit details
Commits on Dec 21, 2023
-
zebra: Drop ipv6_address_configured() function
Not used. Signed-off-by: Donatas Abraitis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1332be5 - Browse repository at this point
Copy the full SHA 1332be5View commit details -
zebra: Push all configured IP addresses when the interface comes up
Let's say we this: ``` $ ip link set down dev r1-eth0 $ ip link set up dev r1-eth0 ``` But at the same time we have this interface configured by the FRR too: ``` interface r1-eth0 ipv6 address fe80:1::1/64 exit ``` We never re-add fe80:1::1/64, when the interface comes up, and we have a strange situation where NHT stops working and other stuff depending on NHT stops too (BGP peering, etc.). Closes: FRRouting/frr#15050 Signed-off-by: Donatas Abraitis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 02f8cf7 - Browse repository at this point
Copy the full SHA 02f8cf7View commit details -
zebra: Show IPv6 link-local interfaces under
show interface
outputDespite if it's managed by FRR or the kernel, show it. Signed-off-by: Donatas Abraitis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f95479b - Browse repository at this point
Copy the full SHA f95479bView commit details -
tests: Auto generate support bundle when a test fails
Tests can fail, let's be proactive and gather up a support bundle when they fail. It will help diagnose the problem to some extent. Signed-off-by: Donald Sharp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7477d87 - Browse repository at this point
Copy the full SHA 7477d87View commit details -
tests: Stop some warning messages on test runs
Signed-off-by: Donald Sharp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1aa6c5e - Browse repository at this point
Copy the full SHA 1aa6c5eView commit details -
tools: Add some more data to support bundles
The ipv[4|6] vpn tables in bgp were not being gathered. This would be useful for some situations Signed-off-by: Donald Sharp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for daa80a5 - Browse repository at this point
Copy the full SHA daa80a5View commit details -
zebra: Show IPv6 link-local interfaces under
show interface brief
o……utput Despite if it's managed by FRR or the kernel, show it. If the system has only link-local addresses, we should show it unless it's a secondary one. Signed-off-by: Donatas Abraitis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cb777f9 - Browse repository at this point
Copy the full SHA cb777f9View commit details -
lib: Keychain.c was using free
This is a bit of a bummer that this slipped through for so long. Signed-off-by: Donald Sharp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 09fbf2e - Browse repository at this point
Copy the full SHA 09fbf2eView commit details
Commits on Dec 22, 2023
-
Merge pull request #15060 from donaldsharp/keychain_free_no_i_really_…
…mean_it lib: Keychain.c was using free
Configuration menu - View commit details
-
Copy full SHA for 1225954 - Browse repository at this point
Copy the full SHA 1225954View commit details -
Merge pull request #15059 from donaldsharp/generate_support_bundle_on…
…_test_failure Generate support bundle on test failure
Configuration menu - View commit details
-
Copy full SHA for eba1c1e - Browse repository at this point
Copy the full SHA eba1c1eView commit details -
redhat: rpm spec: added protobuf-c to deps & fix bogus changelog date
Fixes for: ``` checking for protoc-c... no configure: error: in `/builddir/build/BUILD/frr-frr-9.1': configure: error: protobuf requested but protoc-c not found. Install protobuf-c. ``` And rpmlint warnings: ``` warning: line 208: It's not recommended to have unversioned Obsoletes: Obsoletes: gated mrt zebra frr-sysvinit warning: bogus date in %changelog: Thu Oct 09 2023 Donatas Abraitis <[email protected]> - 9.1 line 208: It's not recommended to have unversioned Obsoletes: Obsoletes: gated mrt zebra frr-sysvinit bogus date in %changelog: Thu Oct 09 2023 Donatas Abraitis <[email protected]> - 9.1 ``` Signed-off-by: Konstantin Shalygin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 47bce17 - Browse repository at this point
Copy the full SHA 47bce17View commit details -
github: Mark the build as failed if 'do not merge' label is set
This prevents us from merging PRs marked as 'do not merge'. Signed-off-by: Donatas Abraitis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c733a38 - Browse repository at this point
Copy the full SHA c733a38View commit details -
doc: add graphiz dependency for dev docs
There's a graph in cli.rst that needs graphviz to be built. Signed-off-by: Igor Ryzhov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4907ce9 - Browse repository at this point
Copy the full SHA 4907ce9View commit details -
Merge pull request #15053 from opensourcerouting/fix/drop_ipv6_addres…
…s_configured zebra: Drop ipv6_address_configured() function
Configuration menu - View commit details
-
Copy full SHA for c3c5431 - Browse repository at this point
Copy the full SHA c3c5431View commit details
Commits on Dec 24, 2023
-
Merge pull request #15063 from idryzhov/dev-doc-graphviz
doc: add graphiz dependency for dev docs
Configuration menu - View commit details
-
Copy full SHA for 080299f - Browse repository at this point
Copy the full SHA 080299fView commit details
Commits on Dec 26, 2023
-
lib: add simplified native msg support
This is intended to replace protobuf use in mgmtd. Signed-off-by: Christian Hopps <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8790457 - Browse repository at this point
Copy the full SHA 8790457View commit details -
lib: yang: add tree "printing" utility functions
Signed-off-by: Christian Hopps <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 80cac37 - Browse repository at this point
Copy the full SHA 80cac37View commit details
Commits on Dec 28, 2023
-
bgpd: revamp evpn debugs nexthop and l3vni
Add nexthop fied when import/unimport evpn route in vrf, print bgp vrf instance name which contains "VRF" keyword. Include pathcount which is list of paths linked to nexthop. add and delete l3vni to keep symmetric "L3VNI" keyword as used in other debug statements. Ticket: #3671288 Testing Done: 2023/12/27 05:10:03.339616 BGP: [HPE1G-3H7F2] ... new pi VRF vrf2 dest 0x55663e8372c0 (l 2) pi 0x55663e8374d0 (l 1, f 0x4010) nh 6.0.0.1 2023/12/27 05:58:56.650116 BGP: [MC0JJ-7ZYQB] ... delete pi VRF vrf2 dest 0x55663e885110 (l 5) pi 0x55663e8851e0 (l 1, f 0x4098) nh 6.0.0.1 2023/12/27 05:10:03.339581 BGP: [P4TBX-3W31N] evpn VRF vrf2 nh 6.0.0.1 rmac 00:02:00:00:00:04 add to zebra 2023/12/27 06:13:12.685906 BGP: [SWSCZ-2Z6M4] evpn vrf VRF vrf1 nh 6.0.0.1 del to zebra 2023/12/27 05:10:03.339603 BGP: [Y2EAK-4N7FV] path 60.1.1.111/32 linked to VRF vrf2 nh 6.0.0.1 pathcount 0 2023/12/27 05:58:56.650125 BGP: [GVE17-CSNTB] path 81.1.1.0/24 unlinked from VRF vrf2 nh 6.0.0.1 pathcount 16 2023/12/27 05:08:10.108038 ZEBRA: [Q8ZEK-CT776] Send L3VNI ADD 104001 VRF vrf1 RMAC 00:04:ba:10:10:62 VRR 1c:34:da:19:59:62 local-ip 6.0.0.31 filter none to bgp 2023/12/27 05:08:26.043121 ZEBRA: [R43YF-2MKZ3] Send L3VNI DEL 104001 VRF vrf1 to bgp Signed-off-by: Chirag Shah <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fa00a2f - Browse repository at this point
Copy the full SHA fa00a2fView commit details -
bgpd: fix coverity warnings about evpn vpn variable
A few paths could see a vpn variable with a NULL value; check and protect those paths. Signed-off-by: Mark Stapp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 39b8872 - Browse repository at this point
Copy the full SHA 39b8872View commit details -
bgpd: lttng tp add ethtag to macip zebra send
Ticket:#3597393 Testing Done: 2023-09-08T17:33:03.731 frr_bgp:evpn_mac_ip_zsend {'action': 'add', 'vni': 1003, 'eth_tag': 968006412, 'mac': '00:02:00:00:00:40', 'ip': '', 'vtep': '27.0.0.16', 'esi': '00:00:00:00:00:00:00:00:00:00'} Signed-off-by: Chirag Shah <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 42949ed - Browse repository at this point
Copy the full SHA 42949edView commit details -
lib: step 1: mgmtd: add FE get-tree functionality
Signed-off-by: Christian Hopps <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 772f6c0 - Browse repository at this point
Copy the full SHA 772f6c0View commit details -
lib: step 2: mgmtd: BE client code for get-tree functionality
Signed-off-by: Christian Hopps <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4fee273 - Browse repository at this point
Copy the full SHA 4fee273View commit details -
mgmtd: step 3: BE adapter native message handling
Signed-off-by: Christian Hopps <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 33b9c2e - Browse repository at this point
Copy the full SHA 33b9c2eView commit details -
mgmtd: step 4: FE adapter get-tree functionality
Signed-off-by: Christian Hopps <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for be2424a - Browse repository at this point
Copy the full SHA be2424aView commit details -
mgmtd: step 5: add get-tree txn functionality
Adds the guts of the get-tree functionality that is called by or calls the FE and BE code for get-tree processing. Signed-off-by: Christian Hopps <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8df542b - Browse repository at this point
Copy the full SHA 8df542bView commit details -
mgmtd: step 6: remove old unfinished get-data code
Signed-off-by: Christian Hopps <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9cd8693 - Browse repository at this point
Copy the full SHA 9cd8693View commit details -
tests: add debugs and count in static_simple test
Also add option to use unified config. Signed-off-by: Christian Hopps <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1bb6f21 - Browse repository at this point
Copy the full SHA 1bb6f21View commit details -
lib: darr: add new access and str functions
- darr_last(), and darr_strdup_cap(). - strcat, strdup, strlen, strnul equivs. Signed-off-by: Christian Hopps <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f3d6edc - Browse repository at this point
Copy the full SHA f3d6edcView commit details -
- yang_get_key_preds - yang_lyd_new_list A function like new_list was added recently to libyang, this is a compat version. Signed-off-by: Christian Hopps <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for db0211d - Browse repository at this point
Copy the full SHA db0211dView commit details -
lib: northbound: improve xpath functionality
Allow user to leave keys off of a list entry node at the end of the xpath. This will return all list entries. Previously there was no way to just get the list entries. One had to leave off the last list entry node which would then return all list nodes as well as all the siblings at the same level. Signed-off-by: Christian Hopps <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d58653a - Browse repository at this point
Copy the full SHA d58653aView commit details -
lib: create and use libyang tree during oper-state walk
Signed-off-by: Christian Hopps <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 408ee24 - Browse repository at this point
Copy the full SHA 408ee24View commit details -
tools: add more libyang iter macros to .clang-format
Signed-off-by: Christian Hopps <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 60a8cf7 - Browse repository at this point
Copy the full SHA 60a8cf7View commit details -
lib: yang: add yang_get_node_keys() function
- comment out unused mem-leaking function. - improve yang_dnode_get_path return type Signed-off-by: Christian Hopps <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 356c01b - Browse repository at this point
Copy the full SHA 356c01bView commit details -
lib: darr: add ability to set MTYPE for dynamic arrays
Signed-off-by: Christian Hopps <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b7db6b2 - Browse repository at this point
Copy the full SHA b7db6b2View commit details -
lib: northbound: add yielding and batching to oper-state queries
Signed-off-by: Christian Hopps <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ad1ccb6 - Browse repository at this point
Copy the full SHA ad1ccb6View commit details -
lib: add dedicated API functions for native msgs
- reorg native message header Signed-off-by: Christian Hopps <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4e0147a - Browse repository at this point
Copy the full SHA 4e0147aView commit details -
zebra: add zebra to mgmtd oper-state
Signed-off-by: Christian Hopps <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ef91d34 - Browse repository at this point
Copy the full SHA ef91d34View commit details -
zebra: support yielding between oper state routes query
Signed-off-by: Christian Hopps <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d266b1c - Browse repository at this point
Copy the full SHA d266b1cView commit details -
zebra: fix oper-state walk bug
Signed-off-by: Christian Hopps <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c521d45 - Browse repository at this point
Copy the full SHA c521d45View commit details -
zebra: fix cleanup of mgmt backend state
Signed-off-by: Christian Hopps <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d0f71a9 - Browse repository at this point
Copy the full SHA d0f71a9View commit details -
lib: fixes required after rebasing
lib: fix checkpatch warnings lib: darr: disable check mgmtd: fix initialization Signed-off-by: Christian Hopps <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b8b5290 - Browse repository at this point
Copy the full SHA b8b5290View commit details -
Signed-off-by: Christian Hopps <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2bb115f - Browse repository at this point
Copy the full SHA 2bb115fView commit details -
Signed-off-by: Christian Hopps <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f725838 - Browse repository at this point
Copy the full SHA f725838View commit details
Commits on Dec 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 353ee7b - Browse repository at this point
Copy the full SHA 353ee7bView commit details
Commits on Dec 30, 2023
-
Signed-off-by: Christian Hopps <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for db11968 - Browse repository at this point
Copy the full SHA db11968View commit details -
mgmtd: fix coverity CID 1574978
Signed-off-by: Christian Hopps <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 913892e - Browse repository at this point
Copy the full SHA 913892eView commit details -
Signed-off-by: Christian Hopps <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b28cd40 - Browse repository at this point
Copy the full SHA b28cd40View commit details -
mgmtd: fix coverity CID 1574980
Signed-off-by: Christian Hopps <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 30e63f2 - Browse repository at this point
Copy the full SHA 30e63f2View commit details -
Signed-off-by: Christian Hopps <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1a7b50a - Browse repository at this point
Copy the full SHA 1a7b50aView commit details -
lib: mgmtd: increase soft-max msg size to 64K
- remove unused mgmt client/server constants Signed-off-by: Christian Hopps <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 39e0f33 - Browse repository at this point
Copy the full SHA 39e0f33View commit details
Commits on Dec 31, 2023
-
build: protobuf is required so update building docs
- recommend using libyang 2.1.128 but accept 2.0.0 for now. - update ubuntu building doc to add GRPC section - update ubuntu reference docker builds to match grpc doc change Signed-off-by: Christian Hopps <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c00002d - Browse repository at this point
Copy the full SHA c00002dView commit details
Commits on Jan 2, 2024
-
bgpd: unimport evpn routes when implicit withdraw
When bgp update is received for EVPN prefix where for an existing path's nexthop becomes unreachable, the path is marked as not VALID but the routes were not unimported from tenant vrfs, which lead to stale unicast route(s) and nexthop(s). In Multipath scenario only a specific path may have marked as not VALID, then specific path info for the EVPN prefix required to be unimported from tenant vrf. Ticket: #3671288 Signed-off-by: Chirag Shah <[email protected]> Signed-off-by: Donald Sharp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d8689cc - Browse repository at this point
Copy the full SHA d8689ccView commit details -
Merge pull request #15066 from chiragshah6/mdev1
bgpd: revamp evpn debugs nexthop and l3vni
Configuration menu - View commit details
-
Copy full SHA for e684b42 - Browse repository at this point
Copy the full SHA e684b42View commit details -
Merge pull request #15068 from chiragshah6/zdev
bgpd: lttng tp add ethtag to macip zebra send
Configuration menu - View commit details
-
Copy full SHA for bfe52f8 - Browse repository at this point
Copy the full SHA bfe52f8View commit details -
lib: fix specific entry queries
- fix key leaf queries - fix specific list entry with non-key leaf top element Signed-off-by: Christian Hopps <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7e65956 - Browse repository at this point
Copy the full SHA 7e65956View commit details -
pathd: add dynamic candidate path metric [computed] keyword
Add the 'computed' keyword for a given metric. > [..] > metric te computed When set by the PCC, the PCE must send back a computed metric value in the PCResponse value. Signed-off-by: Philippe Guibert <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 784c93c - Browse repository at this point
Copy the full SHA 784c93cView commit details -
lib: don't count on scheme key nodes being first children
Heard back from libyang folks that this is not something they consider part of the API and/or are going to guarantee. So we cannot count on it. Expect keys at any location on the child sibling list. Signed-off-by: Christian Hopps <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 412eec1 - Browse repository at this point
Copy the full SHA 412eec1View commit details -
Merge pull request #15075 from pguibert6WIND/pathd_metric_computed
pathd: add dynamic candidate path metric [computed] keyword
Configuration menu - View commit details
-
Copy full SHA for 0fb3dda - Browse repository at this point
Copy the full SHA 0fb3ddaView commit details -
Merge pull request #15076 from LabNConsulting/chopps/libyang-no-schem…
…a-node-key-guarantee lib: don't count on scheme key nodes being first children
Configuration menu - View commit details
-
Copy full SHA for f6ae118 - Browse repository at this point
Copy the full SHA f6ae118View commit details -
Merge pull request #15073 from LabNConsulting/chopps/fix-yang-key-que…
…ries lib: fix specific entry queries
Configuration menu - View commit details
-
Copy full SHA for 60f0996 - Browse repository at this point
Copy the full SHA 60f0996View commit details -
Merge pull request #15071 from LabNConsulting/chopps/building-cleanup
build: protobuf is required so update building docs
Configuration menu - View commit details
-
Copy full SHA for da7668f - Browse repository at this point
Copy the full SHA da7668fView commit details -
Merge pull request #15070 from LabNConsulting/chopps/fix-coverity-errors
chopps/fix coverity errors
Configuration menu - View commit details
-
Copy full SHA for de01b61 - Browse repository at this point
Copy the full SHA de01b61View commit details -
Merge pull request #12261 from cscarpitta/srv6-encap-src-addr
zebra: Add the support of the Source Addr param of the SRv6 Encapsulation
Configuration menu - View commit details
-
Copy full SHA for 54c2d32 - Browse repository at this point
Copy the full SHA 54c2d32View commit details -
Merge pull request #15062 from opensourcerouting/fix/mark_as_failed_i…
…f_do_not_merge_labeled github: Mark the build as failed if 'do not merge' label is set
Configuration menu - View commit details
-
Copy full SHA for 077fc27 - Browse repository at this point
Copy the full SHA 077fc27View commit details -
Merge pull request #15055 from opensourcerouting/fix/zebra_ipv6_ll_co…
…nfigured zebra: Push all configured IP addresses when the interface comes up
Configuration menu - View commit details
-
Copy full SHA for 2e69afd - Browse repository at this point
Copy the full SHA 2e69afdView commit details -
Merge pull request #15074 from chiragshah6/fdev4
bgpd: unimport evpn routes when implicit withdraw
Configuration menu - View commit details
-
Copy full SHA for 2aef695 - Browse repository at this point
Copy the full SHA 2aef695View commit details
Commits on Jan 3, 2024
-
isisd: fix _isis_spftree_del heap-use-after-free
Fix the following heap-use-after-free > ==82961==ERROR: AddressSanitizer: heap-use-after-free on address 0x6020001e4750 at pc 0x55a8cc7f63ac bp 0x7ffd6948e340 sp 0x7ffd6948e330 > READ of size 8 at 0x6020001e4750 thread T0 > #0 0x55a8cc7f63ab in isis_route_node_cleanup isisd/isis_route.c:335 > #1 0x7ff25ec617c1 in route_node_free lib/table.c:75 > #2 0x7ff25ec619fc in route_table_free lib/table.c:111 > #3 0x7ff25ec61661 in route_table_finish lib/table.c:46 > #4 0x55a8cc800d83 in _isis_spftree_del isisd/isis_spf.c:397 > #5 0x55a8cc800e45 in isis_spftree_clear isisd/isis_spf.c:414 > #6 0x55a8cc80bd9a in isis_run_spf isisd/isis_spf.c:2020 > #7 0x55a8cc80c370 in isis_run_spf_with_protection isisd/isis_spf.c:2076 > #8 0x55a8cc80cf52 in isis_run_spf_cb isisd/isis_spf.c:2165 > #9 0x7ff25ec7c4dc in event_call lib/event.c:1970 > #10 0x7ff25eb64423 in frr_run lib/libfrr.c:1213 > #11 0x55a8cc7799da in main isisd/isis_main.c:318 > #12 0x7ff25e623d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 > #13 0x7ff25e623e3f in __libc_start_main_impl ../csu/libc-start.c:392 > #14 0x55a8cc778e44 in _start (/usr/lib/frr/isisd+0x109e44) > > 0x6020001e4750 is located 0 bytes inside of 16-byte region [0x6020001e4750,0x6020001e4760) > freed by thread T0 here: > #0 0x7ff25f000537 in __interceptor_free ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:127 > #1 0x7ff25eb9012e in qfree lib/memory.c:130 > #2 0x55a8cc7f6485 in isis_route_table_info_free isisd/isis_route.c:351 > #3 0x55a8cc800cf4 in _isis_spftree_del isisd/isis_spf.c:395 > #4 0x55a8cc800e45 in isis_spftree_clear isisd/isis_spf.c:414 > #5 0x55a8cc80bd9a in isis_run_spf isisd/isis_spf.c:2020 > #6 0x55a8cc80c370 in isis_run_spf_with_protection isisd/isis_spf.c:2076 > #7 0x55a8cc80cf52 in isis_run_spf_cb isisd/isis_spf.c:2165 > #8 0x7ff25ec7c4dc in event_call lib/event.c:1970 > #9 0x7ff25eb64423 in frr_run lib/libfrr.c:1213 > #10 0x55a8cc7799da in main isisd/isis_main.c:318 > #11 0x7ff25e623d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 > > previously allocated by thread T0 here: > #0 0x7ff25f000a57 in __interceptor_calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:154 > #1 0x7ff25eb8ffdc in qcalloc lib/memory.c:105 > #2 0x55a8cc7f63eb in isis_route_table_info_alloc isisd/isis_route.c:343 > #3 0x55a8cc80052a in _isis_spftree_init isisd/isis_spf.c:334 > #4 0x55a8cc800e51 in isis_spftree_clear isisd/isis_spf.c:415 > #5 0x55a8cc80bd9a in isis_run_spf isisd/isis_spf.c:2020 > #6 0x55a8cc80c370 in isis_run_spf_with_protection isisd/isis_spf.c:2076 > #7 0x55a8cc80cf52 in isis_run_spf_cb isisd/isis_spf.c:2165 > #8 0x7ff25ec7c4dc in event_call lib/event.c:1970 > #9 0x7ff25eb64423 in frr_run lib/libfrr.c:1213 > #10 0x55a8cc7799da in main isisd/isis_main.c:318 > #11 0x7ff25e623d8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 Fixes: 7153c3c ("isisd: update struct isis_route_info has multiple sr info by algorithm") Signed-off-by: Louis Scalbert <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9fa9a9d - Browse repository at this point
Copy the full SHA 9fa9a9dView commit details
Commits on Jan 4, 2024
-
doc: add diagram of oper-state queries.
Signed-off-by: Christian Hopps <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d2661a3 - Browse repository at this point
Copy the full SHA d2661a3View commit details -
lib: remove unused/replaced oper-state iteration code
Signed-off-by: Christian Hopps <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 87a0e1f - Browse repository at this point
Copy the full SHA 87a0e1fView commit details -
zebra:
ctx
has to be non NULL at this pointFix the following coverity issue: *** CID 1575079: Null pointer dereferences (REVERSE_INULL) /zebra/zebra_dplane.c: 5950 in dplane_srv6_encap_srcaddr_set() 5944 if (ret == AOK) 5945 result = ZEBRA_DPLANE_REQUEST_QUEUED; 5946 else { 5947 atomic_fetch_add_explicit(&zdplane_info 5948 .dg_srv6_encap_srcaddr_set_errors, 5949 1, memory_order_relaxed); CID 1575079: Null pointer dereferences (REVERSE_INULL) Null-checking "ctx" suggests that it may be null, but it has already been dereferenced on all paths leading to the check. 5950 if (ctx) 5951 dplane_ctx_free(&ctx); 5952 } 5953 return result; 5954 } 5955 Remove the pointer check for `ctx`. At this point in the function it has to be non null since we deref'ed it. Additionally the alloc function that creates it cannot fail. Signed-off-by: Carmine Scarpitta <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a061ba2 - Browse repository at this point
Copy the full SHA a061ba2View commit details -
lib: fix memory leak when disabling nexthop_hold contexts
A memory leak is detected when stopping the sharpd daemon with a nexthop group configuration that includes nexthops. The nexthop_hold structure and its attributes are not freed. Fix it by adding the missing free function. Fixes: 98cbbae ("lib: Handle if up/down and vrf enable/disable events") Signed-off-by: Philippe Guibert <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e266c44 - Browse repository at this point
Copy the full SHA e266c44View commit details -
bgpd: fix ecommunity_fill_pbr_action heap-buffer-overflow
Fix the following heap-buffer-overflow: > ==3901635==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6020003a5940 at pc 0x56260067bb48 bp 0x7ffe8a4f3840 sp 0x7ffe8a4f3838 > READ of size 4 at 0x6020003a5940 thread T0 > #0 0x56260067bb47 in ecommunity_fill_pbr_action bgpd/bgp_ecommunity.c:1587 > #1 0x5626007a246e in bgp_pbr_build_and_validate_entry bgpd/bgp_pbr.c:939 > #2 0x5626007b25e6 in bgp_pbr_update_entry bgpd/bgp_pbr.c:2933 > #3 0x562600909d18 in bgp_zebra_announce bgpd/bgp_zebra.c:1351 > #4 0x5626007d5efd in bgp_process_main_one bgpd/bgp_route.c:3528 > #5 0x5626007d6b43 in bgp_process_wq bgpd/bgp_route.c:3641 > #6 0x7f450f34c2cc in work_queue_run lib/workqueue.c:266 > #7 0x7f450f327a27 in event_call lib/event.c:1970 > #8 0x7f450f21a637 in frr_run lib/libfrr.c:1213 > #9 0x56260062fc04 in main bgpd/bgp_main.c:540 > #10 0x7f450ee2dd09 in __libc_start_main ../csu/libc-start.c:308 > #11 0x56260062ca29 in _start (/usr/lib/frr/bgpd+0x2e3a29) > > 0x6020003a5940 is located 0 bytes to the right of 16-byte region [0x6020003a5930,0x6020003a5940) > allocated by thread T0 here: > #0 0x7f450f6aa1f8 in __interceptor_realloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:164 > #1 0x7f450f244f8a in qrealloc lib/memory.c:112 > #2 0x562600673313 in ecommunity_add_val_internal bgpd/bgp_ecommunity.c:143 > #3 0x5626006735bc in ecommunity_uniq_sort_internal bgpd/bgp_ecommunity.c:193 > #4 0x5626006737e3 in ecommunity_parse_internal bgpd/bgp_ecommunity.c:228 > #5 0x562600673890 in ecommunity_parse bgpd/bgp_ecommunity.c:236 > #6 0x562600640469 in bgp_attr_ext_communities bgpd/bgp_attr.c:2674 > #7 0x562600646eb3 in bgp_attr_parse bgpd/bgp_attr.c:3893 > #8 0x562600791b7e in bgp_update_receive bgpd/bgp_packet.c:2141 > #9 0x56260079ba6b in bgp_process_packet bgpd/bgp_packet.c:3406 > #10 0x7f450f327a27 in event_call lib/event.c:1970 > #11 0x7f450f21a637 in frr_run lib/libfrr.c:1213 > #12 0x56260062fc04 in main bgpd/bgp_main.c:540 > #13 0x7f450ee2dd09 in __libc_start_main ../csu/libc-start.c:308 Fixes: dacf6ec ("bgpd: utility routine to convert flowspec actions into pbr actions") Signed-off-by: Louis Scalbert <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6001c76 - Browse repository at this point
Copy the full SHA 6001c76View commit details -
Merge pull request #15083 from louis-6wind/fix-isis_spftree_del
isisd: fix _isis_spftree_del heap-use-after-free
Configuration menu - View commit details
-
Copy full SHA for 4e249eb - Browse repository at this point
Copy the full SHA 4e249ebView commit details -
lib: Breakout sendmmsg into it's own header
The only 2 places sendmmsg is used is in zlog_5424.c and zlog_live.c. Why is the rest of the entire system paying for this compilation? Signed-off-by: Donald Sharp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1038710 - Browse repository at this point
Copy the full SHA 1038710View commit details -
*: Remove Crypto openSSL define from zebra.h
Only a couple of places use this. Move these to a better spot. Signed-off-by: Donald Sharp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2bf051a - Browse repository at this point
Copy the full SHA 2bf051aView commit details -
lib: Move some priviledge headers to file they are used.
Signed-off-by: Donald Sharp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 78690de - Browse repository at this point
Copy the full SHA 78690deView commit details -
bgpd: rfapi was not using internal zlog_backtrace()
The rfapi code was not using the zlog_backtrace() functionality. Let's just convert over to using the proper functionality that we have built in now. Signed-off-by: Donald Sharp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a57379f - Browse repository at this point
Copy the full SHA a57379fView commit details -
lib: HAVE_GLIBC_BACKTRACE does not belong in zebra.h
The backtrace functionality has been abstracted over to zlog_backtrace(). Now that every place uses this move the inclusion for HAVE_GLIBC_BACKTRACE into the appropriate files instead of having everyone pay for this costly include. Signed-off-by: Donald Sharp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fbc3115 - Browse repository at this point
Copy the full SHA fbc3115View commit details -
lib: Remove inclusion of various MAXINT from zebra.h
All modern systems should have these defined. Let's stop paying the cost of this compilation. Signed-off-by: Donald Sharp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ca54540 - Browse repository at this point
Copy the full SHA ca54540View commit details -
*: Remove cost of including netinet/icmp.h everywhere
This file inclusion is only used in 3 places move the includes to those spots. Signed-off-by: Donald Sharp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 75b3e82 - Browse repository at this point
Copy the full SHA 75b3e82View commit details -
lib: Remove in_systm.h it is never used
Signed-off-by: Donald Sharp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1b1fc14 - Browse repository at this point
Copy the full SHA 1b1fc14View commit details -
lib, vtysh: Remove inclusion of grp.h for everyone
Signed-off-by: Donald Sharp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 88f8c90 - Browse repository at this point
Copy the full SHA 88f8c90View commit details -
*: Remove sys/ioctl.h from zebra.h
Practically no-one uses this and ioctls are pretty much wrappered. Further wrappering could make this even better. Signed-off-by: Donald Sharp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2700519 - Browse repository at this point
Copy the full SHA 2700519View commit details -
lib, sharpd: Move sys/resource.h to where it is used
Signed-off-by: Donald Sharp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d69ac58 - Browse repository at this point
Copy the full SHA d69ac58View commit details -
*: sys/uio.h does not need to be in zebra.h
Signed-off-by: Donald Sharp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0b4ff79 - Browse repository at this point
Copy the full SHA 0b4ff79View commit details -
lib: zebra.h does not need to include syslog.h
Signed-off-by: Donald Sharp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cbc1878 - Browse repository at this point
Copy the full SHA cbc1878View commit details -
lib: sys/utsname.h is not needed in zebra.h
Signed-off-by: Donald Sharp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 496d87c - Browse repository at this point
Copy the full SHA 496d87cView commit details
Commits on Jan 5, 2024
-
lib: fix initializer warning on centos 7.
Signed-off-by: Christian Hopps <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ae1d854 - Browse repository at this point
Copy the full SHA ae1d854View commit details -
lib: remove zebra_interface_vrf_update_read()
zebra_interface_vrf_update_read is orphan. Remove it. Fixes: b580c52 ("*: remove ZEBRA_INTERFACE_VRF_UPDATE") Signed-off-by: Louis Scalbert <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c6fe42f - Browse repository at this point
Copy the full SHA c6fe42fView commit details -
Merge pull request #15095 from LabNConsulting/chopps/fix-centos-warn
lib: fix initializer warning on centos 7.
Configuration menu - View commit details
-
Copy full SHA for 4494beb - Browse repository at this point
Copy the full SHA 4494bebView commit details -
Merge pull request #15086 from LabNConsulting/chopps/remove-old-oper-…
…iter-code lib: remove unused/replaced oper-state iteration code
Configuration menu - View commit details
-
Copy full SHA for d04349e - Browse repository at this point
Copy the full SHA d04349eView commit details -
Merge pull request #15097 from louis-6wind/cleanup_vrf_update
lib: remove zebra_interface_vrf_update_read()
Configuration menu - View commit details
-
Copy full SHA for 4038b6d - Browse repository at this point
Copy the full SHA 4038b6dView commit details -
Merge pull request #15091 from louis-6wind/fix-ecommunity_fill_pbr_ac…
…tion bgpd: fix ecommunity_fill_pbr_action heap-buffer-overflow
Configuration menu - View commit details
-
Copy full SHA for 88046da - Browse repository at this point
Copy the full SHA 88046daView commit details -
Merge pull request #15089 from pguibert6WIND/asan_sharpd_fix
lib: fix memory leak when disabling nexthop_hold contexts
Configuration menu - View commit details
-
Copy full SHA for 96067c7 - Browse repository at this point
Copy the full SHA 96067c7View commit details -
Merge pull request #15087 from cscarpitta/fix/fix-cid-1575079
zebra: Fix coverity issue in `dplane_srv6_encap_srcaddr_set`
Configuration menu - View commit details
-
Copy full SHA for 75490f2 - Browse repository at this point
Copy the full SHA 75490f2View commit details -
Merge pull request #15085 from LabNConsulting/chopps/mgmtd-doc-update
doc: add diagram of oper-state queries.
Configuration menu - View commit details
-
Copy full SHA for 8d7d560 - Browse repository at this point
Copy the full SHA 8d7d560View commit details -
Merge pull request #15092 from donaldsharp/lib_zebra_h_cleanup
Lib zebra h cleanup
Configuration menu - View commit details
-
Copy full SHA for 43331c0 - Browse repository at this point
Copy the full SHA 43331c0View commit details
Commits on Jan 6, 2024
-
Merge pull request #15054 from k0ste/help
redhat: rpm spec: added protobuf-c to deps & fix bogus changelog date
Configuration menu - View commit details
-
Copy full SHA for 4d29c17 - Browse repository at this point
Copy the full SHA 4d29c17View commit details -
build: require libyang 2.1.128
Update building docs to reflect this as well. Signed-off-by: Christian Hopps <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for db3ac9d - Browse repository at this point
Copy the full SHA db3ac9dView commit details -
Revert "bgpd: On shutdown do not create a workqueue for the self peer"
This reverts commit 7bf3c2f. Commit reverted as it introduces a memoery leak during the tests Signed-off-by: Martin Winter <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0222f55 - Browse repository at this point
Copy the full SHA 0222f55View commit details
Commits on Jan 7, 2024
-
bgpd: bgp_sync_label_manager failure case
There are several problems with the bgp_sync_label_manager function: a) It is possible that a request in the lp->requests fifo will be unable to be filled at this point in time and the lf will be leaked and not ever fullfilled. b) The bgp_sync_label_manager runs one time a second irrelevant if there is work to do or not. To fix (a) just add the request back to the requests fifo and set the timer to pop in the future. To fix (b) just every time something is put into the request pool start a timer to run in 1 second and do not restart it if all the work is done. Signed-off-by: Donald Sharp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 02049ff - Browse repository at this point
Copy the full SHA 02049ffView commit details -
lib: Use event name instead of thread
The thread system has been renamed, let's use the proper terminology now in the show commands. Also realign output a tiny bit for stuff that was missing. Signed-off-by: Donald Sharp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5146ba7 - Browse repository at this point
Copy the full SHA 5146ba7View commit details -
Merge pull request #15105 from donaldsharp/event_thread_mishap
lib: Use event name instead of thread
Configuration menu - View commit details
-
Copy full SHA for d2fe193 - Browse repository at this point
Copy the full SHA d2fe193View commit details -
doc: Rename
show thread ...
toshow event ...
Signed-off-by: Donatas Abraitis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8c382a6 - Browse repository at this point
Copy the full SHA 8c382a6View commit details -
tools: Rename
show thread ...
toshow event ...
Signed-off-by: Donatas Abraitis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2435c21 - Browse repository at this point
Copy the full SHA 2435c21View commit details -
tests: Rename
show thread ...
toshow event ...
Signed-off-by: Donatas Abraitis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1903b81 - Browse repository at this point
Copy the full SHA 1903b81View commit details -
vtysh: Rename
show thread ...
toshow event ...
Signed-off-by: Donatas Abraitis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e0422df - Browse repository at this point
Copy the full SHA e0422dfView commit details -
doc: Rename
Thread
toEvent
in events exampleSigned-off-by: Donatas Abraitis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7e6b4f7 - Browse repository at this point
Copy the full SHA 7e6b4f7View commit details -
Merge pull request #15104 from donaldsharp/label_pool_manager
bgpd: bgp_sync_label_manager failure case
Configuration menu - View commit details
-
Copy full SHA for fa62132 - Browse repository at this point
Copy the full SHA fa62132View commit details -
bgpd: Add
debug bgp updates detail
commandWhen filtering with `debug bgp updates in x.x.x.x prefix-list plist`, we want to filter out unnecessary messages like: ``` 127.0.0.1(Unknown) rcvd UPDATE wlen 0 attrlen 20 alen 5 ``` Such a line as above will be repeated for all the paths received and it's useless without knowing the prefix (because NLRIs are not parsed yet). But want to see only relevant ones: ``` 127.0.0.1(Unknown) rcvd UPDATE w/ attr: nexthop 127.0.0.1, origin i, path 65002 127.0.0.1(Unknown) rcvd 10.255.255.1/32 IPv4 unicast ``` With `debug bgp updates detail` we can combine this to something like: ``` 127.0.0.1(Unknown) rcvd UPDATE w/ attr: nexthop 127.0.0.1, origin i, path 65002 127.0.0.1(Unknown) rcvd UPDATE wlen 0 attrlen 20 alen 5 127.0.0.1(Unknown) rcvd 10.255.255.1/32 IPv4 unicast ``` Signed-off-by: Donatas Abraitis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7a474b8 - Browse repository at this point
Copy the full SHA 7a474b8View commit details -
Signed-off-by: Christian Hopps <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 00138ff - Browse repository at this point
Copy the full SHA 00138ffView commit details -
lib: mgmtd: implement full XPath 1.0 predicate functionality
Allow user to specify full YANG compatible XPath 1.0 predicates. This allows for trimming results of generic queries using functions and other non-key predicates from XPath 1.0 Signed-off-by: Christian Hopps <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cf67a7e - Browse repository at this point
Copy the full SHA cf67a7eView commit details -
lib: use libyang functions if they are present
Add configure.ac tests for libyang functions, if not present supply the functionality ourselves in yang.[ch] Signed-off-by: Christian Hopps <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1e4229f - Browse repository at this point
Copy the full SHA 1e4229fView commit details -
tests: test new XPath 1.0 predicate functionality
Signed-off-by: Christian Hopps <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e85ff7a - Browse repository at this point
Copy the full SHA e85ff7aView commit details -
Merge pull request #15102 from opensourcerouting/Revert-memleak-PR14811
Revert "bgpd: On shutdown do not create a workqueue for the self peer"
Configuration menu - View commit details
-
Copy full SHA for 7335117 - Browse repository at this point
Copy the full SHA 7335117View commit details -
Revert "zebra: Cleanup zrouter.stale_client_list on shutdown"
This reverts commit 71f7ecb.
Configuration menu - View commit details
-
Copy full SHA for 6d72776 - Browse repository at this point
Copy the full SHA 6d72776View commit details -
Merge pull request #15101 from LabNConsulting/chopps/new-libyang-req
build: require libyang 2.1.128
Configuration menu - View commit details
-
Copy full SHA for ea9d2b8 - Browse repository at this point
Copy the full SHA ea9d2b8View commit details -
bgpd: show_adj_route_vpn always leaked json memory
Signed-off-by: Donald Sharp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bed55ec - Browse repository at this point
Copy the full SHA bed55ecView commit details
Commits on Jan 8, 2024
-
Merge pull request #15110 from donaldsharp/revert_zrouter.stale_client
Revert "zebra: Cleanup zrouter.stale_client_list on shutdown"
Configuration menu - View commit details
-
Copy full SHA for 2022141 - Browse repository at this point
Copy the full SHA 2022141View commit details -
tests: Add mgmtd to the official pytest.mark list
Signed-off-by: Donald Sharp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b1a3954 - Browse repository at this point
Copy the full SHA b1a3954View commit details -
Merge pull request #15111 from donaldsharp/json_vpn_wait_what
bgpd: show_adj_route_vpn always leaked json memory
Configuration menu - View commit details
-
Copy full SHA for 482f082 - Browse repository at this point
Copy the full SHA 482f082View commit details -
Merge pull request #15119 from donaldsharp/pytest_mgmtd
tests: Add mgmtd to the official pytest.mark list
Configuration menu - View commit details
-
Copy full SHA for 87a9227 - Browse repository at this point
Copy the full SHA 87a9227View commit details -
bgpd: Fix memory leak for default-originate with route-map
``` Direct leak of 40 byte(s) in 1 object(s) allocated from: 0 0x7fc4b81eed28 in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xded28) 1 0x7fc4b7bd60bb in qcalloc lib/memory.c:105 2 0x56221dc19207 in aspath_dup bgpd/bgp_aspath.c:689 3 0x56221daacd42 in route_set_aspath_prepend bgpd/bgp_routemap.c:2283 4 0x7fc4b7c3891a in route_map_apply_ext lib/routemap.c:2687 5 0x56221dace552 in subgroup_default_originate bgpd/bgp_updgrp_adv.c:906 6 0x56221dabf79c in update_group_default_originate_route_map_walkcb bgpd/bgp_updgrp.c:2105 7 0x56221dabde4e in update_group_walkcb bgpd/bgp_updgrp.c:1721 8 0x7fc4b7b9d398 in hash_walk lib/hash.c:270 9 0x56221dac94cb in update_group_af_walk bgpd/bgp_updgrp.c:2062 10 0x56221dac9b0f in update_group_walk bgpd/bgp_updgrp.c:2071 11 0x56221dac9fd5 in update_group_refresh_default_originate_route_map bgpd/bgp_updgrp.c:2118 12 0x7fc4b7c7fc54 in event_call lib/event.c:1974 13 0x7fc4b7bb9276 in frr_run lib/libfrr.c:1214 14 0x56221d9217fd in main bgpd/bgp_main.c:510 15 0x7fc4b6bf2c86 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21c86) ``` tmp_pi.attr should be flushed since it's already interned (new_attr) or the origin value is used (attr). Signed-off-by: Donatas Abraitis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 74c1d4f - Browse repository at this point
Copy the full SHA 74c1d4fView commit details -
Merge pull request #15106 from opensourcerouting/fix/rename_thread_cli
vtysh: Add `show event ...` commands
Configuration menu - View commit details
-
Copy full SHA for 956b615 - Browse repository at this point
Copy the full SHA 956b615View commit details
Commits on Jan 9, 2024
-
bgpd: Drop BGP_DEBUG_PACKET_SEND_DETAIL/BGP_DEBUG_PACKET_SEND consts
Not used anywhere. Signed-off-by: Donatas Abraitis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8f3d99b - Browse repository at this point
Copy the full SHA 8f3d99bView commit details -
bgpd: Change printing format
show debugging
fordebug bgp updates
Before: ``` BGP debugging status: BGP updates debugging is on (inbound) for 127.0.0.1 with prefix-list rn-dummy 192.168.10.18 with prefix-list rn-dummy 1.1.1.1 ``` After: ``` BGP debugging status: BGP updates debugging is on (inbound) for: 127.0.0.1 with prefix-list rn-dummy 192.168.10.18 with prefix-list rn-dummy 192.168.10.20 ``` Signed-off-by: Donatas Abraitis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 546fe31 - Browse repository at this point
Copy the full SHA 546fe31View commit details -
Merge pull request #15120 from opensourcerouting/fix/memory_leak_for_…
…default_originate bgpd: Fix memory leak for default-originate with route-map
Configuration menu - View commit details
-
Copy full SHA for 92d0242 - Browse repository at this point
Copy the full SHA 92d0242View commit details -
Merge pull request #15001 from pguibert6WIND/zebra_nexthop_rework
Zebra nexthop rework
Configuration menu - View commit details
-
Copy full SHA for d5a0a70 - Browse repository at this point
Copy the full SHA d5a0a70View commit details -
Merge pull request #15108 from opensourcerouting/fix/debug_bgp_update…
…s_detail bgpd: Add `debug bgp updates detail` command
Configuration menu - View commit details
-
Copy full SHA for 6c87068 - Browse repository at this point
Copy the full SHA 6c87068View commit details -
Merge pull request #15122 from opensourcerouting/fix/drop_packet_send…
…_debugs bgpd: Change printing format show debugging for debug bgp updates
Configuration menu - View commit details
-
Copy full SHA for 153ab6e - Browse repository at this point
Copy the full SHA 153ab6eView commit details -
Merge pull request #15103 from LabNConsulting/chopps/oper-filter
Implement full XPath 1.0 functionality
Configuration menu - View commit details
-
Copy full SHA for 22b4390 - Browse repository at this point
Copy the full SHA 22b4390View commit details -
lib: select.h is not being used by anyone
Signed-off-by: Donald Sharp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7497d33 - Browse repository at this point
Copy the full SHA 7497d33View commit details -
*: remove sys/stat.h from zebra.h
Signed-off-by: Donald Sharp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 848dcf3 - Browse repository at this point
Copy the full SHA 848dcf3View commit details -
lib: remove net/route.h it is not used
Signed-off-by: Donald Sharp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7f3d9ea - Browse repository at this point
Copy the full SHA 7f3d9eaView commit details -
lib: zebra.h was including compiler.h two times
Signed-off-by: Donald Sharp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 33744ae - Browse repository at this point
Copy the full SHA 33744aeView commit details -
*: zebra.h should not have fcntl.h
Signed-off-by: Donald Sharp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c6d94a7 - Browse repository at this point
Copy the full SHA c6d94a7View commit details -
lib: zebra.h uses pwd.h when it should not
Signed-off-by: Donald Sharp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b6f1a40 - Browse repository at this point
Copy the full SHA b6f1a40View commit details -
lib: zebra.h is not using signal.h
Signed-off-by: Donald Sharp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8049f74 - Browse repository at this point
Copy the full SHA 8049f74View commit details -
lib: stdbool.h is not being used by zebra.h
Signed-off-by: Donald Sharp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 68eca30 - Browse repository at this point
Copy the full SHA 68eca30View commit details -
lib: string.h was only used by vector.c make it better
Signed-off-by: Donald Sharp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7c1a8f7 - Browse repository at this point
Copy the full SHA 7c1a8f7View commit details -
zebra: Nothing is using errno.h
Signed-off-by: Donald Sharp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f982bdd - Browse repository at this point
Copy the full SHA f982bddView commit details -
lib: limits.h is not needed by zebra.h
Signed-off-by: Donald Sharp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c402a0b - Browse repository at this point
Copy the full SHA c402a0bView commit details -
bgpd: Clean up issues found in SA with clang 14
3 different issues: a) length never used b) safi never used c) length never used. Signed-off-by: Donald Sharp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e92a7e9 - Browse repository at this point
Copy the full SHA e92a7e9View commit details -
pimd: Cleanup SA issue with value never used
Signed-off-by: Donald Sharp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for be80dbc - Browse repository at this point
Copy the full SHA be80dbcView commit details -
ospf6d: Value set is never used
Signed-off-by: Donald Sharp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 84877e6 - Browse repository at this point
Copy the full SHA 84877e6View commit details -
bgpd: data is set but never used
I've kept the assignment in a comment because I am concerned about new code being added later that the data pointer would not be set correctly. Next coder can see the commented out line and uncomment it. Signed-off-by: Donald Sharp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3f03ec1 - Browse repository at this point
Copy the full SHA 3f03ec1View commit details -
zebra: SA incorrectly believes a NULL pointer
SA has decided that old_re could be a NULL pointer even though the zebra_redistribute_check function checks for NULL and returns false that would not allow a NULL pointer deref. Signed-off-by: Donald Sharp <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 54ed53f - Browse repository at this point
Copy the full SHA 54ed53fView commit details -
Fix memleak when a key-ed query was done for which the key didn't exist. Signed-off-by: Christian Hopps <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5519c0f - Browse repository at this point
Copy the full SHA 5519c0fView commit details
Commits on Jan 10, 2024
-
Merge pull request #15123 from LabNConsulting/chopps/fix-oper-state-m…
…emleak lib: fix oper-state memleak
Configuration menu - View commit details
-
Copy full SHA for 4c87548 - Browse repository at this point
Copy the full SHA 4c87548View commit details -
Merge pull request #15100 from donaldsharp/SA_problems_local
Sa problems local
Configuration menu - View commit details
-
Copy full SHA for 26be39c - Browse repository at this point
Copy the full SHA 26be39cView commit details -
lib: use snmp's large fd sets for agentx
The maximum number of file descriptors in an fd set is limited by FD_SETSIZE. This limitation is important because the libc macros FD_SET(), FD_CLR() and FD_ISSET() will invoke a sigabort if the size of the fd set given to them is above FD_SETSIZE. We ran into such a sigabort with bgpd because snmp can return an fd set of size higher than FD_SETSIZE when calling snmp_select_info(). An unfortunate FD_ISSET() call later causes the following abort: Received signal 6 at 1701115534 (si_addr 0xb94, PC 0x7ff289a16a7c); aborting... /lib/x86_64-linux-gnu/libfrr.so.0(zlog_backtrace_sigsafe+0xb3) [0x7ff289d62bba] /lib/x86_64-linux-gnu/libfrr.so.0(zlog_signal+0x1b4) [0x7ff289d62a1f] /lib/x86_64-linux-gnu/libfrr.so.0(+0x102860) [0x7ff289da4860] /lib/x86_64-linux-gnu/libc.so.6(+0x42520) [0x7ff2899c2520] /lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c) [0x7ff289a16a7c] /lib/x86_64-linux-gnu/libc.so.6(raise+0x16) [0x7ff2899c2476] /lib/x86_64-linux-gnu/libc.so.6(abort+0xd3) [0x7ff2899a87f3] /lib/x86_64-linux-gnu/libc.so.6(+0x896f6) [0x7ff289a096f6] /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x2a) [0x7ff289ab676a] /lib/x86_64-linux-gnu/libc.so.6(+0x1350c6) [0x7ff289ab50c6] /lib/x86_64-linux-gnu/libc.so.6(+0x1366ab) [0x7ff289ab66ab] /lib/x86_64-linux-gnu/libfrrsnmp.so.0(+0x36f5) [0x7ff2897736f5] /lib/x86_64-linux-gnu/libfrrsnmp.so.0(+0x3c27) [0x7ff289773c27] /lib/x86_64-linux-gnu/libfrr.so.0(thread_call+0x1c2) [0x7ff289dbe105] /lib/x86_64-linux-gnu/libfrr.so.0(frr_run+0x257) [0x7ff289d56e69] /usr/bin/bgpd(main+0x4f4) [0x560965c40488] /lib/x86_64-linux-gnu/libc.so.6(+0x29d90) [0x7ff2899a9d90] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80) [0x7ff2899a9e40] /usr/bin/bgpd(_start+0x25) [0x560965c3e965] in thread agentx_timeout scheduled from /build/make-pkg/output/_packages/cp-routing/src/lib/agentx.c:122 agentx_events_update() Also, the following error is logged by snmp just before the abort: snmp[err]: Use snmp_sess_select_info2() for processing large file descriptors snmp uses a custom struct netsnmp_large_fd_set to work above the limit imposed by FD_SETSIZE. It is noteworthy that, when calling snmp_select_info() instead of snmp_select_info2(), snmp uses the same code working with its custom, large structs, and copy/paste the result to a regular, libc compatible fd_set. So there should be no downside working with snmp_select_info2() instead of snmp_select_info(). Replace every use of the libc file descriptors sets by snmp's extended file descriptors sets in agentx to acommodate for the high number of file descriptors that can come out of snmp. This should prevent the abort seen above. Signed-off-by: Edwin Brossette <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9e06f93 - Browse repository at this point
Copy the full SHA 9e06f93View commit details
Commits on Jan 11, 2024
-
Merge pull request #15124 from fdumontet6WIND/large_fds
lib snmp: use snmp's large fd sets for agentx
Configuration menu - View commit details
-
Copy full SHA for 5fbf0cc - Browse repository at this point
Copy the full SHA 5fbf0ccView commit details -
doc: Change the link to libyang for 2.1.x
Signed-off-by: Donatas Abraitis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d3177d9 - Browse repository at this point
Copy the full SHA d3177d9View commit details -
doc: Fix documentation warning on the required version of libyang
Signed-off-by: Donatas Abraitis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 79b9928 - Browse repository at this point
Copy the full SHA 79b9928View commit details -
bgpd: Prefer routes over eBGP versus eBGP-OAD
If at least one of the candidate routes was received via EBGP, remove from consideration all routes that were received via EBGP-OAD and IBGP. Signed-off-by: Donatas Abraitis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a8474e4 - Browse repository at this point
Copy the full SHA a8474e4View commit details -
bgpd: Show external session sub-type (OAD) if exists
``` r1# sh ip bgp 10.10.10.10/32 BGP routing table entry for 10.10.10.10/32, version 1 Paths: (2 available, best #2, table default) Advertised to non peer-group peers: 192.168.1.2 192.168.1.4 65002 65003 192.168.1.2 from 192.168.1.2 (192.168.2.2) Origin incomplete, metric 123, localpref 123, valid, external (oad) Last update: Thu Jan 11 10:46:32 2024 65004 65005 192.168.1.4 from 192.168.1.4 (192.168.4.4) Origin incomplete, metric 123, localpref 123, valid, external, best (Peer Type) Last update: Thu Jan 11 10:46:30 2024 r1# ``` Signed-off-by: Donatas Abraitis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 584b031 - Browse repository at this point
Copy the full SHA 584b031View commit details -
tests: Check if the route over eBGP is preferred when eBGP-OAD is used
If at least one of the candidate routes was received via EBGP, remove from consideration all routes that were received via EBGP-OAD and IBGP. Signed-off-by: Donatas Abraitis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1c491df - Browse repository at this point
Copy the full SHA 1c491dfView commit details -
bgpd: Allow sending Origin Validation State extended community over E…
…BGP-OAD https://datatracker.ietf.org/doc/html/draft-uttaro-idr-bgp-oad#section-3.13 Extended communities which are non-transitive across an AS boundary MAY be advertised over an EBGP-OAD session if allowed by explicit policy configuration. If allowed, all the members of the OAD SHOULD be configured to use the same criteria. For example, the Origin Validation State Extended Community, defined as non-transitive in [RFC8097], can be advertised to peers in the same OAD. Signed-off-by: Donatas Abraitis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a56beac - Browse repository at this point
Copy the full SHA a56beacView commit details -
Merge pull request #15098 from donaldsharp/lib_zebra_h_cleanup_2
Lib zebra h cleanup 2
Configuration menu - View commit details
-
Copy full SHA for 67e8ef2 - Browse repository at this point
Copy the full SHA 67e8ef2View commit details -
lib: split nb_operation into two types
Currently, nb_operation enum means two different things - edit operation type (frontend part), and callback type (backend part). These types overlap, but they are not identical. We need to add more operation types to support NETCONF/RESTCONF integration, so it's better to have separate enums to identify different entities. Signed-off-by: Igor Ryzhov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5d1a314 - Browse repository at this point
Copy the full SHA 5d1a314View commit details -
mgmtd, lib: implement CREATE_EXCL operation
Currently, there's no difference between CREATE and MODIFY operations. To be compatible with NETCONF/RESTCONF, add new CREATE_EXCL operation that throws an error if the configuration data already exists. Signed-off-by: Igor Ryzhov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 76e4eb8 - Browse repository at this point
Copy the full SHA 76e4eb8View commit details -
mgmt, lib: differentiate DELETE and REMOVE operations
Currently, there's a single operation type which doesn't return error if the object doesn't exists. To be compatible with NETCONF/RESTCONF, we should support differentiate between DELETE (fails when object doesn't exist) and REMOVE (doesn't fail if the object doesn't exist). Signed-off-by: Igor Ryzhov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3c2598a - Browse repository at this point
Copy the full SHA 3c2598aView commit details -
lib: move dnode creation into a separate function
Signed-off-by: Igor Ryzhov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fe0d4dc - Browse repository at this point
Copy the full SHA fe0d4dcView commit details -
mgmt, lib: implement REPLACE operation
Replace operation removes the current data node configuration and sets the provided value. As current northbound code works only with one xpath at a time, the operation only makes sense to clear the config of a container without deleting it itself. However, the next step is to allow passing JSON-encoded complex values to northbound operations which will make replace operation much more useful. Signed-off-by: Igor Ryzhov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d726114 - Browse repository at this point
Copy the full SHA d726114View commit details -
lib: explain semantics of northbound operations
Signed-off-by: Igor Ryzhov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7e48299 - Browse repository at this point
Copy the full SHA 7e48299View commit details -
lib: implement missing YANG choice/case statements.
Signed-off-by: Christian Hopps <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 32a4c40 - Browse repository at this point
Copy the full SHA 32a4c40View commit details -
lib: change type of
inner
tostruct lyd_node *
, cleaner codeSigned-off-by: Christian Hopps <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7b7725f - Browse repository at this point
Copy the full SHA 7b7725fView commit details -
Merge pull request #15128 from opensourcerouting/fix/bgp_oad_ECOMMUNI…
…TY_ORIGIN_VALIDATION_STATE bgpd: Recent EBGP-OAD improvements
Configuration menu - View commit details
-
Copy full SHA for 86cbd58 - Browse repository at this point
Copy the full SHA 86cbd58View commit details -
mgmtd: don't try to send config to disconnected clients
When determining the interested backend clients for a configuration change, don't consider disconnected clients. This fixes a crash in `mgmt_txn_send_be_txn_create` when trying to send data to a non-existing adapter. Signed-off-by: Igor Ryzhov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0eac9b6 - Browse repository at this point
Copy the full SHA 0eac9b6View commit details -
lib, mgmtd: rename ignore_cbs to ignore_cfg_cbs
Setting this variable to true makes NB ignore only configuration-related callbacks. CLI-related callbacks are still loaded and executed, so rename the variable to make it clearer. Signed-off-by: Igor Ryzhov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3472197 - Browse repository at this point
Copy the full SHA 3472197View commit details -
Merge pull request #15131 from LabNConsulting/chopps/oper-choice-case
Chopps/oper choice case
Configuration menu - View commit details
-
Copy full SHA for 883f134 - Browse repository at this point
Copy the full SHA 883f134View commit details
Commits on Jan 12, 2024
-
Merge pull request #15134 from idryzhov/fix-commit-clients
mgmtd: don't try to send config to disconnected clients
Configuration menu - View commit details
-
Copy full SHA for e754620 - Browse repository at this point
Copy the full SHA e754620View commit details -
Merge pull request #15127 from opensourcerouting/fix/doc_libyang_arti…
…facts doc: libyang nits
Configuration menu - View commit details
-
Copy full SHA for e1ec5b7 - Browse repository at this point
Copy the full SHA e1ec5b7View commit details -
Merge pull request #15136 from idryzhov/ignore-cbs
lib, mgmtd: rename ignore_cbs to ignore_cfg_cbs
Configuration menu - View commit details
-
Copy full SHA for 0f5a79a - Browse repository at this point
Copy the full SHA 0f5a79aView commit details -
Merge pull request #14542 from idryzhov/nb-op-cb-split
Add more northbound operation types
Configuration menu - View commit details
-
Copy full SHA for 20d0d47 - Browse repository at this point
Copy the full SHA 20d0d47View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a0a6bd - Browse repository at this point
Copy the full SHA 8a0a6bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for f9beaca - Browse repository at this point
Copy the full SHA f9beacaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2df14b9 - Browse repository at this point
Copy the full SHA 2df14b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8515254 - Browse repository at this point
Copy the full SHA 8515254View commit details -
Configuration menu - View commit details
-
Copy full SHA for 291d6c4 - Browse repository at this point
Copy the full SHA 291d6c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a5f8e9 - Browse repository at this point
Copy the full SHA 1a5f8e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0336618 - Browse repository at this point
Copy the full SHA 0336618View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca399be - Browse repository at this point
Copy the full SHA ca399beView commit details -
Configuration menu - View commit details
-
Copy full SHA for a6e5707 - Browse repository at this point
Copy the full SHA a6e5707View commit details -
Configuration menu - View commit details
-
Copy full SHA for 144c6a4 - Browse repository at this point
Copy the full SHA 144c6a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5fc8767 - Browse repository at this point
Copy the full SHA 5fc8767View commit details -
Configuration menu - View commit details
-
Copy full SHA for e29b040 - Browse repository at this point
Copy the full SHA e29b040View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5cdd63d - Browse repository at this point
Copy the full SHA 5cdd63dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0aa1660 - Browse repository at this point
Copy the full SHA 0aa1660View commit details -
Configuration menu - View commit details
-
Copy full SHA for 94d4c86 - Browse repository at this point
Copy the full SHA 94d4c86View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0fa8a4a - Browse repository at this point
Copy the full SHA 0fa8a4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b997050 - Browse repository at this point
Copy the full SHA b997050View commit details -
Configuration menu - View commit details
-
Copy full SHA for ecc381a - Browse repository at this point
Copy the full SHA ecc381aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c5ed9f - Browse repository at this point
Copy the full SHA 1c5ed9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0dc1c63 - Browse repository at this point
Copy the full SHA 0dc1c63View commit details -
Configuration menu - View commit details
-
Copy full SHA for dc48892 - Browse repository at this point
Copy the full SHA dc48892View commit details -
Configuration menu - View commit details
-
Copy full SHA for f0197fc - Browse repository at this point
Copy the full SHA f0197fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 282b9e2 - Browse repository at this point
Copy the full SHA 282b9e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82870b5 - Browse repository at this point
Copy the full SHA 82870b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb7e469 - Browse repository at this point
Copy the full SHA fb7e469View commit details -
Configuration menu - View commit details
-
Copy full SHA for d687cbb - Browse repository at this point
Copy the full SHA d687cbbView commit details -
Configuration menu - View commit details
-
Copy full SHA for e57eeff - Browse repository at this point
Copy the full SHA e57eeffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7450ebc - Browse repository at this point
Copy the full SHA 7450ebcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 150d04e - Browse repository at this point
Copy the full SHA 150d04eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 478cba0 - Browse repository at this point
Copy the full SHA 478cba0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 612b228 - Browse repository at this point
Copy the full SHA 612b228View commit details -
Configuration menu - View commit details
-
Copy full SHA for 77bc5e9 - Browse repository at this point
Copy the full SHA 77bc5e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for ebdaf7c - Browse repository at this point
Copy the full SHA ebdaf7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 598c5a5 - Browse repository at this point
Copy the full SHA 598c5a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for b3af039 - Browse repository at this point
Copy the full SHA b3af039View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0591ed4 - Browse repository at this point
Copy the full SHA 0591ed4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29ff050 - Browse repository at this point
Copy the full SHA 29ff050View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35ca12e - Browse repository at this point
Copy the full SHA 35ca12eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 21b743f - Browse repository at this point
Copy the full SHA 21b743fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e6b8475 - Browse repository at this point
Copy the full SHA e6b8475View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5953ea7 - Browse repository at this point
Copy the full SHA 5953ea7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 994277d - Browse repository at this point
Copy the full SHA 994277dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7db4f4d - Browse repository at this point
Copy the full SHA 7db4f4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4343bc6 - Browse repository at this point
Copy the full SHA 4343bc6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2408044 - Browse repository at this point
Copy the full SHA 2408044View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6790703 - Browse repository at this point
Copy the full SHA 6790703View commit details -
Configuration menu - View commit details
-
Copy full SHA for d202c74 - Browse repository at this point
Copy the full SHA d202c74View commit details -
Configuration menu - View commit details
-
Copy full SHA for c3b51ec - Browse repository at this point
Copy the full SHA c3b51ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 40cece6 - Browse repository at this point
Copy the full SHA 40cece6View commit details