Quantcast
Channel: VMware Communities : Discussion List - vRealize Orchestrator
Viewing all articles
Browse latest Browse all 6251

How to parse actionResult from InfoBlox Plugin action "getNetwork"?

$
0
0

New to vCO and still learning!!!

Using the Infoblox Plugin and after creating a record and getting the assigned IP back, I need to obtain more information, like router, DNS1, DNS2, etc...  I am using the getNetwork action from the plugin which returns:

DynamicWrapper (Instance) : [IpamNetwork]-[class com.infoblox.ipam.model.objects.IpamNetwork] -- VALUE : IpamNetwork [ipAddress=10.24.1.0, cidr=24, networkView=default, comment=Network Lab [TestT], extensibleAttributes=[IpamExtensibleAttribute [name=City, type=STRING, value=Emerald], IpamExtensibleAttribute [name=SiteCode, type=STRING, value=02PB]], dhcpOptions=IpamDhcpOptions [routers=null, domainNameServers=[10.42.17.50, 10.42.17.51], domainName=testt.net, domainSearch=null, netbiosNameServers=null]]

 

How do I parse out routers, domainNameServers IPs, and domainName?

 

 

Thanks!!!


Viewing all articles
Browse latest Browse all 6251

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>