Revision 94981c7a

b/qa/rapi-workload.py
115 115
    # guide, this will stop infinite loops in attribute fetches.
116 116
    if attr.startswith("_"):
117 117
      return self.__getattribute__(attr)
118

  
119 118
    try:
120 119
      return InvokerCreator(self._client.__getattribute__(attr), attr)
121 120
    except AttributeError:
......
130 129
  @param client A wrapped RAPI client.
131 130

  
132 131
  """
133
  print client.GetVersion()
132

  
133
  # First just the simple information retrievals
134
  client.GetVersion()
135
  client.GetFeatures()
136
  client.GetOperatingSystems()
137
  client.GetInfo()
138
  client.GetClusterTags()
139
  client.GetInstances()
140
  client.GetInstances(bulk=True)
141
  client.GetJobs()
142
  client.GetJobs(bulk=True)
143
  client.GetNodes()
144
  client.GetNodes(bulk=True)
145
  client.GetNetworks()
146
  client.GetNetworks(bulk=True)
147
  client.GetGroups()
148
  client.GetGroups(bulk=True)
149

  
150
  job_id = client.RedistributeConfig()
151
  client.WaitForJobCompletion(job_id)
134 152

  
135 153

  
136 154
def Usage():

Also available in: Unified diff