Merge branch 'master' of ssh://git.planet-lab.org/git/sfa
authorTony Mack <tmack@paris.CS.Princeton.EDU>
Fri, 21 Oct 2011 16:12:01 +0000 (12:12 -0400)
committerTony Mack <tmack@paris.CS.Princeton.EDU>
Fri, 21 Oct 2011 16:12:01 +0000 (12:12 -0400)
20 files changed:
.gitignore
CHANGES-0.2-to-0.8.txt [deleted file]
sfa.spec
sfa/client/getNodes.py
sfa/client/getRecord.py
sfa/client/setRecord.py
sfa/client/sfadump.py
sfa/managers/aggregate_manager.py
sfa/managers/aggregate_manager_eucalyptus.py
sfa/managers/aggregate_manager_max.py
sfa/managers/aggregate_manager_openflow.py
sfa/managers/aggregate_manager_vini.py
sfa/managers/slice_manager.py
sfa/plc/slices.py
sfa/server/sfa-server.py
sfa/util/parameter.py
sfa/util/record.py
sfa/util/storage.py
tests/client/README [deleted file]
tests/testInterfaces.py

index 9acfb22..7e5b62e 100644 (file)
@@ -15,3 +15,4 @@ sfa/client/*.version
 *.pkey
 *.cert
 *.cred
+.DS_Store
diff --git a/CHANGES-0.2-to-0.8.txt b/CHANGES-0.2-to-0.8.txt
deleted file mode 100644 (file)
index 0064632..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-====================
-changes between 0.2 and 0.8 from a user's perspective
-====================
-
---------------------
-- 3 packages named
--- sfa (libraries)
--- sfa-plc (server side)
--- sfa-client (client-side)
-
--------------------- new names for commands
-gimport.py          ->   sfa-import-plc.py
-plc.py              ->   sfa-server.py
-geni-config-tty      ->          sfa-config-tty
-
--------------------- new names for config files & miscell
-/etc/geni                      -> /etc/sfa
-/etc/geni/configSfi.sh         ->  /etc/sfa/sfa_config
-/etc/init.d/geniwrapper                -> /etc/init.d/sfa
-
-/etc/sfa/config_sfa, 
-/etc/sfa/config_sfi, 
-/etc/sfa/aggregates.xml, 
-/etc/sfa/registries.xml
-       are now preserved across rpm updates
-
-
-====================
-changes between 0.2 and 0.8 from a devel's perspective
-====================
-
-cmdline/ has moved to 
-           sfa/client
-first-class objects involved in the server side 
-           sfa/server
-plc-dependent code has moved to
-           sfa/plc
-basic identification/authentication objects (up to credentials) have moved to
-           sfa/trust
-           (this also holds in trusted_roots the CA certs of PLC-PLE)
-code for the methods have remained in
-            sfa/methods
-
-init.d instscript is now in
-            sfa/init.d
-
-config files and utilities are in
-            config/ 
-           (should this move under sfa ?)
-
--------------------- deprecated
-gacks/
-gui/
-dummy/
-
-some apparently test-related stuff formerly in cmdline hace moved to tests/client
index 95e56a3..4f10df4 100644 (file)
--- a/sfa.spec
+++ b/sfa.spec
@@ -46,13 +46,13 @@ Requires: python-dateutil
 #%endif
 
 %package cm
-Summary: the SFA wrapper around MyPLC NodeManager
+Summary: the SFA layer around MyPLC NodeManager
 Group: Applications/System
 Requires: sfa
 Requires: pyOpenSSL >= 0.6
 
 %package plc
-Summary: the SFA wrapper arounf MyPLC
+Summary: the SFA layer around MyPLC
 Group: Applications/System
 Requires: sfa
 Requires: python-psycopg2
index 67f9a28..71d17f0 100644 (file)
@@ -6,8 +6,6 @@ from optparse import OptionParser
 from pprint import pprint
 from types import StringTypes
 
-from sfa.util.rspec import RSpec
-
 def create_parser():
     command = sys.argv[0]
     argv = sys.argv[1:]
index cb765e0..9293780 100755 (executable)
@@ -15,9 +15,6 @@ from optparse import OptionParser
 from pprint import pprint
 from xml.parsers.expat import ExpatError
 
-from sfa.util.rspec import RecordSpec
-
-
 def create_parser():
     command = sys.argv[0]
     argv = sys.argv[1:]
index 5f48e68..4cd22a4 100755 (executable)
@@ -15,9 +15,6 @@ import os
 from optparse import OptionParser
 from pprint import pprint
 
-from sfa.util.rspec import RecordSpec
-
-
 def create_parser():
     command = sys.argv[0]
     argv = sys.argv[1:]
index 54654f8..52a9105 100755 (executable)
@@ -12,7 +12,6 @@ from sfa.trust.certificate import Certificate
 from sfa.trust.credential import Credential
 from sfa.trust.gid import GID
 from sfa.util.record import SfaRecord
-from sfa.util.rspec import RSpec
 from sfa.util.sfalogging import logger
 
 def determine_sfa_filekind(fn):
index e61efc7..77af072 100644 (file)
@@ -8,7 +8,6 @@ from types import StringTypes
 from sfa.util.faults import *
 from sfa.util.xrn import get_authority, hrn_to_urn, urn_to_hrn, Xrn, urn_to_sliver_id
 from sfa.util.plxrn import slicename_to_hrn, hrn_to_pl_slicename, hostname_to_urn
-from sfa.util.rspec import *
 from sfa.util.specdict import *
 from sfa.util.record import SfaRecord
 from sfa.util.policy import Policy
index ea8f2af..6c7c1f4 100644 (file)
@@ -15,7 +15,6 @@ from sqlobject import *
 
 from sfa.util.faults import *
 from sfa.util.xrn import urn_to_hrn, Xrn
-from sfa.util.rspec import RSpec
 from sfa.server.registry import Registries
 from sfa.trust.credential import Credential
 from sfa.plc.api import SfaAPI
index fd0e127..d7d3776 100644 (file)
@@ -2,7 +2,6 @@ from sfa.plc.slices import Slices
 from sfa.server.registry import Registries\r
 from sfa.util.xrn import urn_to_hrn, hrn_to_urn, get_authority, Xrn\r
 from sfa.util.plxrn import hrn_to_pl_slicename\r
-from sfa.util.rspec import RSpec\r
 from sfa.util.sfalogging import logger\r
 from sfa.util.faults import *\r
 from sfa.util.config import Config\r
index 1edc90b..a804a65 100755 (executable)
@@ -10,7 +10,6 @@ import struct
 
 from sfa.util.faults import *
 from sfa.util.xrn import urn_to_hrn
-from sfa.util.rspec import RSpec
 from sfa.server.registry import Registries
 from sfa.util.config import Config
 from sfa.plc.nodes import *
index 7f36419..eadcbfd 100644 (file)
@@ -6,7 +6,6 @@ import sys
 from types import StringTypes
 from sfa.util.xrn import urn_to_hrn, Xrn
 from sfa.util.plxrn import hrn_to_pl_slicename
-from sfa.util.rspec import *
 from sfa.util.specdict import *
 from sfa.util.faults import *
 from sfa.util.record import SfaRecord
index 8d5a695..3175310 100644 (file)
@@ -11,7 +11,6 @@ from sfa.util.sfalogging import logger
 from sfa.util.rspecHelper import merge_rspecs
 from sfa.util.xrn import Xrn, urn_to_hrn, hrn_to_urn
 from sfa.util.plxrn import hrn_to_pl_slicename
-from sfa.util.rspec import *
 from sfa.util.specdict import *
 from sfa.util.faults import *
 from sfa.util.record import SfaRecord
index 78ba4b9..82ac9c9 100644 (file)
@@ -6,7 +6,6 @@ import sys
 from types import StringTypes
 from sfa.util.xrn import Xrn, get_leaf, get_authority, hrn_to_urn, urn_to_hrn
 from sfa.util.plxrn import hrn_to_pl_slicename, hrn_to_pl_login_base
-from sfa.util.rspec import *
 from sfa.util.specdict import *
 from sfa.util.faults import *
 from sfa.util.record import SfaRecord
index c46dfe6..fadb1d3 100755 (executable)
@@ -1,13 +1,12 @@
 #!/usr/bin/python
 #
-# SFA PLC Wrapper
+# PlanetLab SFA implementation
 #
-# This wrapper implements the SFA Registry and Slice Interfaces on PLC.
+# This implements the SFA Registry and Slice Interfaces on PLC.
 # Depending on command line options, it starts some combination of a
 # Registry, an Aggregate Manager, and a Slice Manager.
 #
-# There are several items that need to be done before starting the wrapper
-# server.
+# There are several items that need to be done before starting the servers.
 #
 # NOTE:  Many configuration settings, including the PLC maintenance account
 # credentials, URI of the PLCAPI, and PLC DB URI and admin credentials are initialized
index 00d9319..7e38419 100644 (file)
@@ -4,11 +4,6 @@
 # Mark Huang <mlhuang@cs.princeton.edu>
 # Copyright (C) 2006 The Trustees of Princeton University
 #
-# $Id$
-#
-
-### $Id$
-### $URL$
 
 from types import *
 from sfa.util.faults import *
index 8a50a65..11f4695 100644 (file)
@@ -11,7 +11,6 @@ from types import StringTypes
 
 from sfa.trust.gid import *
 
-from sfa.util.rspec import *
 from sfa.util.parameter import *
 from sfa.util.xrn import get_authority
 from sfa.util.row import Row
index 5d91539..f80e2ff 100644 (file)
@@ -1,7 +1,5 @@
 import os
 
-from sfa.util.rspec import RecordSpec
-
 class SimpleStorage(dict):
     """
     Handles storing and loading python dictionaries. The storage file created
diff --git a/tests/client/README b/tests/client/README
deleted file mode 100644 (file)
index 6d4ae3d..0000000
+++ /dev/null
@@ -1 +0,0 @@
-these files used to be in geniwrapper/cmdline
index 4d49d08..d25484c 100755 (executable)
@@ -13,7 +13,6 @@ from sfa.util.config import *
 from sfa.trust.certificate import *
 from sfa.trust.credential import *
 from sfa.util.sfaticket import *
-from sfa.util.rspec import *
 from sfa.client import sfi
 
 def random_string(size):