-<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">
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 = {}
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)