sample data for DNS

This commit is contained in:
Adam Young 2010-10-15 15:46:44 -04:00
parent 476d1947a9
commit 88c88d9504
2 changed files with 448 additions and 201 deletions

View File

@ -0,0 +1,110 @@
{
"error": null,
"id": 6,
"result": {
"count": 11,
"result": [
{
"dn": "idnsname=ayoung.boston.devel.redhat.com,cn=dns,dc=ayoung,dc=boston,dc=devel,dc=redhat,dc=com",
"idnsname": [
"ayoung.boston.devel.redhat.com"
],
"nsrecord": [
"ipa.ayoung.boston.devel.redhat.com."
]
},
{
"arecord": [
"192.168.122.81"
],
"dn": "idnsname=ipa,idnsname=ayoung.boston.devel.redhat.com,cn=dns,dc=ayoung,dc=boston,dc=devel,dc=redhat,dc=com",
"idnsname": [
"ipa"
]
},
{
"dn": "idnsname=_ldap._tcp,idnsname=ayoung.boston.devel.redhat.com,cn=dns,dc=ayoung,dc=boston,dc=devel,dc=redhat,dc=com",
"idnsname": [
"_ldap._tcp"
],
"srvrecord": [
"0 100 389 ipa"
]
},
{
"dn": "idnsname=_kerberos,idnsname=ayoung.boston.devel.redhat.com,cn=dns,dc=ayoung,dc=boston,dc=devel,dc=redhat,dc=com",
"idnsname": [
"_kerberos"
],
"txtrecord": [
"AYOUNG.BOSTON.DEVEL.REDHAT.COM"
]
},
{
"dn": "idnsname=_kerberos._tcp,idnsname=ayoung.boston.devel.redhat.com,cn=dns,dc=ayoung,dc=boston,dc=devel,dc=redhat,dc=com",
"idnsname": [
"_kerberos._tcp"
],
"srvrecord": [
"0 100 88 ipa"
]
},
{
"dn": "idnsname=_kerberos._udp,idnsname=ayoung.boston.devel.redhat.com,cn=dns,dc=ayoung,dc=boston,dc=devel,dc=redhat,dc=com",
"idnsname": [
"_kerberos._udp"
],
"srvrecord": [
"0 100 88 ipa"
]
},
{
"dn": "idnsname=_kerberos-master._tcp,idnsname=ayoung.boston.devel.redhat.com,cn=dns,dc=ayoung,dc=boston,dc=devel,dc=redhat,dc=com",
"idnsname": [
"_kerberos-master._tcp"
],
"srvrecord": [
"0 100 88 ipa"
]
},
{
"dn": "idnsname=_kerberos-master._udp,idnsname=ayoung.boston.devel.redhat.com,cn=dns,dc=ayoung,dc=boston,dc=devel,dc=redhat,dc=com",
"idnsname": [
"_kerberos-master._udp"
],
"srvrecord": [
"0 100 88 ipa"
]
},
{
"dn": "idnsname=_kpasswd._tcp,idnsname=ayoung.boston.devel.redhat.com,cn=dns,dc=ayoung,dc=boston,dc=devel,dc=redhat,dc=com",
"idnsname": [
"_kpasswd._tcp"
],
"srvrecord": [
"0 100 464 ipa"
]
},
{
"dn": "idnsname=_kpasswd._udp,idnsname=ayoung.boston.devel.redhat.com,cn=dns,dc=ayoung,dc=boston,dc=devel,dc=redhat,dc=com",
"idnsname": [
"_kpasswd._udp"
],
"srvrecord": [
"0 100 464 ipa"
]
},
{
"dn": "idnsname=_ntp._udp,idnsname=ayoung.boston.devel.redhat.com,cn=dns,dc=ayoung,dc=boston,dc=devel,dc=redhat,dc=com",
"idnsname": [
"_ntp._udp"
],
"srvrecord": [
"0 100 123 ipa"
]
}
],
"summary": null,
"truncated": false
}
}

View File

