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

Improve vcd_nsxt_network_dhcp to support Isolated network, modes, and lease time #929

Merged
merged 25 commits into from
Nov 15, 2022

Conversation

Didainius
Copy link
Collaborator

@Didainius Didainius commented Nov 10, 2022

Closes #885

This PR improved vcd_nsxt_network_dhcp resource and data source:

  • Adds support for mode and listener_ip_address which is useful when mode=NETWORK allows it to be used on NSX-T Isolated Org VDC networks, provided that edge_cluster_id is specified in vcd_org_vdc configuration)
  • Adds support for lease_time
  • mode can be one of three options - EDGE (the default that was previously supported), NETWORK (the option, that allows configuring DHCP pools on Isolated networks), RELAY which can forward DHCP requests to servers.

Note. Tests for RELAY mode are commented because we do not yet have resource to handle DHCP Forwarding. I have tested it by manually configuring DHCP forwarding, but the test remains commented for now.

DHCP forwarding configuration location in NSX-T Edge Gateway
image

Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
@Didainius Didainius marked this pull request as ready for review November 15, 2022 11:31
Copy link
Collaborator

@lvirbalas lvirbalas left a comment

Choose a reason for hiding this comment

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

Just one ask :)

.changes/v3.8.0/929-improvements.md Show resolved Hide resolved
Signed-off-by: Dainius Serplis <[email protected]>
@Didainius Didainius merged commit 9d4ede9 into vmware:main Nov 15, 2022
@Didainius Didainius deleted the 231-vcd-nsxt-network-dhcp branch November 15, 2022 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot adjust DHCP lease time for network
4 participants