Forum Discussion

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

Can I change a VIP service port through SDK?

I am able to change the VIP status.

 

vip = b.tm.ltm.virtuals.virtual.load(name='test5-http-virtual_python')

 

del vip.enabled

 

vip.disabled = True

 

vip.update()

 

How can I change the service port? Thank you,