Extreme Networks Sentriant AG Software User's Manual page 328

Hide thumbs Also See for Sentriant AG:
Table of Contents

Advertisement

System Administration
Figure 179: testTemplate.py (continued)
#
# A short summary for the test.
field
# when editing NAC policies in the management UI.
#
testSummary = \
"""
My short description
"""
#
#
# This is field is unused at the moment.
# field in the policy editor.
#
testDescription = ''
#
# These are the arguments to run the test. This is displayed in the
command
# line help.
#
testArguments = \
"""
My test arguments
"""
#
# All tests must define the runTest method with the self and the debug
# parameters.
#
def runTest(self,debug=0):
#
# All tests must call the initialize routine
#
self.initTest()
#
# Create a hash to store the return results.
# All tests must fill return a hash with the following keys:
#
#
successful
#
#
#
returnHash = {}
returnHash["status_code"] = 1
returnHash["result_code"] = "pass"
returnHash["result_message"] = "Some nice text that a user can read
here."
328
status_code
- 0 if an unexpected error occurred, 1 if
result_code
- pass, fail or some error
result_message - the message to display to the end-user
This will show up in the description
Sentriant AG Software Users Guide, Version 5.3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sentriant ag 5.3

Table of Contents