Skip to content

list node xml

Mason J. Katz edited this page Dec 15, 2015 · 1 revision

list node xml

Usage

stack list node xml [attrs=string] [basedir=string] [eval=bool] [gen=string] [missing-check=bool] [roll=string]

Description

Lists the XML configuration information for a host. The graph traversal for the XML output is rooted at the XML node file specified by the 'node' argument. This command executes the first pre-processor pass on the configuration graph, performs all variable substitutions, and runs all eval sections.

Parameters

  • [attrs=string]

    A list of attributes. This list must be in python dictionary form, e.g., attrs="{ 'os': 'redhat', 'arch' : 'x86_64' }"

  • [basedir=string]

    If specified, the location of the XML node files.

  • [eval=bool]

    If set to 'no', then don't execute eval sections. If not supplied, then execute all eval sections.

  • [gen=string]

    If set, the use the supplied argument as the program for the 2nd pass generator. If not supplied, then use 'kgen'.

  • [missing-check=bool]

    If set to 'no', then disable errors regarding missing nodes. If not supplied, then print messages about missing nodes.

  • [roll=string]

    If set, only expand nodes from the named roll. If not supplied, then the all rolls are used.

Examples

  • stack list node xml compute

    Generate the XML graph starting at the XML node named 'compute.xml'.

Clone this wiki locally