-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
45 lines
1.3 KiB
JSON
45 lines
1.3 KiB
JSON
{
|
|
"error": null,
|
|
"id": 0,
|
|
"result": {
|
|
"count": 2,
|
|
"result": [
|
|
{
|
|
"dn": "fqdn=vm-121.idm.lab.bos.redhat.com,cn=computers,cn=accounts,dc=idm,dc=lab,dc=bos,dc=redhat,dc=com",
|
|
"enrolledby": [],
|
|
"fqdn": [
|
|
"vm-121.idm.lab.bos.redhat.com"
|
|
],
|
|
"krbprincipalname": [
|
|
"host/vm-121.idm.lab.bos.redhat.com@IDM.LAB.BOS.REDHAT.COM"
|
|
],
|
|
"memberof": []
|
|
},
|
|
{
|
|
"description": [
|
|
"sample host"
|
|
],
|
|
"dn": "fqdn=ayounghost1.idm.lab.bos.redhat.com,cn=computers,cn=accounts,dc=idm,dc=lab,dc=bos,dc=redhat,dc=com",
|
|
"enrolledby": [],
|
|
"fqdn": [
|
|
"ayounghost1.idm.lab.bos.redhat.com"
|
|
],
|
|
"l": [
|
|
"VM-lab"
|
|
],
|
|
"memberof": [],
|
|
"nshardwareplatform": [
|
|
"kvm"
|
|
],
|
|
"nshostlocation": [
|
|
"VM-lab"
|
|
],
|
|
"nsosversion": [
|
|
"F13"
|
|
]
|
|
}
|
|
],
|
|
"summary": "2 hosts matched",
|
|
"truncated": false
|
|
}
|
|
} |