XML schema documentation

Validator

A validator is composed of a list of Validation. The min number odf validation is 1.

Example:

<validator xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation='mibvalidation.xsd'>

<The validation list ...>

</validator>

Validation

This is the description of 1 validation. A validation is a set of attributes and actions that will be run in order to validate an SNMP agent implementation. Validations are contained in a validator.

Validation attributes

Example: All the default values are applied

<validator xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation='mibvalidation.xsd'>

<validation name="MIB II validation" description="Walkuntil the complete MIB">

...

</validator>

Validation elements

A validation contains a set of elements.

A complete validation description example

<validator xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation='mibvalidation.xsd'>

<validation>

<agent host="host1" port="8085"/>

<meta>

<oidtable class="jdmk.jvmmib.JVM_MANAGEMENT_MIBOidTable">

<excludelist>

<exclude>jvmLowMemoryPoolType</exclude>

<exclude>jvmRTInputArgsIndex</exclude>

<exclude>jvmThreadInstIndex</exclude>

<exclude>jvmMemManagerIndex</exclude>

<exclude>jvmMemPoolIndex</exclude>

</excludelist>

</oidtable>

<treelimits startoid="1.1.4" stopoid="1.1.5" request="getnext"/>

</meta>

<tables>

<tableinfo>

<oid>jvmThreadInstanceTable</oid>

<nbcolumns>11</nbcolumns>

</tableinfo>

<tableinfo>

<oid>jvmRTInputArgsTable</oid>

<nbcolumns>1</nbcolumns>

<allowempty>true</allowempty>

</tableinfo>

</tables>

<specificrequests>

<getbulk startoid="1.1.4" nbrepeaters="2"/>

<get_after_getnext>true</get_after_getnext>

</specificrequests>

</validation>

</validator>