xcat-core/xCAT-web/machines/nodes_by_group.php
2007-12-03 18:16:38 +00:00

12 lines
311 B
PHP

<?php
$TOPDIR = '..';
require_once("$TOPDIR/lib/GroupNodeTable.class.php");
$nodeGroupName = @$_REQUEST["nodeGroupName"];
// Get all the nodes with node information of the group
$nodes = getNodes($nodeGroupName, array('type'));
echo GroupNodeTable::getNodeGroupSection($nodeGroupName, $nodes);
?>