Author Archives: cyruslab

[python]creating pool without F5 sdk

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 … Continue reading

Posted in Python, Scripting | Tagged , , , , | Leave a comment

[powershell]Creating access request on Tufin using REST API

This script uses a user filled in excel sheet (xlsx), the sheet contains 3 columns, source, destination and service. Since Tufin SecureChange cannot do remove or deny, asking user to choose remove or deny is meaningless. the below script has … Continue reading

Posted in Powershell, Scripting | Tagged , , , , | Leave a comment

[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:

Posted in Python, Scripting | Tagged , , | Leave a comment

Must read

This is a very in-depth guide on what hashtables can be used in powershell, must read. I have some situations which I am considering hashtables such as storing the source, destination and service to one row of firewall rule, and … Continue reading

Posted in General stuffs | Leave a comment

[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 … Continue reading

Posted in F5, Python, Scripting | Tagged , , , , | Leave a comment

[Tufin]How to send access request using REST API

The structure of the XML is not properly explained in SWAGGER, swagger is a build in helper to browse the API calls within Tufin SecureChange itself. The example presented under Post Ticket is not very practical, the entire form is … Continue reading

Posted in General stuffs | Tagged , , | Leave a comment

[python]Using F5 iControl API without 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 … Continue reading

Posted in F5, Python, Scripting | Tagged , , | Leave a comment