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

Add features: host netns + route source interface #5

Merged
merged 13 commits into from
May 29, 2023

Commits on May 19, 2023

  1. add more features to ptp plugin

    * add option "host_netns" in configuration to move the host veth
      interface in a specific netns
    * add options "route_source_interface_ipv4/ipv6" to change source IP
      used in routes configured by the IPAM plugin
    * add option "sysctl", taking as input the same format of configuration
      than the "tuning" plugin to configure sysctl parameters in the
      container netns
    fdomain committed May 19, 2023
    Configuration menu
    Copy the full SHA
    b0e8068 View commit details
    Browse the repository at this point in the history
  2. fix: close destNetns fd

    fdomain committed May 19, 2023
    Configuration menu
    Copy the full SHA
    d679206 View commit details
    Browse the repository at this point in the history
  3. fix: ensure to convert configuration passed to tuning plugin

    * result needs to be converted to the right CNI version before passing
      it to another plugin
    fdomain committed May 19, 2023
    Configuration menu
    Copy the full SHA
    5bf367d View commit details
    Browse the repository at this point in the history
  4. fix: remove link-local ipv6 address from the address list

    * when using route_source_interface, we expect to have a single IP
      configured on the interface, however in IPv6, there is always a link
      local address configured in addition to the one provided by the IPAM
      plugin
    * getIntfIP function was returning an error as we were seeing 2
      addresses instead of 1, now we filter this link-local address to fix
      it
    fdomain committed May 19, 2023
    Configuration menu
    Copy the full SHA
    cb031f5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    782335c View commit details
    Browse the repository at this point in the history
  6. fix: handle default route IPv4/IPv6 when replacing src IP

    * default route in IPv4 and IPv6 is equivalent to a Dst = nil in a route
      filter
    fdomain committed May 19, 2023
    Configuration menu
    Copy the full SHA
    23faacd View commit details
    Browse the repository at this point in the history
  7. cover new features introduced in ptp in cmdCheck

    * we must check that all the new config parameters have been correctly
      set on the host/container netns
    fdomain committed May 19, 2023
    Configuration menu
    Copy the full SHA
    c8004d5 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b62a297 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    e0e285e View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    6b0f22b View commit details
    Browse the repository at this point in the history

Commits on May 22, 2023

  1. lint: remove extra line

    fdomain committed May 22, 2023
    Configuration menu
    Copy the full SHA
    5fc86d2 View commit details
    Browse the repository at this point in the history
  2. remove mentions to Criteo

    fdomain committed May 22, 2023
    Configuration menu
    Copy the full SHA
    5de435f View commit details
    Browse the repository at this point in the history

Commits on May 23, 2023

  1. feat: remove sysctl

    * the sysctl feature might be unnecessary as we could configure sysctl
      parameters on the host itself, or via the mesos isolator
    * we'll repropose that feature again if this is needed
    fdomain committed May 23, 2023
    Configuration menu
    Copy the full SHA
    637f257 View commit details
    Browse the repository at this point in the history