Getting Started with pyControl v2: Installing on Ubuntu Desktop
It's true--pyControl v2 is officially out the door! Here are the installation instructions for Ubuntu Desktop.
REQUIRED PACKAGES
1. Python 2.4/2.5/2.6 (Use 32-bit version)
2. Python Setup Tools for your python version
3. Python SUDS soap library
Ubuntu 9.x Desktop Installation
1. Python 2.6.4 ships with Ubuntu, so no need to install.
2. Install remaining packages (assuming setuptools, suds, & pycontrol packages are in /var/tmp/):
#SETUPTOOLS
cd /var/tmp/
tar xvfz setuptools-0.6c11.tar.gz
cd setuptools-0.6c11
sudo python setup.py install#SUDS
cd /var/tmp/
tar xvfz python-suds-0.3.8.tar.gz
cd python-suds-0.3.8
sudo python setup.py install#PYCONTROL
tar xvfz pycontrol-2.0a.tar.gz
cd trunk
sudo python setup.py install3. Verify Install
>>> import suds
>>> import pycontrol.pycontrol as pc
>>> suds.__version__
'0.3.8'
>>> suds.__build__
'(beta) R618-20091204'
>>> pc.__version__
'2.0'
>>> pc.__build__
'r75'
Alternately, you can simply extract pycontrol.py from the bundle and place it somewhere on your path.
Installation Video:
- David_McCullochNimbostratusI went through these instructions using python 2.6.4 and the inital call to the bigip just hangs. I see 443 is open and can reach the server on this port. Any ideas? thank you.
- Justin_111680Nimbostratusyou imported pycontrol.pycontrol as pc so you should reference that when calling classes from it.. for example