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

New PR test #19

Closed
wants to merge 2,263 commits into from
Closed

New PR test #19

wants to merge 2,263 commits into from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Dec 14, 2023

  1. 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]>
    odd22 committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    55ad785 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #15026 from Orange-OpenSource/ospf-te

    ospfd: Correct LSA parser which fulfill the TED
    donaldsharp authored Dec 14, 2023
    Configuration menu
    Copy the full SHA
    68edff1 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #15025 from donaldsharp/dplane_fpm_nl_wedgied

    zebra: Prevent possible wedged fpm write
    mjstapp authored Dec 14, 2023
    Configuration menu
    Copy the full SHA
    594be7d View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2023

  1. Merge pull request #15023 from opensourcerouting/fix/drop_redundant_v…

    …rf_name
    
    bgpd: Drop redundant VRF name printing for `show bgp summary`
    donaldsharp authored Dec 15, 2023
    Configuration menu
    Copy the full SHA
    db4bdf7 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #15015 from donaldsharp/test_ospf_suppress_fa_cleanup

    tests: ospf_suppress_fa sleeps, convert to run_and_expect
    ton31337 authored Dec 15, 2023
    Configuration menu
    Copy the full SHA
    a912f8f View commit details
    Browse the repository at this point in the history
  3. 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]>
    leonshaw committed Dec 15, 2023
    Configuration menu
    Copy the full SHA
    4d74ba9 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2023

  1. 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]>
    donaldsharp committed Dec 16, 2023
    Configuration menu
    Copy the full SHA
    f38687b View commit details
    Browse the repository at this point in the history
  2. nhrpd: Cleanup a hash on nhrp shutdown

    Signed-off-by: Donald Sharp <[email protected]>
    donaldsharp committed Dec 16, 2023
    Configuration menu
    Copy the full SHA
    e700069 View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2023

  1. bgpd: Use CAPABILITY_CODE_ADDPATH_LEN instead of numeric value

    Signed-off-by: Donatas Abraitis <[email protected]>
    ton31337 committed Dec 17, 2023
    Configuration menu
    Copy the full SHA
    66c78c6 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #15035 from donaldsharp/more_frr_memory_leaks_on_s…

    …hutdown
    
    More frr memory leaks on shutdown
    ton31337 authored Dec 17, 2023
    Configuration menu
    Copy the full SHA
    e09b5af View commit details
    Browse the repository at this point in the history
  3. 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]>
    ton31337 committed Dec 17, 2023
    Configuration menu
    Copy the full SHA
    0f05e56 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2023

  1. 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]>
    leonshaw committed Dec 18, 2023
    Configuration menu
    Copy the full SHA
    4538247 View commit details
    Browse the repository at this point in the history
  2. 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]>
    pguibert6WIND committed Dec 18, 2023
    Configuration menu
    Copy the full SHA
    5d4af03 View commit details
    Browse the repository at this point in the history
  3. 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]>
    pguibert6WIND committed Dec 18, 2023
    Configuration menu
    Copy the full SHA
    237ebf8 View commit details
    Browse the repository at this point in the history
  4. 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]>
    pguibert6WIND committed Dec 18, 2023
    Configuration menu
    Copy the full SHA
    d8477d4 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #15032 from leonshaw/fix/bgp-default-withdraw

    bgpd: "default-originate" shouldn't withdraw non-default routes
    ton31337 authored Dec 18, 2023
    Configuration menu
    Copy the full SHA
    24ecc73 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #15037 from opensourcerouting/fix/validate_send_re…

    …ceive_flags
    
    bgpd: Validate Addpath capability flags per AF
    donaldsharp authored Dec 18, 2023
    Configuration menu
    Copy the full SHA
    b3e5ee5 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #15036 from opensourcerouting/fix/use_constants_fo…

    …r_addpath_cap_length
    
    bgpd: Use CAPABILITY_CODE_ADDPATH_LEN instead of numeric value
    donaldsharp authored Dec 18, 2023
    Configuration menu
    Copy the full SHA
    490928b View commit details
    Browse the repository at this point in the history
  8. 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
    donaldsharp authored Dec 18, 2023
    Configuration menu
    Copy the full SHA
    066f379 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2023

  1. Merge pull request #15002 from donaldsharp/bgp_evpn_label_no_delete

    bgpd: When receiving a label, store it
    riw777 authored Dec 19, 2023
    Configuration menu
    Copy the full SHA
    a3388fa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d1b3f07 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #15046 from FRRouting/revert-15002-bgp_evpn_label_…

    …no_delete
    
    Revert "bgpd: When receiving a label, store it"
    riw777 authored Dec 19, 2023
    Configuration menu
    Copy the full SHA
    b6cb72f View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2023

  1. 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 committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    dec87fa View commit details
    Browse the repository at this point in the history
  2. 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
    riw777 authored Dec 20, 2023
    Configuration menu
    Copy the full SHA
    bbda45a View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2023

  1. zebra: Drop ipv6_address_configured() function

    Not used.
    
    Signed-off-by: Donatas Abraitis <[email protected]>
    ton31337 committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    1332be5 View commit details
    Browse the repository at this point in the history
  2. 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]>
    ton31337 committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    02f8cf7 View commit details
    Browse the repository at this point in the history
  3. zebra: Show IPv6 link-local interfaces under show interface output

    Despite if it's managed by FRR or the kernel, show it.
    
    Signed-off-by: Donatas Abraitis <[email protected]>
    ton31337 committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    f95479b View commit details
    Browse the repository at this point in the history
  4. 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]>
    donaldsharp committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    7477d87 View commit details
    Browse the repository at this point in the history
  5. tests: Stop some warning messages on test runs

    Signed-off-by: Donald Sharp <[email protected]>
    donaldsharp committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    1aa6c5e View commit details
    Browse the repository at this point in the history
  6. 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]>
    donaldsharp committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    daa80a5 View commit details
    Browse the repository at this point in the history
  7. 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]>
    ton31337 committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    cb777f9 View commit details
    Browse the repository at this point in the history
  8. 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]>
    donaldsharp committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    09fbf2e View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2023

  1. Merge pull request #15060 from donaldsharp/keychain_free_no_i_really_…

    …mean_it
    
    lib: Keychain.c was using free
    ton31337 authored Dec 22, 2023
    Configuration menu
    Copy the full SHA
    1225954 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #15059 from donaldsharp/generate_support_bundle_on…

    …_test_failure
    
    Generate support bundle on test failure
    ton31337 authored Dec 22, 2023
    Configuration menu
    Copy the full SHA
    eba1c1e View commit details
    Browse the repository at this point in the history
  3. 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]>
    k0ste committed Dec 22, 2023
    Configuration menu
    Copy the full SHA
    47bce17 View commit details
    Browse the repository at this point in the history
  4. 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]>
    ton31337 committed Dec 22, 2023
    Configuration menu
    Copy the full SHA
    c733a38 View commit details
    Browse the repository at this point in the history
  5. 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]>
    idryzhov committed Dec 22, 2023
    Configuration menu
    Copy the full SHA
    4907ce9 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #15053 from opensourcerouting/fix/drop_ipv6_addres…

    …s_configured
    
    zebra: Drop ipv6_address_configured() function
    idryzhov authored Dec 22, 2023
    Configuration menu
    Copy the full SHA
    c3c5431 View commit details
    Browse the repository at this point in the history

