-
Notifications
You must be signed in to change notification settings - Fork 21
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
Support showing NSX LB SNAT IP in networkinfo CR #1018
Merged
Merged
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
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1018 +/- ##
==========================================
+ Coverage 74.47% 74.52% +0.05%
==========================================
Files 118 118
Lines 16285 16330 +45
==========================================
+ Hits 12128 12170 +42
- Misses 3389 3391 +2
- Partials 768 769 +1
|
ba3170b
to
bbb2e85
Compare
lxiaopei
reviewed
Feb 5, 2025
TaoZou1
reviewed
Feb 5, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In
Getting VPC Ppolicy -> policy
lxiaopei
reviewed
Feb 5, 2025
lxiaopei
reviewed
Feb 5, 2025
/e2e |
9 similar comments
/e2e |
/e2e |
/e2e |
/e2e |
/e2e |
/e2e |
/e2e |
/e2e |
/e2e |
Getting VPC Ppolicy Tier1 uplink port IP as NSX LB SNAT IP in order to present it in networkinfo CR loadBalancerIPAddresses field.
bbb2e85
to
f821e9a
Compare
/e2e |
1 similar comment
/e2e |
dantingl
approved these changes
Feb 22, 2025
TaoZou1
approved these changes
Feb 24, 2025
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.
Getting VPC policy Tier1 uplink port IP as NSX LB SNAT IP in order to present it in networkinfo CR loadBalancerIPAddresses field.
Test done:
NSX API output for vpc-vw8t for VPC T1 uplink and downlink Port info
This PR is to show
100.64.0.3
as loadBalancerIPAddresses SNAT IP for namespace: ns-1 which is associated with VPCvpc-vw8t
The VPC region-1-Default-VPC is shared by two namespaces: ns-1-bm6cc and ns-2-vjzp7, we can see both namespaces have same VPC info in the networkinfo CR.
kubectl get networkinfos ns-3 -nns-3 -o yaml
apiVersion: crd.nsx.vmware.com/v1alpha1
kind: NetworkInfo
metadata:
creationTimestamp: "2025-02-21T04:54:48Z"
generation: 2
name: ns-3
namespace: ns-3
resourceVersion: "9862877"
uid: 86c0b90c-d253-41e1-878f-26d7814d6274
vpcs:
loadBalancerIPAddresses: 100.64.0.7
name: ns-3_86c0b90c-d253-41e1-878f-26d7814d6274
privateIPs: