Loading cloudcontrol/node/hypervisor/__init__.py +1 −1 Original line number Diff line number Diff line Loading @@ -153,7 +153,7 @@ class Handler(HostHandler): # update connection state self.virt_connected = False # refresh those tags for tag in ('cpualloc', 'cpurunning', 'memalloc', 'memrunning', 'memremaining'): for tag in ('cpualloc', 'cpurunning', 'cpuremaining', 'memalloc', 'memrunning', 'memremaining'): self.tag_db['__main__'][tag].update_value() # unregister tags that will be re registered later Loading cloudcontrol/node/hypervisor/kvm.py +2 −1 Original line number Diff line number Diff line Loading @@ -200,7 +200,8 @@ class KVM(object): """Update domain state count tags.""" # update domain state counts for tag in ('nvm', 'vmpaused', 'vmstarted', 'vmstopped', 'cpualloc', 'cpurunning', 'memalloc', 'memrunning', 'memremaining'): 'cpurunning', 'cpuremaining', 'memalloc', 'memrunning', 'memremaining'): self.handler.tag_db['__main__'][tag].update_value() def vm_define(self, xml_desc): Loading Loading
cloudcontrol/node/hypervisor/__init__.py +1 −1 Original line number Diff line number Diff line Loading @@ -153,7 +153,7 @@ class Handler(HostHandler): # update connection state self.virt_connected = False # refresh those tags for tag in ('cpualloc', 'cpurunning', 'memalloc', 'memrunning', 'memremaining'): for tag in ('cpualloc', 'cpurunning', 'cpuremaining', 'memalloc', 'memrunning', 'memremaining'): self.tag_db['__main__'][tag].update_value() # unregister tags that will be re registered later Loading
cloudcontrol/node/hypervisor/kvm.py +2 −1 Original line number Diff line number Diff line Loading @@ -200,7 +200,8 @@ class KVM(object): """Update domain state count tags.""" # update domain state counts for tag in ('nvm', 'vmpaused', 'vmstarted', 'vmstopped', 'cpualloc', 'cpurunning', 'memalloc', 'memrunning', 'memremaining'): 'cpurunning', 'cpuremaining', 'memalloc', 'memrunning', 'memremaining'): self.handler.tag_db['__main__'][tag].update_value() def vm_define(self, xml_desc): Loading