Red Hat Training

A Red Hat training course is available for Red Hat OpenStack Platform

12.22. ironic node-list

usage: ironic node-list [--limit <limit>] [--marker <node>]
                        [--sort-key <field>] [--sort-dir <direction>]
                        [--maintenance <boolean>] [--associated <boolean>]
                        [--provision-state <provision-state>]
                        [--driver <driver>] [--detail]
                        [--fields <field> [<field> ...]]
                        [--resource-class <resource class>]
List the nodes which are registered with the Ironic service.

Optional arguments

--limit <limit>


        Maximum number of nodes to return per request, 0 for
      no limit. Default is the maximum number used by the
      Ironic API Service.

--marker <node>


        Node UUID (for example, of the last node in the list
      from a previous request). Returns the list of nodes
      after this UUID.

--sort-key <field>


        Node field that will be used for sorting.

--sort-dir <direction>


      Sort direction: "asc" (the default) or "desc".

--maintenance <boolean>


      List nodes in maintenance mode: 'true' or 'false'.

--associated <boolean>


      List nodes by instance association: 'true' or 'false'.

--provision-state <provision-state>


      List nodes in specified provision state.

--driver <driver>


        List nodes using specified driver.

--detail


        Show detailed information about the nodes.

--fields <field> [<field> ...]


      One or more node fields. Only these fields will be
      fetched from the server. Can not be used when '--
      detail' is specified.

--resource-class <resource class>


      List nodes using specified resource class.