Big-IQ licensing of Big-IP using REST API - Python OO

Problem this snippet solves:

Some may want code that is a little more extendable and will scale to provide more of a workflow structure. In this example, we explore the use of Python class to simplify the code using a call to class method doing the work for licensing a BIGIP for a given License Pool.

With the model you can create new methods to extend functionality. For example: class Workflow contains def Discover, def License, def CreateVirtual, def CreatePool, def AddMembers, def RefSecPolicy.

Script will look like:


Code :
Updated Jun 06, 2023
Version 2.0

Was this article helpful?

No CommentsBe the first to comment