Ejemplo n.º 1
0
def snapshot_create(topology=None):
    ''' Make COI installation and create snapshot from installed COI '''
    func = {
        "2role": role2,
        "aio": aio,
        "fullha": fullha,
    }.get(topology, None)
    if not func:
        raise NameError("Configuration should be one of: 'aio', '2role', 'fullha'")
    log.info("Creating snapshots for COI %s" % topology)
    destroy()
    func()
    workarounds()
    create()
Ejemplo n.º 2
0
def snapshot_create(topology=None):
    ''' Make COI installation and create snapshot from installed COI '''
    func = {
        "2role": role2,
        "aio": aio,
        "fullha": fullha,
    }.get(topology, None)
    if not func:
        raise NameError(
            "Configuration should be one of: 'aio', '2role', 'fullha'")
    log.info("Creating snapshots for COI %s" % topology)
    destroy()
    func()
    workarounds()
    create()
Ejemplo n.º 3
0
def snapshot_create():
    """ Create snapshot for devstack """
    destroy()
    setup()
    create()
Ejemplo n.º 4
0
def snapshot_create():
    """ Create snapshot for devstack """
    destroy()
    setup()
    create()