infobloxopen / infoblox-client

Infoblox NIOS Python WAPI Client
Apache License 2.0
142 stars 104 forks source link

Not Getting the list of values in ENUM type Extensible Attributes #371

Open nikhilsharma343 opened 1 year ago

nikhilsharma343 commented 1 year ago

Hi, I am not able to sort out how we can pull the list of values in ENUM type Extensible Attributes. I used below to get the EA Defination but couldn't sort this:

fcv=objects.EADefinition.search(conn, name='subnetInfo') DEBUG:infoblox_client.connector:Sending get request to https://gridmaster-lab.xyz.com/wapi/v2.1/extensibleattributedef?name=subnetInfo&_return_fields=comment%2Cdefault_value%2Cname%2Ctype with parameters {'timeout': 10, 'headers': {'Content-type': 'application/json'}, 'verify': False} DEBUG:urllib3.connectionpool:Resetting dropped connection: gridmaster-lab.xyz.com DEBUG:urllib3.connectionpool:https://gridmaster-lab.xyz.com:443 "GET /wapi/v2.1/extensibleattributedef?name=subnetInfo&_return_fields=comment%2Cdefault_value%2Cname%2Ctype HTTP/1.1" 200 None

print(fcv.list_values) None