Editing the, Network os cli responses properties file – Brocade Network Advisor SAN + IP User Manual v12.1.0 User Manual

Page 1321

Advertising
background image

Brocade Network Advisor SAN + IP User Manual

1271

53-1002949-01

Valid and invalid responses from devices

34

The strings on the left and the right side of the equal sign are Unicode regular expressions used for
pattern matching. The expression on the left is matched against the command string, while the
expression on the right is matched against the messages returned by the command that matches
the pattern on the left. The entry in the example indicates that for any command that begins with
"no tac", any messages that are returned beginning with "error: failed to delete" are valid
responses. (Note that the matching is done in a case-insensitive manner, so you do not need to
explicitly specify "error" and "Error" to match the messages shown in the example.) For details on
the supported Unicode regular expression syntax, refer to

“Regular Expressions”

on page 1993.

The new response is available to the Management application as soon as you save the file; you do
not need to restart the Management application.

Editing the Network OS CLI responses properties file

The NOSCliResponse.properties (Network OS) file is under the Install_Home\conf\cli directory. Edit
the file using a text editor.

You can add a success response between the SUCCESS_RESPONSE_START and
SUCCESS_RESPONSE_END tags using the following Unicode regular expressions format.

#Success Map

SUCCESS_RESPONSE_START

^su[port]*\s+s[witchd]*\s+=.*First Failure Data Capture.*enabled.*

^n[o]\s+su[port]*\s+s[witchd]*\s+=.*First Failure Data Capture.*disabled.*

^f[fdc]*=.*First Failure Data Capture.*enabled.*

^n[o]\sf[fdc]*=.*First Failure Data Capture.*disabled.*

SUCCESS_RESPONSE_END

You can add a failure response between the FAILURE_RESPONSE_START and
FAILURE_RESPONSE_END tags using the following Unicode regular expressions format.

#Failure Map

FAILURE_RESPONSE_START

^nt[p]*\s+s[erv]*\s+=.*too many.*

^sn[mp\-serv]*\s+h[ost]*\s+=.*Maximum number of hosts in this version group

reached.*

^sn[mp\-serv]*\s+u[ser]*\s+=.*Maximum limit of users in this access group

reached.*no

^sn[mp\-serv]*\s+=.*too many.*

FAILURE_RESPONSE_END

The strings on the left and the right side of the equal sign are Unicode regular expressions used for
pattern matching. The expression on the left is matched against the command string, while the
expression on the right is matched against the messages returned by the command that matches
the pattern on the left. For details on the supported Unicode regular expression syntax, refer to

“Regular Expressions”

on page 1993.

The new response is available to the Management application as soon as you save the file; you do
not need to restart the Management application.

Advertising