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
I am experimenting myself, I have not worked with json type before, I worked frequently with the xml type, I will need to learn how to parse json type data to get meaningful output.. here's the sample code to test on GET.
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
I am extending my demo script to demonstrate the viability to use iControl with our orchestrator for automatic F5 load balancer server provisioning. I need to write a function to enumerate the pools and virtual servers, and here is how it is done. See the basic concept of F5 SDK here: https://f5-sdk.readthedocs.io/en/latest/userguide/basics.html The collection has … Continue reading [python]Working with F5 iControl API on listing the virtual servers and pools
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