VMware Cloud Community
evil242
Enthusiast
Enthusiast

Cool workflow for adding aliases to Host record using vRA/vRO 7.5 IPAM Plugin 4.x

I created a XaaS workflow using the vRA/vRO Plugin that will search your Grid Master for a specific Extensible Attribute (EA), return a list of hosts as a drop down menu, and then let you select and provide alias to update the selected host record.

Screen Shot 2020-11-09 at 2.57.05 PM.png

 

It uses Configuration Elements to set some of the default values

Screen Shot 2020-11-09 at 3.03.34 PM.png

 

Here is the run of the workflow

$ host web-host-150.localhost.internal.
web-host-150.localhost.internal has address 10.101.68.150

$ host alias1.localhost.internal
Host alias1.localhost.internal not found: 3(NXDOMAIN)

Screen Shot 2020-11-09 at 4.01.38 PM.png

 

Screen Shot 2020-11-09 at 4.01.48 PM.png

 

Screen Shot 2020-11-09 at 4.02.00 PM.png

 

Screen Shot 2020-11-09 at 4.31.33 PM.png

 

Screen Shot 2020-11-09 at 4.34.19 PM.png

 

Screen Shot 2020-11-09 at 4.37.06 PM.png

 

$ host alias1.localhost.internal
alias1.localhost.internal is an alias for web-host-1.localhost.internal.
web-host-1.localhost.internal has address 10.101.68.160

This can then be imported into vRA as an XaaS workflow:

Screen Shot 2020-11-09 at 5.01.42 PM.png

 

All of the default values from the vRO workflow get populated into the vRA XaaS workflow.. Some you might not want to pass on:

 

Screen Shot 2020-11-09 at 4.58.36 PM.png

 

These can be made "Hidden" by setting forms visible to constant "No":

 

Screen Shot 2020-11-09 at 5.00.35 PM.png

 

I would like to create another workflow to list the associated aliases of a Host Record for deletion, but unfortunately, the vRO Plugin does not provide for alias deletion.  I have Infoblox Request For Enhancement, RFE-6429, in with Infoblox development.  We'll see how far that goes.

 

Let me know if you would like me to post the workflow and actions I created for this as a vRO workflow export file

Damion Terrell  .   +  (He/Him)  +  . *  .  +   @   + .    *  .    +      .                    
Core IT Service Specialist * . + * . + . + . + * +
UNM – IT Platforms – VIS + . . . . . . . . .
. + . + * . + * .
* . . + . . . . + . + * + .
“You learn the job of the person above you, * + . + * @
and you teach your job to the person below you..” . * +
Tags (4)
Reply
0 Kudos
0 Replies