dismantle legacy scaffolding - 2
[sfa.git] / sfa / methods / get_ticket.py
diff --git a/sfa/methods/get_ticket.py b/sfa/methods/get_ticket.py
deleted file mode 100644 (file)
index 1a215ea..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-### $Id$
-### $URL$
-import time
-from sfa.util.faults import *
-from sfa.util.namespace import *
-from sfa.util.method import Method
-from sfa.util.parameter import Parameter, Mixed
-from sfa.methods.GetTicket import GetTicket
-
-class get_ticket(GetTicket):
-    """
-    Deprecated. Use GetTicket instead.
-
-    Retrieve a ticket. This operation is currently implemented on PLC
-    only (see SFA, engineering decisions); it is not implemented on
-    components.
-    
-    The ticket is filled in with information from the PLC database. This
-    information includes resources, and attributes such as user keys and
-    initscripts.
-    
-    @param cred credential string
-    @param name name of the slice to retrieve a ticket for (hrn or urn)
-    @param rspec resource specification dictionary
-    
-    @return the string representation of a ticket object
-    """
-
-    interfaces = ['aggregate', 'slicemgr']
-    
-    accepts = [
-        Parameter(str, "Credential string"),
-        Parameter(str, "Human readable name of slice to retrive a ticket for (hrn or urn)"),
-        Parameter(str, "Resource specification (rspec)"),
-        Mixed(Parameter(str, "Human readable name of the original caller"),
-              Parameter(None, "Origin hrn not specified"))
-        ]
-
-    returns = Parameter(str, "String represeneation of a ticket object")
-    
-    def call(self, cred, xrn, rspec, origin_hrn=None):
-        
-        return GetTicket.call(self, xrn, cred, rspec, None)