forked from antrea-io/antrea
-
Notifications
You must be signed in to change notification settings - Fork 0
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
antctl support for cnp and anp #10
Closed
Closed
Conversation
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
GraysonWu
force-pushed
the
antctl-cnp-anp
branch
6 times, most recently
from
October 2, 2020 22:39
a133bb6
to
9a7eba6
Compare
GraysonWu
force-pushed
the
antctl-cnp-anp
branch
4 times, most recently
from
October 6, 2020 21:16
fd4b1c6
to
5f3926e
Compare
GraysonWu
force-pushed
the
antctl-cnp-anp
branch
8 times, most recently
from
October 16, 2020 19:20
cdf8ef2
to
b3119c6
Compare
…-io#1348) * Move contributor docs and design docs to separate directories After the change, two sub-directories "contributors" and "design" are created under the "/docs" directory: docs/contributors/: code-generation.md eks-terraform.md github-labels.md issue-management.md manual-installation.md docs/design/: architecture.md ovs-pipeline.md policy-only.md windows-design.md Also move "ROADMAP.md" to "docs/roadmap.md". * Update doc links.
Read featuregate status instead of indirect checking to determine whether a feature is enabled. Signed-off-by: Weiqiang Tang <weiqiangt@vmware.com>
With L3 flows, Pod-to-Pod traffic will no longer go through gateway interfaces. For Pod-to-Service traffic, Linux doesn't allow sending redirect packets for NAT'd connections. Therefore, configuring send_redirects is no longer needed.
1. Set IP protocol number according to the Service protocol type in "learn" flow. 2. Add integration test cases to ensure the flow is realized as expected.
For routine maintenance tasks that need to be performed for the project, e.g. upgrading some software dependency version. I expect most of these tasks will have to do with infra & test infra.
After support CNP and ANP, some name and namespace based functions no longer work. Here add a struct called NetworkPolicyQueryFilter which can be used to query NetworkPolicies and easy to extend in future. The logic of the filter match is that if a NetworkPolicy can match all provided attributes of a filter then they are matched. Also add more info into result of antctl get netpol like sourceType, Prioriy, TierPriority. codegen and fix UT revert changes on this file, accidently submit it change response while no resource are found fix e2e test Add aliases to -r --reference option Update pkg/agent/apiserver/handlers/networkpolicy/handler.go Simplify the process of `func NewFilterFromURLQuery` Co-authored-by: Dyanngg <yxd155@case.edu>
From pkg/apis/controlplane/v1beta1/types.go To pkg/querier/querier.go
Change NetworkPolicyQueryFilter in map or argument from struct to pointer Change -r reference to -T type
GraysonWu
force-pushed
the
antctl-cnp-anp
branch
from
October 21, 2020 19:56
b3119c6
to
9e15805
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
After support CNP and ANP, some name and namespace based functions no longer work. Here add a struct called NetworkPolicyQueryFilter which can be used to query NetworkPolicies and easy to extend in future.
The logic of the filter match is that if a NetworkPolicy can match all provided attributes of a filter then they are matched.
Also add more info into result of antctl get netpol like sourceType, Prioriy, TierPriority.
codegen and fix UT
revert changes on this file, accidently submit it
change response while no resource are found fix e2e test
Add aliases to -r --reference option
Update pkg/agent/apiserver/handlers/networkpolicy/handler.go
Simplify the process of
func NewFilterFromURLQuery
Co-authored-by: Dyanngg yxd155@case.edu