<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 24, 2016 at 5:46 AM, Karanbir Singh <span dir="ltr"><<a href="mailto:mail-lists@karan.org" target="_blank">mail-lists@karan.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 23/02/16 11:34, Vishwanath Bhat wrote:<br>
<br>
> Right now duffy apis like node/get and inventory gives us the hostnames<br>
> and IP of the machines. But it gives short hostnames and not the<br>
> resolvable FQDNs. It is a simple workaround to make it to FQDN. But<br>
> still It would be good to have duffy return the resolvable FQDNs.<br>
<br>
</span>have you looked at the cico client that David has been working on (<br>
<a href="https://github.com/dmsimard/python-cicoclient" rel="noreferrer" target="_blank">https://github.com/dmsimard/python-cicoclient</a> ), that would abstract a<br>
lot of this away from your side.<br></blockquote><div><br></div><div>Yes, I am using cico already. It returns short hostnames as returned by duffy. Right now I have patched it to return FQDN. Perhaps I will send a PR for this. <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
The /Inventory call, as its setup right now really needs a rethink<br>
overall. But I'll take your point onboard and see if we can fix this in<br>
the interim ( without breaking any of the other stuff ).<br></blockquote><div><br></div><div>As I said, we have the simple workaround. But it would be good to have duffy itself return the resolvable hostname.<br><br></div><div>Best Regards,<br></div><div>Vishwanath<br><br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
regards<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Karanbir Singh<br>
+44-207-0999389 | <a href="http://www.karan.org/" rel="noreferrer" target="_blank">http://www.karan.org/</a> | <a href="http://twitter.com/kbsingh" rel="noreferrer" target="_blank">twitter.com/kbsingh</a><br>
GnuPG Key : <a href="http://www.karan.org/publickey.asc" rel="noreferrer" target="_blank">http://www.karan.org/publickey.asc</a><br>
_______________________________________________<br>
Ci-users mailing list<br>
<a href="mailto:Ci-users@centos.org">Ci-users@centos.org</a><br>
<a href="https://lists.centos.org/mailman/listinfo/ci-users" rel="noreferrer" target="_blank">https://lists.centos.org/mailman/listinfo/ci-users</a><br>
</font></span></blockquote></div><br></div></div>