Outer tag is <RSpec> for compatibility with sfatables
authorAndy Bavier <acb@cs.princeton.edu>
Mon, 25 Jan 2010 21:36:31 +0000 (21:36 +0000)
committerAndy Bavier <acb@cs.princeton.edu>
Mon, 25 Jan 2010 21:36:31 +0000 (21:36 +0000)
sfa/rspecs/aggregates/vini/utils.py

index 34f23e4..e5c7875 100644 (file)
@@ -531,7 +531,7 @@ class Topology:
             
         slicenodes = {}
 
-        top = rspecdict['rspec']
+        top = rspecdict['RSpec']
         if ('network' in top):
             sites = top['network'][0]['site']
             for site in sites:
@@ -615,7 +615,7 @@ class Topology:
     """
     def toxml(self, hrn = None):
         xml = XMLBuilder()
-        with xml.rspec(type="VINI"):
+        with xml.RSpec(type="VINI"):
             if hrn:
                 element = xml.network(name="Public VINI", slice=hrn)
             else: