Currently it is not possible to use the module win_dhcp_lease for IPv6 addresses.
ISSUE TYPE
Feature Pull Request
COMPONENT NAME
win_dhcp_lease
ADDITIONAL INFORMATION
There are different ways on how to achieve the IPv6 functionality. We could also instead of boolean for v6 use something else like version and demand strings like ipv4 or ipv6.
Or instead of using an if statement for every Powershell cmdlet extract everything to a separate ipv6 module.
Use whatever you may like from my commit.
Note: this is currently fully untested as I don't have the resources to test this against a development dhcp server.
SUMMARY
Currently it is not possible to use the module
win_dhcp_lease
for IPv6 addresses.ISSUE TYPE
COMPONENT NAME
win_dhcp_lease
ADDITIONAL INFORMATION
There are different ways on how to achieve the IPv6 functionality. We could also instead of boolean for
v6
use something else likeversion
and demand strings likeipv4
oripv6
. Or instead of using an if statement for every Powershell cmdlet extract everything to a separate ipv6 module. Use whatever you may like from my commit. Note: this is currently fully untested as I don't have the resources to test this against a development dhcp server.