Exemplo n.º 1
0
Arquivo: vm.py Projeto: hfm/maglica
def destroy(args):
    options = {
        "mandatory": ["name"],
        "optional" : [],
    }
    check_args(args, options)

    virt = Virt(hosts())
    virt.destroy(args["name"])
Exemplo n.º 2
0
def destroy(args):
    options = {
        "mandatory": ["name"],
        "optional": [],
    }
    check_args(args, options)

    virt = Virt(hosts())
    virt.destroy(args["name"])