Owner's Manual
• wsman_password
• wsman_validate_cert (its value must be true or false)
update_profile
Usage:
ompc_cli update_profile [-description <description>] [<pair of protocol
property and value options>] <profile_name> [<new_profile_name>]
The update_profile command updates an existing discovery profile identified by profile_name in OMPC. The
semantics of the command options are the same as those in add_profile. The protocol property set that can be updated
depends on the protocol supported by this profile. If new_profile_name is provided, the profile_name is updated to
the new_profile_name.
add_device
Usage:
ompc_cli add_device [-device_name <device_name>] [-description <description>] [-
size <size>] [-nameplate_power <nameplate_power>] [-derated_power
<derated_power>] –device_type <SERVER | PDU | UPS | UNSUPPORTED|CHASSIS> [-
model <model>] [–profile <profile-name>] [-protocol <protocol_name>] [<pair of
protocol property and value options>] [host_name or ip]
The add_device command adds a device to OMPC by using the profile name-identified profile or by using related
protocol information directly supplied through the command option. You cannot enter –profile and –protocol at
the same time.
The device_name is optional, and if not provided, OMPC will generate a device_name (following the same rule as in
network discovery). For unsupported devices, the default auto-generated device_name is
Unsupported
. To ensure
unique identifiers, OMPC appends numbers to the device name.
The [host_name or ip] option is required, except when the device_type is
Unsupported
.
The -model option is valid only when the type is
Unsupported
.
update_device
Usage:
ompc_cli update_device [-description <description>] [-size <size>] [-
nameplate_power <nameplate_power>] [-derated_power <derated_power>] [-host_name
<host_name>] [-ip <ip>] [<pair of protocol property and value options>]
<device_name > [<new_device_name>]
The update_device command updates device information identified by its device_name. If new_device_name is
provided, the device_name will also be updated to the new_device_name. [<pair of protocol
property and value options>] depends on the protocol supported by this device.
rediscover_device
Usage:
ompc_cli rediscover_device [-service_tag <stag>] [<device_name>]
The rediscover_device command lets OMPC connect with the device and refresh properties that might be changed on
the device side (for example, power capability and device model).
25