From: Tony Mack Date: Thu, 22 Dec 2011 00:41:19 +0000 (-0500) Subject: 'country' attribute is required in the location element X-Git-Tag: sfa-2.0-7~13^2~14 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=732a99aefcd6d02eb54beda29d7f13447c2edee5;p=sfa.git 'country' attribute is required in the location element --- diff --git a/sfa/plc/plaggregate.py b/sfa/plc/plaggregate.py index d1272bc9..4ff968f0 100644 --- 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