Files
freeipa/install/static/sampledata/hostgroup_find.json
Adam Young dde1577270 associations
-Refactored the associations code into a set of objects that are configured by the entities
    -Added support for associations that can be done in a single rpc
    -hostgroup to host and group to user associations working

    -Restructed sampledata so that the file is matched automatically by the RPC method name
    -The new ipa_cmd/sampledata scheme insists on there being sample data for any commands or the ipa_command fails.
    -Added sampledata files for all the calls we make
    -renamed several of the sampledata files to match their rpc calls

    -Started a pattern of refactoring where all the  forms for the entity fall under a single object
2010-09-07 10:08:19 -04:00

33 lines
890 B
JSON

{
"error": null,
"id": 0,
"result": {
"count": 2,
"result": [
{
"cn": [
"host-live"
],
"description": [
"Live servers"
],
"dn": "cn=host-live,cn=hostgroups,cn=accounts,dc=idm,dc=lab,dc=bos,dc=redhat,dc=com",
"member": [],
"memberof": []
},
{
"cn": [
"stage-live"
],
"description": [
"Staging servers"
],
"dn": "cn=stage-live,cn=hostgroups,cn=accounts,dc=idm,dc=lab,dc=bos,dc=redhat,dc=com",
"member": [],
"memberof": []
}
],
"summary": "2 hostgroups matched",
"truncated": false
}
}