@@ -59,12 +59,11 @@ class NodeInstance():
 | 
				
			|||||||
            except AttributeError:
 | 
					            except AttributeError:
 | 
				
			||||||
                self.domain_state = 'unknown'
 | 
					                self.domain_state = 'unknown'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            if self.name == self.this_node:
 | 
					            # toggle state management of this node
 | 
				
			||||||
                # toggle state management of this node
 | 
					            if self.domain_state == 'flush' and self.inflush == False:
 | 
				
			||||||
                if self.domain_state == 'flush' and self.inflush == False:
 | 
					                self.flush()
 | 
				
			||||||
                    self.flush()
 | 
					            if self.domain_state == 'unflush' and self.inflush == False:
 | 
				
			||||||
                if self.domain_state == 'unflush' and self.inflush == False:
 | 
					                self.unflush()
 | 
				
			||||||
                    self.unflush()
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        @zk.DataWatch('/nodes/{}/memfree'.format(self.name))
 | 
					        @zk.DataWatch('/nodes/{}/memfree'.format(self.name))
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user