git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53dc622
)
'country' attribute is required in the location element
author
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Thu, 22 Dec 2011 00:41:19 +0000
(19:41 -0500)
committer
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Thu, 22 Dec 2011 00:41:19 +0000
(19:41 -0500)
sfa/plc/plaggregate.py
patch
|
blob
|
history
diff --git
a/sfa/plc/plaggregate.py
b/sfa/plc/plaggregate.py
index
d1272bc
..
4ff968f
100644
(file)
--- a/
sfa/plc/plaggregate.py
+++ b/
sfa/plc/plaggregate.py
@@
-194,7
+194,7
@@
class PlAggregate:
# assumes that sites, interfaces and tags have already been prepared.
site = sites_dict[node['site_id']]
if site['longitude'] and site['latitude']:
- location = Location({'longitude': site['longitude'], 'latitude': site['latitude']})
+ location = Location({'longitude': site['longitude'], 'latitude': site['latitude']
, 'country': 'unknown'
})
rspec_node['location'] = location
rspec_node['interfaces'] = []
if_count=0