Forum Discussion
Diga_171140
Nimbostratus
Apr 06, 2016How to create Virtual server in GTM using Python payload methond ?
Hi , I have tried below code for creating VS in GTM under GSLB Server, but getting 403 error, can some please help. import requests, json, time
BIGIP_ADDRESS = '1.1.1.1'...
Diga_171140
Nimbostratus
Apr 09, 2016 def create_VS(bigip,name,address,port):
payload = {}
define test virtual
payload['kind'] = "tm:gtm:server:virtual-servers:virtual-serversstate"
payload['name'] = name
payload['destination'] = "%s:%s" % (address, port)
print (payload)
bigip.post('https://gtm.gtm.com/mgmt/tm/gtm/server/LTM-test01/virtual-servers/', data=json.dumps(payload))
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
