#NEWLINE# @ rpcmethod ( signature = [ RSPEC_TYPE , URN_TYPE , CREDENTIALS_TYPE , OPTIONS_TYPE ] , url_name = 'optin_sfa' ) #NEWLINE# def CreateSliver( slice_xrn , creds , rspec , users , options ) : #NEWLINE# #INDENT# pm . check_permissions ( 'CreateSliver' , locals ( ) ) #NEWLINE# rspec = aggregate . CreateSliver ( slice_xrn , rspec , users , creds , options ) #NEWLINE# to_return = { #NEWLINE# #INDENT# 'output' : '' , #NEWLINE# 'geni_api' : 2 , #NEWLINE# 'code' : { #NEWLINE# #INDENT# 'am_type' : 'sfa' , #NEWLINE# 'geni_code' : 0 , #NEWLINE# #UNINDENT# } , #NEWLINE# 'value' : rspec , #NEWLINE# #UNINDENT# } #NEWLINE# return to_return