xcat-core/xCAT-web/nodes_by_group.php
2007-11-24 17:44:09 +00:00

14 lines
389 B
PHP

<?php
require_once("lib/GroupNodeTable.class.php");
require_once("lib/XCAT/XCATCommand/XCATCommandRunner.class.php");
$nodeGroupName = @$_REQUEST["nodeGroupName"];
// Get all the nodes with node information of the group
$xcmdr = new XCATCommandRunner();
$nodeGroup = $xcmdr->getXCATNodeByGroupName($nodeGroupName);
echo GroupNodeTable::getNodeGroupSection($nodeGroup);
?>