Reply

WAPI Returns "Duplicate Data"

Techie
Posts: 10
3212     0
When I pull DHCP Lease information via the WAPI I get duplicate data. Why is this? Is there a way to suppress the duplicate data?

Re: WAPI Returns "Duplicate Data"

Moderator
Moderator
Posts: 87
3212     0

Are you using DHCP failover? In that case you will see two leases, one active and one standby.

 

Could you paste an example?

Re: WAPI Returns "Duplicate Data"

Techie
Posts: 10
3212     0
{ "_ref": "lease/ZG5zLmxlYXNlJDcvMTYwLjM5LjEzMy4yNTEvMC8:10.39.1.251/default", "address": "10.39.1.251", "binding_state": "ACTIVE", "network_view": "default" }, { "_ref": "lease/ZG5zLmxlYXNlJDMvMTYwLjM5LjEzMy4yNTEvMC8:10.39.1.251/default", "address": "10.39.1.251", "binding_state": "ACTIVE", "network_view": "default" }, { All leases have two - we are running DHCP failover - can I run the WAPI directly against a particular member to only get one set of results?

Re: WAPI Returns "Duplicate Data"

Techie
Posts: 10
3212     0
The problem I have now is that my lease count is over 200k so processing this list of leases takes very long - 20 or so minutes.
Showing results for 
Search instead for 
Did you mean: 

Recommended for You