Balanced

Best way to have a good idea, is to have lots of ideas

Category: Scripts

Using F5 REST API with roles

I recently learned that with version 12 comes the possibility to use roles with the REST API, but only when using token based authentication.

That’s fantastic! Finally there is a secure way of using the REST API without handing over administrative access.

Adding an example in Powershell and a link to an article on Devcentral about how to do it in Python.

Updating with code from the Powershell Guru Joel Newton on how to patch the token to make it valid for 10 hours instead of the default 20 minutes:

I also recommend checking out Joels Powershell module at the Devcentral codeshare!

Synergy effect of running BigIPReport

This could be useful depending on your environment. Bigipreport let’s you find things, but it can only go so far.

If you want to do a bit more advanced searches you can use the built in functions in powershell to convert json into objects. The beauty with powershell objects is that you can easily run queries against them.

Attaching a few examples to get you going:

 

Tampermonkey – F5 Case creation

This snippet does not work anymore since F5 changed their support portal. New script will be posted later.

This script streamlines the F5 case creation so you don’t have to repeat so much every time you want to create a case with F5.

There could be a few more options in the script (like the data center options) and if you want them, just let me know and I’ll add them.

Prerequisites: Tampermonkey (Chrome) or Greasemonkey (firefox)

Here’s what it does…

Read More

Bigip Report installation instructions

New and better instructions for Bigip report can be found here.

 

Purging Limelight CDN items with Powershell

Taking care of the CDN can be a hassle sometimes. Unless you implement the perfect system with unique keys for every item update you will need to purge content once in a while.

We asked for some guiding from Limelight but they did not have any example for Powershell themselves so I had to translate the existing one from Perl. Hardest part was the authentication and getting the hash right but with some help from the nice people at stackoverflow it worked out in the end.

Kudos also to Limelight for having a good API documentation.

As always, if you improve it then please share it.

Contributions is always appreciated!

Read More

F5 LTM Web UI Tweaks

The F5 Web UI usability has not improved that much in a long time. Version 12 is starting to do things about it, but it’s too early to adopt unless you absolutely need some of its features.

The script is using Tampermonkey, a client side script engine, to add functionality to the F5 UI.

Read More

Powered by WordPress & Theme by Anders Norén