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

Detect local traffic using interface #95400

Merged

Commits on Mar 25, 2022

  1. Local Traffic Detector: Add two new modes

    This PR introduces two new modes for detecting
    local traffic in a cluster.
    1) detectLocalByBridgeInterface: This takes a bridge name
    as argument and decides all traffic that match on their
    originating interface being that of this bridge, shall be
    considered as local pod traffic.
    2) detectLocalByInterfaceNamePrefix: This takes an interface prefix
    name as argument and decides all traffic that match on their
    originating interface names having a prefix that matches this
    argument shall be considered as local pod traffic.
    
    Signed-off-by: Surya Seetharaman <suryaseetharaman.9@gmail.com>
    tssurya committed Mar 25, 2022
    Configuration menu
    Copy the full SHA
    5632991 View commit details
    Browse the repository at this point in the history
  2. Enable local traffic detection using the interface options

    This commit adds the framework for the new local detection
    modes BridgeInterface and InterfaceNamePrefix to work.
    
    Signed-off-by: Surya Seetharaman <suryaseetharaman.9@gmail.com>
    tssurya committed Mar 25, 2022
    Configuration menu
    Copy the full SHA
    7d480d8 View commit details
    Browse the repository at this point in the history
  3. Add validation for bridge-interface and interface-name-prefix

    Co-authored-by: Will Daly <widaly@microsoft.com>
    Signed-off-by: Surya Seetharaman <suryaseetharaman.9@gmail.com>
    tssurya and wedaly committed Mar 25, 2022
    Configuration menu
    Copy the full SHA
    1ea5f94 View commit details
    Browse the repository at this point in the history