The above-table controls perform actions based on items like the currently selected table records. The above-table buttons are configured in the <controls> child element of <node-management>. Supported elements are listed below. Note that some buttons are only valid for a particular record type (node or VM). Buttons disable themselves when their surrounding context is invalid such as if the button requires a selected record but no table record is selected, or if the type of the selected record doesn't apply to the button.
To configure a button's icon, label, or tooltip
Several above-table buttons have already been configured. The buttons you may configure are:
Button | Description |
---|---|
<power-off> | Powers off selected nodes |
<power-on> | Powers on selected nodes |
<refresh> | Refreshes the table and any open details panel |
<reprovision> | Reprovisions all selected nodes |
<show-pending-actions> | Redirects to the pending actions page for the currently-selected node |
<modify-host-reservations> | Displays a popup listing all host-based reservations that include the selected node in their host expression. Users can then remove reservations from the node by either shrinking them or by deleting them if they exist only on the selected node. |
<remove-admin-reservations> | Removes all host-based user reservations from the selected nodes. If these reservations would then become empty, they are deleted instead. |
You may also insert any other desired buttons that area not already configured.
<power-off> <permissions> <permission name="node.update" /> </permissions> </power-off>
In this example, a user can use the power-off button only if she/he has the node.update permissions.
Related topics