-
Notifications
You must be signed in to change notification settings - Fork 363
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add IP Group association query API (#4807)
This commit adds a new ipgroupassociation API type for querying the Antrea Group/ClusterGroups that an IP is associated with. Possible scenarios include: - IP is assigned to a Pod, in which case the groups that select the Pod as member will be returned - IP appears in an ExternalEntity's endpoints, in which case the groups that select the ExternalEntity as member will be returned - IP is part of an IPBlock that defines the Group/ClusterGroup, in which case the group will be returned. (Note that 1 and 3 can simultaneously be true, so as 2 and 3) Below are examples of how this API can be consumed: - Through kubectl proxy (i.e. curl 127.0.0.1:8001/apis/controlplane .antrea.io/v1beta2/ipgroupassociations/10.10.0.1) - Through the IPGroupAssociations clientset provided under controlplane/v1beta2 Signed-off-by: Dyanngg <dingyang@vmware.com>
- Loading branch information
Showing
30 changed files
with
1,424 additions
and
274 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.