Changeset 5487

Show
Ignore:
Timestamp:
05/21/12 23:30:21 (7 years ago)
Author:
sushant
Message:

Replace occurrences of GENI in xmlrpc file. Refs #1055

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • seattle/trunk/seattlegeni/xmlrpc_clients/seattleclearinghouse_xmlrpc.py

    r5486 r5487  
    1111 
    1212<Purpose> 
    13   A client library for communicating with the SeattleGENI XMLRPC Server. 
     13  A client library for communicating with the SeattleClearinghouse XMLRPC Server. 
    1414   
    1515  Your Python scripts can import this library, create an instance of the 
    1616  SeattleClearinghouseClient class, then call methods on the object to perform XMLRPC 
    17   calls through the SeattleGENI XMLRPC API. 
     17  calls through the SeattleClearinghouse XMLRPC API. 
    1818 
    1919  Full tutorials on using this library, see: 
    2020  https://seattle.cs.washington.edu/wiki/SeattleGeniClientLib 
    2121   
    22   In order to perform secure SSL communication with SeattleGENI: 
     22  In order to perform secure SSL communication with SeattleClearinghouse: 
    2323    * You must have M2Crypto installed. 
    2424    * You must set the value of CA_CERTIFICATES_FILE to the location of a PEM 
     
    6060DEFAULT_CA_CERTIFICATES_FILE = os.path.join(os.path.dirname(__file__), "cacert.pem") 
    6161 
    62 # The location of the SeattleGENI XMLRPC server to use. 
     62# The location of the SeattleClearinghouse XMLRPC server to use. 
    6363DEFAULT_XMLRPC_URL = "https://seattlegeni.cs.washington.edu/xmlrpc/" 
    6464 
    65 # SeattleGENI XMLRPC Fault Code Constants 
     65# SeattleClearinghouse XMLRPC Fault Code Constants 
    6666FAULTCODE_INTERNALERROR = 100 
    6767FAULTCODE_AUTHERROR = 101 
     
    7474class SeattleClearinghouseClient(object): 
    7575  """ 
    76   Implementation of an XMLRPC client for communicating with a SeattleGENI 
     76  Implementation of an XMLRPC client for communicating with a SeattleClearinghouse 
    7777  server. This uses the public API described at: 
    7878  https://seattle.cs.washington.edu/wiki/SeattleGeniAPI 
     
    135135      repyhelper.translate_and_import("rsa.repy") 
    136136    except ImportError, e: 
    137       raise SeattleClearinghouseError("Unable to get API key from SeattleGENI " + 
     137      raise SeattleClearinghouseError("Unable to get API key from SeattleClearinghouse " + 
    138138                             "because a required python or repy module " +  
    139139                             "cannot be found:" + str(e)) 
     
    212212    <Exceptions> 
    213213      The common exceptions described in the module comments, as well as: 
    214       SeattleGENINotEnoughCredits 
     214      SeattleClearinghouseNotEnoughCredits 
    215215        If the account does not have enough available vessel credits to fulfill 
    216216        the request. 
     
    233233    <Exceptions> 
    234234      The common exceptions described in the module comments, as well as: 
    235       SeattleGENINotEnoughCredits 
     235      SeattleClearinghouseNotEnoughCredits 
    236236        If the account does not have enough available vessel credits to fulfill 
    237237        the request. 
     
    254254    <Exceptions> 
    255255      The common exceptions described in the module comments, as well as: 
    256       SeattleGENINotEnoughCredits 
     256      SeattleClearinghouseNotEnoughCredits 
    257257        If the account does not have enough available vessel credits to fulfill 
    258258        the request. 
     
    275275    <Exceptions> 
    276276      The common exceptions described in the module comments, as well as: 
    277       SeattleGENINotEnoughCredits 
     277      SeattleClearinghouseNotEnoughCredits 
    278278        If the account does not have enough available vessel credits to fulfill 
    279279        the request. 
     
    298298    <Exceptions> 
    299299      The common exceptions described in the module comments, as well as: 
    300       SeattleGENINotEnoughCredits 
     300      SeattleClearinghouseNotEnoughCredits 
    301301        If the account does not have enough available vessel credits to fulfill 
    302302        the request. 
     
    325325    <Exceptions> 
    326326      The common exceptions described in the module comments, as well as: 
    327       SeattleGENINotEnoughCredits 
     327      SeattleClearinghouseNotEnoughCredits 
    328328        If the account does not have enough available vessel credits to fulfill 
    329329        the request. 
     
    370370    <Exceptions> 
    371371      The common exceptions described in the module comments, as well as: 
    372       SeattleGENINotEnoughCredits 
     372      SeattleClearinghouseNotEnoughCredits 
    373373        If the account is currently over its vessel credit limit, then vessels 
    374374        cannot be renewed until the account is no longer over its credit limit. 
     
    516516    import M2Crypto 
    517517  except ImportError, err: 
    518     raise ImportError("In order to use the SeattleGENI XMLRPC client with " +  
     518    raise ImportError("In order to use the SeattleClearinghouse XMLRPC client with " +  
    519519                      "allow_ssl_insecure=False, you need M2Crypto " +  
    520520                      "installed. " + str(err)) 
     
    554554  """ 
    555555  Indicates an unexpected error occurred, probably either a bug in this 
    556   client or a bug in SeattleGENI. 
     556  client or a bug in SeattleClearinghouse. 
    557557  """ 
    558558 
     
    579579class UnableToAcquireResourcesError(SeattleClearinghouseError): 
    580580  """ 
    581   Indicates that the requested operation failed because SeattleGENI was unable 
     581  Indicates that the requested operation failed because SeattleClearinghouse was unable 
    582582  to acquire the requested resources. 
    583583  """