Skip to content

Conversation

DevOpsFu
Copy link

This PR fixes a few things with the Network resource and data source:

  • Fix the ipv6_ra_enabled option name (it was previously ipv6_ra_enable which does not match the JSON field name returned by the API.
  • Allow control of the DHCP Guarding option.
  • Allow the DHCP server IP addresses to be specified (this can be used in conjunction with DHCP guarding)
  • Remove the call to cidrZeroBased on the IP Subnet. The subnet field is also used to specify the IP address which is allocated to the USG itself, and this was always being normalized to zero.
  • Control which settings are updated based on the IPV6 interface setting. If it is set to none then the IPV6 settings are ignored. This removes the need to specify unused IPV6 settings to prevent unstable plans.

@DevOpsFu
Copy link
Author

DevOpsFu commented May 1, 2024

@paultyng @joshuaspence Is this repo still being maintained?

@joshuaspence
Copy link
Collaborator

This looks okay at a quick glance but I'd like to have acceptance test coverage before merging

@DevOpsFu DevOpsFu marked this pull request as draft November 23, 2024 15:29
@DevOpsFu DevOpsFu force-pushed the NetworkImprovements branch from 4b0645d to 618a20d Compare February 9, 2025 10:10
@DevOpsFu
Copy link
Author

DevOpsFu commented Feb 9, 2025

@joshuaspence I've added acceptance tests for the additional functionality. I'm not sure if they will pass or not - I was having trouble getting the tests to run locally (this is an issue with my setup rather than the tests themselves).

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.

2 participants