Reply
Accepted Solution

vRA Search by EA's

[ Edited ]
SHawks
Techie
Posts: 4
1137     0

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!

Re: vRA Search by EA's

SHawks
Techie
Posts: 4
1137     0

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.

Highlighted

Re: vRA Search by EA's

SHawks
Techie
Posts: 4
1137     0

So, thanks to Brandon Saxe over at vmware, i now know how to assign the IpamSearchComparisonType.

 

It looks like this:

IpamSearchComparisonType.EQUAL

 

Real simple.  

 

Putting this out here for someone else who may run across the same issue.

 

 

Showing results for 
Search instead for 
Do you mean 

Recommended for You