04-08-2018 10:10 AM - edited 04-08-2018 07:02 PM
I'm using the Infoblox plugin for vRA v. 4.0.1. on vRA 7.3. I'm trying to search networks based on EA's. When i create local attributes and assign the InfobloxIPAM:IpamExtensibleAttributeDefinition and InfobloxIPAM:IpamSearchComparisonType on the attribute, the search works like a champ. Where i am having issues is i want to create these variable types in an action, i have no way of initializing the variable an/or assigning the definition and comparison type i want to use. I have tried to create them like typical types:
var searchEa1Comparison = new IpamSearchComparisonType();
but i have no idea how to initialize them so they aren't null or empty and then assign the correct info i want to them so i can execute the search.
Any help would be greatly appreciated!
Solved! Go to Solution.
04-08-2018 07:01 PM
OK. So, i figured out how to set the InfobloxIPAM:IpamExtensibleAttributeDefinition manually. I still haven't figured out how to set the InfobloxIPAM:IpamSearchComparisonType though.
I need for it to be set to EQUAL.
04-10-2018 09:50 AM
So, thanks to Brandon Saxe over at vmware, i now know how to assign the IpamSearchComparisonType.
It looks like this:
Putting this out here for someone else who may run across the same issue.