This is a sample code to create a pool, I will add on option to add members on later post. This code is a function of the greater project i am planning as a personal hobby. This is the result when testing the function: Enter pool name: pool-MarvelHeroes Choose load balancing method 1 round-robin 2 … Continue reading [python]creating pool without F5 sdk
Tag: icontrol api
[python]Getting VS name and VS’ profile with iControl API
I have written two more functions to check the profile type of a virtual server, previously i tried to use F5 SDK unfortunately this SDK does not have attributes for fastL4 and fasthttp. Below are the codes:
[python]Listing items with iControl API without using F5 SDK
After I have discovered that F5 SDK could not do certain things, I have decided to learn how to call the REST APIs using request and parse the json response. The first step i am learning is to use GET after that I will use POST using the json.dumps method. This code is part of … Continue reading [python]Listing items with iControl API without using F5 SDK
[python]F5 iControl API demo
Background This demo script is to demonstrate to call F5 iCloud API with F5 SDK. The script is written in python, however I have found some limitation in using F5 SDK, best to try with direct call to the REST API by sending json template. This script took me 10hours to finish due to debugging … Continue reading [python]F5 iControl API demo
[python]Creating bigip pool and pool members with F5 icontrol
I have recently downloaded the F5 SDK which helped to use the iControl REST API easily, it has a documentation here: https://f5-sdk.readthedocs.io, there are some coding example too, however not too in depth. So i started by just trying to create a new pool and iterate the pool members. This is a sample code to … Continue reading [python]Creating bigip pool and pool members with F5 icontrol