Skip to main content

as3

This is a python module to simplify using the F5 Networks AS3 utility. https://clouddocs.f5.com/products/extensions/f5-appsvcs-extension/latest/userguide/installation.html

Install using pip:

pip install as3

Example

#!/usr/bin/env python
import as3
t = as3.as3(host='1.1.1.1',username='admin',password='admin')
# Check whether AS3 is installed:
print (str(t.isInstalled()))
# Download the latest AS3 version from Github
print (str(t.retrieveVersion()))
# Install a specific version on a different host - if you leave out filename it will download the latest
t.installAS3(host='2.2.2.2',username='admin',password='admin',filename='f5-appsvcs-3.16.0-6.noarch.rpm')
# Uninstall it
t.uninstallAS3(host='2.2.2.2',username='admin',password='admin')

Methods

  • as3([debug,host,username,password,port,usetoken]) - initialise an AS3 object

  • isInstalled([version,host,username,password,usetoken,port]) - Checks whether AS3 is installed. Returns version dict, True or False

  • retrieveVersion([release]) - Downloads a specific release or the latest release of the RPM package

  • installAS3([version,filename,host,username,password,usetoken,port]) - Installs AS3 as a package. Returns True or False

  • uninstallAS3([version,filename,host,username,password,usetoken,port]) - Uninstalls current AS3 package. Returns True or False

  • github(url, [method,data,useragent,stream]) - this is a helper to retrieve from github F5 repository. Return True or False

  • versionToId(version) - Returns a Github object ID related to a version number. eg version is ‘v3.16.0’ and ID is 22093972

Metadata

Release files for as3 1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for as3 1.1
File Size Uploaded
as3-1.1.tar.gz 6.8 kB Details

Release files / as3-1.1.tar.gz

Download URL as3-1.1.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a7e222977419c8c6d7e60feb339bf7059350f6bb20f70a8c1746e2849126ad5d
BLAKE2b-256 checksum
How to use checksums
c3f8dc5b4cb8899e10033339212b04159d61913d097455eea97f71e2eb74f379
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9

Release history Release notifications | RSS feed

This release

1.1 This release

1 release file

1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page