HP 289166-40B manual XML data file, XML elements and typical adapter teaming script

Page 14

XML data file

XML elements and typical adapter teaming script

The XML data file contains configuration properties for adapters and teams and consists of the following XML elements:

<teamingconfig>-Brackets the entire data file and is required.

<nic>-Defines adapter properties.

<team>-Defines teams and their properties.

<vlan>-Defines VLANs and their properties.

The 'relnics' attribute of the <team> element lists the adapters that are to be configured on the team. The following example is a typical adapter teaming script.

<?xml version="1.0" encoding="ISO-8859-1" ?>

-<teamingconfig>

-<!-- The comment lines in this file make it convenient -->

-<!-- to reference <nic>, <team>, and <vlan> elements -->

-<!-- within the file. It is recommended that these -->

-<!-- comment lines remain unchanged if the user edits -->

-<!-- the file. -->

-<!-- -->

-<!-- Version Data -->

-<!-- -->

<version UtilityVersion="9.00.0.7" ScriptVersion="3.1" />

-<!-- -->

-<!-- Adapter Data -->

-<!-- -->

-<!-- <nic> element 1 -->

-<nic>

<property id="SpeedDuplex" value="Auto/Auto" /> <property id="NetworkAddress" value="" /> </nic>

-<!-- <nic> element 2 -->

-<nic>

<property id="SpeedDuplex" value="Auto/Auto" />

XML data file 14

Image 14
Contents HP ProLiant Network Adapter Scripting Utility User Guide Audience assumptions Contents Scripting functionality Network Configuration Utility and ScriptingOverview Scripting Preliminary scripting informationScript conversion Command line syntax Scripting application CqniccmdCommand line arguments Command line help HP Multifunction adapter properties Configuration propertiesAdapter configuration properties Configuration properties Team configuration properties Configuration properties XML data file XML elements and typical adapter teaming scriptXML data file Team Data Error handling and reporting Error checking and completion codeAcronyms and abbreviations Index Cqniccmd