Skip to main content

A10 Networks ACOS API Client

Project description

# ACOS Client

## Installation

### Install using pip

$ pip install acos-client

### Install from source

$ git clone
$ cd acos-client
$ python install

## Usage

c = acos_client.Client('', acos_client.AXAPI_21,
'admin', '123')

#### Example setting up an SLB:

import acos_client as acos

c = acos.Client('', acos.AXAPI_21, 'admin', '123')
c.slb.server.create('s1', '')
c.slb.server.create('s2', '')
c.slb.service_group.create('pool1', c.slb.service_group.TCP,
c.slb.virtual_server.create("vip1", '',
'80', 'pool1'), "hm1", 5, 5, 5, 'GET', '/', '200', 80)
c.slb.service_group.update('pool1', health_monitor='hm1')
c.slb.service_group.member.create("pool1", "s1", 80)
c.slb.service_group.member.create("pool1", "s2", 80)

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

## Supported Versions

* axapi 2.1, ACOS 2.7.2+ (2.7.1 works if you avoid partitions)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
acos-client-0.5.tar.gz (8.3 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page