def METHOD_NAME(self, file_params, file_opts):
    # FIXME: this should be supported in VT
    mapping = {'gluster': 'path', 'iscsi': 'lun',
               'nbd': 'server.port', 'rbd': 'image'}
    option = mapping.get(file_opts["driver"], 'filename')
    return file_params[option] == file_opts[option]