Commits on Dec 24, 2023

  1. Merge pull request #15063 from idryzhov/dev-doc-graphviz

    doc: add graphiz dependency for dev docs
    qlyoung authored Dec 24, 2023
    Configuration menu
    Copy the full SHA
    080299f View commit details
    Browse the repository at this point in the history

Commits on Dec 26, 2023

  1. lib: add simplified native msg support

    This is intended to replace protobuf use in mgmtd.
    
    Signed-off-by: Christian Hopps <[email protected]>
    choppsv1 committed Dec 26, 2023
    Configuration menu
    Copy the full SHA
    8790457 View commit details
    Browse the repository at this point in the history
  2. lib: yang: add tree "printing" utility functions

    Signed-off-by: Christian Hopps <[email protected]>
    choppsv1 committed Dec 26, 2023
    Configuration menu
    Copy the full SHA
    80cac37 View commit details
    Browse the repository at this point in the history

Commits on Dec 28, 2023

  1. 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]>
    chiragshah6 committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    fa00a2f View commit details
    Browse the repository at this point in the history
  2. 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]>
    Mark Stapp authored and chiragshah6 committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    39b8872 View commit details
    Browse the repository at this point in the history
  3. 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]>
    chiragshah6 committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    42949ed View commit details
    Browse the repository at this point in the history
  4. lib: step 1: mgmtd: add FE get-tree functionality

    Signed-off-by: Christian Hopps <[email protected]>
    choppsv1 committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    772f6c0 View commit details
    Browse the repository at this point in the history
  5. lib: step 2: mgmtd: BE client code for get-tree functionality

    Signed-off-by: Christian Hopps <[email protected]>
    choppsv1 committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    4fee273 View commit details
    Browse the repository at this point in the history
  6. mgmtd: step 3: BE adapter native message handling

    Signed-off-by: Christian Hopps <[email protected]>
    choppsv1 committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    33b9c2e View commit details
    Browse the repository at this point in the history
  7. mgmtd: step 4: FE adapter get-tree functionality

    Signed-off-by: Christian Hopps <[email protected]>
    choppsv1 committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    be2424a View commit details
    Browse the repository at this point in the history
  8. 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]>
    choppsv1 committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    8df542b View commit details
    Browse the repository at this point in the history
  9. mgmtd: step 6: remove old unfinished get-data code

    Signed-off-by: Christian Hopps <[email protected]>
    choppsv1 committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    9cd8693 View commit details
    Browse the repository at this point in the history
  10. tests: add debugs and count in static_simple test

    Also add option to use unified config.
    
    Signed-off-by: Christian Hopps <[email protected]>
    choppsv1 committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    1bb6f21 View commit details
    Browse the repository at this point in the history
  11. 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]>
    choppsv1 committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    f3d6edc View commit details
    Browse the repository at this point in the history
  12. lib: yang: add new functions

    - 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]>
    choppsv1 committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    db0211d View commit details
    Browse the repository at this point in the history
  13. 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]>
    choppsv1 committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    d58653a View commit details
    Browse the repository at this point in the history
  14. lib: create and use libyang tree during oper-state walk

    Signed-off-by: Christian Hopps <[email protected]>
    choppsv1 committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    408ee24 View commit details
    Browse the repository at this point in the history
  15. tools: add more libyang iter macros to .clang-format

    Signed-off-by: Christian Hopps <[email protected]>
    choppsv1 committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    60a8cf7 View commit details
    Browse the repository at this point in the history
  16. 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]>
    choppsv1 committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    356c01b View commit details
    Browse the repository at this point in the history
  17. lib: darr: add ability to set MTYPE for dynamic arrays

    Signed-off-by: Christian Hopps <[email protected]>
    choppsv1 committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    b7db6b2 View commit details
    Browse the repository at this point in the history
  18. lib: northbound: add yielding and batching to oper-state queries

    Signed-off-by: Christian Hopps <[email protected]>
    choppsv1 committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    ad1ccb6 View commit details
    Browse the repository at this point in the history
  19. lib: add dedicated API functions for native msgs

    - reorg native message header
    
    Signed-off-by: Christian Hopps <[email protected]>
    choppsv1 committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    4e0147a View commit details
    Browse the repository at this point in the history
  20. zebra: add zebra to mgmtd oper-state

    Signed-off-by: Christian Hopps <[email protected]>
    choppsv1 committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    ef91d34 View commit details
    Browse the repository at this point in the history
  21. zebra: support yielding between oper state routes query

    Signed-off-by: Christian Hopps <[email protected]>
    choppsv1 committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    d266b1c View commit details
    Browse the repository at this point in the history
  22. zebra: fix oper-state walk bug

    Signed-off-by: Christian Hopps <[email protected]>
    choppsv1 committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    c521d45 View commit details
    Browse the repository at this point in the history
  23. zebra: fix cleanup of mgmt backend state

    Signed-off-by: Christian Hopps <[email protected]>
    choppsv1 committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    d0f71a9 View commit details
    Browse the repository at this point in the history
  24. lib: fixes required after rebasing

    lib: fix checkpatch warnings
    lib: darr: disable check
    mgmtd: fix initialization
    
    Signed-off-by: Christian Hopps <[email protected]>
    choppsv1 committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    b8b5290 View commit details
    Browse the repository at this point in the history
  25. tests: client testing

    Signed-off-by: Christian Hopps <[email protected]>
    choppsv1 committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    2bb115f View commit details
    Browse the repository at this point in the history
  26. tests: add mgmt_oper topotest

    Signed-off-by: Christian Hopps <[email protected]>
    choppsv1 committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    f725838 View commit details
    Browse the repository at this point in the history

