<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
On 06/21/2011 08:15 AM, Jan Cholasta wrote:
<blockquote cite="mid:4E008B7B.6020404@redhat.com" type="cite">This
patch adds a new option name_from_ip to dnszone commands. Default
value of idnsname is created from this option.
<br>
<br>
Honza
<br>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Freeipa-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Freeipa-devel@redhat.com">Freeipa-devel@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/freeipa-devel">https://www.redhat.com/mailman/listinfo/freeipa-devel</a></pre>
</blockquote>
Some questions:<br>
<br>
Is the field name_from_ip conditional? I assume that either we want
to provide the name, or calculate the name from the IP address. <br>
<br>
Should the field be a checkbox?<br>
<br>
Will you code to calculate the reverse zone for an IPv6 Address work
for the shorthand notation like this?<br>
<br>
feco:aaaa:bbbb::1111<br>
<br>
What is the point of the code <br>
+ while True:<br>
+ default = self.get_default(**params)<br>
+ if len(default) == 0:<br>
+ break<br>
+ params.update(default)<br>
<br>
I am guessing that there is no risk of an infinite loop here. Just
seems like this code is meant to run for things other than dns.<br>
<br>
<br>
</body>
</html>