Validating and Testing Imported Device Support Bundles
Note
If a device of the desired type is not currently discovered by NetMRI, the Test option in Device Support Bundles is disabled.
You can test new or currently installed Device Support Bundles. Validation functions, which test the bundled files for syntax errors and for well-formed XML syntax, include the following:
- Validate a DSB XML file against a pre-defined W3C XML schema;
- Validate a CCS file against syntax errors;
- Validate a Perl file against syntax errors.
In a separate operation, NetMRI also tests the DSB against a live device. In the GUI, NetMRI allows users to select a Device Support Bundle, and choose a live device to test against (this device must be discovered and managed by NetMRI). The test includes SNMP and CLI sessions against the real device depending on how respective support is specified in the Device Support Bundle.
A Device Support Bundle must be installed into NetMRI before it can be validated and tested. When finished, the appliance reports the validation and testing results to the user. Should either operation fail, the corresponding status is set in the Device Support Bundles table for the DSB.
Examples in this section assume a bundle is already installed. To validate a Device Support Bundle, do the following:
- Go to the Settings icon > Setup > Device Support Bundles.
- In the Actions column, click the Actions icon for the bundle you want to test.
- From the drop-down menu, choose Validate.
Two validation tests are run: one against the XML, and one against the Perl or CCS script. - Click Close when finished.
To test a Device Support Bundle, do the following:
- In the Actions column, click the Actions icon for the bundle you want to test.
- From the drop-down menu, choose Test.
- In the Test DSB dialog, select the device against which you want to test the DSB.
- Click Test to begin.
- Click Close when finished. The test results will appear in the Device Support Bundles table.