[Ci-users] duffy node/get and inventory APIs returning FQDN hostnames

Karanbir Singh mail-lists at karan.org
Wed Feb 24 00:16:51 UTC 2016


On 23/02/16 11:34, Vishwanath Bhat wrote:

> Right now duffy apis like node/get and inventory gives us the hostnames
> and IP of the machines. But it gives short hostnames and not the
> resolvable FQDNs. It is a simple workaround to make it to FQDN. But
> still It would be good to have duffy return the resolvable FQDNs.

have you looked at the cico client that David has been working on (
https://github.com/dmsimard/python-cicoclient ), that would abstract a
lot of this away from your side.

The /Inventory call, as its setup right now really needs a rethink
overall. But I'll take your point onboard and see if we can fix this in
the interim ( without breaking any of the other stuff ).

regards


-- 
Karanbir Singh
+44-207-0999389 | http://www.karan.org/ | twitter.com/kbsingh
GnuPG Key : http://www.karan.org/publickey.asc



More information about the Ci-users mailing list