cannot use UpdateNode to force an update of the 'hrn' node tag for peer nodes becuase...
[plcapi.git] / db-config.d / 099-hrns
1 # -*-python-*-
2 # $Id$
3 # $URL$
4 #################### 
5 # quick and dirty, make sure all hrns are set on local nodes
6 # could/should get trashed somedy
7
8 for node in GetNodes({'peer_id':None}): UpdateNode(node['node_id'],{'hostname':node['hostname']})