From 88c1bbd080caaa7088cf75cbbd164cdfa71b98ba Mon Sep 17 00:00:00 2001 From: Sapan Bhatia Date: Fri, 17 Jul 2009 20:19:21 +0000 Subject: [PATCH] --- sfa/rspecs/aggregates/max.xml | 5 ++--- sfa/rspecs/aggregates/rspec_manager_max.py | 3 ++- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sfa/rspecs/aggregates/max.xml b/sfa/rspecs/aggregates/max.xml index 16967b69..54456217 100644 --- a/sfa/rspecs/aggregates/max.xml +++ b/sfa/rspecs/aggregates/max.xml @@ -1,6 +1,5 @@ - + diff --git a/sfa/rspecs/aggregates/rspec_manager_max.py b/sfa/rspecs/aggregates/rspec_manager_max.py index b8e09202..6d54f7d4 100644 --- a/sfa/rspecs/aggregates/rspec_manager_max.py +++ b/sfa/rspecs/aggregates/rspec_manager_max.py @@ -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) -- 2.47.0