def update_subnet(self, subnet, name=None):
        '''
        Updates a subnet
        '''
        subnet_id = self._find_subnet_id(subnet)
        return self.network_conn.update_subnet(
            subnet=subnet_id, body={'subnet': {'name': name}})
Updates a subnet