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 source ports in Antrea-native policy API #4687

Merged
merged 1 commit into from
May 18, 2023

Commits on May 17, 2023

  1. Add source ports in policy API

    This commit adds two optional fields, namely 'sourcePort' and
    'sourceEndPort' to the NetworkPolicyPort definition of Antrea-native
    policies.
    When specified, the policy rule will only match traffic initiated
    from a specific port (if only sourcePort is provided) or from a
    specific port range (if both sourcePort and sourceEndPort are
    provided). Supported protocols are TCP, UDP and SCTP.
    
    Signed-off-by: Dyanngg <dingyang@vmware.com>
    Dyanngg committed May 17, 2023
    Configuration menu
    Copy the full SHA
    747fa6c View commit details
    Browse the repository at this point in the history