python.conf

The SANBlaze Python api allows users to override certain behaviors by setting values in the python.conf file.

To modify the system configuration, the built in program ‘configuration’ should be run from the cli:

configuration

Note

The python.conf is located on the vlun at /virtualun/python.conf

Warning

The file can be changed by opening it with any text editor and inserting the proper value. Although the file can be modified directly, this is not recommended. Any mistakes in the json will cause the software to crash.

Note

If the configuration file is successfully used to override default behavior, an entry will be added to the beginning of the test log to indicate this modified behavior.

The configuration file is a json formatted file. The following are the valid values:

Valid Values

Outer Value

Inner Value

Valid Inputs

logging

resolution

us, ms

errors

link width

“ignore”, “notify”, “warn”, “error”

errors

link speed

“ignore”, “notify”, “warn”, “error”

reporting

SMART

0, 1

Health information data (SMART)

Add SMART data as part of the standard report.

To turn on this notification:

{"reporting":
            {"SMART": 1}
}

To turn off this notification:

{"reporting":
            {"SMART": 0}
}