Loading ccnode/handlers.py +1 −1 Original line number Diff line number Diff line Loading @@ -126,7 +126,7 @@ class NodeHandler(RpcHandler): # one hour 'cpu' : self._tag_map_direct('get_cpu_core', 3600), 'mem' : self._tag_map_direct('get_mem', 3600), 'memmax' : self._tag_map_direct('get_mem_maxbaloon', 3600), 'memmax' : self._tag_map_direct('get_mem_max', 3600), 'vncport' : self._tag_map_direct('get_vnc_port', 3600), # one minute # 5 seconds Loading ccnode/libvirtwrapper.py +1 −1 Original line number Diff line number Diff line Loading @@ -716,7 +716,7 @@ class LibvirtVm(VM): ''' return self._domain.info()[2] * KILOBYTE_DIV def get_mem_maxbaloon(self): def get_mem_max(self): ''' ''' return self._domain.info()[1] * KILOBYTE_DIV Loading Loading
ccnode/handlers.py +1 −1 Original line number Diff line number Diff line Loading @@ -126,7 +126,7 @@ class NodeHandler(RpcHandler): # one hour 'cpu' : self._tag_map_direct('get_cpu_core', 3600), 'mem' : self._tag_map_direct('get_mem', 3600), 'memmax' : self._tag_map_direct('get_mem_maxbaloon', 3600), 'memmax' : self._tag_map_direct('get_mem_max', 3600), 'vncport' : self._tag_map_direct('get_vnc_port', 3600), # one minute # 5 seconds Loading
ccnode/libvirtwrapper.py +1 −1 Original line number Diff line number Diff line Loading @@ -716,7 +716,7 @@ class LibvirtVm(VM): ''' return self._domain.info()[2] * KILOBYTE_DIV def get_mem_maxbaloon(self): def get_mem_max(self): ''' ''' return self._domain.info()[1] * KILOBYTE_DIV Loading