GET /policy/api/v1/infra/dhcp-server-configs/<DHCP_SERVER_CONFIG_ID>/leases?connectivity_path=/infra/segments/<segment_id>&address=<IPv6_address> { "httpStatus": "BAD_REQUEST", "error_code": 500016, "module_name": "Policy", "error_message": "Error: Unable to retrieve DHCP server leases at /infra/segments/##### from enforcement-point /infra/sites/default/enforcement-points/default." } VMware NSX 4.1.x or earlier
This is not a product implementation bug, but an un-supported feature. In NSX 4.1.x or earlier, this functionality is not implemented, resulting in a generic error when the Policy API attempts to retrieve IPv6 lease data.
The capability to manage IPv6 DHCP leases through the API or NSX UI was introduced only in NSX 4.2.
For getting/ retrieving the IPv6 DHCP leases, upgrade the NSX environment to NSX 4.2 or later, where full IPv6 DHCP lease visibility and management support is available.
For deleting a DHCPv6 lease, there is no resolution as of VCF 9.1
Workaround:
No workaround exists in earlier version than 4.2, as IPv6 lease support is not included in this release.