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 support for pre-created VPC in VPCNetworkConfiguration CR #683

Merged
merged 2 commits into from
Aug 20, 2024

Conversation

wenyingd
Copy link
Contributor

@wenyingd wenyingd commented Aug 12, 2024

  1. Skip NSX VPC creations if VPC field is set in the VPCNetworkConfiguration CR
    spec.
  2. Using the pre-created VPC's private IPs. connectivity profile and other
    necessary settings to set NetworkInfo CR status.
  3. Add tag "nsx/managed-by: nsx-op" on the NSX VPCs which are created by
    nsx-operator.

@wenyingd wenyingd force-pushed the precreated_vpc_ns-controller branch 4 times, most recently from e287912 to 2a922d5 Compare August 16, 2024 09:50
@wenyingd wenyingd force-pushed the precreated_vpc_ns-controller branch from 2a922d5 to 58eb9c0 Compare August 19, 2024 02:04
pkg/nsx/services/vpc/vpc.go Show resolved Hide resolved
pkg/nsx/services/vpc/vpc.go Show resolved Hide resolved
pkg/nsx/services/vpc/vpc.go Outdated Show resolved Hide resolved
@wenyingd wenyingd force-pushed the precreated_vpc_ns-controller branch from 58eb9c0 to 4082703 Compare August 19, 2024 05:55
zhengxiexie
zhengxiexie previously approved these changes Aug 19, 2024
TaoZou1
TaoZou1 previously approved these changes Aug 19, 2024
pkg/controllers/networkinfo/networkinfo_utils.go Outdated Show resolved Hide resolved
pkg/nsx/services/vpc/vpc.go Outdated Show resolved Hide resolved
@wenyingd wenyingd dismissed stale reviews from TaoZou1 and zhengxiexie via da650d1 August 19, 2024 10:12
@wenyingd wenyingd force-pushed the precreated_vpc_ns-controller branch from 4082703 to da650d1 Compare August 19, 2024 10:12
@wenyingd wenyingd requested a review from heypnus August 19, 2024 10:19
@wenyingd wenyingd force-pushed the precreated_vpc_ns-controller branch from da650d1 to b1b5a45 Compare August 19, 2024 10:26
Copy link
Contributor

@dantingl dantingl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

commit message: pre-craeted -> pre-created

@wenyingd wenyingd changed the title Add support for pre-craeted VPC in VPCNetworkConfiguration CR Add support for pre-created VPC in VPCNetworkConfiguration CR Aug 20, 2024
@wenyingd wenyingd force-pushed the precreated_vpc_ns-controller branch from b1b5a45 to 8409847 Compare August 20, 2024 01:45
@wenyingd wenyingd requested a review from dantingl August 20, 2024 02:02
heypnus
heypnus previously approved these changes Aug 20, 2024
dantingl
dantingl previously approved these changes Aug 20, 2024
1. Skip NSX VPC creations if VPC field is set in the VPCNetworkConfiguration CR
   spec.
2. Using the pre-created VPC's private IPs. connectivity profile and other
   necessary settings to set NetworkInfo CR status.
3. Add tag "nsx/managed-by: nsx-op" on the NSX VPCs which are created by
   nsx-operator.
@wenyingd wenyingd force-pushed the precreated_vpc_ns-controller branch from 8409847 to a835ed9 Compare August 20, 2024 03:11
@wenyingd wenyingd dismissed stale reviews from heypnus and dantingl via 28db6ad August 20, 2024 06:19
@wenyingd wenyingd merged commit f6f2ebf into vmware-tanzu:main Aug 20, 2024
2 checks passed
wenyingd added a commit to wenyingd/nsx-operator that referenced this pull request Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants