xcat-core/xCAT-web/nodes_by_group.php

15 lines
424 B
PHP
Raw Normal View History

<?php
require_once("globalconfig.php");
require_once("lib/GroupNodeTable.class.php");
require_once("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::getXCATNodeGroupSection($nodeGroup);
?>