How to adjust VIP setting from an iApp
Hi,
I have to adjust virtual-address settings from an iApp.
The iApp create a single VS, with an unused destination-IP. So the associated VIP is automatically created. But I have to advertise this IP inside OSPF, so I would-like to do this in the iApp.
If I use this line :
iapp::conf create ltm virtual-address /Common/${::vs__vip} route-advertisement enabled
the VIP is created with required parameters, but the virtual-ip is depending on the application :
without1.1.1.6
iapp::conf create ltm virtual-address
with1.1.1.10
iapp::conf create ltm virtual-address
And the VIP cannot be modified, either inside or outside the iApp (changing traffic-group of the iApp or of the VIP for example) because of the application dependence.
Do you know how to set default VIP settings ? Like advertisement, arp, etc.
Thank you for your responses,
Adding "app-service none" to the virtual-address command will detach it from the iapp, allowing you to modify it at-will later on. (Note that since it is no longer managed by the iapp, the virtual-address will not be deleted when the iapp is deleted.)
iapp::conf create ltm virtual-address /Common/$::vs__vip route-advertisement enabled app-service none