Giter Site home page Giter Site logo

as3's Introduction

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

as3's People

Contributors

pwhitef5 avatar

Watchers

 avatar

Forkers

kamal-el

as3's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.