Open nikhilsharma343 opened 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
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