SSO Login is being implemented on this site. Existing users: Your existing password must be reset the first time you login using SSO. Click here to reset your password first before login. Your new username will be your email.

API & Integration, DevOps,NetOps,SecOps


How to import Leaf Network column from Infoblox with Python API?

Posts: 1
551     0



I'm trying to import the network and some other fields to my database in SQL but only the values from the Leaf Network column are shown as NULL. I'm using a python script to do all the importing and I call the fields like this: 

answer = infoblox_query('network', {'_return_fields+': 'network,comment,extattrs', '*Status': 'Active'})

for network in answer:
    data = [network.get('comment'),
    network['extattrs'].get('SiteID', {}).get('value'),
    network['extattrs'].get('Site', {}).get('value'),
    network['extattrs'].get('Country', {}).get('value'),
    network['extattrs'].get('Status', {}).get('value'),
    network['extattrs'].get('VLAN', {}).get('value'),

    network['extattrs'].get('Leaf Network', {}).get('value')]


The other fields like SiteID, Site, Country,etc are working fine. So I don't know if there's another way to call the Leaf Network column or if I have to do it differently.


I hope you can help me, I have days dealing with this but without success.

Showing results for 
Search instead for 
Did you mean: 

Recommended for You

Businesses are investing heavily into securing company resources from cyber-attacks form cybercrimin