Commits on Dec 29, 2023

  1. Configuration menu
    Copy the full SHA
    353ee7b View commit details
    Browse the repository at this point in the history

Commits on Dec 30, 2023

  1. lib: fix coverity CID 1574977

    Signed-off-by: Christian Hopps <[email protected]>
    choppsv1 committed Dec 30, 2023
    Configuration menu
    Copy the full SHA
    db11968 View commit details
    Browse the repository at this point in the history
  2. mgmtd: fix coverity CID 1574978

    Signed-off-by: Christian Hopps <[email protected]>
    choppsv1 committed Dec 30, 2023
    Configuration menu
    Copy the full SHA
    913892e View commit details
    Browse the repository at this point in the history
  3. lib: fix coverity CID 1574979

    Signed-off-by: Christian Hopps <[email protected]>
    choppsv1 committed Dec 30, 2023
    Configuration menu
    Copy the full SHA
    b28cd40 View commit details
    Browse the repository at this point in the history
  4. mgmtd: fix coverity CID 1574980

    Signed-off-by: Christian Hopps <[email protected]>
    choppsv1 committed Dec 30, 2023
    Configuration menu
    Copy the full SHA
    30e63f2 View commit details
    Browse the repository at this point in the history
  5. lib: fix coverity CID 1574981

    Signed-off-by: Christian Hopps <[email protected]>
    choppsv1 committed Dec 30, 2023
    Configuration menu
    Copy the full SHA
    1a7b50a View commit details
    Browse the repository at this point in the history
  6. lib: mgmtd: increase soft-max msg size to 64K

    - remove unused mgmt client/server constants
    
    Signed-off-by: Christian Hopps <[email protected]>
    choppsv1 committed Dec 30, 2023
    Configuration menu
    Copy the full SHA
    39e0f33 View commit details
    Browse the repository at this point in the history

