+
+ case 'reboot-node-with-pcu': {
+ $node_id=intval($_POST['node_id']);
+ $hostname= $_POST['hostname'];
+
+ $ret = $api->RebootNodeWithPCU( $node_id );
+ $error= $api->error();
+
+ if( empty( $error ) ) {
+ drupal_set_message("Reboot node $hostname: $ret");
+ plc_redirect(l_node($node_id));
+ } else {
+ drupal_set_error($error);
+ }
+ break;
+ }