CodeShare
Have some code. Share some code.
cancel
Showing results for 
Search instead for 
Did you mean: 
carldubois_1031
Historic F5 Account

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 trust (negotiate cert), discover (populate resolver groups), import (import bigip configuration).

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:

workflow.Discover()
workflow.License()
workflow.CreateVirtual()
workflow.CreatePool()
workflow.AddMembers()
workflow.RefSecPolicy()

Code :

https://github.com/carldubois/discapi
Version history
Last update:
‎22-Sep-2016 10:51
Updated by:
Contributors