26.12.2014 Views

Fabric Manager Users Guide, Version 6.1, Revision A - QLogic

Fabric Manager Users Guide, Version 6.1, Revision A - QLogic

Fabric Manager Users Guide, Version 6.1, Revision A - QLogic

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

A–<strong>Fabric</strong> <strong>Manager</strong> Command Line Interface<br />

config_diff<br />

Compares two FM configuration files ignoring differences in white space and<br />

comments.<br />

Syntax<br />

Path:<br />

config_diff [-f][-l] [-d diff_args] file1 file2<br />

/opt/qlogic_fm/etc/<br />

Keywords -f<br />

Filter out FM parameters which are not part of consistency check.<br />

-l<br />

Include comments in XML to indicate original line numbers (this is only<br />

recommended when the files are very similar, including whitespace).<br />

-d diff_args<br />

Additional arguments to diff command -c.<br />

file1 file2<br />

The two FM XML configuration files to compare.<br />

Notes<br />

Examples<br />

The exit code of this command will indicate the success (0) or failure (non-zero) of<br />

the diff. On success the command is silent by default. On failure the differences<br />

will be shown.<br />

Whitespace and comment differences are always filtered out.<br />

When using an embedded FM, this command is also available on hosts with Fast<br />

<strong>Fabric</strong> installed in the /opt/iba/fm_tools directory.<br />

config_diff /ete/sysconf/qlogic_fm.xml my_fm_config.xml<br />

IB0054608-01 B A-5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!