Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/m/y/mykvm-0.3.8/mykvm/main.py   mykvm(Download)
            print bcolors.OKGREEN + 'shutdown ' + vm.get_name() + bcolors.ENDC
            virsh = VirshCommand(vm)
            virsh.shutdown()
        if command == 'destroy':
            print bcolors.OKGREEN + 'destroy ' + vm.get_name() + bcolors.ENDC