Commits on Dec 31, 2023

  1. 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]>
    choppsv1 committed Dec 31, 2023
    Configuration menu
    Copy the full SHA
    c00002d View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2024

  1. 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]>
    chiragshah6 committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    d8689cc View commit details
    Browse the repository at this point in the history
  2. Merge pull request #15066 from chiragshah6/mdev1

    bgpd: revamp evpn debugs nexthop and l3vni
    ton31337 authored Jan 2, 2024
    Configuration menu
    Copy the full SHA
    e684b42 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #15068 from chiragshah6/zdev

    bgpd: lttng tp add ethtag to macip zebra send
    ton31337 authored Jan 2, 2024
    Configuration menu
    Copy the full SHA
    bfe52f8 View commit details
    Browse the repository at this point in the history
  4. 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]>
    choppsv1 committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    7e65956 View commit details
    Browse the repository at this point in the history
  5. 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]>
    pguibert6WIND committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    784c93c View commit details
    Browse the repository at this point in the history
  6. 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]>
    choppsv1 committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    412eec1 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #15075 from pguibert6WIND/pathd_metric_computed

    pathd: add dynamic candidate path metric [computed] keyword
    donaldsharp authored Jan 2, 2024
    Configuration menu
    Copy the full SHA
    0fb3dda View commit details
    Browse the repository at this point in the history
  8. 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
    donaldsharp authored Jan 2, 2024
    Configuration menu
    Copy the full SHA
    f6ae118 View commit details
    Browse the repository at this point in the history
  9. Merge pull request #15073 from LabNConsulting/chopps/fix-yang-key-que…

    …ries
    
    lib: fix specific entry queries
    donaldsharp authored Jan 2, 2024
    Configuration menu
    Copy the full SHA
    60f0996 View commit details
    Browse the repository at this point in the history
  10. Merge pull request #15071 from LabNConsulting/chopps/building-cleanup

    build: protobuf is required so update building docs
    donaldsharp authored Jan 2, 2024
    Configuration menu
    Copy the full SHA
    da7668f View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    de01b61 View commit details
    Browse the repository at this point in the history
  12. Merge pull request #12261 from cscarpitta/srv6-encap-src-addr

    zebra: Add the support of the Source Addr param of the SRv6 Encapsulation
    riw777 authored Jan 2, 2024
    Configuration menu
    Copy the full SHA
    54c2d32 View commit details
    Browse the repository at this point in the history
  13. 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
    donaldsharp authored Jan 2, 2024
    Configuration menu
    Copy the full SHA
    077fc27 View commit details
    Browse the repository at this point in the history
  14. Merge pull request #15055 from opensourcerouting/fix/zebra_ipv6_ll_co…

    …nfigured
    
    zebra: Push all configured IP addresses when the interface comes up
    riw777 authored Jan 2, 2024
    Configuration menu
    Copy the full SHA
    2e69afd View commit details
    Browse the repository at this point in the history
  15. Merge pull request #15074 from chiragshah6/fdev4

    bgpd: unimport evpn routes when implicit withdraw
    riw777 authored Jan 2, 2024
    Configuration menu
    Copy the full SHA
    2aef695 View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2024

  1. 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]>
    louis-6wind committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    9fa9a9d View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2024

  1. doc: add diagram of oper-state queries.

    Signed-off-by: Christian Hopps <[email protected]>
    choppsv1 committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    d2661a3 View commit details
    Browse the repository at this point in the history
  2. lib: remove unused/replaced oper-state iteration code

    Signed-off-by: Christian Hopps <[email protected]>
    choppsv1 committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    87a0e1f View commit details
    Browse the repository at this point in the history
  3. zebra: ctx has to be non NULL at this point

    Fix 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]>
    cscarpitta committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    a061ba2 View commit details
    Browse the repository at this point in the history
  4. 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]>
    pguibert6WIND committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    e266c44 View commit details
    Browse the repository at this point in the history
  5. 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]>
    louis-6wind committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    6001c76 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #15083 from louis-6wind/fix-isis_spftree_del

    isisd: fix _isis_spftree_del heap-use-after-free
    donaldsharp authored Jan 4, 2024
    Configuration menu
    Copy the full SHA
    4e249eb View commit details
    Browse the repository at this point in the history
  7. 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]>
    donaldsharp committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    1038710 View commit details
    Browse the repository at this point in the history
  8. *: 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]>
    donaldsharp committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    2bf051a View commit details
    Browse the repository at this point in the history
  9. lib: Move some priviledge headers to file they are used.

    Signed-off-by: Donald Sharp <[email protected]>
    donaldsharp committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    78690de View commit details
    Browse the repository at this point in the history
  10. 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]>
    donaldsharp committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    a57379f View commit details
    Browse the repository at this point in the history
  11. 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]>
    donaldsharp committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    fbc3115 View commit details
    Browse the repository at this point in the history
  12. 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]>
    donaldsharp committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    ca54540 View commit details
    Browse the repository at this point in the history
  13. *: 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]>
    donaldsharp committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    75b3e82 View commit details
    Browse the repository at this point in the history
  14. lib: Remove in_systm.h it is never used

    Signed-off-by: Donald Sharp <[email protected]>
    donaldsharp committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    1b1fc14 View commit details
    Browse the repository at this point in the history
  15. lib, vtysh: Remove inclusion of grp.h for everyone

    Signed-off-by: Donald Sharp <[email protected]>
    donaldsharp committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    88f8c90 View commit details
    Browse the repository at this point in the history
  16. *: 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]>
    donaldsharp committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    2700519 View commit details
    Browse the repository at this point in the history
  17. lib, sharpd: Move sys/resource.h to where it is used

    Signed-off-by: Donald Sharp <[email protected]>
    donaldsharp committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    d69ac58 View commit details
    Browse the repository at this point in the history
  18. *: sys/uio.h does not need to be in zebra.h

    Signed-off-by: Donald Sharp <[email protected]>
    donaldsharp committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    0b4ff79 View commit details
    Browse the repository at this point in the history
  19. lib: zebra.h does not need to include syslog.h

    Signed-off-by: Donald Sharp <[email protected]>
    donaldsharp committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    cbc1878 View commit details
    Browse the repository at this point in the history
  20. lib: sys/utsname.h is not needed in zebra.h

    Signed-off-by: Donald Sharp <[email protected]>
    donaldsharp committed Jan 4, 2024
    Configuration menu
    Copy the full SHA
    496d87c View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2024

  1. lib: fix initializer warning on centos 7.

    Signed-off-by: Christian Hopps <[email protected]>
    choppsv1 committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    ae1d854 View commit details
    Browse the repository at this point in the history
  2. 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]>
    louis-6wind committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    c6fe42f View commit details
    Browse the repository at this point in the history
  3. Merge pull request #15095 from LabNConsulting/chopps/fix-centos-warn

    lib: fix initializer warning on centos 7.
    donaldsharp authored Jan 5, 2024
    Configuration menu
    Copy the full SHA
    4494beb View commit details
    Browse the repository at this point in the history
  4. Merge pull request #15086 from LabNConsulting/chopps/remove-old-oper-…

    …iter-code
    
    lib: remove unused/replaced oper-state iteration code
    donaldsharp authored Jan 5, 2024
    Configuration menu
    Copy the full SHA
    d04349e View commit details
    Browse the repository at this point in the history
  5. Merge pull request #15097 from louis-6wind/cleanup_vrf_update

    lib: remove zebra_interface_vrf_update_read()
    donaldsharp authored Jan 5, 2024
    Configuration menu
    Copy the full SHA
    4038b6d View commit details
    Browse the repository at this point in the history
  6. Merge pull request #15091 from louis-6wind/fix-ecommunity_fill_pbr_ac…

    …tion
    
    bgpd: fix ecommunity_fill_pbr_action heap-buffer-overflow
    donaldsharp authored Jan 5, 2024
    Configuration menu
    Copy the full SHA
    88046da View commit details
    Browse the repository at this point in the history
  7. Merge pull request #15089 from pguibert6WIND/asan_sharpd_fix

    lib: fix memory leak when disabling nexthop_hold contexts
    donaldsharp authored Jan 5, 2024
    Configuration menu
    Copy the full SHA
    96067c7 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #15087 from cscarpitta/fix/fix-cid-1575079

    zebra: Fix coverity issue in `dplane_srv6_encap_srcaddr_set`
    donaldsharp authored Jan 5, 2024
    Configuration menu
    Copy the full SHA
    75490f2 View commit details
    Browse the repository at this point in the history
  9. Merge pull request #15085 from LabNConsulting/chopps/mgmtd-doc-update

    doc: add diagram of oper-state queries.
    donaldsharp authored Jan 5, 2024
    Configuration menu
    Copy the full SHA
    8d7d560 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    43331c0 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2024

  1. Merge pull request #15054 from k0ste/help

    redhat: rpm spec: added protobuf-c to deps & fix bogus changelog date
    ton31337 authored Jan 6, 2024
    Configuration menu
    Copy the full SHA
    4d29c17 View commit details
    Browse the repository at this point in the history
  2. build: require libyang 2.1.128

    Update building docs to reflect this as well.
    
    Signed-off-by: Christian Hopps <[email protected]>
    choppsv1 committed Jan 6, 2024
    Configuration menu
    Copy the full SHA
    db3ac9d View commit details
    Browse the repository at this point in the history
  3. 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]>
    mwinter-osr committed Jan 6, 2024
    Configuration menu
    Copy the full SHA
    0222f55 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2024

  1. 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]>
    donaldsharp committed Jan 7, 2024
    Configuration menu
    Copy the full SHA
    02049ff View commit details
    Browse the repository at this point in the history
  2. 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]>
    donaldsharp committed Jan 7, 2024
    Configuration menu
    Copy the full SHA
    5146ba7 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #15105 from donaldsharp/event_thread_mishap

    lib: Use event name instead of thread
    ton31337 authored Jan 7, 2024
    Configuration menu
    Copy the full SHA
    d2fe193 View commit details
    Browse the repository at this point in the history
  4. doc: Rename show thread ... to show event ...

    Signed-off-by: Donatas Abraitis <[email protected]>
    ton31337 committed Jan 7, 2024
    Configuration menu
    Copy the full SHA
    8c382a6 View commit details
    Browse the repository at this point in the history
  5. tools: Rename show thread ... to show event ...

    Signed-off-by: Donatas Abraitis <[email protected]>
    ton31337 committed Jan 7, 2024
    Configuration menu
    Copy the full SHA
    2435c21 View commit details
    Browse the repository at this point in the history
  6. tests: Rename show thread ... to show event ...

    Signed-off-by: Donatas Abraitis <[email protected]>
    ton31337 committed Jan 7, 2024
    Configuration menu
    Copy the full SHA
    1903b81 View commit details
    Browse the repository at this point in the history
  7. vtysh: Rename show thread ... to show event ...

    Signed-off-by: Donatas Abraitis <[email protected]>
    ton31337 committed Jan 7, 2024
    Configuration menu
    Copy the full SHA
    e0422df View commit details
    Browse the repository at this point in the history
  8. doc: Rename Thread to Event in events example

    Signed-off-by: Donatas Abraitis <[email protected]>
    ton31337 committed Jan 7, 2024
    Configuration menu
    Copy the full SHA
    7e6b4f7 View commit details
    Browse the repository at this point in the history
  9. Merge pull request #15104 from donaldsharp/label_pool_manager

    bgpd: bgp_sync_label_manager failure case
    ton31337 authored Jan 7, 2024
    Configuration menu
    Copy the full SHA
    fa62132 View commit details
    Browse the repository at this point in the history
  10. bgpd: Add debug bgp updates detail command

    When 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]>
    ton31337 committed Jan 7, 2024
    Configuration menu
    Copy the full SHA
    7a474b8 View commit details
    Browse the repository at this point in the history
  11. lib: fix clang SA warnings

    Signed-off-by: Christian Hopps <[email protected]>
    choppsv1 committed Jan 7, 2024
    Configuration menu
    Copy the full SHA
    00138ff View commit details
    Browse the repository at this point in the history
  12. 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]>
    choppsv1 committed Jan 7, 2024
    Configuration menu
    Copy the full SHA
    cf67a7e View commit details
    Browse the repository at this point in the history
  13. 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]>
    choppsv1 committed Jan 7, 2024
    Configuration menu
    Copy the full SHA
    1e4229f View commit details
    Browse the repository at this point in the history
  14. tests: test new XPath 1.0 predicate functionality

    Signed-off-by: Christian Hopps <[email protected]>
    choppsv1 committed Jan 7, 2024
    Configuration menu
    Copy the full SHA
    e85ff7a View commit details
    Browse the repository at this point in the history
  15. Merge pull request #15102 from opensourcerouting/Revert-memleak-PR14811

    Revert "bgpd: On shutdown do not create a workqueue for the self peer"
    donaldsharp authored Jan 7, 2024
    Configuration menu
    Copy the full SHA
    7335117 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    6d72776 View commit details
    Browse the repository at this point in the history
  17. Merge pull request #15101 from LabNConsulting/chopps/new-libyang-req

    build: require libyang 2.1.128
    donaldsharp authored Jan 7, 2024
    Configuration menu
    Copy the full SHA
    ea9d2b8 View commit details
    Browse the repository at this point in the history
  18. bgpd: show_adj_route_vpn always leaked json memory

    Signed-off-by: Donald Sharp <[email protected]>
    donaldsharp committed Jan 7, 2024
    Configuration menu
    Copy the full SHA
    bed55ec View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2024

  1. Merge pull request #15110 from donaldsharp/revert_zrouter.stale_client

    Revert "zebra: Cleanup zrouter.stale_client_list on shutdown"
    choppsv1 authored Jan 8, 2024
    Configuration menu
    Copy the full SHA
    2022141 View commit details
    Browse the repository at this point in the history
  2. tests: Add mgmtd to the official pytest.mark list

    Signed-off-by: Donald Sharp <[email protected]>
    donaldsharp committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    b1a3954 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #15111 from donaldsharp/json_vpn_wait_what

    bgpd: show_adj_route_vpn always leaked json memory
    ton31337 authored Jan 8, 2024
    Configuration menu
    Copy the full SHA
    482f082 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #15119 from donaldsharp/pytest_mgmtd

    tests: Add mgmtd to the official pytest.mark list
    ton31337 authored Jan 8, 2024
    Configuration menu
    Copy the full SHA
    87a9227 View commit details
    Browse the repository at this point in the history
  5. 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]>
    ton31337 committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    74c1d4f View commit details
    Browse the repository at this point in the history
  6. Merge pull request #15106 from opensourcerouting/fix/rename_thread_cli

    vtysh: Add `show event ...` commands
    donaldsharp authored Jan 8, 2024
    Configuration menu
    Copy the full SHA
    956b615 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2024

  1. bgpd: Drop BGP_DEBUG_PACKET_SEND_DETAIL/BGP_DEBUG_PACKET_SEND consts

    Not used anywhere.
    
    Signed-off-by: Donatas Abraitis <[email protected]>
    ton31337 committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    8f3d99b View commit details
    Browse the repository at this point in the history
  2. bgpd: Change printing format show debugging for debug 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]>
    ton31337 committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    546fe31 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #15120 from opensourcerouting/fix/memory_leak_for_…

    …default_originate
    
    bgpd: Fix memory leak for default-originate with route-map
    donaldsharp authored Jan 9, 2024
    Configuration menu
    Copy the full SHA
    92d0242 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #15001 from pguibert6WIND/zebra_nexthop_rework

    Zebra nexthop rework
    riw777 authored Jan 9, 2024
    Configuration menu
    Copy the full SHA
    d5a0a70 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #15108 from opensourcerouting/fix/debug_bgp_update…

    …s_detail
    
    bgpd: Add `debug bgp updates detail` command
    riw777 authored Jan 9, 2024
    Configuration menu
    Copy the full SHA
    6c87068 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #15122 from opensourcerouting/fix/drop_packet_send…

    …_debugs
    
    bgpd: Change printing format show debugging for debug bgp updates
    donaldsharp authored Jan 9, 2024
    Configuration menu
    Copy the full SHA
    153ab6e View commit details
    Browse the repository at this point in the history
  7. Merge pull request #15103 from LabNConsulting/chopps/oper-filter

    Implement full XPath 1.0 functionality
    donaldsharp authored Jan 9, 2024
    Configuration menu
    Copy the full SHA
    22b4390 View commit details
    Browse the repository at this point in the history
  8. lib: select.h is not being used by anyone

    Signed-off-by: Donald Sharp <[email protected]>
    donaldsharp committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    7497d33 View commit details
    Browse the repository at this point in the history
  9. *: remove sys/stat.h from zebra.h

    Signed-off-by: Donald Sharp <[email protected]>
    donaldsharp committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    848dcf3 View commit details
    Browse the repository at this point in the history
  10. lib: remove net/route.h it is not used

    Signed-off-by: Donald Sharp <[email protected]>
    donaldsharp committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    7f3d9ea View commit details
    Browse the repository at this point in the history
  11. lib: zebra.h was including compiler.h two times

    Signed-off-by: Donald Sharp <[email protected]>
    donaldsharp committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    33744ae View commit details
    Browse the repository at this point in the history
  12. *: zebra.h should not have fcntl.h

    Signed-off-by: Donald Sharp <[email protected]>
    donaldsharp committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    c6d94a7 View commit details
    Browse the repository at this point in the history
  13. lib: zebra.h uses pwd.h when it should not

    Signed-off-by: Donald Sharp <[email protected]>
    donaldsharp committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    b6f1a40 View commit details
    Browse the repository at this point in the history
  14. lib: zebra.h is not using signal.h

    Signed-off-by: Donald Sharp <[email protected]>
    donaldsharp committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    8049f74 View commit details
    Browse the repository at this point in the history
  15. lib: stdbool.h is not being used by zebra.h

    Signed-off-by: Donald Sharp <[email protected]>
    donaldsharp committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    68eca30 View commit details
    Browse the repository at this point in the history
  16. lib: string.h was only used by vector.c make it better

    Signed-off-by: Donald Sharp <[email protected]>
    donaldsharp committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    7c1a8f7 View commit details
    Browse the repository at this point in the history
  17. zebra: Nothing is using errno.h

    Signed-off-by: Donald Sharp <[email protected]>
    donaldsharp committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    f982bdd View commit details
    Browse the repository at this point in the history
  18. lib: limits.h is not needed by zebra.h

    Signed-off-by: Donald Sharp <[email protected]>
    donaldsharp committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    c402a0b View commit details
    Browse the repository at this point in the history
  19. 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]>
    donaldsharp committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    e92a7e9 View commit details
    Browse the repository at this point in the history
  20. pimd: Cleanup SA issue with value never used

    Signed-off-by: Donald Sharp <[email protected]>
    donaldsharp committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    be80dbc View commit details
    Browse the repository at this point in the history
  21. ospf6d: Value set is never used

    Signed-off-by: Donald Sharp <[email protected]>
    donaldsharp committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    84877e6 View commit details
    Browse the repository at this point in the history
  22. 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]>
    donaldsharp committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    3f03ec1 View commit details
    Browse the repository at this point in the history
  23. 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]>
    donaldsharp committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    54ed53f View commit details
    Browse the repository at this point in the history
  24. lib: fix oper-state memleak

    Fix memleak when a key-ed query was done for which the key didn't exist.
    
    Signed-off-by: Christian Hopps <[email protected]>
    choppsv1 committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    5519c0f View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2024

  1. Merge pull request #15123 from LabNConsulting/chopps/fix-oper-state-m…

    …emleak
    
    lib: fix oper-state memleak
    ton31337 authored Jan 10, 2024
    Configuration menu
    Copy the full SHA
    4c87548 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #15100 from donaldsharp/SA_problems_local

    Sa problems local
    ton31337 authored Jan 10, 2024
    Configuration menu
    Copy the full SHA
    26be39c View commit details
    Browse the repository at this point in the history
  3. 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]>
    Edwin Brossette authored and fdumontet6WIND committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    9e06f93 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2024

  1. Merge pull request #15124 from fdumontet6WIND/large_fds

    lib snmp: use snmp's large fd sets for agentx
    donaldsharp authored Jan 11, 2024
    Configuration menu
    Copy the full SHA
    5fbf0cc View commit details
    Browse the repository at this point in the history
  2. doc: Change the link to libyang for 2.1.x

    Signed-off-by: Donatas Abraitis <[email protected]>
    ton31337 committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    d3177d9 View commit details
    Browse the repository at this point in the history
  3. doc: Fix documentation warning on the required version of libyang

    Signed-off-by: Donatas Abraitis <[email protected]>
    ton31337 committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    79b9928 View commit details
    Browse the repository at this point in the history
  4. 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]>
    ton31337 committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    a8474e4 View commit details
    Browse the repository at this point in the history
  5. 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]>
    ton31337 committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    584b031 View commit details
    Browse the repository at this point in the history
  6. 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]>
    ton31337 committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    1c491df View commit details
    Browse the repository at this point in the history
  7. 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]>
    ton31337 committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    a56beac View commit details
    Browse the repository at this point in the history
  8. Merge pull request #15098 from donaldsharp/lib_zebra_h_cleanup_2

    Lib zebra h cleanup 2
    ton31337 authored Jan 11, 2024
    Configuration menu
    Copy the full SHA
    67e8ef2 View commit details
    Browse the repository at this point in the history
  9. 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]>
    idryzhov committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    5d1a314 View commit details
    Browse the repository at this point in the history
  10. 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]>
    idryzhov committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    76e4eb8 View commit details
    Browse the repository at this point in the history
  11. 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]>
    idryzhov committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    3c2598a View commit details
    Browse the repository at this point in the history
  12. lib: move dnode creation into a separate function

    Signed-off-by: Igor Ryzhov <[email protected]>
    idryzhov committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    fe0d4dc View commit details
    Browse the repository at this point in the history
  13. 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]>
    idryzhov committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    d726114 View commit details
    Browse the repository at this point in the history
  14. lib: explain semantics of northbound operations

    Signed-off-by: Igor Ryzhov <[email protected]>
    idryzhov committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    7e48299 View commit details
    Browse the repository at this point in the history
  15. lib: implement missing YANG choice/case statements.

    Signed-off-by: Christian Hopps <[email protected]>
    choppsv1 committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    32a4c40 View commit details
    Browse the repository at this point in the history
  16. lib: change type of inner to struct lyd_node *, cleaner code

    Signed-off-by: Christian Hopps <[email protected]>
    choppsv1 committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    7b7725f View commit details
    Browse the repository at this point in the history
  17. Merge pull request #15128 from opensourcerouting/fix/bgp_oad_ECOMMUNI…

    …TY_ORIGIN_VALIDATION_STATE
    
    bgpd: Recent EBGP-OAD improvements
    donaldsharp authored Jan 11, 2024
    Configuration menu
    Copy the full SHA
    86cbd58 View commit details
    Browse the repository at this point in the history
  18. 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]>
    idryzhov committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    0eac9b6 View commit details
    Browse the repository at this point in the history
  19. 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]>
    idryzhov committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    3472197 View commit details
    Browse the repository at this point in the history
  20. Merge pull request #15131 from LabNConsulting/chopps/oper-choice-case

    Chopps/oper choice case
    idryzhov authored Jan 11, 2024
    Configuration menu
    Copy the full SHA
    883f134 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2024

  1. Merge pull request #15134 from idryzhov/fix-commit-clients

    mgmtd: don't try to send config to disconnected clients
    choppsv1 authored Jan 12, 2024
    Configuration menu
    Copy the full SHA
    e754620 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #15127 from opensourcerouting/fix/doc_libyang_arti…

    …facts
    
    doc: libyang nits
    choppsv1 authored Jan 12, 2024
    Configuration menu
    Copy the full SHA
    e1ec5b7 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #15136 from idryzhov/ignore-cbs

    lib, mgmtd: rename ignore_cbs to ignore_cfg_cbs
    ton31337 authored Jan 12, 2024
    Configuration menu
    Copy the full SHA
    0f5a79a View commit details
    Browse the repository at this point in the history
  4. Merge pull request #14542 from idryzhov/nb-op-cb-split

    Add more northbound operation types
    choppsv1 authored Jan 12, 2024
    Configuration menu
    Copy the full SHA
    20d0d47 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0cd273e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f0bfb32 View commit details
    Browse the repository at this point in the history
  7. doc: long line

    RodrigoMNardi committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    01fcb57 View commit details
    Browse the repository at this point in the history
  8. doc: long line

    RodrigoMNardi committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    0a2b1d3 View commit details
    Browse the repository at this point in the history
  9. doc: updating README.md

    RodrigoMNardi committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    bb237d3 View commit details
    Browse the repository at this point in the history
  10. doc: updating README.md

    RodrigoMNardi committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    b8562af View commit details
    Browse the repository at this point in the history
  11. doc: updating README.md

    RodrigoMNardi committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    704f070 View commit details
    Browse the repository at this point in the history
  12. doc: updating README.md

    RodrigoMNardi committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    9e3ff7c View commit details
    Browse the repository at this point in the history
  13. doc: updating README.md

    RodrigoMNardi committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    97eda27 View commit details
    Browse the repository at this point in the history
  14. doc: updating README.md

    RodrigoMNardi committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    386b8bd View commit details
    Browse the repository at this point in the history
  15. doc: updating README.md

    RodrigoMNardi committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    9ef355b View commit details
    Browse the repository at this point in the history
  16. doc: updating README.md

    RodrigoMNardi committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    f49c317 View commit details
    Browse the repository at this point in the history
  17. doc: updating README.md

    RodrigoMNardi committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    b58258d View commit details
    Browse the repository at this point in the history
  18. doc: updating README.md

    RodrigoMNardi committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    f2507e2 View commit details
    Browse the repository at this point in the history
  19. doc: updating README.md

    RodrigoMNardi committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    464b181 View commit details
    Browse the repository at this point in the history
  20. doc: updating README.md

    RodrigoMNardi committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    f1d04b5 View commit details
    Browse the repository at this point in the history
  21. doc: updating README.md

    RodrigoMNardi committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    b766e13 View commit details
    Browse the repository at this point in the history
  22. doc: updating README.md

    RodrigoMNardi committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    4628591 View commit details
    Browse the repository at this point in the history
  23. doc: updating README.md

    RodrigoMNardi committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    3a1ffc1 View commit details
    Browse the repository at this point in the history
  24. doc: updating README.md

    RodrigoMNardi committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    ecdd124 View commit details
    Browse the repository at this point in the history
  25. doc: updating README.md

    RodrigoMNardi committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    31482d2 View commit details
    Browse the repository at this point in the history
  26. doc: updating README.md

    RodrigoMNardi committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    fbeeede View commit details
    Browse the repository at this point in the history
  27. doc: updating README.md

    RodrigoMNardi committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    c6cbd0e View commit details
    Browse the repository at this point in the history
  28. doc: updating README.md

    RodrigoMNardi committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    d7e991a View commit details
    Browse the repository at this point in the history
  29. doc: updating README.md

    RodrigoMNardi committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    cdb1be5 View commit details
    Browse the repository at this point in the history
  30. doc: updating README.md

    RodrigoMNardi committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    109ff2e View commit details
    Browse the repository at this point in the history
  31. doc: updating README.md

    RodrigoMNardi committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    adad4d6 View commit details
    Browse the repository at this point in the history
  32. doc: updating README.md

    RodrigoMNardi committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    7b9a60f View commit details
    Browse the repository at this point in the history
  33. doc: updating README.md

    RodrigoMNardi committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    e74cb8a View commit details
    Browse the repository at this point in the history
  34. doc: updating README.md

    RodrigoMNardi committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    d4d5665 View commit details
    Browse the repository at this point in the history
  35. doc: updating README.md

    RodrigoMNardi committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    d7ce1cb View commit details
    Browse the repository at this point in the history
  36. doc: updating README.md

    RodrigoMNardi committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    df07513 View commit details
    Browse the repository at this point in the history
  37. doc: updating README.md

    RodrigoMNardi committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    1933e2a View commit details
    Browse the repository at this point in the history
  38. doc: updating README.md

    RodrigoMNardi committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    5d719ae View commit details
    Browse the repository at this point in the history
  39. doc: updating README.md

    RodrigoMNardi committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    74d2f0a View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2024

  1. doc: updating README.md

    RodrigoMNardi committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    259e4a9 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2024

  1. Configuration menu
    Copy the full SHA
    2feac39 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aea16de View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ccfb9c2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f79b7c4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7a4e238 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f27333c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    62b8a54 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6aa5a0a View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    61a8533 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    df11734 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2024

  1. doc: updating README.md

    RodrigoMNardi committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    64f7749 View commit details
    Browse the repository at this point in the history
  2. doc: updating README.md

    RodrigoMNardi committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    6bcd95a View commit details
    Browse the repository at this point in the history
  3. doc: updating README.md

    RodrigoMNardi committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    e85a7cb View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2024

  1. doc: changing bgpd.log

    RodrigoMNardi committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    dace1bf View commit details
    Browse the repository at this point in the history

Commits on May 12, 2024

  1. doc: changing bgpd.log

    RodrigoMNardi committed May 12, 2024
    Configuration menu
    Copy the full SHA
    4338622 View commit details
    Browse the repository at this point in the history