git://git.onelab.eu
/
plewww.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f831ade
)
Add 'test' parameter to RebootNodeWithPCU
author
Stephen Soltesz
<soltesz@cs.princeton.edu>
Wed, 13 Apr 2011 21:44:51 +0000
(17:44 -0400)
committer
Stephen Soltesz
<soltesz@cs.princeton.edu>
Wed, 13 Apr 2011 21:44:51 +0000
(17:44 -0400)
planetlab/common/actions.php
patch
|
blob
|
history
diff --git
a/planetlab/common/actions.php
b/planetlab/common/actions.php
index
c4290af
..
7f751b0
100644
(file)
--- a/
planetlab/common/actions.php
+++ b/
planetlab/common/actions.php
@@
-393,8
+393,10
@@
switch ($action) {
case 'reboot-node-with-pcu': {
$node_id=intval($_POST['node_id']);
$hostname= $_POST['hostname'];
+ $test = $_POST['test'];
+ settype($test, "boolean");
- $ret = $api->RebootNodeWithPCU( $node_id );
+ $ret = $api->RebootNodeWithPCU( $node_id
, $test
);
$error= $api->error();
if( empty( $error ) ) {