diff --git a/xCAT-web/machines/groups.js b/xCAT-web/machines/groups.js index 2aedf687b..e5ca80f6c 100644 --- a/xCAT-web/machines/groups.js +++ b/xCAT-web/machines/groups.js @@ -7,7 +7,10 @@ $(document).ready(function(){ if (ui.tab.href.search('#rvitals-tab$') > -1) { loadVitalsTab($(ui.panel)); } if (ui.tab.href.search('#rpower-tab$') > -1) { loadRpowerTab($(ui.panel)); - } + } + if (ui.tab.href.search('#ping-tab$') > -1) { + loadPingTab($(ui.panel)); + } }}); // ends the properties passed to tabs() }); diff --git a/xCAT-web/machines/groups.php b/xCAT-web/machines/groups.php index d58ef1bca..ab68a67f6 100644 --- a/xCAT-web/machines/groups.php +++ b/xCAT-web/machines/groups.php @@ -7,7 +7,7 @@ require_once "$TOPDIR/lib/functions.php"; if (isAIX()) { $aixDisabled = 'disabled'; } insertHeader('xCAT Groups and Nodes', array("$TOPDIR/jq/jsTree/tree_component.css",'groups.css','attributes.css',"$TOPDIR/manage/dsh.css"), - array("$TOPDIR/jq/jsTree/css.js","$TOPDIR/jq/jsTree/jquery.listen.js","$TOPDIR/jq/jsTree/tree_component.js","$TOPDIR/jq/jquery.cookie.js",'noderangetree.js','groups.js','attributes.js','rvitals.js','rpower.js'), + array("$TOPDIR/jq/jsTree/css.js","$TOPDIR/jq/jsTree/jquery.listen.js","$TOPDIR/jq/jsTree/tree_component.js","$TOPDIR/jq/jquery.cookie.js",'noderangetree.js','groups.js','attributes.js','rvitals.js','rpower.js','ping.js'), array('machines','groups')); echo "
debug
";print_r($xml);echo "
debug end
";
+echo <<
+
+TAB1;
foreach ($xml->children() as $response) foreach ($response->children() as $o) {
$nodename = (string)$o->name;
if(empty($nodename)) {
@@ -33,15 +40,20 @@ foreach ($xml->children() as $response) foreach ($response->children() as $o) {
$contents = (string)$data->contents;
$desc = (string)$data->desc;
- echo "$nodename: $contentsNode Name
+Rpower Status
+
\n";
+ echo "\n";
+ echo " \n";
+
+ //echo "$nodename: $contents$nodename ";
+ echo "$contents ";
+ echo "
\n";
}
+
+echo <<
Rpower Actions
"; -//echo ""; print_r($data); echo "
\n"; echo "$nodename: $desc: $contents