H3C Technologies H3C Intelligent Management Center User Manual

Page 485

Advertising
background image

471

6 Extending and customizing functions to
support third-party devices

The IMC basic network management platform supports extending device management and

configuration functions through dynamic language scripts. You can either extend an existing function to

support third-party devices by compiling interactive scripts and XML files, or customize a function by
compiling interactive scripts, XML files, and UI configuration files.
In either way, you can define vendor, drive, service, and action scripts through XML files, define device

interaction through standard TCL\Expect scripts, and parse or process returned information through

standard Perl scripts. Before customizing a function, you must compile UI configuration files so that IMC

can automatically add the operation entrance and display pages as required.
The function extension feature makes investment in IMC rewarding in a long term, and provides powerful

regular expression processing capability by using the Expect and Perl language scripts.

IMPORTANT:

Promptly synchronize third-party device information to IMC if the device has extended or custom
functions, so IMC can use these functions for device management. For information about device
synchronization, see "

Synchronize

."

Extending an existing function to support third-party
devices

You can extend IMC components to support third-party device management by customizing scripts. For

example, by default, the IMC Configuration Center component supports configuration file management
and software upgrade for devices of HP, Cisco, and many other vendors.
You can enable the component to support configuration file backup and deployment and software

upgrade for other third-party devices by customizing the script. By default, IMC VLAN Manager supports

VLAN management for devices of HP, Cisco, and many other vendors. You can also enable the
component to support VLAN management for other third-party devices by customizing the script.
Follow these steps to customize a third-party device process:

Create a vendor folder.

Create a drive index file and a drive folder.

Create a drive definition file.

Create various service and action definition files.

Create TCL and Perl scripts.

The content under the directory IMC\server\conf\adapters\ICC can be used as a reference. The

following example illustrates how to extend Configuration Center to support Cisco devices.

Advertising