A Python SDK for F5 iControl REST API
Project description
What is BIGREST?
What is useful for?
Why create another SDK?
BIGREST functionalities
Supports partition
Supports route domain
Support HTTP basic authentication
Support token
Support refresh token
Implements all HTTP methods used in the iControl REST API
Implements HTTP path /stats
Implements HTTP path /example
Implements command
Implements task
Implements transaction
Documentation
Source code
Contributor
How to install?
Requires Python version 3.7
Install BIGREST using Python pip:
pip install bigrest
How to use it?
In the following example:
- 192.168.1.245:
IP or name of the F5 device.
- admin:
Username to be used to connect to the device.
- password:
Password to be used to connect to the device.
First, import the SDK:
from bigrest.bigip import BIGIP
Next, create a device object:
device = BIGIP("192.168.1.245", "admin", "password")
Lastily, load all virtual servers and print their names:
virtuals = device.load("/mgmt/tm/ltm/virtual")
for virtual in virtuals:
print(virtual.properties["name"])
How to get help?
If you have problems using this SDK, or to understand how the F5 iControl REST API works, use DevCentral website to get help.
How to report bugs?
BIGREST version:**
Run the following command to find the version you are using.
pip show bigrest
F5 device type:
BIG-IP or BIG-IQ
F5 device version:
Run the following command to find the version you are using.
tmsh show sys version
Python code to replicate the bug.
Output generated when the bug is triggered.
How to request new functionalities?
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file bigrest-1.7.3.tar.gz
.
File metadata
- Download URL: bigrest-1.7.3.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01b499bdec805959fc6bba745d87c837205f546dd405f39283695787acce34d9 |
|
MD5 | 8b276920253d6c2d6313afd21875b083 |
|
BLAKE2b-256 | 539b1a788eb5bff9a3fdb7ebccf35a707ec30698e905ec392ddbfaf8374ee0f0 |
File details
Details for the file bigrest-1.7.3-py3-none-any.whl
.
File metadata
- Download URL: bigrest-1.7.3-py3-none-any.whl
- Upload date:
- Size: 16.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5701d7a7f6be32639155334667d645bd5162723ea73737f579009024ba03688e |
|
MD5 | 7e808c795fa2b0f52aeb33343fa1d482 |
|
BLAKE2b-256 | 34c7febb30bb4a2cc19785b3d4c0c6f03d7cd99e1245fadff6c3ce233571025e |