Novell ZENWORKS NETWORK ACCESS CONTROL 5.0 - 09-22-2008 User Manual page 349

Table of Contents

Advertisement

#
# A short summary for the test.
# 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:
#
#
status_code
#
result_code
#
result_message - the message to display to the end-user
#
returnHash = {}
returnHash["status_code"] = 1
returnHash["result_code"] = "pass"
returnHash["result_message"] = "Some nice text that a user can read here."
_____________________________________________________________________________
try:
This will show up in the description field
- 0 if an unexpected error occurred, 1 if successful
- pass, fail or some error
System Administration 349

Advertisement

Table of Contents
loading

This manual is also suitable for:

Zenworks network access control 5.0

Table of Contents