def get_snapshots(topology):
    """
    Return the paths of any snapshot topologies

    :param str topology: topology file
    :return: list of dicts containing snapshot topologies
    :rtype: list
    """
    snapshots = []
    snap_dir = os.path.join(topology_dirname(topology), 'snapshots')
    if os.path.exists(snap_dir):
        snaps = os.listdir(snap_dir)
        for directory in snaps:
            snap_top = os.path.join(snap_dir, directory, 'topology.net')
            if os.path.exists(snap_top):
                snapshots.append({'file': snap_top,
                                  'snapshot': True})
    return snapshots
Return the paths of any snapshot topologies

    :param str topology: topology file
    :return: list of dicts containing snapshot topologies
    :rtype: list