Revision b82d4c5e lib/rapi/client.py

b/lib/rapi/client.py
1124 1124
                             ("/%s/instances/%s/rename" %
1125 1125
                              (GANETI_RAPI_VERSION, instance)), None, body)
1126 1126

  
1127
  def GetInstanceConsole(self, instance):
1128
    """Request information for connecting to instance's console.
1129

  
1130
    @type instance: string
1131
    @param instance: Instance name
1132

  
1133
    """
1134
    return self._SendRequest(HTTP_GET,
1135
                             ("/%s/instances/%s/console" %
1136
                              (GANETI_RAPI_VERSION, instance)), None, None)
1137

  
1127 1138
  def GetJobs(self):
1128 1139
    """Gets all jobs for the cluster.
1129 1140

  

Also available in: Unified diff