Forum Discussion
RAQS
Cirrus
Aug 28, 2019How to automate LB VIP Creation
Hi Team, Greetings for the day! How can i automate LB VIP creation (Full setup - like to deploy new application behind LB.). Is this can be done via any script ot by F5 itself ? Or, do i ...
RAQS
Cirrus
Sep 10, 2019Thanks Andy for sharing an article and sorry for delay response .
Can you please let me know where should i run below code :- (like normally we run on CLI of F5)
curl -sku admin:admin https://<host>/mgmt/tm/ltm/virtual -H "Content-Type: application/json" -X POST
-d '{"name": "vs", \
"destination": "10.10.10.10:10", \
"mask": "255.255.255.255", \
"pool": "CentOS-all80", \
"persist": [ {"name": "cookie"} ], \
"profilesReference": {"items": [ {"context": "all", "name": "http"}, {"context": "all", "name": "tcp"}, {"context": "clientside", "name": "clientssl"}] }, \
"rules": [ "ShowVersion" ], \
"sourceAddressTranslation": {"type": "automap"} }'
Regards,
ShashankS