Forum Discussion
bigsuds question
I want to use an F5 appliance for running a python program using bigsuds as iControl API to obtain device network map on other LTMs. The problem is the version of python running on this device is version 2.4. bigsuds require python v2.6 and above. How can I go about updating the python software on LTM? Where can I get the valid python software for LTM.
8 Replies
- Hannes_Rapp_162
Nacreous
You can install Python2.6 as user-executable software in your home directory which will work alongside with the existing Python2.4 (used by the system). Do not try installing Python2.6 on the F5 appliance globally! It will probably screw up the system as there are no guarantees the scripts in use by the BigIP software will work after a global Python upgrade to 2.6.
As far as the installation procedure goes, look for Linux RHEL4 .rpm packages. Following a successful installation, you also need to modify the bigsuds config to point to Python2.6, or else it will complain about the outdated Python2.4 version (system default).
In general, I only recommend you try this if you are feeling confident in Linux RHEL environment. This is not something you should try otherwise.
- MallariYap_1963
Nimbostratus
good one! - John_Gruber_432Historic F5 AccountPlease remember that the TMOS device is a hardened appliance. It has a SELinux policy which will prevent executing most things which are not part of the system. The short answer is, use the perl SOAP module for iControl SOAP or curl for iControl (TMOS 11.5+). The perl SOAP module is on the TMOS device already.
- Hannes_Rapp
Nimbostratus
You can install Python2.6 as user-executable software in your home directory which will work alongside with the existing Python2.4 (used by the system). Do not try installing Python2.6 on the F5 appliance globally! It will probably screw up the system as there are no guarantees the scripts in use by the BigIP software will work after a global Python upgrade to 2.6.
As far as the installation procedure goes, look for Linux RHEL4 .rpm packages. Following a successful installation, you also need to modify the bigsuds config to point to Python2.6, or else it will complain about the outdated Python2.4 version (system default).
In general, I only recommend you try this if you are feeling confident in Linux RHEL environment. This is not something you should try otherwise.
- MallariYap_1963
Nimbostratus
good one! - John_Gruber_432Historic F5 AccountPlease remember that the TMOS device is a hardened appliance. It has a SELinux policy which will prevent executing most things which are not part of the system. The short answer is, use the perl SOAP module for iControl SOAP or curl for iControl (TMOS 11.5+). The perl SOAP module is on the TMOS device already.
- Anthony_Pineda
Nimbostratus
Hannes - How do I make sure bigsuds config would use the Python 2.6 installation?
while executing the script you need to provide the path to the python version. /usr/bin/python2.6 somefile.pyor in the script file somefile.py
!/usr/bin/python2.6
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com