Users Guide

If “/” is provided as GROUP_PATH, the CLI lists the devices at the root level.
list_group_props
Usage:
ompc_cli list_group_props GROUP_PATH
The list_group_props command lists all properties for a group identified by GROUP_PATH. Properties
include group_type (DC, room, rack, aisle, etc.), description, and additional properties unique to that
group type. For example, for rack, the additional properties include capacity and total power capacity.
This command does not apply to “/”.
list_groups
Usage:
ompc_cli list_groups [-unique] [GROUP_PATH]
The list_groups command lists all child groups for the GROUP_PATH (immediate only). If no GROUP_PATH
is supplied, the CLI lists all group paths or all unique groups in OMPC. Properties include the fully-
qualified group name, group type, and member_count. The member_count property is the number of
devices and groups immediately under the child group.
[-unique] has no impact if GROUP_PATH is provided.
If “/” is provided as GROUP_PATH, then the CLI lists the groups at root level.
A group might have multiple fully-qualified group names. When [-unique] is provided, the CLI lists all
unique groups; otherwise, the CLI lists all group paths.
Example output for list_groups:
group_name, group_type, member_count
myservers/mygroup, Room, 20
list_report_groups
Usage:
ompc_cli list_report_groups
The list_report_groups command is used to list all report groups. Each report group is output in one row
containing these fields: report_group_name, description and created_by.
list_reports
Usage:
ompc_cli list_reports [REPORT_GROUP]
40