Skip to content

List Node Groups

Supported Versions Last Updated
1.2.00 & higher
json output 1.14.00 & higher
2013/04/30
Action listnodegroups
Method GET, POST
Variables

type [xen hvm|kvm]

rdtype [json] For json output specify json or for default output leave blank. This variable is optional

Example Output

XML

Success:

 <status>success</status>

<statusmsg></statusmsg>

<nodegroups>0|--none--,1|nodegroup1,2|nodegroup2,3|nodegroup3</nodegroups>

Error:

 <status>error</status>

<statusmsg>ERROR MESSAGE</statusmsg>

JSON

Success:

 {

"status":"success",

"statusmsg":"",

"nodegroups":"0|--none--,1|nodegroup1,2|nodegroup2,3|nodegroup3"

}

Error:

 {"status":"error","statusmsg":"ERROR MESSAGE"}

Back to top