except: print 'cannot find node %s'%node_id; continue
hrn=hostname_to_hrn (toplevel, login_base, node['hostname'])
if node['hrn'] != hrn:
except: print 'cannot find node %s'%node_id; continue
hrn=hostname_to_hrn (toplevel, login_base, node['hostname'])
if node['hrn'] != hrn:
- print "Node %s - current hrn %s, should be %s"%(node['hostname'], node['hrn'], hrn)
+ if verbose:
+ print "Node %s - current hrn %s, should be %s"%(node['hostname'], node['hrn'], hrn)
- print "Person %s - current hrn %s, should be %s"%(person['email'], person['hrn'], hrn)
+ if verbose:
+ print "Person %s - current hrn %s, should be %s"%(person['email'], person['hrn'], hrn)
except: print 'cannot find slice %s'%slice_id; continue
hrn=slicename_to_hrn (toplevel, slice['name'])
if slice['hrn'] != hrn:
except: print 'cannot find slice %s'%slice_id; continue
hrn=slicename_to_hrn (toplevel, slice['name'])
if slice['hrn'] != hrn:
- print "Slice %s - current hrn %s, should be %s"%(slice['name'], slice['hrn'], hrn)
+ if verbose:
+ print "Slice %s - current hrn %s, should be %s"%(slice['name'], slice['hrn'], hrn)
- print "Site %s - current hrn %s, should be %s"%(site['name'], site['hrn'], hrn)
+ if verbose:
+ print "Site %s - current hrn %s, should be %s"%(site['name'], site['hrn'], hrn)