'Verify whether IP address can be allocated on subnet.
:param context: neutron api request context
:param ip_address: String representing the IP address to verify
:raises: InvalidInput, IpAddressAlreadyAllocated'

def _verify_ip(self, context, ip_address):

    if (not self.subnet_manager.check_unique_allocation(context, ip_address)):
        raise ipam_exc.IpAddressAlreadyAllocated(subnet_id=self.subnet_manager.neutron_id, ip=ip_address)
    if (not ipam_utils.check_subnet_ip(self._cidr, ip_address)):
        raise ipam_exc.InvalidIpForSubnet(subnet_id=self.subnet_manager.neutron_id, ip=ip_address)
