Figure 155:Example Installcustomtests Output - Extreme Networks AG200 User Manual

Version 5.0
Table of Contents

Advertisement

6 Once you have completed your edits and saved the
the following directory on the Sentriant AG MS:
/usr/local/nac/scripts/Custom/Tests
7 If you have created new base classes, copy them to the following directory on the Sentriant AG MS:
/usr/local/nac/scripts/Custom/BaseClasses
CAUTION
When updating or modifying files, use the Custom directory tree (Custom/BaseClasses, Custom/Tests). The Custom
directory tree is a mirror (with symbolic links) to the live test tree (scripts/BaseClasses and scripts/Tests). The live
tree is not modified directly, but is modified with the installCustomTests script and the RPM mechanism.
8 Once your custom test script is complete, and you are ready to push it out to all of the ESs, verify
that the scripts and base classes are under the Custom directory tree as specified above, and enter
the following on the command line of the Sentriant AG MS:
installCustomTests
This command compiles the Python source files, builds an RPM, updates the policy groups, and
sends these changes to all ESs. An example of the output from the
is shown as follows:
NOTE
This command affects all ESs, even those that are not currently up and running. Once a stopped ES comes back up,
the ES is updated.
Figure 155: Example InstallCustomTests Output
# installCustomTests
Creating custom test script RPM version 5.0-51
Found 5 python files
+ Compiling python scripts
+ Generating test script XML files
If you continue, this will generate an RPM file containing your custom scripts
and will send the new custom script RPM to the Management Server and all
Enforcement Servers.
Sentriant AG Users' Guide, Version 5.0
myCheckSoftwareNotAllowed.py
installCustomTests
System Administration
file, copy it to
command
307

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sentriant ag

Table of Contents