Forum Discussion

Robert_47833's avatar
Robert_47833
Icon for Altostratus rankAltostratus
Apr 27, 2013

icontrol to create VS

Hi,dear Icontrol

 

I want to use icontrol to create VS

 

but it seems the api

 

 

LocalLB::VirtualServer::create

need many parameters

 

I am researching one simple way,just like what "b merge"

 

hope there is a way to work it out

 

 

 

1 Reply

  • Don_MacVittie_1's avatar
    Don_MacVittie_1
    Historic F5 Account
    Hi Robbie,

     

     

    If you search DevCentral for "Create Virtual", you'll see several samples in a variety of languages/environments.

     

     

    For simplification purposes, I wrote this one in Java a couple years back precisely because it took a ton to get them created. Note that all the Virtual Bells and Whistles aren't set here, but it is easier than the norm.

     

     

    https://devcentral.f5.com/tech-tips/articles/ic2i-automation-creating-virtuals-simplified.UYFfZ8oXZuI

     

     

    Hope that helps!

     

    Don.