HP BL25/35/45p Network Adapter Scripting Utility User Guide - Page 14

XML data file, XML elements and typical adapter teaming script

Page 14 highlights

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: • -Brackets the entire data file and is required. • -Defines adapter properties. • -Defines teams and their properties. • -Defines VLANs and their properties. The relnics attribute of the element lists the adapters that are to be configured on the team. For target MAC address based configuration, the target NIC MAC addresses must be specified in the NetworkAddress properties. For normal (logical) ordering, the NetworkAddress properties is ignored. The following example is a typical adapter teaming script. - - - - - - - - - - - - - - XML data file 14

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20

XML data file 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.
For target MAC address based configuration, the target NIC MAC addresses must be specified in the
NetworkAddress
properties. For normal (logical) ordering, the
NetworkAddress
properties is ignored.
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.20.0.13" ScriptVersion="3.1" />
- <!--
-->
- <!--
Adapter Data
-->
- <!--
-->
- <!--
<nic> element 1
-->
- <nic>
<property id="SpeedDuplex" value="Auto/Auto" />
<property id="iSCSIEnabled" value="1" />
<property id="PriorityVLANTag" value="Priority and VLAN Enabled" />
<property id="JumboPacket" value="1514 Bytes" />
<property id="FlowControl" value="Rx/Tx Enable" />
<property id="WireSpeed" value="1" />
<property id="RSSEnabled" value="1" />
<property id="OptimizationMethod" value="L2 and L4" />
<property id="TargetInterruptsPerSecond" value="4425" />
<property id="IPChecksumOffloadIPv4" value="Rx/Tx Enable" />
<property id="TCPChecksumOffloadIPv4" value="Rx/Tx Enable" />
<property id="UDPChecksumOffloadIPv4" value="Rx/Tx Enable" />
<property id="TCPUDPChecksumOffloadIPv4" value="Rx/Tx Enable" />
<property id="LSOV1IPv4" value="1" />
<property id="LSOV2IPv4" value="1" />
<property id="NetworkAddress" value="xx-xx-xx-xx-xx-xx" />
<property id="iSCSIVlanId" value="0" />