Extending a customized function – H3C Technologies H3C Intelligent Management Center User Manual
Page 496

482
•
slot [IN] (software location)
•
Software upgrade variables
•
TFTPFile [IN] (local file name)
•
DestTFTPFile [IN] (destination file name)
•
TFTPServer [IN]
•
transfer_protocol [IN] (protocol)
•
slot [IN] (software storage location)
•
Variables for setting startup software
•
transfer_protocol [IN] (protocol)
•
slot [IN] (software storage location)
•
TFTPFile [IN] (device software name)
•
Variables for obtaining partition information
•
partion_name [OUT] (partition name)
•
free_size [OUT] (free space)
•
Variable for obtaining software version
•
image_version [OUT] (software version)
•
Variable for obtaining software location
•
image_position [OUT] (software location)
•
Variable for obtaining software size
•
TFTPFile [IN] (software version, obtained by executing the get_image_version command)
•
Slot [IN] (software location, obtained by executing the get_image_position command)
•
image_size [OUT] (software size)
Use standard Perl script language to compile the Perl script.
IMPORTANT:
After you customize the script, restart IMC to validate new functions.
Extending a customized function
IMC supports customizing new functions and can automatically generate entrance pages for the new
functions based on the definitions in the Device Configuration Guide or Interface Configuration Guide.
To enter the Device Configuration Guide or Interface Configuration Guide, use one of the following ways:
•
Select Resource > Batch Operation, and select Device Configuration Guide and Interface
Configuration Guide from Device Configuration, or
•
Select Resource > Device View. On the device list page, click More and select Device Configuration
Guide, or
•
In topology view, right-click a device and select Device Configuration Wizard, or
•
On the device interface list page, click More and select Interface Configuration Guide, or
•
Select Resource > Port Group List. On the interface list page, select Interface Configuration Guide.