def wrap(m):
name=getattr(m,'__name__')
doc=getattr(m,'__doc__',"-- missing doc --")
def wrap(m):
name=getattr(m,'__name__')
doc=getattr(m,'__doc__',"-- missing doc --")
# Registry-related commands
#==========================================================================
# Registry-related commands
#==========================================================================
def config (self, options, args):
"Display contents of current config"
print "# From configuration file %s"%self.config_file
def config (self, options, args):
"Display contents of current config"
print "# From configuration file %s"%self.config_file
value=getattr(self.config_instance,varname)
print "%-20s = %s"%(name,value)
value=getattr(self.config_instance,varname)
print "%-20s = %s"%(name,value)
def version(self, options, args):
"""
display an SFA server version (GetVersion)
def version(self, options, args):
"""
display an SFA server version (GetVersion)
def list(self, options, args):
"""
list entries in named authority registry (List)
def list(self, options, args):
"""
list entries in named authority registry (List)
def show(self, options, args):
"""
show details about named registry record (Resolve)
def show(self, options, args):
"""
show details about named registry record (Resolve)
def register(self, options, args):
"""create new record in registry (Register)
from command line options (recommended)
def register(self, options, args):
"""create new record in registry (Register)
from command line options (recommended)
record_dict['last_name'] = record_dict['hrn']
return self.registry().Register(record_dict, auth_cred)
record_dict['last_name'] = record_dict['hrn']
return self.registry().Register(record_dict, auth_cred)
def update(self, options, args):
"""update record into registry (Update)
from command line options (recommended)
def update(self, options, args):
"""update record into registry (Update)
from command line options (recommended)
def remove(self, options, args):
"remove registry record by name (Remove)"
auth_cred = self.my_authority_credential_string()
def remove(self, options, args):
"remove registry record by name (Remove)"
auth_cred = self.my_authority_credential_string()
def resources(self, options, args):
"""
discover available resources (ListResources)
def resources(self, options, args):
"""
discover available resources (ListResources)
def describe(self, options, args):
"""
shows currently allocated/provisioned resources
def describe(self, options, args):
"""
shows currently allocated/provisioned resources
def delete(self, options, args):
"""
de-allocate and de-provision all or named slivers of the named slice (Delete)
def delete(self, options, args):
"""
de-allocate and de-provision all or named slivers of the named slice (Delete)
def allocate(self, options, args):
"""
allocate resources to the named slice (Allocate)
def allocate(self, options, args):
"""
allocate resources to the named slice (Allocate)
def provision(self, options, args):
"""
provision all or named already allocated slivers of the named slice (Provision)
def provision(self, options, args):
"""
provision all or named already allocated slivers of the named slice (Provision)
def status(self, options, args):
"""
retrieve the status of the slivers belonging to the named slice (Status)
def status(self, options, args):
"""
retrieve the status of the slivers belonging to the named slice (Status)
def action(self, options, args):
"""
Perform the named operational action on all or named slivers of the named slice
def action(self, options, args):
"""
Perform the named operational action on all or named slivers of the named slice
def shutdown(self, options, args):
"""
shutdown named slice (Shutdown)
def shutdown(self, options, args):
"""
shutdown named slice (Shutdown)
will locally create a set of delegated credentials for the benefit of ple.upmc.slicebrowser
the set of credentials in the scope for this call would be
will locally create a set of delegated credentials for the benefit of ple.upmc.slicebrowser
the set of credentials in the scope for this call would be
[myslice]
backend = http://manifold.pl.sophia.inria.fr:7080
# the HRN that myslice uses, so that we are delegating to
[myslice]
backend = http://manifold.pl.sophia.inria.fr:7080
# the HRN that myslice uses, so that we are delegating to
is synonym to sfi myslice as no other command starts with an 'm'
and uses a custom backend for this one call
"""
is synonym to sfi myslice as no other command starts with an 'm'
and uses a custom backend for this one call
"""
def myslice (self, options, args):
""" This helper is for refreshing your credentials at myslice; it will
def myslice (self, options, args):
""" This helper is for refreshing your credentials at myslice; it will
def trusted(self, options, args):
"""
return the trusted certs at this interface (get_trusted_certs)
def trusted(self, options, args):
"""
return the trusted certs at this interface (get_trusted_certs)