def _acquire_given_subnet(self, uuid_path, subnet):
lease = self.create_lease_object_from_subnet(subnet)<EOL>self._take_lease(lease, uuid_path)<EOL>return lease.to_ip_network()<EOL>
Try to create a lease for subnet

Args:
    uuid_path (str): Path to the uuid file of a :class:`lago.Prefix`
    subnet (str): dotted ipv4 subnet
        (for example ```192.168.200.0```)

Returns:
    netaddr.IPNetwork: Which represents the selected subnet

Raises:
    LagoSubnetLeaseException: If the requested subnet is not in the
        range of this store or its already been taken