04-23-2021 10:36 AM
I'm trying to retrieve all lease data for a pool of information. I only have a FQDN, i.e. device.sitenum.domain.com. I'm trying to daisy chain the following requests to get where I need to go:
1. Get host_record by FQDN to obtian IPv4Addr
2. Use IPv4Add4 to obtain network
3. Use network to obtain lease data.
So far, I can use FQDN to obtain IPV4addr, but storing it with STATE:ASSIGN gives me back an ipv4addr object like this, which I cannot extract the IP address from, to ask for the ipv4addr object, which would give me the network I want lease from:
My assign which gave me all that was: