(no commit message)
authorSapan Bhatia <sapanb@cs.princeton.edu>
Fri, 17 Jul 2009 20:19:21 +0000 (20:19 +0000)
committerSapan Bhatia <sapanb@cs.princeton.edu>
Fri, 17 Jul 2009 20:19:21 +0000 (20:19 +0000)
sfa/rspecs/aggregates/max.xml
sfa/rspecs/aggregates/rspec_manager_max.py

index 16967b6..5445621 100644 (file)
@@ -1,6 +1,5 @@
-<rspec name="max" targetNamespace="http://www.maxgigapop.net/sfa/rspec/vlanspec.rspec"
-                  xmlns:tns="http://www.maxgigapop.net/sfa/rspec/vlanspec.rspec"
-                  xmlns="http://www.planet-lab.org/sfa/rspec/">
+<rspec name="max" 
+    xmlns="http://www.maxgigapop.net/sfa/rspec/07/09">
     <capacity>
         <netspec name="predefined_physical_topology">
             <nodespec name="planetlab2">
index b8e0920..6d54f7d 100644 (file)
@@ -18,6 +18,7 @@ import xml.dom.minidom
 
 SFA_MAX_CONF_FILE = '/etc/sfa/max_allocations'
 SFA_MAX_DEFAULT_RSPEC = '/etc/sfa/max_physical.xml'
+SFA_MAX_CANNED_RSPEC = '/etc/sfa/max_physical_canned.xml'
 
 topology = {}
 
@@ -251,7 +252,7 @@ def get_rspec(api, hrn):
     if (hrn and allocations.has_key(hrn)):
             ret_rspec = allocations_to_rspec(allocations[hrn])
     else:
-        ret_rspec = open(SFA_MAX_DEFAULT_RSPEC).read()
+        ret_rspec = open(SFA_MAX_CANNED_RSPEC).read()
 
     return (ret_rspec)