Figure 179: Testtemplate.py - Extreme Networks Sentriant AG Software User's Manual

Hide thumbs Also See for Sentriant AG:
Table of Contents

Advertisement

Figure 179: testTemplate.py

#!/usr/bin/python
from BaseClasses.SABase import SABase as SABase
#
# This allows a script to be tested from the command line.
#
if __name__ == '__main__':
import testTemplate
t = testTemplate.TestTemplate()
t.processCommandLine()
#
# The class definition. All classes must be derived from the SABase class.
#
class TestTemplate(SABase):
#
# Make up a test id. Just make sure it doesn't match any existing test
ids.
#
testId = "TestId"
#
# Make up test name. Just make sure it doesn't match any existing test
names.
#
testName = "Test Name"
#
# Assign the test to an existing group or create a new group.
# Groups are configured and created in the policies.xml file <group>
# section (See the Adding new groups section).
#
testGroupId = "TestGroup"
#
# This is the HTML that will be displayed in the test properties page
# in the policy editor.
#
testConfig = \
"""
<HTML>Test Config HTML</HTML>
"""
#
# These are any default values you want to assign to the input
parameters
# in the testConfig HTML.
#
defaultConfigValues = {}
Sentriant AG Software Users Guide, Version 5.3
System Administration
327

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Sentriant AG and is the answer not in the manual?

This manual is also suitable for:

Sentriant ag 5.3

Table of Contents