+====================
changes between 0.2 and 0.8 from a user's perspective
+====================
--------------------
- 3 packages named
/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/
-nuke.py
-alt_aggregate.py
+some apparently test-related stuff formerly in cmdline hace moved to tests/client
from types import StringTypes, ListType
from optparse import OptionParser
-from geni.util.certificate import Keypair, Certificate
-from geni.util.credential import Credential
+from geni.trust.certificate import Keypair, Certificate
+from geni.trust.credential import Credential
from geni.util.geniclient import GeniClient, ServerException
-from geni.util.gid import create_uuid
+from geni.trust.gid import create_uuid
from geni.util.record import GeniRecord
from geni.util.rspec import Rspec
def determine_geni_filekind(fn):
- from geni.util.certificate import Certificate
+ from geni.trust.certificate import Certificate
cert = Certificate(filename = fn)
from types import StringTypes, ListType
from optparse import OptionParser
-from geni.util.certificate import Keypair, Certificate
-from geni.util.credential import Credential
+from geni.trust.certificate import Keypair, Certificate
+from geni.trust.credential import Credential
from geni.util.geniclient import GeniClient, ServerException
-from geni.util.gid import create_uuid
+from geni.trust.gid import create_uuid
from geni.util.record import *
from geni.util.rspec import Rspec
from geni.util.method import Method
from geni.util.parameter import Parameter, Mixed
from geni.util.auth import Auth
-from geni.util.certificate import Keypair
+from geni.trust.certificate import Keypair
class create_gid(Method):
"""
from geni.util.parameter import Parameter, Mixed
from geni.util.auth import Auth
from geni.util.record import GeniRecord
-from geni.util.credential import *
-from geni.util.rights import *
+from geni.trust.credential import *
+from geni.trust.rights import *
from geni.util.debug import log
class get_credential(Method):
from geni.util.method import Method
from geni.util.parameter import Parameter, Mixed
from geni.util.auth import Auth
-from geni.util.certificate import Keypair
+from geni.trust.certificate import Keypair
from geni.util.geniticket import *
class get_ticket(Method):
from geni.util.parameter import Parameter, Mixed
from geni.util.auth import Auth
from geni.util.record import GeniRecord
-from geni.util.certificate import Keypair, convert_public_key
-from geni.util.gid import *
+from geni.trust.certificate import Keypair, convert_public_key
+from geni.trust.gid import *
from geni.util.debug import log
from geni.util.misc import *
import sys
import tempfile
-from geni.util.certificate import *
-from geni.util.trustedroot import *
+from geni.trust.certificate import *
+from geni.trust.trustedroot import *
from geni.util.hierarchy import *
from geni.util.record import *
from geni.util.genitable import *
from optparse import OptionParser
from geni.util.hierarchy import Hierarchy
-from geni.util.trustedroot import TrustedRootList
-from geni.util.certificate import Keypair, Certificate
+from geni.trust.trustedroot import TrustedRootList
+from geni.trust.certificate import Keypair, Certificate
from geni.util.config import Config
from geni.server.registry import Registry
import xmlrpclib
-from geni.util.certificate import *
-from geni.util.rights import *
-from geni.util.gid import *
+from geni.trust.certificate import *
+from geni.trust.rights import *
+from geni.trust.gid import *
##
# Credential is a tuple:
import xmlrpclib
import uuid
-from geni.util.certificate import *
+from geni.trust.certificate import *
##
# Create a new uuid. Returns the UUID as a string.
--- /dev/null
+-----BEGIN CERTIFICATE-----
+MIIC7DCCAlWgAwIBAgIBADANBgkqhkiG9w0BAQQFADCBoTELMAkGA1UEBhMCVVMx
+EzARBgNVBAgTCk5ldyBKZXJzZXkxEjAQBgNVBAcTCVByaW5jZXRvbjESMBAGA1UE
+ChMJUGxhbmV0TGFiMRIwEAYDVQQLEwlQbGFuZXRMYWIxGjAYBgNVBAMTEVBsYW5l
+dExhYiBSb290IENBMSUwIwYJKoZIhvcNAQkBFhZzdXBwb3J0QHBsYW5ldC1sYWIu
+b3JnMB4XDTA0MDIyMzE4MTMyMloXDTE0MDIyMDE4MTMyMlowgaExCzAJBgNVBAYT
+AlVTMRMwEQYDVQQIEwpOZXcgSmVyc2V5MRIwEAYDVQQHEwlQ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XJvcGUxITAfBgNVBAMTGFBsYW5ldExh
+YiBFdXJvcGUgUm9vdCBDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAxu3l
+PiHQVVnkfANCyB+78ZXS0y1Nj2LaoqI/LdSZyKF8JPt+b5fXgOcOWrnNrCrS/9NV
+hyX3s4Ps5HuiVxRZi3MPtxeXz5qbU7UH+k/kR9T/Po7DGa0KAP/TmzO3jhV6EalV
+1DIkjs6wNZ5Ypv5m6M6puK1LZ+p92yPhePJPftECAwEAAaOB1DCB0TAdBgNVHQ4E
+FgQUjbA0nGWCLFZ7L/SiSdvQuMQWhOQwgaEGA1UdIwSBmTCBloAUjbA0nGWCLFZ7
+L/SiSdvQuMQWhOSheqR4MHYxCzAJBgNVBAYTAkZSMRkwFwYDVQQHExBTb3BoaWEg
+QW50aXBvbGlzMQ4wDAYDVQQKEwVJTlJJQTEZMBcGA1UECxMQUGxhbmV0TGFiIEV1
+cm9wZTEhMB8GA1UEAxMYUGxhbmV0TGFiIEV1cm9wZSBSb290IENBggIgBjAMBgNV
+HRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAEZFa4EGGrqGSCZivYCiKiS3vhwP
+WQ/84vTXVQr5ydiSc210bIVlPRFqdZAMd64uxdERb90734AVpGAQyBYq1ccA+yCF
+v2hW8Cx87XObp0uoL0RniA1qOr3LO69rDJAS7n7EPHhAKjOXUkzb/vvXdIAPmbra
+AQGvqcqKX7Fk9+wi
+-----END CERTIFICATE-----
import os
-from geni.util.gid import *
+from geni.trust.gid import *
from geni.util.config import Config
class TrustedRootList():
from geni.util.config import *
from geni.util.faults import *
from geni.util.debug import *
-from geni.util.rights import *
-from geni.util.credential import *
+from geni.trust.rights import *
+from geni.trust.credential import *
from geni.util.misc import *
# See "2.2 Characters" in the XML specification:
import time
from geni.util.faults import *
-from geni.util.credential import Credential
-from geni.util.trustedroot import TrustedRootList
+from geni.trust.credential import Credential
+from geni.trust.trustedroot import TrustedRootList
from geni.util.hierarchy import Hierarchy
-from geni.util.rights import RightList
+from geni.trust.rights import RightList
from geni.util.genitable import *
from geni.util.config import *
from geni.util.misc import *
import xmlrpclib
-from geni.util.gid import *
-from geni.util.credential import *
+from geni.trust.gid import *
+from geni.trust.credential import *
from geni.util.record import *
from geni.util.geniticket import *
from OpenSSL import SSL
-from geni.util.certificate import *
-from geni.util.credential import *
+from geni.trust.certificate import *
+from geni.trust.credential import *
from geni.util.faults import *
from geni.util.api import GeniAPI
from geni.util.debug import log
from pg import DB, ProgrammingError
-from geni.util.gid import *
+from geni.trust.gid import *
from geni.util.record import *
from geni.util.debug import *
import xmlrpclib
-from geni.util.certificate import *
-from geni.util.rights import *
-from geni.util.gid import *
+from geni.trust.certificate import *
+from geni.trust.rights import *
+from geni.trust.gid import *
# Ticket is tuple:
# (gidCaller, gidObject, attributes, rspec, delegate)
import os
import report
-from geni.util.certificate import *
-from geni.util.credential import *
-from geni.util.gid import *
+from geni.trust.certificate import *
+from geni.trust.credential import *
+from geni.trust.gid import *
from geni.util.misc import *
from geni.util.config import *
from geni.util.geniticket import *
import geni.util.report
-from geni.util.gid import *
+from geni.trust.gid import *
from geni.util.rspec import *
from geni.util.parameter import *
'geni/client/genidump.py',
]
package_dirs = [ 'geni',
- 'geni/util',
+ 'geni/client',
'geni/methods',
+ 'geni/plc',
+ 'geni/server',
+ 'geni/trust',
+ 'geni/util',
]
data_files = [ ('/etc/sfa/', [ 'config/aggregates.xml',
'config/registries.xml',
from geni.util.geniclient import *
-from geni.util.credential import *
+from geni.trust.credential import *
from pprint import pprint
cred = Credential(filename = 'tmack.pl.sa.cred')