Creating drive definition file – H3C Technologies H3C Intelligent Management Center User Manual

Page 487

Advertising
background image

473

<default>CiscoIOSGeneric</default> <!-note 2>

<adapter name="CiscoIOSGeneric"> <!—note 3>

<description>Cisco routers,800,1700 IOS version 12.x</description>

<!—note 4>

<sysOID>1.3.6.1.4.1.9.1.17</sysOID> <!—note 5>

<sysOID>1.3.6.1.4.1.9.1.208</sysOID> <!—note 5>

<sysOID>1.3.6.1.4.1.9.1.185</sysOID>

</adapter>

<adapter name="CiscoIOS12K"> <!—note 6>

<description>Cisco routers, 12000 series (GSR), IOS version 12.x</description>

<sysOID>1.3.6.1.4.1.9.1.45</sysOID>

<sysOID>1.3.6.1.4.1.9.1.46</sysOID>

</adapter>

</adapters>

Note 1: Label of drives in fixed format.
Note 2: Default drive is used when the sysOID of the device does not match any of the following
drives.
Note 3: Drive name must be the same as the name of the drive folder.
Note 4: Description
Note 5: sysOIDs supported by the drive.
Note 6: Name of another drive supported by the vendor.

Creating drive definition file

Each drive folder contains various TCL/Expect files, service and action XML definition files, and Perl files

of the drive.

1.

Open the drive folder.

2.

Create a drive definition file adapter.xml.

The format of the adapter.xml file:

<adapter name="CiscoIOSGeneric">

<!—note 1>

<description>Cisco routers, 800, 1700 series, IOS version 12.x</description>

<!-note 2>

<version>1.0.0</version>

<services> <!-note 3>

<uses-adapter vendor="H3C" adapter="H3CCommon"/> <!-note 4>

<service name="CLICommon">

<!-note 5>

<item type="common">Cisco_Common_CLI.xml</item>

<!-note 6>

</service>

<service name="CleanupParser">

<!—note 7>

<item type="parser_definition">Cisco_Cleanup_Parser.xml</item>

<!—note

8>

<item type="perl_script">Cisco_Cleanup_Parser_Script.pl</item>

<!—note 9>

</service>

<service name="ConfigBackup">

<!—note 10>

Advertising