git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2a47b9c
)
renamed sfa/plc into sfa/planetlab
author
Thierry Parmentelat
<thierry.parmentelat@sophia.inria.fr>
Sat, 12 May 2012 16:50:02 +0000
(18:50 +0200)
committer
Thierry Parmentelat
<thierry.parmentelat@sophia.inria.fr>
Sat, 12 May 2012 16:50:02 +0000
(18:50 +0200)
20 files changed:
setup.py
patch
|
blob
|
history
sfa/federica/fddriver.py
patch
|
blob
|
history
sfa/generic/pl.py
patch
|
blob
|
history
sfa/importer/plimporter.py
patch
|
blob
|
history
sfa/managers/aggregate_manager_eucalyptus.py
patch
|
blob
|
history
sfa/managers/aggregate_manager_max.py
patch
|
blob
|
history
sfa/openstack/nova_driver.py
patch
|
blob
|
history
sfa/planetlab/__init__.py
[moved from
sfa/plc/__init__.py
with 100% similarity]
patch
|
blob
|
history
sfa/planetlab/nodemanager.py
[moved from
sfa/plc/nodemanager.py
with 100% similarity]
patch
|
blob
|
history
sfa/planetlab/peers.py
[moved from
sfa/plc/peers.py
with 100% similarity]
patch
|
blob
|
history
sfa/planetlab/plaggregate.py
[moved from
sfa/plc/plaggregate.py
with 99% similarity]
patch
|
blob
|
history
sfa/planetlab/plcomponentdriver.py
[moved from
sfa/plc/plcomponentdriver.py
with 98% similarity]
patch
|
blob
|
history
sfa/planetlab/pldriver.py
[moved from
sfa/plc/pldriver.py
with 99% similarity]
patch
|
blob
|
history
sfa/planetlab/plshell.py
[moved from
sfa/plc/plshell.py
with 100% similarity]
patch
|
blob
|
history
sfa/planetlab/plslices.py
[moved from
sfa/plc/plslices.py
with 99% similarity]
patch
|
blob
|
history
sfa/planetlab/topology.py
[moved from
sfa/plc/topology.py
with 100% similarity]
patch
|
blob
|
history
sfa/planetlab/vlink.py
[moved from
sfa/plc/vlink.py
with 100% similarity]
patch
|
blob
|
history
sfa/server/modpython/SfaAggregateModPython.py
patch
|
blob
|
history
sfa/server/modpython/SfaRegistryModPython.py
patch
|
blob
|
history
sfa/server/modpython/SfaSliceMgrModPython.py
patch
|
blob
|
history
diff --git
a/setup.py
b/setup.py
index
5512d99
..
858802b
100755
(executable)
--- a/
setup.py
+++ b/
setup.py
@@
-32,7
+32,7
@@
packages = [
'sfa/generic',
'sfa/managers',
'sfa/importer',
'sfa/generic',
'sfa/managers',
'sfa/importer',
- 'sfa/pl
c
',
+ 'sfa/pl
anetlab
',
'sfa/rspecs',
'sfa/rspecs/elements',
'sfa/rspecs/elements/versions',
'sfa/rspecs',
'sfa/rspecs/elements',
'sfa/rspecs/elements/versions',
diff --git
a/sfa/federica/fddriver.py
b/sfa/federica/fddriver.py
index
1e16d7f
..
3b94756
100644
(file)
--- a/
sfa/federica/fddriver.py
+++ b/
sfa/federica/fddriver.py
@@
-2,7
+2,7
@@
from sfa.util.sfalogging import logger
from sfa.util.faults import SfaFault
# this is probably too big to swallow but for a starting point..
from sfa.util.faults import SfaFault
# this is probably too big to swallow but for a starting point..
-from sfa.pl
c
.pldriver import PlDriver
+from sfa.pl
anetlab
.pldriver import PlDriver
from sfa.federica.fdshell import FdShell
from sfa.federica.fdshell import FdShell
diff --git
a/sfa/generic/pl.py
b/sfa/generic/pl.py
index
c8b1bc6
..
457a09b
100644
(file)
--- a/
sfa/generic/pl.py
+++ b/
sfa/generic/pl.py
@@
-25,8
+25,8
@@
class pl (Generic):
# driver class for server-side services, talk to the whole testbed
def driver_class (self):
# driver class for server-side services, talk to the whole testbed
def driver_class (self):
- import sfa.pl
c
.pldriver
- return sfa.pl
c
.pldriver.PlDriver
+ import sfa.pl
anetlab
.pldriver
+ return sfa.pl
anetlab
.pldriver.PlDriver
# for the component mode, to be run on board planetlab nodes
# manager class
# for the component mode, to be run on board planetlab nodes
# manager class
@@
-35,6
+35,6
@@
class pl (Generic):
return sfa.managers.component_manager_pl
# driver_class
def component_driver_class (self):
return sfa.managers.component_manager_pl
# driver_class
def component_driver_class (self):
- import sfa.pl
c
.plcomponentdriver
- return sfa.pl
c
.plcomponentdriver.PlComponentDriver
+ import sfa.pl
anetlab
.plcomponentdriver
+ return sfa.pl
anetlab
.plcomponentdriver.PlComponentDriver
diff --git
a/sfa/importer/plimporter.py
b/sfa/importer/plimporter.py
index
a292c92
..
d205a87
100644
(file)
--- a/
sfa/importer/plimporter.py
+++ b/
sfa/importer/plimporter.py
@@
-28,7
+28,7
@@
from sfa.trust.certificate import convert_public_key, Keypair
from sfa.storage.alchemy import dbsession
from sfa.storage.model import RegRecord, RegAuthority, RegSlice, RegNode, RegUser, RegKey
from sfa.storage.alchemy import dbsession
from sfa.storage.model import RegRecord, RegAuthority, RegSlice, RegNode, RegUser, RegKey
-from sfa.pl
c
.plshell import PlShell
+from sfa.pl
anetlab
.plshell import PlShell
def _get_site_hrn(interface_hrn, site):
# Hardcode 'internet2' into the hrn for sites hosting
def _get_site_hrn(interface_hrn, site):
# Hardcode 'internet2' into the hrn for sites hosting
diff --git
a/sfa/managers/aggregate_manager_eucalyptus.py
b/sfa/managers/aggregate_manager_eucalyptus.py
index
b83afe4
..
950d2f2
100644
(file)
--- a/
sfa/managers/aggregate_manager_eucalyptus.py
+++ b/
sfa/managers/aggregate_manager_eucalyptus.py
@@
-22,17
+22,12
@@
from sfa.util.callids import Callids
#comes with its own logging
#from sfa.util.sfalogging import logger
from sfa.util.version import version_core
#comes with its own logging
#from sfa.util.sfalogging import logger
from sfa.util.version import version_core
+
from sfa.trust.credential import Credential
from sfa.trust.credential import Credential
-from sfa.plc.plaggregate import PlAggregate
-# No Slice symbol in there
-#from sfa.plc.plslices import Slice, Slices
-from sfa.plc.plslices import PlSlices
+from sfa.planetlab.plaggregate import PlAggregate
+from sfa.planetlab.plslices import PlSlices
from sfa.rspecs.version_manager import VersionManager
from sfa.rspecs.rspec import RSpec
from sfa.rspecs.version_manager import VersionManager
from sfa.rspecs.rspec import RSpec
-# not sure what this used to be nor where it is now defined
-#from sfa.rspecs.sfa_rspec import sfa_rspec_version
-# most likely this should now be
-#from sfa.rspecs.version_manager import VersionManager
##
# Meta data of an instance.
##
# Meta data of an instance.
diff --git
a/sfa/managers/aggregate_manager_max.py
b/sfa/managers/aggregate_manager_max.py
index
0300522
..
64fd0ec
100644
(file)
--- a/
sfa/managers/aggregate_manager_max.py
+++ b/
sfa/managers/aggregate_manager_max.py
@@
-14,7
+14,7
@@
from sfa.util.xrn import urn_to_hrn, hrn_to_urn, Xrn
from sfa.managers.aggregate_manager import AggregateManager
from sfa.managers.aggregate_manager import AggregateManager
-from sfa.pl
c
.plslices import PlSlices
+from sfa.pl
anetlab
.plslices import PlSlices
class AggregateManagerMax (AggregateManager):
class AggregateManagerMax (AggregateManager):
diff --git
a/sfa/openstack/nova_driver.py
b/sfa/openstack/nova_driver.py
index
7dee979
..
e4b95b0
100644
(file)
--- a/
sfa/openstack/nova_driver.py
+++ b/
sfa/openstack/nova_driver.py
@@
-22,7
+22,7
@@
from sfa.managers.driver import Driver
from sfa.openstack.nova_shell import NovaShell
from sfa.openstack.euca_shell import EucaShell
from sfa.openstack.osaggregate import OSAggregate
from sfa.openstack.nova_shell import NovaShell
from sfa.openstack.euca_shell import EucaShell
from sfa.openstack.osaggregate import OSAggregate
-from sfa.pl
c
.plslices import PlSlices
+from sfa.pl
anetlab
.plslices import PlSlices
from sfa.util.osxrn import OSXrn
from sfa.util.osxrn import OSXrn
diff --git
a/sfa/plc/__init__.py
b/sfa/planetlab/__init__.py
similarity index 100%
rename from
sfa/plc/__init__.py
rename to
sfa/planetlab/__init__.py
diff --git
a/sfa/plc/nodemanager.py
b/sfa/planetlab/nodemanager.py
similarity index 100%
rename from
sfa/plc/nodemanager.py
rename to
sfa/planetlab/nodemanager.py
diff --git
a/sfa/plc/peers.py
b/sfa/planetlab/peers.py
similarity index 100%
rename from
sfa/plc/peers.py
rename to
sfa/planetlab/peers.py
diff --git
a/sfa/plc/plaggregate.py
b/sfa/planetlab/plaggregate.py
similarity index 99%
rename from
sfa/plc/plaggregate.py
rename to
sfa/planetlab/plaggregate.py
index
04fdca4
..
dcb81d4
100644
(file)
--- a/
sfa/plc/plaggregate.py
+++ b/
sfa/planetlab/plaggregate.py
@@
-16,8
+16,8
@@
from sfa.rspecs.elements.pltag import PLTag
from sfa.rspecs.version_manager import VersionManager
from sfa.util.plxrn import PlXrn, hostname_to_urn, hrn_to_pl_slicename
from sfa.rspecs.version_manager import VersionManager
from sfa.util.plxrn import PlXrn, hostname_to_urn, hrn_to_pl_slicename
-from sfa.pl
c
.vlink import get_tc_rate
-from sfa.pl
c
.topology import Topology
+from sfa.pl
anetlab
.vlink import get_tc_rate
+from sfa.pl
anetlab
.topology import Topology
class PlAggregate:
class PlAggregate:
diff --git
a/sfa/plc/plcomponentdriver.py
b/sfa/planetlab/plcomponentdriver.py
similarity index 98%
rename from
sfa/plc/plcomponentdriver.py
rename to
sfa/planetlab/plcomponentdriver.py
index
991cdde
..
25f9b7a
100644
(file)
--- a/
sfa/plc/plcomponentdriver.py
+++ b/
sfa/planetlab/plcomponentdriver.py
@@
-2,7
+2,7
@@
import os
import tempfile
from sfa.client.sfaserverproxy import SfaServerProxy
import tempfile
from sfa.client.sfaserverproxy import SfaServerProxy
-from sfa.pl
c
.nodemanager import NodeManager
+from sfa.pl
anetlab
.nodemanager import NodeManager
from sfa.trust.credential import Credential
from sfa.trust.certificate import Certificate, Keypair
from sfa.trust.credential import Credential
from sfa.trust.certificate import Certificate, Keypair
diff --git
a/sfa/plc/pldriver.py
b/sfa/planetlab/pldriver.py
similarity index 99%
rename from
sfa/plc/pldriver.py
rename to
sfa/planetlab/pldriver.py
index
49908ba
..
b73fcf7
100644
(file)
--- a/
sfa/plc/pldriver.py
+++ b/
sfa/planetlab/pldriver.py
@@
-23,10
+23,10
@@
from sfa.rspecs.rspec import RSpec
# the driver interface, mostly provides default behaviours
from sfa.managers.driver import Driver
# the driver interface, mostly provides default behaviours
from sfa.managers.driver import Driver
-from sfa.pl
c
.plshell import PlShell
-import sfa.pl
c
.peers as peers
-from sfa.pl
c
.plaggregate import PlAggregate
-from sfa.pl
c
.plslices import PlSlices
+from sfa.pl
anetlab
.plshell import PlShell
+import sfa.pl
anetlab
.peers as peers
+from sfa.pl
anetlab
.plaggregate import PlAggregate
+from sfa.pl
anetlab
.plslices import PlSlices
from sfa.util.plxrn import PlXrn, slicename_to_hrn, hostname_to_hrn, hrn_to_pl_slicename
from sfa.util.plxrn import PlXrn, slicename_to_hrn, hostname_to_hrn, hrn_to_pl_slicename
diff --git
a/sfa/plc/plshell.py
b/sfa/planetlab/plshell.py
similarity index 100%
rename from
sfa/plc/plshell.py
rename to
sfa/planetlab/plshell.py
diff --git
a/sfa/plc/plslices.py
b/sfa/planetlab/plslices.py
similarity index 99%
rename from
sfa/plc/plslices.py
rename to
sfa/planetlab/plslices.py
index
9413e81
..
ef04997
100644
(file)
--- a/
sfa/plc/plslices.py
+++ b/
sfa/planetlab/plslices.py
@@
-7,7
+7,7
@@
from sfa.util.xrn import Xrn, get_leaf, get_authority, urn_to_hrn
#from sfa.util.policy import Policy
from sfa.util.plxrn import PlXrn
from sfa.rspecs.rspec import RSpec
#from sfa.util.policy import Policy
from sfa.util.plxrn import PlXrn
from sfa.rspecs.rspec import RSpec
-from sfa.pl
c
.vlink import VLink
+from sfa.pl
anetlab
.vlink import VLink
from sfa.util.plxrn import hrn_to_pl_slicename
MAXINT = 2L**31-1
from sfa.util.plxrn import hrn_to_pl_slicename
MAXINT = 2L**31-1
diff --git
a/sfa/plc/topology.py
b/sfa/planetlab/topology.py
similarity index 100%
rename from
sfa/plc/topology.py
rename to
sfa/planetlab/topology.py
diff --git
a/sfa/plc/vlink.py
b/sfa/planetlab/vlink.py
similarity index 100%
rename from
sfa/plc/vlink.py
rename to
sfa/planetlab/vlink.py
diff --git
a/sfa/server/modpython/SfaAggregateModPython.py
b/sfa/server/modpython/SfaAggregateModPython.py
index
8c97d19
..
50f9f5f
100755
(executable)
--- a/
sfa/server/modpython/SfaAggregateModPython.py
+++ b/
sfa/server/modpython/SfaAggregateModPython.py
@@
-12,7
+12,7
@@
import traceback
from mod_python import apache
from sfa.util.sfalogging import logger
from mod_python import apache
from sfa.util.sfalogging import logger
-from sfa.pl
c
.server import SfaApi
+from sfa.pl
anetlab
.server import SfaApi
api = SfaApi(interface='aggregate')
api = SfaApi(interface='aggregate')
diff --git
a/sfa/server/modpython/SfaRegistryModPython.py
b/sfa/server/modpython/SfaRegistryModPython.py
index
6ea2710
..
31d0812
100755
(executable)
--- a/
sfa/server/modpython/SfaRegistryModPython.py
+++ b/
sfa/server/modpython/SfaRegistryModPython.py
@@
-12,7
+12,7
@@
import traceback
from mod_python import apache
from sfa.util.sfalogging import logger
from mod_python import apache
from sfa.util.sfalogging import logger
-from sfa.pl
c
.server import SfaApi
+from sfa.pl
anetlab
.server import SfaApi
api = SfaApi(interface='registry')
api = SfaApi(interface='registry')
diff --git
a/sfa/server/modpython/SfaSliceMgrModPython.py
b/sfa/server/modpython/SfaSliceMgrModPython.py
index
7d0e5f2
..
61cb161
100755
(executable)
--- a/
sfa/server/modpython/SfaSliceMgrModPython.py
+++ b/
sfa/server/modpython/SfaSliceMgrModPython.py
@@
-12,7
+12,7
@@
import traceback
from mod_python import apache
from sfa.util.sfalogging import logger
from mod_python import apache
from sfa.util.sfalogging import logger
-from sfa.pl
c
.server import SfaApi
+from sfa.pl
anetlab
.server import SfaApi
api = SfaApi(interface='slicemgr')
api = SfaApi(interface='slicemgr')