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

Revert and fix ip rules #25350

Merged
merged 17 commits into from
May 23, 2023
Merged

Commits on May 10, 2023

  1. fix the comments about Delete

    The endpoint's IP is not released int the function Delete, it is release
    in the function EndpointDeleted. This comments will confused the code
    reader.
    
    Signed-off-by: pengbinbin1 <pengbiny@163.com>
    pengbinbin1 authored and NikAleksandrov committed May 10, 2023
    Configuration menu
    Copy the full SHA
    b1517dc View commit details
    Browse the repository at this point in the history
  2. vendor: update vishvananda/netlink/

    Update vishvananda/netlink/ so we can make use of fib rule
    RTA_PROTOCOL attribute.
    
    Signed-off-by: Nikolay Aleksandrov <nikolay@isovalent.com>
    Nikolay Aleksandrov authored and NikAleksandrov committed May 10, 2023
    Configuration menu
    Copy the full SHA
    1da125c View commit details
    Browse the repository at this point in the history
  3. datapath/linux/route: fix CI expectations for rule string format

    This reverts commit 53fef54.
    
    Signed-off-by: Nikolay Aleksandrov <nikolay@isovalent.com>
    Nikolay Aleksandrov authored and NikAleksandrov committed May 10, 2023
    Configuration menu
    Copy the full SHA
    13dd701 View commit details
    Browse the repository at this point in the history
  4. linux_defaults: add default rt protocol to use for fib rules and routes

    This reverts commit 368ec8e.
    
    Signed-off-by: Nikolay Aleksandrov <nikolay@isovalent.com>
    Nikolay Aleksandrov authored and NikAleksandrov committed May 10, 2023
    Configuration menu
    Copy the full SHA
    279da4f View commit details
    Browse the repository at this point in the history
  5. linux_defaults: add local lookup priority to use for fib rules

    This reverts commit ed5114d.
    
    Signed-off-by: Nikolay Aleksandrov <nikolay@isovalent.com>
    Nikolay Aleksandrov authored and NikAleksandrov committed May 10, 2023
    Configuration menu
    Copy the full SHA
    4024d85 View commit details
    Browse the repository at this point in the history
  6. init.sh: install ip rules and routes with proto kernel

    This reverts commit dbce5f1.
    
    Signed-off-by: Nikolay Aleksandrov <nikolay@isovalent.com>
    Nikolay Aleksandrov authored and NikAleksandrov committed May 10, 2023
    Configuration menu
    Copy the full SHA
    1618f63 View commit details
    Browse the repository at this point in the history
  7. init.sh: take local lookup rule priority as an argument

    This reverts commit 9e62a84.
    
    Signed-off-by: Nikolay Aleksandrov <nikolay@isovalent.com>
    Nikolay Aleksandrov authored and NikAleksandrov committed May 10, 2023
    Configuration menu
    Copy the full SHA
    24dc4e4 View commit details
    Browse the repository at this point in the history
  8. datapath/linux/route: add support for rule protocol

    This reverts commit 5fb791d.
    
    Signed-off-by: Nikolay Aleksandrov <nikolay@isovalent.com>
    Nikolay Aleksandrov authored and NikAleksandrov committed May 10, 2023
    Configuration menu
    Copy the full SHA
    21a44da View commit details
    Browse the repository at this point in the history
  9. datapath/linux/route: use proto kernel when installing routes

    This reverts commit 0f3e989.
    
    Signed-off-by: Nikolay Aleksandrov <nikolay@isovalent.com>
    Nikolay Aleksandrov authored and NikAleksandrov committed May 10, 2023
    Configuration menu
    Copy the full SHA
    96380d3 View commit details
    Browse the repository at this point in the history
  10. egressgw: use proto kernel for fib routes and rules

    This reverts commit 3271cb2.
    
    Signed-off-by: Nikolay Aleksandrov <nikolay@isovalent.com>
    Nikolay Aleksandrov authored and NikAleksandrov committed May 10, 2023
    Configuration menu
    Copy the full SHA
    6ceb86d View commit details
    Browse the repository at this point in the history
  11. datapath/loader: use proto kernel for ENI fib rules and routes

    This reverts commit afdc51f.
    
    Signed-off-by: Nikolay Aleksandrov <nikolay@isovalent.com>
    Nikolay Aleksandrov authored and NikAleksandrov committed May 10, 2023
    Configuration menu
    Copy the full SHA
    b47af02 View commit details
    Browse the repository at this point in the history
  12. datapath/linux/routing: use proto kernel for fib routes and rules

    This reverts commit 9b5e74b.
    
    Signed-off-by: Nikolay Aleksandrov <nikolay@isovalent.com>
    Nikolay Aleksandrov authored and NikAleksandrov committed May 10, 2023
    Configuration menu
    Copy the full SHA
    76cd5db View commit details
    Browse the repository at this point in the history
  13. datapath/linux/node: use proto kernel for fib rules and routes

    This reverts commit 2b6d5c4.
    
    Signed-off-by: Nikolay Aleksandrov <nikolay@isovalent.com>
    Nikolay Aleksandrov authored and NikAleksandrov committed May 10, 2023
    Configuration menu
    Copy the full SHA
    5febf4a View commit details
    Browse the repository at this point in the history
  14. datapath: remove RouteProtocolIPSec and use proto kernel

    This reverts commit 05593ee.
    
    Signed-off-by: Nikolay Aleksandrov <nikolay@isovalent.com>
    Nikolay Aleksandrov authored and NikAleksandrov committed May 10, 2023
    Configuration menu
    Copy the full SHA
    0b3ad81 View commit details
    Browse the repository at this point in the history
  15. bugtool: dump fib rule protocol

    This reverts commit a9cad19.
    
    Signed-off-by: Nikolay Aleksandrov <nikolay@isovalent.com>
    Nikolay Aleksandrov authored and NikAleksandrov committed May 10, 2023
    Configuration menu
    Copy the full SHA
    4fea039 View commit details
    Browse the repository at this point in the history
  16. datapath/linux/route: DeleteRule takes family as an argument

    Remove the IPv6-specific DeleteRuleIPv6() and add a family argument to
    DeleteRule so we can use the same function for both families.
    
    Signed-off-by: Nikolay Aleksandrov <nikolay@isovalent.com>
    Nikolay Aleksandrov authored and NikAleksandrov committed May 10, 2023
    Configuration menu
    Copy the full SHA
    dfeb732 View commit details
    Browse the repository at this point in the history
  17. datapath/linux: make sure we have a local rule with proto kernel

    This reverts commit 9d60341.
    
    Signed-off-by: Nikolay Aleksandrov <nikolay@isovalent.com>
    Nikolay Aleksandrov authored and NikAleksandrov committed May 10, 2023
    Configuration menu
    Copy the full SHA
    5ae2df5 View commit details
    Browse the repository at this point in the history