Skip to content

report host attr

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

report host attr

Usage

stack report host attr [host] [attr=string] [pydict=bool]

Description

Report the set of attributes for hosts.

Arguments

  • [host]

    Host name of machine

Parameters

  • [attr=string]

    Output just the value of a particular attribute

  • [pydict=bool]

    Output as a python-formatted dictionary. Defaults to false. Only valid if attr parameter is not specified.

Examples

  • stack report host attr compute-0-0

    Report the attributes for compute-0-0.

  • stack report host attr compute-0-0 pydict=true

    Report the attributes for compute-0-0 as a python dictionary suitable for input to rocks report script.

  • stack report host attr compute-0-0 attr=Kickstart_Lang

    Output value of the attribute called Kickstart_Lang for node compute-0-0.

Related

report script

Clone this wiki locally