# ACOS Client
## Table of Contents
1. [Supported Versions](#Supported-Versions)
2. [Installation for ACOSv4.1.4](#Installation-ACOSv4.1.4)
3. [Installation for ACOSv4.1.1](#Installation-ACOSv4.1.1)
4. [Example usage information](#Usage)
5. [Contributing & Testing](#Contributing)
6. [Issues and Inquiries](#Issues-and-Inquiries)
7. [Helpful Links](#Helpful-links)
## Supported Versions
```
| ACOS Version | AXAPI Version | ACOS Client Version | Status |
| 2.7.1† | 2 | >=0.1.0,<0.3.0 | end-of-life |
| 2.7.2 | 2 | >=0.1.0,<0.3.0 | end-of-life |
| 4.0.0 | 3 | >=1.4.6,<1.5.0 | Maintenance |
| 4.1.1 | 3 | >=1.5.0,<2.0.0 | Maintenance |
| 4.1.4 GR1-P2 | 3 | >=2.0.0,<2.4.0 | Maintenance |
| 4.1.4 | 3 | >=2.4.0 | Maintenance |
| 4.1.4 GR1-P5 | 3 | >=2.6.0 | Maintenance |
| 5.2.1 | 3 | >=2.6.0 | Maintenance |
| 5.2.1-p1 | 3 | >=2.7.0 | Maintenance |
```
†Works only when not using partitioning
## Installation
### Install using pip
```sh
$ pip install acos-client>=2.6.0
```
### Install from source
```sh
$ git clone https://github.com/a10networks/acos-client.git
$ cd acos-client
$ git checkout stable/stein
$ pip install -e .
```
## Usage
```python
c = acos_client.Client('somehost.example.com', acos_client.AXAPI_30, 'admin', 'password')
```
#### Example setting up an SLB:
```python
import acos_client as acos
c = acos.Client('1.2.3.4', acos.AXAPI_30, 'admin', 'password')
c.slb.server.create('s1', '1.1.1.1')
c.slb.server.create('s2', '1.1.1.2')
c.slb.service_group.create('pool1', c.slb.service_group.TCP, c.slb.service_group.ROUND_ROBIN)
c.slb.virtual_server.create('vip1', '1.1.1.3')
c.slb.hm.create('hm1', c.slb.hm.HTTP, 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
### Testing
This project uses [tox](https://pypi.python.org/pypi/tox) for testing. To run
the test suite simply:
```sh
$ sudo pip install tox # use pip2 if using Arch Linux
$ cd /path/to/acos_client
$ tox
```
## Issues and Inquiries
For all issues, please send an email to support@a10networks.com
## Helpful links
### Improved speed
pypy: [http://pypy.org/index.html](http://pypy.org/index.html)
### Old python versions
Deadsnakes github: [https://github.com/deadsnakes](https://github.com/deadsnakes)
Deadsnakes ppa: [https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa](https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa)
没有合适的资源?快使用搜索试试~ 我知道了~
PyPI 官网下载 | acos-client-2.8.0.tar.gz
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 83 浏览量
2022-01-08
20:29:07
上传
评论
收藏 68KB GZ 举报
温馨提示
共137个文件
py:127个
txt:4个
pkg-info:2个
资源来自pypi官网。 资源全名:acos-client-2.8.0.tar.gz
资源推荐
资源详情
资源评论
收起资源包目录
PyPI 官网下载 | acos-client-2.8.0.tar.gz (137个子文件)
setup.cfg 38B
MANIFEST.in 34B
LICENSE 10KB
README.md 3KB
PKG-INFO 5KB
PKG-INFO 5KB
test_slb_virtual_port.py 43KB
t.py 30KB
test_slb_virtual_server.py 19KB
test_slb_server.py 18KB
test_slb_virtual_server.py 17KB
virtual_port.py 15KB
test_slb_virtual_port.py 13KB
test_slb_service_group.py 12KB
test_slb_server.py 10KB
test_slb_service_group.py 8KB
axapi_http.py 8KB
service_group.py 8KB
interface.py 7KB
test_bladeparam.py 7KB
test_slb_template_persistence.py 7KB
test_slb_health_monitor.py 7KB
virtual_port.py 7KB
axapi_http.py 7KB
test_partition.py 7KB
license_manager.py 7KB
client.py 7KB
test_slb_service_group_member.py 6KB
test_vlan.py 6KB
responses.py 6KB
test_member.py 6KB
multipart.py 6KB
test_slb_template_sourceip_persistence.py 6KB
test_slb_template_cookie_persistence.py 6KB
hm.py 6KB
virtual_server.py 5KB
test_vrrpa.py 5KB
test_interface.py 5KB
action.py 5KB
network.py 5KB
test_logutils.py 5KB
test_session.py 5KB
responses.py 4KB
interface.py 4KB
test_slb_aflex.py 4KB
test_license_manager.py 4KB
member.py 4KB
server.py 4KB
vtep.py 4KB
test_port.py 4KB
base.py 4KB
ssl.py 4KB
partition.py 3KB
vlan.py 3KB
blade_params.py 3KB
test_dns.py 3KB
test_system.py 3KB
log.py 3KB
l7.py 3KB
hm.py 3KB
nat.py 3KB
vrid.py 3KB
port.py 3KB
service_group.py 3KB
system.py 3KB
sflow.py 3KB
route.py 3KB
test_interfaces.py 3KB
aflex.py 3KB
virtual_server.py 3KB
server.py 2KB
aflex_policy.py 2KB
test_sflow.py 2KB
ssl_cert.py 2KB
base.py 2KB
action.py 2KB
member.py 2KB
persistence.py 2KB
persistence.py 2KB
__init__.py 2KB
errors.py 2KB
class_list.py 2KB
virtual_service.py 2KB
ssl_key.py 2KB
ssl_adapter.py 2KB
vrrp_global.py 2KB
session.py 2KB
test_responses.py 2KB
nat.py 2KB
options.py 2KB
admin.py 2KB
session.py 2KB
test_client.py 2KB
template_ssl.py 2KB
port.py 2KB
setup.py 2KB
partition.py 2KB
test_high_availability.py 2KB
__init__.py 2KB
test_slb_common.py 2KB
共 137 条
- 1
- 2
资源评论
挣扎的蓝藻
- 粉丝: 13w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功