'Run ``flocker-volume snapshots`` on the destination and parse the
output into a ``list`` of ``Snapshot`` instances.'

def snapshots(self, volume):

    data = self._destination.get_output(['flocker-volume', '--config', self._config_path.path, 'snapshots', volume.node_id.encode('ascii'), volume.name.to_bytes()])
    return succeed([Snapshot(name=name) for name in data.splitlines()])
