Forum Discussion

Masoud_pourshab's avatar
Masoud_pourshab
Icon for Nimbostratus rankNimbostratus
Jul 08, 2018

Error which creating a VIP

Hello all, Can someone help to correct this code? I receive error when I run the following:

 

from import ManagementRoot

 

bigip = ManagementRoot("", "", "*******")

 

myvirtual = bigip.tm.ltm.virtuals.virtual.create(name=["SDK-Creation-VIP"],

 

description=["vip-through-SDK"],

 

destination="%s:%s" % (["5.5.5.5"], ["899"]),

 

ipProtocol=["tcp"],

 

pool=["test5-http-pool_python"])

 

The pool already exists. Error is on pool line.

 

Thank you,