Added IP Policy logic to ipam.allocate_ip_address