# \#python

**URL:** https://community.f5.com/tag/python/185.md

[Latest](https://community.f5.com/latest.md) · [Categories](https://community.f5.com/categories.md) · [Tags](https://community.f5.com/tags.md)

---

## [feedService: Automate Threat Feed and Blocklist Ingestion on BIG-IP (iApp + Python)](https://community.f5.com/t/feedservice-automate-threat-feed-and-blocklist-ingestion-on-big-ip-iapp-python/77272)

<div class="topic-metadata">

**Author:** [@ReganAnderson](https://community.f5.com/u/ReganAnderson)\
**Replies:** 0\
**Last updated:** [August 4, 2026, 12:00pm UTC](https://community.f5.com/t/feedservice-automate-threat-feed-and-blocklist-ingestion-on-big-ip-iapp-python/77272 "2026-08-04T12:00:00Z")

</div>

You found the perfect threat feed. Now comes the hard part: getting it onto your BIG-IP — downloaded, validated, deduplicated, and kept current — without babysitting a fragile script that breaks the moment the feed chang…

---

## [Automating F5 Licensing - without direct internet access](https://community.f5.com/t/automating-f5-licensing-without-direct-internet-access/76060)

<div class="topic-metadata">

**Author:** [@ashrafelsayelshabany](https://community.f5.com/u/ashrafelsayelshabany)\
**Replies:** 1\
**Last updated:** [May 1, 2025, 12:03am UTC](https://community.f5.com/t/automating-f5-licensing-without-direct-internet-access/76060 "2025-05-01T00:03:11Z")

</div>

Hello DevCentral Community! I’m excited to share a project I’ve been working on recently: \*\*Automating F5 BIG-IP VE Licensing\*\* without needing direct internet access! The project covers: Retrieving a Dossier automat…

---

## [\[Sharing My Journey: Automating F5 Licensing\]](https://community.f5.com/t/sharing-my-journey-automating-f5-licensing/76048)

<div class="topic-metadata">

**Author:** [@ashrafelsayelshabany](https://community.f5.com/u/ashrafelsayelshabany)\
**Replies:** 3\
**Last updated:** [April 30, 2025, 5:09pm UTC](https://community.f5.com/t/sharing-my-journey-automating-f5-licensing/76048 "2025-04-30T17:09:38Z")

</div>

editors note: Moved to Codeshare - Automating F5 Licensing - without direct internet access | DevCentral ---Hello DevCentral Community! I’m excited to share a project I’ve been working on recently: \*\*Automating F5 BIG-…

---

## [Managing ZoneRunner Resource Records with Bigsuds](https://community.f5.com/t/managing-zonerunner-resource-records-with-bigsuds/67439)

<div class="topic-metadata">

**Author:** [@JRahm](https://community.f5.com/u/JRahm)\
**Replies:** 2\
**Last updated:** [December 18, 2024, 3:36am UTC](https://community.f5.com/t/managing-zonerunner-resource-records-with-bigsuds/67439 "2024-12-18T03:36:21Z")

</div>

Over the last several years, there have been questions internal and external on how to manage ZoneRunner (the GUI tool in F5 DNS that allows you to manage DNS zones and records) resources via the REST interface. But that…

---

## [Python script to get the SSL profile of a VIP](https://community.f5.com/t/python-script-to-get-the-ssl-profile-of-a-vip/75067)

<div class="topic-metadata">

**Author:** [@cathy\_123](https://community.f5.com/u/cathy_123)\
**Replies:** 6\
**Last updated:** [December 2, 2024, 6:52am UTC](https://community.f5.com/t/python-script-to-get-the-ssl-profile-of-a-vip/75067 "2024-12-02T06:52:43Z")

</div>

Hello guys I am creating an SSL automation and I am trying to get the ssl profile from inputted VIP.. I am using F5 rest api and I am not seeing much differences on the contents when I use this url url = f"https://{f5\_…

---

## [Python module to post and retrieve IControl Rest JSON objects for AVR statistics](https://community.f5.com/t/python-module-to-post-and-retrieve-icontrol-rest-json-objects-for-avr-statistics/68955)

<div class="topic-metadata">

**Author:** [@Mark\_Lloyd](https://community.f5.com/u/Mark_Lloyd)\
**Replies:** 1\
**Last updated:** [November 21, 2024, 11:23am UTC](https://community.f5.com/t/python-module-to-post-and-retrieve-icontrol-rest-json-objects-for-avr-statistics/68955 "2024-11-21T11:23:59Z")

</div>

Problem this snippet solves: This module simplifies making Python dictionary objects that are converted to IControl rest AVR JSON objects. It also handles making AVR requests and retrieving results as well allowing mult…

---

## [Microsoft 365 IP Steering python script](https://community.f5.com/t/microsoft-365-ip-steering-python-script/75153)

<div class="topic-metadata">

**Author:** [@teoiovine](https://community.f5.com/u/teoiovine)\
**Replies:** 3\
**Last updated:** [November 11, 2024, 11:22pm UTC](https://community.f5.com/t/microsoft-365-ip-steering-python-script/75153 "2024-11-11T23:22:46Z")

</div>

Hello! Hola! I have created a small and rudimentary script that generates a datagroup with MS 365 IPv4 and v6 addresses to be used by an iRule or policy. There are other scripts that solve this same issue but either the…

---

## [Microsoft 365 IP Steering python Script](https://community.f5.com/t/microsoft-365-ip-steering-python-script/75396)

<div class="topic-metadata">

**Author:** [@teoiovine](https://community.f5.com/u/teoiovine)\
**Replies:** 0\
**Last updated:** [November 11, 2024, 11:21pm UTC](https://community.f5.com/t/microsoft-365-ip-steering-python-script/75396 "2024-11-11T23:21:29Z")

</div>

Hello! Hola! I have created a small and rudimentary script that generates a datagroup with MS 365 IPv4 and v6 addresses to be used by an iRule or policy. There are other scripts that solve this same issue but either th…

---

## [VIPTest: Rapid Application Testing for F5 Environments](https://community.f5.com/t/viptest-rapid-application-testing-for-f5-environments/74988)

<div class="topic-metadata">

**Author:** [@Tony\_Marfil](https://community.f5.com/u/Tony_Marfil)\
**Replies:** 2\
**Last updated:** [September 11, 2024, 3:23pm UTC](https://community.f5.com/t/viptest-rapid-application-testing-for-f5-environments/74988 "2024-09-11T15:23:19Z")

</div>

The Motivation Behind VIPTest As an F5 Solutions Architect, I noticed a recurring challenge with prospective customers: there was no quick way to “grade” the success of migrating from their current environment to F5 solu…

---

## [Demystifying iControl REST Part 7 - Understanding Transactions](https://community.f5.com/t/demystifying-icontrol-rest-part-7-understanding-transactions/68708)

<div class="topic-metadata">

**Author:** [@JRahm](https://community.f5.com/u/JRahm)\
**Replies:** 9\
**Last updated:** [August 29, 2024, 10:26am UTC](https://community.f5.com/t/demystifying-icontrol-rest-part-7-understanding-transactions/68708 "2024-08-29T10:26:38Z")

</div>

iControl REST. It’s iControl SOAP’s baby, brother, introduced back in TMOS version 11.4 as an early access feature but released fully in version 11.5. Several articles on basic usage have been written about the rest inte…

---

## [Parsing tmsh command output with Python TextFSM module and some Lessons learned](https://community.f5.com/t/parsing-tmsh-command-output-with-python-textfsm-module-and-some-lessons-learned/74634)

<div class="topic-metadata">

**Author:** [@ArvinF](https://community.f5.com/u/ArvinF)\
**Replies:** 0\
**Last updated:** [June 28, 2024, 12:00pm UTC](https://community.f5.com/t/parsing-tmsh-command-output-with-python-textfsm-module-and-some-lessons-learned/74634 "2024-06-28T12:00:00Z")

</div>

It’s been a while! I’m back with some code to parse tmsh command output, extracting specific sections of the output and present it in easy-to-read format. In my previous article, BIG-IP Advanced Firewall Manager (AFM) D…

---

## [BIG-IP Next Central Manager API with Python](https://community.f5.com/t/big-ip-next-central-manager-api-with-python/74674)

<div class="topic-metadata">

**Author:** [@JRahm](https://community.f5.com/u/JRahm)\
**Replies:** 0\
**Last updated:** [June 19, 2024, 5:24am UTC](https://community.f5.com/t/big-ip-next-central-manager-api-with-python/74674 "2024-06-19T05:24:24Z")

</div>

I’ve been working with the BIG-IP Next API with curl on the command line and with the Postman GUI app as well. Both useful as I am getting comfortable with the API, but not my favorite tools in the toolbox, which is pyth…

---

## [iControl REST Python Requests module](https://community.f5.com/t/icontrol-rest-python-requests-module/69711)

<div class="topic-metadata">

**Author:** [@snmpboy](https://community.f5.com/u/snmpboy)\
**Replies:** 1\
**Last updated:** [December 27, 2023, 10:56am UTC](https://community.f5.com/t/icontrol-rest-python-requests-module/69711 "2023-12-27T10:56:47Z")

</div>

While iControl REST is great and pretty robust given how much we use it. But I come to the forum today to see if anyone has any experience with the Python requests module and the underlying urllib3 module. When I do ha…

---

## [Parsing F5 BIG-IP LTM DNS profile statistics and extracting values with Python](https://community.f5.com/t/parsing-f5-big-ip-ltm-dns-profile-statistics-and-extracting-values-with-python/73639)

<div class="topic-metadata">

**Author:** [@ArvinF](https://community.f5.com/u/ArvinF)\
**Replies:** 0\
**Last updated:** [December 26, 2023, 1:00pm UTC](https://community.f5.com/t/parsing-f5-big-ip-ltm-dns-profile-statistics-and-extracting-values-with-python/73639 "2023-12-26T13:00:00Z")

</div>

Introduction Hello there! Arvin here from the F5 SIRT. A little while ago, I published F5 BIG-IP Advanced Firewall Manager (AFM) DNS NXDOMAIN Query Attack Type Walkthrough part one and two, where I went through the proc…

---

## [Demystifying iControl REST Part 1 - Understanding the request URI](https://community.f5.com/t/demystifying-icontrol-rest-part-1-understanding-the-request-uri/67925)

<div class="topic-metadata">

**Author:** [@JRahm](https://community.f5.com/u/JRahm)\
**Replies:** 8\
**Last updated:** [November 29, 2023, 12:39am UTC](https://community.f5.com/t/demystifying-icontrol-rest-part-1-understanding-the-request-uri/67925 "2023-11-29T00:39:49Z")

</div>

iControl REST. It’s iControl SOAP’s baby brother, introduced back in TMOS version 11.4 as an early access feature but was released fully in version 11.5. Several articles on basic usage have been written on iControl …

---

## [Demystifying iControl REST Part 5: Transferring Files](https://community.f5.com/t/demystifying-icontrol-rest-part-5-transferring-files/67977)

<div class="topic-metadata">

**Author:** [@JRahm](https://community.f5.com/u/JRahm)\
**Replies:** 45\
**Last updated:** [August 4, 2023, 11:37am UTC](https://community.f5.com/t/demystifying-icontrol-rest-part-5-transferring-files/67977 "2023-08-04T11:37:33Z")

</div>

iControl REST. It’s iControl SOAP’s baby, brother, introduced back in TMOS version 11.4 as an early access feature but released fully in version 11.5. Several articles on basic usage have been written on iControl REST s…

---

## [Demystifying iControl REST Part 2 - Understanding sub collections and how to use them](https://community.f5.com/t/demystifying-icontrol-rest-part-2-understanding-sub-collections-and-how-to-use-them/67918)

<div class="topic-metadata">

**Author:** [@JRahm](https://community.f5.com/u/JRahm)\
**Replies:** 5\
**Last updated:** [March 7, 2023, 3:22pm UTC](https://community.f5.com/t/demystifying-icontrol-rest-part-2-understanding-sub-collections-and-how-to-use-them/67918 "2023-03-07T15:22:15Z")

</div>

iControl REST. It’s iControl SOAP’s baby brother, introduced back in TMOS version 11.4 as an early access feature but was released fully in version 11.5. Several articles on basic usage have been written on iControl …

---

## [Python script to request SSL-certificate at Sectigo and configure on F5](https://community.f5.com/t/python-script-to-request-ssl-certificate-at-sectigo-and-configure-on-f5/69461)

<div class="topic-metadata">

**Author:** [@Silver\_back](https://community.f5.com/u/Silver_back)\
**Replies:** 3\
**Last updated:** [May 10, 2022, 8:15pm UTC](https://community.f5.com/t/python-script-to-request-ssl-certificate-at-sectigo-and-configure-on-f5/69461 "2022-05-10T20:15:01Z")

</div>

Hey everyone, I am trying to write a python script (using SDK: f5-common-python) that will generate a CSR, request an SSL Certificate by Sectigo and that will be automatically renewed through F5 when it expires. However,…

---

## [Uploading ISOs via legacy f5-sdk](https://community.f5.com/t/uploading-isos-via-legacy-f5-sdk/69481)

<div class="topic-metadata">

**Author:** [@shepardce](https://community.f5.com/u/shepardce)\
**Replies:** 3\
**Last updated:** [March 31, 2022, 8:02pm UTC](https://community.f5.com/t/uploading-isos-via-legacy-f5-sdk/69481 "2022-03-31T20:02:37Z")

</div>

I’m working on porting our legacy Bash-based BIG-IP upgrade script to Python, and running into an issue when trying to upload the new image via the (apparently legacy) SDK. Here’s the relevant code snippet I’m using: p…

---

## [python f5 sdk - vip, ssl profile and ssl cert extract](https://community.f5.com/t/python-f5-sdk-vip-ssl-profile-and-ssl-cert-extract/53921)

<div class="topic-metadata">

**Author:** [@cwdusheke1](https://community.f5.com/u/cwdusheke1)\
**Replies:** 1\
**Last updated:** [February 10, 2022, 10:39am UTC](https://community.f5.com/t/python-f5-sdk-vip-ssl-profile-and-ssl-cert-extract/53921 "2022-02-10T10:39:00Z")

</div>

All, I am trying to code a way to extract a list of VIP on my F5 ltm. Once I have my vip I want to get the ssl profile and the cert name within the ssl profile. I was wondering if anybody done this before.

---

## [Getting started with a script to delete user APM session(s)](https://community.f5.com/t/getting-started-with-a-script-to-delete-user-apm-session-s/48374)

<div class="topic-metadata">

**Author:** [@Fallout1984](https://community.f5.com/u/Fallout1984)\
**Replies:** 2\
**Last updated:** [November 29, 2021, 5:25pm UTC](https://community.f5.com/t/getting-started-with-a-script-to-delete-user-apm-session-s/48374 "2021-11-29T17:25:31Z")

</div>

I have a request to create a script to delete the APM session(s) of a user ID. I can easily do this via the GUI and have found the commands to do it manually, however scripting is totally new to me (though I’ve programme…

---

## [How to get all servers in a GTM pool (Python f5-sdk)](https://community.f5.com/t/how-to-get-all-servers-in-a-gtm-pool-python-f5-sdk/47394)

<div class="topic-metadata">

**Author:** [@A\_J](https://community.f5.com/u/A_J)\
**Replies:** 2\
**Last updated:** [October 23, 2021, 5:03pm UTC](https://community.f5.com/t/how-to-get-all-servers-in-a-gtm-pool-python-f5-sdk/47394 "2021-10-23T17:03:54Z")

</div>

I am sure this is quite simple but I can’t find reference to this in documentation. pool = mgmt.tm.gtm.pools.a\_s.a.load(name='poolname') Once i’ve loaded it, how can I see what servers are in this pool and get their na…

---

## [Getting GTM Pool and Wideips with Python f5-sdk](https://community.f5.com/t/getting-gtm-pool-and-wideips-with-python-f5-sdk/47404)

<div class="topic-metadata">

**Author:** [@A\_J](https://community.f5.com/u/A_J)\
**Replies:** 3\
**Last updated:** [October 21, 2021, 5:36pm UTC](https://community.f5.com/t/getting-gtm-pool-and-wideips-with-python-f5-sdk/47404 "2021-10-21T17:36:49Z")

</div>

I am having trouble getting all the pools and wideips from the GTM with this (version 12). I was lucky enough to find an example of how to get the ‘a’ pools and wideips but nothing else: pools\_a = mgmt.tm.gtm.pools.a\_s.…

---

## [TACACS+ External Monitor (Python)](https://community.f5.com/t/tacacs-external-monitor-python/68530)

<div class="topic-metadata">

**Author:** [@Leon\_Seng](https://community.f5.com/u/Leon_Seng)\
**Replies:** 0\
**Last updated:** [September 15, 2021, 11:22pm UTC](https://community.f5.com/t/tacacs-external-monitor-python/68530 "2021-09-15T23:22:58Z")

</div>

Problem this snippet solves: This script is an external monitor for TACACS+ that simulates a TACACS+ client authenticating a test user, and marks the status of a pool member as up if the authentication is successful. If…

---

## [Bug (ID 775845) Workaround; REST API httpd restart](https://community.f5.com/t/bug-id-775845-workaround-rest-api-httpd-restart/48051)

<div class="topic-metadata">

**Author:** [@Greg\_Jewett](https://community.f5.com/u/Greg_Jewett)\
**Replies:** 1\
**Last updated:** [August 27, 2021, 2:35pm UTC](https://community.f5.com/t/bug-id-775845-workaround-rest-api-httpd-restart/48051 "2021-08-27T14:35:49Z")

</div>

So this is less of a question, but a post to help my fellow BIG-IP LTM administrators, since the solution I came up with is quite the hack, but it works for me, so your mileage may vary, and of course -- test in non-prod…

---

## [How to Duplicate an Object from REST API / Python SDK](https://community.f5.com/t/how-to-duplicate-an-object-from-rest-api-python-sdk/52022)

<div class="topic-metadata">

**Author:** [@Wyko](https://community.f5.com/u/Wyko)\
**Replies:** 1\
**Last updated:** [August 27, 2021, 11:31am UTC](https://community.f5.com/t/how-to-duplicate-an-object-from-rest-api-python-sdk/52022 "2021-08-27T11:31:03Z")

</div>

Question: How can you use the Python SDK to create a new object (like a pool) from an existing object? As a bonus, is there any way to generate the CLI commands for an action from the SDK? My use case is that I use …

---

## [Demystifying iControl REST Part 3 - How to pass query parameters and tmsh options](https://community.f5.com/t/demystifying-icontrol-rest-part-3-how-to-pass-query-parameters-and-tmsh-options/68038)

<div class="topic-metadata">

**Author:** [@JRahm](https://community.f5.com/u/JRahm)\
**Replies:** 26\
**Last updated:** [July 22, 2021, 10:01pm UTC](https://community.f5.com/t/demystifying-icontrol-rest-part-3-how-to-pass-query-parameters-and-tmsh-options/68038 "2021-07-22T22:01:57Z")

</div>

iControl REST. It’s iControl SOAP’s baby, brother, introduced back in TMOS version 11.4 as an early access feature but released fully in version 11.5. Several articles on basic usage have been written on iControl REST (…

---

## [Getting Started with the f5-common-python SDK](https://community.f5.com/t/getting-started-with-the-f5-common-python-sdk/68491)

<div class="topic-metadata">

**Author:** [@JRahm](https://community.f5.com/u/JRahm)\
**Replies:** 70\
**Last updated:** [July 16, 2021, 4:23pm UTC](https://community.f5.com/t/getting-started-with-the-f5-common-python-sdk/68491 "2021-07-16T16:23:47Z")

</div>

If you have dabbled with python and iControl over the years, you might be familiar with some of my other “Getting Stared with …” articles on python libraries. I started my last, on Bigsuds, this way: I imagine the prog…

---

## [How to get a monitor from a pool through REST API or Python SDK?](https://community.f5.com/t/how-to-get-a-monitor-from-a-pool-through-rest-api-or-python-sdk/52006)

<div class="topic-metadata">

**Author:** [@Wyko](https://community.f5.com/u/Wyko)\
**Replies:** 0\
**Last updated:** [July 15, 2021, 12:03pm UTC](https://community.f5.com/t/how-to-get-a-monitor-from-a-pool-through-rest-api-or-python-sdk/52006 "2021-07-15T12:03:15Z")

</div>

I have a simple challenge: Given a pool, find its associated monitor. The problem is that the query for a monitor requires the monitor type. LTM pools don’t carry info on the kind of monitor they use, only the partition …

---

## [Python BigRest VS and Pool status](https://community.f5.com/t/python-bigrest-vs-and-pool-status/68279)

<div class="topic-metadata">

**Author:** [@Sreejith](https://community.f5.com/u/Sreejith)\
**Replies:** 0\
**Last updated:** [June 1, 2021, 2:56pm UTC](https://community.f5.com/t/python-bigrest-vs-and-pool-status/68279 "2021-06-01T14:56:50Z")

</div>

Problem this snippet solves: This gets the status of all Virtual servers and the pool members and write to a text file. If one of the pool member is up, then the pool will be marked as up as well. How to use this snip…

[Next page](https://community.f5.com/tag/python/185.md?match_all_tags=true&page=1&tags%5B%5D=python)
