Learn F5 Technologies, Get Answers & Share Community Solutions Join DevCentral

Filter by:
  • Solution
  • Technology
Clear all filters
Answers

Python SDK create ltm monitor tcp sample

Can someone post a piece of code creating TCP LTM monitor using Python SDK?

Thanks!

0
Rate this Question

Answers to this Question

placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

First you need to decide if you want to use iControl SOAP or REST. From v9 you have iControl SOAP available, from v11.5.0 you have iControl REST.

I could not find an example about monitor, but you can get the idea from creating another object.

iControl SOAP and pyControl:

https://devcentral.f5.com/codeshare?sid=216

You don't need a SDK for iControl REST, but there is a Python SDK to simplify the things:

https://github.com/F5Networks/f5-common-python

The page has an example about how to create a pool.

0