Users Guide
remove_profile
Usage:
ompc_cli remove_profile <profile-name>
The remove_profile command removes a discovery profile.
delete_device
Usage:
ompc_cli delete_device [-service_tag <stag>] [<device_name>]
The delete_device command deletes a device. You cannot use –service_tag and device_name at the
same time.
If the device is a chassis, it is deleted like a group (if the blades in it are already enumerated). The chassis
itself is also deleted from OMPC, and is no longer visible on the Devices page.
add_group
Usage:
ompc_cli add_group [-description <description>] -group_type <DC|ROOM|AISLE|
RACK|CUSTOM > [-capacity <capacity>] [-total_power_capacity <power_capacity>]
GROUP_PATH
The add_group command adds a new group identified by GROUP_PATH. If the type is RACK, you must
supply the <capacity> option.
Forward slash (/) cannot be used as GROUP_PATH in the add_group command.
The chassis can be added to any group at any time. You can only add Chassis Management Console
(CMC) to one rack; not multiple racks.
When you add CMC to any group, the blades inside it can be enumerated.
delete_group
Usage:
ompc_cli delete_group [-preview] GROUP_PATH
The delete_group command deletes a group identified by GROUP_PATH. All devices in this group are
removed. The devices still exists on the Devices page and in other groups that contain them.
All subgroups are removed from this group. If a subgroup belongs to multiple parent groups, this
subgroup still exists in the other parent groups. If the subgroup no longer belongs to any parent group
(after being removed from the current parent), this subgroup is deleted from OMPC. This also applies to
the group itself.
If the [-preview] option is given, a summary of the groups, devices, and policies impacted is display. No
deletion occurs.
36