Hp ProLiant SL2500 Scalable System User Manual Page 67

  • Download
  • Add to my manuals
  • Print
  • Page
    / 117
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 66
Using XML 67
Using XML
XML overview
XML scripting provides a standard programmatic means for data center tools to interact with the HP APM.
You can configure many of the same components available with the HP APM CLI only in a format that is more
favorable to the many tools that use XML as a scripting medium.
In addition to configuration capabilities, you can also draw information from the HP APM, based on an XML
query/response paradigm, such as querying a rack for all available power loads on that rack.
A username/password combination, located at the top of the XML query into HP APM, enforces security.
XML headers
The first line of the XML script is always the following:
<?xml version="1.0" encoding="UTF-8"?>
XML output
XML output normalizes the attribute values and writes them to the output. This output follows the W3C
canonicalization specification (http://www.w3.org/TR/xml-c14n).
Data types
The following table lists the data types allowed in the parameter.
Data type Description
String
Any text enclosed in quotes. It can include spaces, numbers, or any printable
character. A string might start with either a double of single quote, and it must end with
the same type of quote. The string
might contain a quote if it is different from the string
delimiter quotes.
For example, if a string is started with a double quote, a single quote can be used
within the string and the string must be closed with a double quote.
Specific string
A specific string must contain certain characters. You have a choice of words that are
accepted as correct syntax. All other words produce an error.
Boolean string
A boolean string is a specific string that specifies a "yes" or "no" condition. These
strings are not case-sensitive. Acceptable boolean strings are:
"yes"
"y"
"no"
"n"
"true"
"t"
"false"
"f"
Page view 66
1 2 ... 62 63 64 65 66 67 68 69 70 71 72 ... 116 117

Comments to this Manuals

No comments