[Freeipa-devel] [PATCH] 039 Delete the whole DNS record with no parameters

Jakub Hrozek jhrozek at redhat.com
Mon Jan 24 14:51:35 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/22/2011 02:28 AM, Adam Young wrote:
> Does any of this imply that we shopuld change the WebUI handling of Zone
> or Record deletes?

Sorry, I don't know enough about the WebUI to give an authoritative
answer. I'll try to summarize the changes I did, if it doesn't answer
your question, please catch me on IRC :-)

The only change to the API is a new option "del_all" that specifies that
the caller wants to delete the whole DNS record.

Calling dnsrecord-add and dnsrecord-del with no options is now
disallowed. See my reply to Rob's email for more details.

The return value of dnsrecord-del changed for the case the whole record
is deleted - now it returns the same value other -del commands do, which
in the Python CLI world is a dictionary that contains entries we failed
to delete.

	Jakub
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk09kfcACgkQHsardTLnvCXklgCg0qCPgt3RLKOjExvR0HcD/bgN
Uo4AmgJkeLFBhKFfMV/2tnmjkrgGYtqY
=uN9v
-----END PGP SIGNATURE-----




More information about the Freeipa-devel mailing list