cannot use UpdateNode to force an update of the 'hrn' node tag for peer nodes becuase...
authorTony Mack <tmack@cs.princeton.edu>
Fri, 12 Mar 2010 23:31:56 +0000 (23:31 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Fri, 12 Mar 2010 23:31:56 +0000 (23:31 +0000)
commita3e1d5cf38dc9000ed735d61a2ae9603e0bfdc9c
tree9753e5ac1e5bdbca0a2686153b599d0486d41c24
parent34dc905fcfb055c138e4cf8916ad97bc558a82b9
cannot use UpdateNode to force an update of the 'hrn' node tag for peer nodes becuase calling UpdateNode on peer nodes is not allowed. Lets define an lets define an update_tags() method in the Node class (source stolen from UpdateNode) and just call Node.update_tags() within Peer.add_node() and Peer.remove_node()
PLC/Methods/UpdateNode.py
PLC/Nodes.py
PLC/Peers.py