Appendix A

XML Format 1

A.1

Introduction

NOTE:

XML files created using the -x1command line option do not match standard output. They are designed for backward compatibility with customized legacy scripts. For new scripts, we strongly recommend using the -x2command line option, which generates standard output XML files (see Appendix B).

The -x1command line option (see section 5.3.34) displays all output in XML format 1. This section defines the XML format 1 output, which consists of the following parts:

„Main tag

„Utility header

„Status message

„Error message

„Reboot message

A.1.1

Main Tag

When SANsurfer FC HBA CLI is in XML mode, all outputs are within the main tag:

<QLogic>

...

</QLogic>

A.1.2

Utility Header

The following header information is displayed after the main tag:

<AppName> SANsurfer Command Line Utility </AppName> <AppVersion> X.YY.ZZ Build XX</AppVersion>

SN0054614-00 F

A-1

Page 183
Image 183
Q-Logic FC HBA CLI manual Main Tag, Utility Header