Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/v/d/vdsm-HEAD/vdsm/BindingXMLRPC.py   vdsm(Download)
    def vmDestroy(self, vmId):
        vm = API.VM(vmId)
        return vm.destroy()
 
    def vmCreate(self, vmParams):
        vm = API.VM(vmParams['vmId'])
    def vmPause(self, vmId):
        vm = API.VM(vmId)
        return vm.pause()
 
    def vmCont(self, vmId):
        vm = API.VM(vmId)
        return vm.cont()
 
    def vmReset(self, vmId):
        vm = API.VM(vmId)

src/m/o/mom-HEAD/mom/HypervisorInterfaces/vdsmInterface.py   mom(Download)
    def getVmMemoryStats(self, uuid):
        ret = {}
        try:
            self._check_conn()
            vm = API.VM(self.vdsm_cif, uuid)