#NEWLINE# @ rpcmethod ( signature = [ SUCCESS_TYPE , URN_TYPE , CREDENTIALS_TYPE ] , url_name = 'optin_sfa' ) #NEWLINE# def Start( xrn , creds , **kwargs ) : #NEWLINE# #INDENT# pm . check_permissions ( 'Start' , locals ( ) ) #NEWLINE# try : #NEWLINE# #INDENT# slice_action = aggregate . start_slice ( xrn ) #NEWLINE# #UNINDENT# except Exception as e : #NEWLINE# #INDENT# raise OCFSfaError ( creds , 'Start' ) #NEWLINE# #UNINDENT# return { #NEWLINE# #INDENT# 'output' : '' , #NEWLINE# 'geni_api' : 2 , #NEWLINE# 'code' : { #NEWLINE# #INDENT# 'am_type' : 'sfa' , #NEWLINE# 'geni_code' : 0 , #NEWLINE# #UNINDENT# } , #NEWLINE# 'value' : slice_action , #NEWLINE# #UNINDENT# }