git://git.onelab.eu
/
myplc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
check-hrns: slice_ids needs to be in GetSites return values
[myplc.git]
/
bin
/
check-hrns.py
diff --git
a/bin/check-hrns.py
b/bin/check-hrns.py
index
49d73e8
..
8febdee
100755
(executable)
--- a/
bin/check-hrns.py
+++ b/
bin/check-hrns.py
@@
-108,7
+108,7
@@
Example:
dry_run=options.show
verbose=options.verbose
# optimizing : we compute the set of sites only once
dry_run=options.show
verbose=options.verbose
# optimizing : we compute the set of sites only once
- sites = GetSites({'peer_id':None},['site_id','login_base','node_ids','person_ids','name','hrn'])
+ sites = GetSites({'peer_id':None},['site_id','login_base','node_ids','person_ids','name','hrn'
,'slice_ids'
])
# remove external sites created through SFA
sites = [site for site in sites if not site['name'].startswith('sfa:')]
sites_by_id = dict ( [ (site['site_id'], site) for site in sites ] )
# remove external sites created through SFA
sites = [site for site in sites if not site['name'].startswith('sfa:')]
sites_by_id = dict ( [ (site['site_id'], site) for site in sites ] )