git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more useless imports are gone
[sfa.git]
/
sfa
/
managers
/
aggregate_manager_eucalyptus.py
diff --git
a/sfa/managers/aggregate_manager_eucalyptus.py
b/sfa/managers/aggregate_manager_eucalyptus.py
index
588f090
..
b83afe4
100644
(file)
--- a/
sfa/managers/aggregate_manager_eucalyptus.py
+++ b/
sfa/managers/aggregate_manager_eucalyptus.py
@@
-17,7
+17,7
@@
from sqlobject import *
from sfa.util.faults import InvalidRSpec
from sfa.util.xrn import urn_to_hrn, Xrn
from sfa.util.faults import InvalidRSpec
from sfa.util.xrn import urn_to_hrn, Xrn
-from sfa.util.plxrn import
hrn_to_pl_slicename,
slicename_to_hrn
+from sfa.util.plxrn import slicename_to_hrn
from sfa.util.callids import Callids
#comes with its own logging
#from sfa.util.sfalogging import logger
from sfa.util.callids import Callids
#comes with its own logging
#from sfa.util.sfalogging import logger
@@
-286,7
+286,7
@@
class AggregateManagerEucalyptus:
_inited=False
# the init_server mechanism has vanished
_inited=False
# the init_server mechanism has vanished
- def __init__ (self):
+ def __init__ (self
, config
):
if AggregateManagerEucalyptus._inited: return
AggregateManagerEucalyptus.init_server()
if AggregateManagerEucalyptus._inited: return
AggregateManagerEucalyptus.init_server()
@@
-682,7
+682,7
@@
class AggregateManagerEucalyptus:
f.write("%s %s %s\n" % (instId, ipaddr, hrn))
f.close()
f.write("%s %s %s\n" % (instId, ipaddr, hrn))
f.close()
- def GetVersion(api):
+ def GetVersion(api
, options
):
version_manager = VersionManager()
ad_rspec_versions = []
version_manager = VersionManager()
ad_rspec_versions = []
@@
-695,7
+695,7
@@
class AggregateManagerEucalyptus:
xrn=Xrn(api.hrn)
version_more = {'interface':'aggregate',
'sfa': 1,
xrn=Xrn(api.hrn)
version_more = {'interface':'aggregate',
'sfa': 1,
- 'geni_api':
api.config.SFA_AGGREGATE_API_VERSION
,
+ 'geni_api':
'2'
,
'testbed':'myplc',
'hrn':xrn.get_hrn(),
'geni_request_rspec_versions': request_rspec_versions,
'testbed':'myplc',
'hrn':xrn.get_hrn(),
'geni_request_rspec_versions': request_rspec_versions,