Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Python script to create pool and vs

Vitor_Hugo_Domi
Nimbostratus
Nimbostratus

Hi all,

 

Somebody have a python script to create pool and vs in f5 LTM?

 

I would like test in my environment....

 

4 REPLIES 4

PeteWhite
F5 Employee
F5 Employee

Check out iCR Python Module for iControl REST. This shows you how to create a VS, it's dead simple. Let me know if you have any issues.

 

Looks simple. Do I simply run pip install iCR in F5 bash and proceed. Does this command has any impact.

I am trying to automate objects from the scratch and confused as from where to start ( running python script in f5 bash, or running pip command, or simply installing python sdk).

 

 

Andy_McGrath
Cumulonimbus
Cumulonimbus

Just a question but why the Python iCR over the much more established F5 Common Python SDK

 

The F5 Common Python SDK has a lot of learning resources here on DevCentral, a great starting point is a set of articles by Jason Rahm that can be found here:

 

And has some ok documentation here F5 Python SDK Documentation

 

Recommend taking a look and happy Python development

 

PeteWhite
F5 Employee
F5 Employee
You want to install the iCR module in a separate host on which you do the management of the BIG-P devices - make sure it has Python and PIP installed, then follow the example.