*.pkey
*.cert
*.cred
+.DS_Store
+++ /dev/null
-====================
-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
#%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
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:]
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:]
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:]
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):
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
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
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
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 *
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
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
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
#!/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
# 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 *
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
import os
-from sfa.util.rspec import RecordSpec
-
class SimpleStorage(dict):
"""
Handles storing and loading python dictionaries. The storage file created
+++ /dev/null
-these files used to be in geniwrapper/cmdline
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):