@ -157,6 +157,7 @@
"add",
"del",
"find",
"import",
"show",
"tofiles"
],
@ -696,7 +697,317 @@
"uuid_attribute": ""
},
"dns": {
"__base64__": ""
"default_attributes": [
"idnsname",
"idnszoneactive",
"idnssoamname",
"idnssoarname",
"idnssoaserial",
"idnssoarefresh",
"idnssoaretry",
"idnssoaexpire",
"idnssoaminimum"
],
"label": "DNS",
"methods": [
"add",
"del",
"find",
"mod",
"show"
],
"name": "dns",
"primary_key": "idnsname",
"takes_params": [
{
"attribute": false,
"autofill": false,
"class": "Str",
"cli_name": "name",
"cli_short_name": null,
"default": null,
"doc": "Zone name (FQDN)",
"exclude": null,
"flags": [],
"hint": null,
"include": null,
"label": "Zone",
"length": null,
"maxlength": null,
"minlength": null,
"multivalue": false,
"name": "idnsname",
"pattern": null,
"pattern_errmsg": null,
"primary_key": true,
"query": false,
"required": true,
"type": "unicode"
},
{
"attribute": false,
"autofill": false,
"class": "Str",
"cli_name": "name_server",
"cli_short_name": null,
"default": null,
"doc": "Authoritative name server",
"exclude": null,
"flags": [],
"hint": null,
"include": null,
"label": "Authoritative name server",
"length": null,
"maxlength": null,
"minlength": null,
"multivalue": false,
"name": "idnssoamname",
"pattern": null,
"pattern_errmsg": null,
"primary_key": false,
"query": false,
"required": true,
"type": "unicode"
},
{
"attribute": false,
"autofill": false,
"class": "Str",
"cli_name": "admin_email",
"cli_short_name": null,
"default": null,
"doc": "administrator e-mail address",
"exclude": null,
"flags": [],
"hint": null,
"include": null,
"label": "administrator e-mail address",
"length": null,
"maxlength": null,
"minlength": null,
"multivalue": false,
"name": "idnssoarname",
"pattern": null,
"pattern_errmsg": null,
"primary_key": false,
"query": false,
"required": true,
"type": "unicode"
},
{
"attribute": false,
"autofill": false,
"class": "Int",
"cli_name": "serial",
"cli_short_name": null,
"default": null,
"doc": "SOA serial",
"exclude": null,
"flags": [],
"hint": null,
"include": null,
"label": "SOA serial",
"maxvalue": null,
"minvalue": null,
"multivalue": false,
"name": "idnssoaserial",
"primary_key": false,
"query": false,
"required": false,
"type": "int"
},
{
"attribute": false,
"autofill": false,
"class": "Int",
"cli_name": "refresh",
"cli_short_name": null,
"default": null,
"doc": "SOA refresh",
"exclude": null,
"flags": [],
"hint": null,
"include": null,
"label": "SOA refresh",
"maxvalue": null,
"minvalue": null,
"multivalue": false,
"name": "idnssoarefresh",
"primary_key": false,
"query": false,
"required": false,
"type": "int"
},
{
"attribute": false,
"autofill": false,
"class": "Int",
"cli_name": "retry",
"cli_short_name": null,
"default": null,
"doc": "SOA retry",
"exclude": null,
"flags": [],
"hint": null,
"include": null,
"label": "SOA retry",
"maxvalue": null,
"minvalue": null,
"multivalue": false,
"name": "idnssoaretry",
"primary_key": false,
"query": false,
"required": false,
"type": "int"
},
{
"attribute": false,
"autofill": false,
"class": "Int",
"cli_name": "expire",
"cli_short_name": null,
"default": null,
"doc": "SOA expire",
"exclude": null,
"flags": [],
"hint": null,
"include": null,
"label": "SOA expire",
"maxvalue": null,
"minvalue": null,
"multivalue": false,
"name": "idnssoaexpire",
"primary_key": false,
"query": false,
"required": false,
"type": "int"
},
{
"attribute": false,
"autofill": false,
"class": "Int",
"cli_name": "minimum",
"cli_short_name": null,
"default": null,
"doc": "SOA minimum",
"exclude": null,
"flags": [],
"hint": null,
"include": null,
"label": "SOA minimum",
"maxvalue": null,
"minvalue": null,
"multivalue": false,
"name": "idnssoaminimum",
"primary_key": false,
"query": false,
"required": false,
"type": "int"
},
{
"attribute": false,
"autofill": false,
"class": "Int",
"cli_name": "ttl",
"cli_short_name": null,
"default": null,
"doc": "SOA time to live",
"exclude": null,
"flags": [],
"hint": null,
"include": null,
"label": "SOA time to live",
"maxvalue": null,
"minvalue": null,
"multivalue": false,
"name": "dnsttl",
"primary_key": false,
"query": false,
"required": false,
"type": "int"
},
{
"attribute": false,
"autofill": false,
"class": "StrEnum",
"cli_name": "class",
"cli_short_name": null,
"default": null,
"doc": "SOA class",
"exclude": null,
"flags": [],
"hint": null,
"include": null,
"label": "SOA class",
"multivalue": false,
"name": "dnsclass",
"primary_key": false,
"query": false,
"required": false,
"type": "unicode",
"values": [
"IN",
"CS",
"CH",
"HS"
]
},
{
"attribute": false,
"autofill": true,
"class": "Flag",
"cli_name": "allow_dynupdate",
"cli_short_name": null,
"default": false,
"doc": "allow dynamic update?",
"exclude": null,
"falsehoods": [
0,
"0",
"false"
],
"flags": [],
"hint": null,
"include": null,
"label": "allow dynamic update?",
"multivalue": false,
"name": "idnsallowdynupdate",
"primary_key": false,
"query": false,
"required": true,
"truths": [
"1",
1,
"true"
],
"type": "bool"
},
{
"attribute": false,
"autofill": false,
"class": "Str",
"cli_name": "update_policy",
"cli_short_name": null,
"default": null,
"doc": "BIND update policy",
"exclude": null,
"flags": [],
"hint": null,
"include": null,
"label": "BIND update policy",
"length": null,
"maxlength": null,
"minlength": null,
"multivalue": false,
"name": "idnsupdatepolicy",
"pattern": null,
"pattern_errmsg": null,
"primary_key": false,
"query": false,
"required": false,
"type": "unicode"
}
]
},
"group": {
"attribute_members": {
@ -2868,6 +3179,31 @@
"query": false,
"required": true,
"type": "unicode"
},
{
"attribute": false,
"autofill": false,
"class": "Bytes",
"cli_name": "certificate",
"cli_short_name": null,
"default": null,
"doc": "Base-64 encoded server certificate",
"exclude": null,
"flags": [],
"hint": null,
"include": null,
"label": "Certificate",
"length": null,
"maxlength": null,
"minlength": null,
"multivalue": false,
"name": "usercertificate",
"pattern": null,
"pattern_errmsg": null,
"primary_key": false,
"query": false,
"required": false,
"type": "str"
}
],
"uuid_attribute": "ipauniqueid"
@ -2951,205 +3287,6 @@
"query": false,
"required": false,
"type": "unicode"
},
{
"attribute": false,
"autofill": false,
"class": "Bytes",
"cli_name": "certificate",
"cli_short_name": null,
"default": null,
"doc": "Base-64 encoded server certificate",
"exclude": null,
"flags": [],
"hint": null,
"include": null,
"label": "Certificate",
"length": null,
"maxlength": null,
"minlength": null,
"multivalue": false,
"name": "usercertificate",
"pattern": null,
"pattern_errmsg": null,
"primary_key": false,
"query": false,
"required": false,
"type": "str"
},
{
"attribute": false,
"autofill": false,
"class": "Str",
"cli_name": "issuer",
"cli_short_name": null,
"default": null,
"doc": "Issuer",
"exclude": null,
"flags": [
"no_update",
"no_create",
"no_search"
],
"hint": null,
"include": null,
"label": "Issuer",
"length": null,
"maxlength": null,
"minlength": null,
"multivalue": false,
"name": "issuer",
"pattern": null,
"pattern_errmsg": null,
"primary_key": false,
"query": false,
"required": false,
"type": "unicode"
},
{
"attribute": false,
"autofill": false,
"class": "Str",
"cli_name": "valid_not_before",
"cli_short_name": null,
"default": null,
"doc": "Not Before",
"exclude": null,
"flags": [
"no_update",
"no_create",
"no_search"
],
"hint": null,
"include": null,
"label": "Not Before",
"length": null,
"maxlength": null,
"minlength": null,
"multivalue": false,
"name": "valid_not_before",
"pattern": null,
"pattern_errmsg": null,
"primary_key": false,
"query": false,
"required": false,
"type": "unicode"
},
{
"attribute": false,
"autofill": false,
"class": "Str",
"cli_name": "valid_not_after",
"cli_short_name": null,
"default": null,
"doc": "Not After",
"exclude": null,
"flags": [
"no_update",
"no_create",
"no_search"
],
"hint": null,
"include": null,
"label": "Not After",
"length": null,
"maxlength": null,
"minlength": null,
"multivalue": false,
"name": "valid_not_after",
"pattern": null,
"pattern_errmsg": null,
"primary_key": false,
"query": false,
"required": false,
"type": "unicode"
},
{
"attribute": false,
"autofill": false,
"class": "Str",
"cli_name": "md5_fingerprint",
"cli_short_name": null,
"default": null,
"doc": "Fingerprint (MD5)",
"exclude": null,
"flags": [
"no_update",
"no_create",
"no_search"
],
"hint": null,
"include": null,
"label": "Fingerprint (MD5)",
"length": null,
"maxlength": null,
"minlength": null,
"multivalue": false,
"name": "md5_fingerprint",
"pattern": null,
"pattern_errmsg": null,
"primary_key": false,
"query": false,
"required": false,
"type": "unicode"
},
{
"attribute": false,
"autofill": false,
"class": "Str",
"cli_name": "sha1_fingerprint",
"cli_short_name": null,
"default": null,
"doc": "Fingerprint (SHA1)",
"exclude": null,
"flags": [
"no_update",
"no_create",
"no_search"
],
"hint": null,
"include": null,
"label": "Fingerprint (SHA1)",
"length": null,
"maxlength": null,
"minlength": null,
"multivalue": false,
"name": "sha1_fingerprint",
"pattern": null,
"pattern_errmsg": null,
"primary_key": false,
"query": false,
"required": false,
"type": "unicode"
},
{
"attribute": false,
"autofill": false,
"class": "Str",
"cli_name": "serial_number",
"cli_short_name": null,
"default": null,
"doc": "Serial number",
"exclude": null,
"flags": [
"no_update",
"no_create",
"no_search"
],
"hint": null,
"include": null,
"label": "Serial number",
"length": null,
"maxlength": null,
"minlength": null,
"multivalue": false,
"name": "serial_number",
"pattern": null,
"pattern_errmsg": null,
"primary_key": false,
"query": false,
"required": false,
"type": "unicode"
}
],
"uuid_attribute": "ipauniqueid"
@ -4337,4 +4474,4 @@
}
}
}
}
}