From 732a99aefcd6d02eb54beda29d7f13447c2edee5 Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Wed, 21 Dec 2011 19:41:19 -0500 Subject: [PATCH] 'country' attribute is required in the location element --- sfa/plc/plaggregate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.0