Previous Topic: Dynamic Expansion of Test LabsNext Topic: Start a Lab


List the Available Labs

You can use the Server Console or LISA Invoke to list the development and test labs that are available in the cloud environment.

Listing the Available Labs from the Server Console

For the instructions about accessing the Server Console, see Open the Server Console in Administering.

The following graphic shows a list of available labs in the Server Console. The tree structure is expanded to show two child labs.

Server Console Available Labs

To list the available labs:

  1. Display the Network panel in the Server Console.
  2. Expand the DevTest Cloud Manager node.
  3. Click the Available Labs node.

    The available labs appear in the right panel. The tree structure is initially collapsed.

 

Listing the Available Labs by Using LISA Invoke

You can use LISA Invoke to list the available labs. The syntax is as follows:

/lisa-invoke/listRunnableLabs 

The response is an XML document. For each lab, the following information is provided:

The lab key is a required parameter in the startLab, getLab, and killLab operations.

 

Example

The following URL makes a request to list the available labs.

http://localhost:1505/lisa-invoke/listRunnableLabs 

The following response contains a list of three available labs.

<?xml version="1.0" encoding="UTF-8" ?>
<invokeResult>
  <method name="ListRunnableLabs">
    <params />
  </method>
  <status>OK</status>
  <result>
    <lab name="MM-Test" key="VCD:7">
      <labMember name="Simulator" />
      <labMember name="Coordinator" />
    </lab>
    <lab name="MM-Test run by rich-47" key="VCD:47">
      <labMember name="Simulator_1_184_72_204_206" />
      <labMember name="Simulator_2_107_21_199_227" />
      <labMember name="Coordinator_1_184_73_83_115" />
    </lab>
    <lab name="VSE-Cluster run by rich-46" key="VCD:46">
      <labMember name="V_S_E_Member_1_23_21_11_148" />
      <labMember name="V_S_E_Member_2_23_21_3_45" />
      <labMember name="V_S_E_Member_4_184_73_65_217" />
      <labMember name="V_S_E_Member_3_174_129_88_179" />
    </lab>
  </result>
</invokeResult>