Re: [Freeipa-devel] [design] add nsupdate output format to dns-update-system-records

2017-01-27 Thread Petr Vobornik
On 01/27/2017 01:37 PM, Martin Basti wrote:
> Hello all,
> 
> I'm working on adding support of nsupdate format to output of `ipa
> dns-update-system-records` command, that will allow to copy&paste output
> to nsupdate utility and update IPA DNS records on external server. I
> propose following:
> 
> 1) new option --nsupdate-format
> 
> This option will replace standard output with nsupdate format output.
> Feel free to propose better name.
> 
> 
> 2) client or server side plugin?
> 
> I'd like to implement this behavior only at client side. But this will
> not work in cases when only server api or RPC calls are used. Do you
> think that we should support this uses case (in server side plugin)?
> 
> 
> Martin
> 


The main ideal was to allow piping into nsupdate. i don't remember if
server side returns in human readable form or in structured way. If in
structured, then implementation in client side plugin would make better
sense.

+1 to Alexander on '--out nsupdate' option

-- 
Petr Vobornik

-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code


Re: [Freeipa-devel] [design] add nsupdate output format to dns-update-system-records

2017-01-27 Thread Alexander Bokovoy
Top post (sorry). 

Is suggest use --out option and document that it writes nsupdate-compatible 
content.



- Martin Basti  wrote:
> Hello all,
> 
> I'm working on adding support of nsupdate format to output of `ipa 
> dns-update-system-records` command, that will allow to copy&paste output 
> to nsupdate utility and update IPA DNS records on external server. I 
> propose following:
> 
> 1) new option --nsupdate-format
> 
> This option will replace standard output with nsupdate format output. 
> Feel free to propose better name.
> 
> 
> 2) client or server side plugin?
> 
> I'd like to implement this behavior only at client side. But this will 
> not work in cases when only server api or RPC calls are used. Do you 
> think that we should support this uses case (in server side plugin)?
> 
> 
> Martin
> 
> -- 
> Manage your subscription for the Freeipa-devel mailing list:
> https://www.redhat.com/mailman/listinfo/freeipa-devel
> Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

-- 
/ Alexander Bokovoy

-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code


[Freeipa-devel] [design] add nsupdate output format to dns-update-system-records

2017-01-27 Thread Martin Basti

Hello all,

I'm working on adding support of nsupdate format to output of `ipa 
dns-update-system-records` command, that will allow to copy&paste output 
to nsupdate utility and update IPA DNS records on external server. I 
propose following:


1) new option --nsupdate-format

This option will replace standard output with nsupdate format output. 
Feel free to propose better name.



2) client or server side plugin?

I'd like to implement this behavior only at client side. But this will 
not work in cases when only server api or RPC calls are used. Do you 
think that we should support this uses case (in server side plugin)?



Martin

--
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code