├── a10sdk ├── core │ ├── __init__.py │ ├── aam │ │ ├── __init__.py │ │ └── aam_authentication_server.py │ ├── acos │ │ ├── __init__.py │ │ ├── acos_scaleout.py │ │ └── acos_scaleout_cluster_config.py │ ├── arp │ │ ├── __init__.py │ │ └── arp_timeout.py │ ├── bfd │ │ └── __init__.py │ ├── bgp │ │ └── __init__.py │ ├── bios │ │ ├── __init__.py │ │ └── bios_prog.py │ ├── boot │ │ ├── __init__.py │ │ └── boot_block_fix.py │ ├── bpdu │ │ └── __init__.py │ ├── cm │ │ ├── __init__.py │ │ ├── cm_ut_post_modify_parent_post_modify_child.py │ │ └── cm_ut_post_modify_parent.py │ ├── fail │ │ └── __init__.py │ ├── fan │ │ └── __init__.py │ ├── glid │ │ └── __init__.py │ ├── gslb │ │ ├── __init__.py │ │ ├── gslb_ip_list_oper_oper.py │ │ └── gslb_policy_edns.py │ ├── hd │ │ ├── __init__.py │ │ └── hd_monitor.py │ ├── hsm │ │ └── __init__.py │ ├── icmp │ │ └── __init__.py │ ├── ip │ │ ├── __init__.py │ │ ├── ip_nat_alg.py │ │ ├── ip_nat_inside.py │ │ ├── ip_dns.py │ │ ├── ip_nat_nat_global_stats.py │ │ ├── ip_dns_suffix.py │ │ ├── ip_nat_inside_source_class_list.py │ │ └── ip_nat_alg_pptp.py │ ├── ipv4 │ │ ├── __init__.py │ │ └── ipv4_in_ipv6.py │ ├── ipv6 │ │ ├── __init__.py │ │ ├── ipv6_route_static.py │ │ ├── ipv6_nat_inside.py │ │ ├── ipv6_in_ipv4.py │ │ └── ipv6_ospf.py │ ├── key │ │ └── __init__.py │ ├── lacp │ │ ├── __init__.py │ │ └── lacp.py │ ├── ldap │ │ ├── __init__.py │ │ └── ldap_server.py │ ├── link │ │ ├── __init__.py │ │ └── link.py │ ├── lldp │ │ └── __init__.py │ ├── mac │ │ ├── __init__.py │ │ └── mac_age_time.py │ ├── ntp │ │ └── __init__.py │ ├── pki │ │ ├── __init__.py │ │ └── pki_delete_oper.py │ ├── poap │ │ ├── __init__.py │ │ └── poap.py │ ├── qos │ │ ├── __init__.py │ │ └── qos_bandwidth.py │ ├── rate │ │ └── __init__.py │ ├── rba │ │ └── __init__.py │ ├── rrd │ │ ├── __init__.py │ │ └── rrd.py │ ├── slb │ │ ├── __init__.py │ │ ├── slb_tcp_stats_stats.py │ │ ├── slb_virtual_server_port_stats_fix.py │ │ ├── slb_service_group_reset.py │ │ └── slb_template_dblb_calc_sha1.py │ ├── smtp │ │ └── __init__.py │ ├── snmp │ │ ├── __init__.py │ │ ├── snmp_server_disable.py │ │ ├── snmp_server_enable_traps_routing.py │ │ ├── snmp_server_enable.py │ │ ├── snmp_server_engineID.py │ │ └── snmp_server_location.py │ ├── so │ │ └── __init__.py │ ├── sshd │ │ └── __init__.py │ ├── syn │ │ └── __init__.py │ ├── sys │ │ └── __init__.py │ ├── tftp │ │ └── __init__.py │ ├── vcs │ │ ├── __init__.py │ │ ├── vcs_reload.py │ │ ├── vcs_vmaster_take_over.py │ │ ├── vcs_vMaster_maintenance.py │ │ ├── vcs_action.py │ │ └── vcs_device_context.py │ ├── ve │ │ ├── __init__.py │ │ └── ve_stats.py │ ├── vlan │ │ └── __init__.py │ ├── vpn │ │ └── __init__.py │ ├── vrrp │ │ ├── __init__.py │ │ └── vrrp_a_vrid_priority.py │ ├── waf │ │ └── __init__.py │ ├── web │ │ └── __init__.py │ ├── A10_copy │ │ └── __init__.py │ ├── A10_file │ │ ├── __init__.py │ │ └── file_system_backup.py │ ├── access │ │ └── __init__.py │ ├── active │ │ ├── __init__.py │ │ └── active_partition.py │ ├── admin │ │ ├── __init__.py │ │ └── admin_access.py │ ├── aflex │ │ ├── __init__.py │ │ └── aflex.py │ ├── audit │ │ └── __init__.py │ ├── backup │ │ ├── __init__.py │ │ └── backup.py │ ├── banner │ │ └── __init__.py │ ├── bootimage │ │ └── __init__.py │ ├── bridge │ │ └── __init__.py │ ├── cgnv6 │ │ ├── __init__.py │ │ ├── cgnv6_lsn_inside.py │ │ ├── cgnv6_nat_inside.py │ │ ├── cgnv6_lsn_tcp.py │ │ ├── cgnv6_lsn_radius.py │ │ ├── cgnv6_fixed_nat.py │ │ ├── cgnv6_lw_4o6_save_binding_table.py │ │ ├── cgnv6_sixrd_fragmentation.py │ │ ├── cgnv6_ds_lite_fragmentation.py │ │ ├── cgnv6_ds_lite_alg.py │ │ ├── cgnv6_nat46_stateless_fragmentation.py │ │ ├── cgnv6_lsn_alg.py │ │ ├── cgnv6_nat64_alg.py │ │ ├── cgnv6_nat64_fragmentation.py │ │ ├── cgnv6_fixed_nat_alg.py │ │ ├── cgnv6_lsn_port_overloading.py │ │ ├── cgnv6_stateful_firewall_alg.py │ │ ├── cgnv6_lsn_endpoint_independent_mapping.py │ │ ├── cgnv6_lsn_endpoint_independent_filtering.py │ │ ├── cgnv6_stateful_firewall_endpoint_independent_filtering.py │ │ ├── cgnv6_ds_lite_alg_ftp.py │ │ ├── cgnv6_ds_lite_alg_sip.py │ │ ├── cgnv6_nat64_alg_esp.py │ │ ├── cgnv6_nat64_alg_sip.py │ │ ├── cgnv6_ds_lite_alg_pptp.py │ │ ├── cgnv6_ds_lite_alg_rtsp.py │ │ ├── cgnv6_ds_lite_alg_tftp.py │ │ ├── cgnv6_lsn_inside_source.py │ │ ├── cgnv6_nat64_alg_pptp.py │ │ ├── cgnv6_nat64_alg_rtsp.py │ │ ├── cgnv6_nat64_alg_tftp.py │ │ └── cgnv6_nat46_stateless_prefix.py │ ├── clock │ │ ├── __init__.py │ │ └── clock.py │ ├── configure │ │ ├── __init__.py │ │ └── configure.py │ ├── counter │ │ └── __init__.py │ ├── delete │ │ ├── __init__.py │ │ ├── delete_bw_list.py │ │ ├── delete_debug_monitor.py │ │ ├── delete_web_category.py │ │ ├── delete_auth_portal.py │ │ ├── delete_local_uri_file.py │ │ ├── delete_auth_saml_idp.py │ │ ├── delete_health_postfile.py │ │ ├── delete_health_external.py │ │ ├── delete_startup_config.py │ │ ├── delete_auth_portal_image.py │ │ ├── delete_geo_location_class_list.py │ │ ├── delete_cgnv6.py │ │ ├── delete_geo_location.py │ │ └── delete_partition.py │ ├── device │ │ ├── __init__.py │ │ └── device_context.py │ ├── disable │ │ ├── __init__.py │ │ ├── disable_management.py │ │ ├── disable_management_service.py │ │ ├── disable_management_service_ssh.py │ │ ├── disable_management_service_http.py │ │ ├── disable_management_service_snmp.py │ │ └── disable_management_service_https.py │ ├── dnssec │ │ ├── __init__.py │ │ ├── dnssec_sign_zone_now.py │ │ ├── dnssec_ds.py │ │ └── dnssec_dnskey.py │ ├── enable │ │ ├── __init__.py │ │ ├── enable_management.py │ │ └── enable_password.py │ ├── erase │ │ └── __init__.py │ ├── event │ │ └── __init__.py │ ├── export │ │ └── __init__.py │ ├── force │ │ └── __init__.py │ ├── health │ │ └── __init__.py │ ├── hostname │ │ ├── __init__.py │ │ └── hostname.py │ ├── icmpv6 │ │ └── __init__.py │ ├── interface │ │ ├── __init__.py │ │ ├── interface_ve_ip_router.py │ │ ├── interface_lif_ip_router.py │ │ ├── interface_ve_ipv6_router_rip.py │ │ ├── interface_trunk_ip_router.py │ │ ├── interface_trunk_ipv6_router_rip.py │ │ ├── interface_ethernet_ip_router.py │ │ ├── interface_ethernet_ipv6_router_rip.py │ │ ├── interface_loopback_ip_router.py │ │ ├── interface_loopback_ipv6_router_rip.py │ │ ├── interface_ve_ipv6_router.py │ │ ├── interface_trunk_ipv6_router.py │ │ ├── interface_ethernet_ipv6_router.py │ │ ├── interface_loopback_ipv6_router.py │ │ ├── interface_ve_ipv6_router_ripng.py │ │ ├── interface_trunk_ipv6_router_ripng.py │ │ ├── interface_ethernet_ipv6_router_ripng.py │ │ └── interface_loopback_ipv6_router_ripng.py │ ├── locale │ │ ├── __init__.py │ │ └── locale_test.py │ ├── logging │ │ ├── __init__.py │ │ └── logging_host_partition.py │ ├── maximum │ │ └── __init__.py │ ├── memory │ │ ├── __init__.py │ │ └── memory.py │ ├── mirror │ │ └── __init__.py │ ├── monitor │ │ └── __init__.py │ ├── multi │ │ ├── __init__.py │ │ ├── multi_ctrl_cpu.py │ │ └── multi_config.py │ ├── netflow │ │ ├── __init__.py │ │ └── netflow_monitor_protocol.py │ ├── network │ │ ├── __init__.py │ │ ├── network_arp_timeout.py │ │ └── network_ve_stats.py │ ├── overlay │ │ └── __init__.py │ ├── partition │ │ └── __init__.py │ ├── radius │ │ └── __init__.py │ ├── reboot │ │ └── __init__.py │ ├── restore │ │ ├── __init__.py │ │ └── restore.py │ ├── route │ │ └── __init__.py │ ├── router │ │ ├── __init__.py │ │ ├── router_isis_address_family.py │ │ ├── router_bgp_address_family.py │ │ ├── router_ospf_redistribute_ip_nat.py │ │ ├── router_device_context.py │ │ └── router_log.py │ ├── running │ │ └── __init__.py │ ├── scaleout │ │ └── __init__.py │ ├── session │ │ └── __init__.py │ ├── sessions │ │ └── __init__.py │ ├── sflow │ │ ├── __init__.py │ │ ├── sflow_agent.py │ │ └── sflow.py │ ├── shutdown │ │ └── __init__.py │ ├── syslog │ │ └── __init__.py │ ├── system │ │ ├── __init__.py │ │ ├── system_cpu.py │ │ ├── system_ip_stats_stats.py │ │ ├── system_ip6_stats_stats.py │ │ ├── system_tcp_stats_stats.py │ │ ├── system_reset.py │ │ ├── system_poll_mode.py │ │ └── system_big_buff_pool.py │ ├── tacacs │ │ └── __init__.py │ ├── terminal │ │ └── __init__.py │ ├── timezone │ │ └── __init__.py │ ├── trunk │ │ └── __init__.py │ ├── upgrade │ │ ├── __init__.py │ │ └── upgrade.py │ ├── version │ │ └── __init__.py │ ├── write │ │ ├── __init__.py │ │ └── write_memory.py │ ├── A10_import │ │ └── __init__.py │ ├── A10_license │ │ └── __init__.py │ ├── A10_object │ │ └── __init__.py │ ├── A10_reload │ │ └── __init__.py │ ├── accounting │ │ └── __init__.py │ ├── application │ │ └── __init__.py │ ├── authentication │ │ └── __init__.py │ ├── authorization │ │ └── __init__.py │ ├── class_list │ │ └── __init__.py │ ├── classification │ │ └── __init__.py │ ├── techreport │ │ └── __init__.py │ ├── techsupport │ │ ├── __init__.py │ │ ├── techsupport_showtech.py │ │ └── techsupport_vcsdebug.py │ ├── class_list_oper │ │ └── __init__.py │ └── class_list_geo_location │ │ └── __init__.py ├── version.py ├── README.txt ├── __init__.py └── common │ └── __init__.py ├── MANIFEST.in ├── .travis.yml ├── setup.py ├── .gitignore └── README.md /a10sdk/core/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/aam/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/acos/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/arp/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/bfd/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/bgp/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/bios/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/boot/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/bpdu/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/cm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/fail/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/fan/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/glid/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/gslb/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/hd/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/hsm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/icmp/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/ip/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/ipv4/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/ipv6/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/key/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/lacp/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/ldap/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/link/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/lldp/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/mac/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/ntp/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/pki/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/poap/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/qos/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/rate/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/rba/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/rrd/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/slb/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/smtp/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/snmp/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/so/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/sshd/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/syn/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/sys/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/tftp/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/vcs/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/ve/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/vlan/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/vpn/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/vrrp/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/waf/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/web/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/A10_copy/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/A10_file/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/access/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/active/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/admin/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/aflex/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/audit/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/backup/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/banner/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/bootimage/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/bridge/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/cgnv6/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/clock/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/configure/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/counter/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/delete/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/device/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/disable/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/dnssec/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/enable/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/erase/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/event/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/export/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/force/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/health/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/hostname/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/icmpv6/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/interface/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/locale/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/logging/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/maximum/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/memory/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/mirror/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/monitor/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/multi/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/netflow/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/network/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/overlay/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/partition/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/radius/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/reboot/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/restore/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/route/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/router/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/running/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/scaleout/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/session/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/sessions/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/sflow/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/shutdown/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/syslog/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/system/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/tacacs/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/terminal/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/timezone/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/trunk/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/upgrade/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/version/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/write/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/A10_import/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/A10_license/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/A10_object/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/A10_reload/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/accounting/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/application/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/authentication/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/authorization/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/class_list/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/classification/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/techreport/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/techsupport/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/core/class_list_oper/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /a10sdk/version.py: -------------------------------------------------------------------------------- 1 | VERSION = "4.0.1.214" 2 | -------------------------------------------------------------------------------- /a10sdk/core/class_list_geo_location/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- 1 | include README.md 2 | include LICENSE 3 | -------------------------------------------------------------------------------- /a10sdk/README.txt: -------------------------------------------------------------------------------- 1 | Please read the documentation located in the docs/_build/html/index.html 2 | 3 | 4 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: python 2 | python: 3 | - "2.6" 4 | - "2.7" 5 | - "3.3" 6 | - "3.4" 7 | # does not have headers provided, please ask https://launchpad.net/~pypy/+archive/ppa 8 | # maintainers to fix their pypy-dev package. 9 | - "pypy" 10 | # command to install dependencies 11 | install: 12 | - pip install . 13 | - pip install -r requirements.txt 14 | - pip install -r test-requirements.txt 15 | # command to run tests 16 | script: nosetests 17 | -------------------------------------------------------------------------------- /a10sdk/__init__.py: -------------------------------------------------------------------------------- 1 | # vim: tabstop=4 shiftwidth=4 softtabstop=4 2 | 3 | # Copyright 2013, Mike Thompson, A10 Networks. 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 6 | # not use this file except in compliance with the License. You may obtain 7 | # a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 13 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 14 | # License for the specific language governing permissions and limitations 15 | # under the License. 16 | -------------------------------------------------------------------------------- /a10sdk/common/__init__.py: -------------------------------------------------------------------------------- 1 | # vim: tabstop=4 shiftwidth=4 softtabstop=4 2 | 3 | # Copyright 2013, Mike Thompson, A10 Networks. 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); you may 6 | # not use this file except in compliance with the License. You may obtain 7 | # a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 13 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 14 | # License for the specific language governing permissions and limitations 15 | # under the License. 16 | -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # flake8: noqa 3 | 4 | from setuptools import setup, find_packages 5 | 6 | setup( 7 | name = "a10sdk", 8 | version = "4.0.1.214", 9 | packages = find_packages(), 10 | 11 | author = "A10 Networks", 12 | author_email = "support@a10networks.com", 13 | description = "A10 Networks ACOS Python SDK", 14 | license = "Apache", 15 | keywords = "a10 axapi acos adc slb load balancer", 16 | url = "https://github.com/a10networks/a10sdk-python", 17 | 18 | long_description = open('README.md').read(), 19 | 20 | classifiers = [ 21 | 'License :: OSI Approved :: Apache Software License', 22 | 'Operating System :: POSIX', 23 | 'Programming Language :: Python', 24 | 'Programming Language :: Python :: 2.6', 25 | 'Programming Language :: Python :: 2.7', 26 | 'Topic :: Internet', 27 | ], 28 | ) 29 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Byte-compiled / optimized / DLL files 2 | __pycache__/ 3 | *.py[cod] 4 | 5 | # C extensions 6 | *.so 7 | 8 | # Distribution / packaging 9 | .Python 10 | env/ 11 | bin/ 12 | build/ 13 | develop-eggs/ 14 | dist/ 15 | eggs/ 16 | lib/ 17 | lib64/ 18 | parts/ 19 | sdist/ 20 | var/ 21 | *.egg-info/ 22 | .installed.cfg 23 | *.egg 24 | 25 | # Installer logs 26 | pip-log.txt 27 | pip-delete-this-directory.txt 28 | 29 | # Unit test / coverage reports 30 | htmlcov/ 31 | .tox/ 32 | .coverage 33 | .cache 34 | nosetests.xml 35 | coverage.xml 36 | 37 | # Translations 38 | *.mo 39 | 40 | # Mr Developer 41 | .mr.developer.cfg 42 | .project 43 | .pydevproject 44 | 45 | # Rope 46 | .ropeproject 47 | 48 | # Django stuff: 49 | *.log 50 | *.pot 51 | 52 | # Sphinx documentation 53 | docs/_build/ 54 | 55 | *~ 56 | .DS_Store 57 | .venv/ 58 | *.py[cod] 59 | *.so 60 | .installed.cfg 61 | Vagrantfile 62 | .vagrant/ 63 | -------------------------------------------------------------------------------- /a10sdk/core/rrd/rrd.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Rrd(A10BaseClass): 5 | 6 | """Class Description:: 7 | RRD statistics. 8 | 9 | Class rrd supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/rrd`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "rrd" 27 | self.a10_url="/axapi/v3/rrd" 28 | self.DeviceProxy = "" 29 | 30 | for keys, value in kwargs.items(): 31 | setattr(self,keys, value) 32 | 33 | 34 | -------------------------------------------------------------------------------- /a10sdk/core/system/system_cpu.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class SystemCpu(A10BaseClass): 5 | 6 | """Class Description:: 7 | System CPU usage. 8 | 9 | Class system-cpu supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/system-cpu`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "system-cpu" 27 | self.a10_url="/axapi/v3/system-cpu" 28 | self.DeviceProxy = "" 29 | 30 | for keys, value in kwargs.items(): 31 | setattr(self,keys, value) 32 | 33 | 34 | -------------------------------------------------------------------------------- /a10sdk/core/write/write_memory.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class WriteToNonVolatileMemory(A10BaseClass): 5 | 6 | """ :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 7 | 8 | 9 | 10 | URL for this object:: 11 | `https:////axapi/v3/write/memory`. 12 | 13 | Class Write to Non-volatile Memory supports CRUD Operations and inherits from `common/A10BaseClass`. 14 | This class is the `"PARENT"` class for this module.` 15 | 16 | 17 | 18 | 19 | """ 20 | def __init__(self, **kwargs): 21 | self.ERROR_MSG = "" 22 | self.required=[] 23 | self.b_key = "Write to Non-volatile Memory" 24 | self.a10_url="/axapi/v3/write/memory" 25 | self.DeviceProxy = "" 26 | 27 | for keys, value in kwargs.items(): 28 | setattr(self,keys, value) 29 | 30 | 31 | -------------------------------------------------------------------------------- /a10sdk/core/ip/ip_nat_alg.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Alg(A10BaseClass): 5 | 6 | """Class Description:: 7 | Change NAT ALG Settings. 8 | 9 | Class alg supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/ip/nat/alg`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "alg" 27 | self.a10_url="/axapi/v3/ip/nat/alg" 28 | self.DeviceProxy = "" 29 | self.pptp = {} 30 | 31 | for keys, value in kwargs.items(): 32 | setattr(self,keys, value) 33 | 34 | 35 | -------------------------------------------------------------------------------- /a10sdk/core/clock/clock.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Clock(A10BaseClass): 5 | 6 | """ :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 7 | 8 | Class Description:: 9 | Configure time-of-day Clock. 10 | 11 | Class clock supports CRUD Operations and inherits from `common/A10BaseClass`. 12 | This class is the `"PARENT"` class for this module.` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/clock`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "clock" 27 | self.a10_url="/axapi/v3/clock" 28 | self.DeviceProxy = "" 29 | self.A10WW_set = {} 30 | 31 | for keys, value in kwargs.items(): 32 | setattr(self,keys, value) 33 | 34 | 35 | -------------------------------------------------------------------------------- /a10sdk/core/link/link.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Link(A10BaseClass): 5 | 6 | """ :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 7 | 8 | Class Description:: 9 | Link to Configuration Profile. 10 | 11 | Class link supports CRUD Operations and inherits from `common/A10BaseClass`. 12 | This class is the `"PARENT"` class for this module.` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/link`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "link" 27 | self.a10_url="/axapi/v3/link" 28 | self.DeviceProxy = "" 29 | self.startup_config = {} 30 | 31 | for keys, value in kwargs.items(): 32 | setattr(self,keys, value) 33 | 34 | 35 | -------------------------------------------------------------------------------- /a10sdk/core/sflow/sflow_agent.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Agent(A10BaseClass): 5 | 6 | """Class Description:: 7 | Configure sFlow agent. 8 | 9 | Class agent supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/sflow/agent`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "agent" 27 | self.a10_url="/axapi/v3/sflow/agent" 28 | self.DeviceProxy = "" 29 | self.address = {} 30 | 31 | for keys, value in kwargs.items(): 32 | setattr(self,keys, value) 33 | 34 | 35 | -------------------------------------------------------------------------------- /a10sdk/core/techsupport/techsupport_showtech.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class GeneratesShowTechFile(A10BaseClass): 5 | 6 | """ :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 7 | 8 | 9 | 10 | URL for this object:: 11 | `https:////axapi/v3/techsupport/showtech`. 12 | 13 | Class Generates Show Tech file supports CRUD Operations and inherits from `common/A10BaseClass`. 14 | This class is the `"PARENT"` class for this module.` 15 | 16 | 17 | 18 | 19 | """ 20 | def __init__(self, **kwargs): 21 | self.ERROR_MSG = "" 22 | self.required=[] 23 | self.b_key = "Generates Show Tech file" 24 | self.a10_url="/axapi/v3/techsupport/showtech" 25 | self.DeviceProxy = "" 26 | 27 | for keys, value in kwargs.items(): 28 | setattr(self,keys, value) 29 | 30 | 31 | -------------------------------------------------------------------------------- /a10sdk/core/techsupport/techsupport_vcsdebug.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class GeneratesAvcsDebugFile(A10BaseClass): 5 | 6 | """ :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 7 | 8 | 9 | 10 | URL for this object:: 11 | `https:////axapi/v3/techsupport/vcsdebug`. 12 | 13 | Class Generates aVCS debug file supports CRUD Operations and inherits from `common/A10BaseClass`. 14 | This class is the `"PARENT"` class for this module.` 15 | 16 | 17 | 18 | 19 | """ 20 | def __init__(self, **kwargs): 21 | self.ERROR_MSG = "" 22 | self.required=[] 23 | self.b_key = "Generates aVCS debug file" 24 | self.a10_url="/axapi/v3/techsupport/vcsdebug" 25 | self.DeviceProxy = "" 26 | 27 | for keys, value in kwargs.items(): 28 | setattr(self,keys, value) 29 | 30 | 31 | -------------------------------------------------------------------------------- /a10sdk/core/configure/configure.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Configure(A10BaseClass): 5 | 6 | """Class Description:: 7 | Configure sync Commands. 8 | 9 | Class configure supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/configure`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "configure" 27 | self.a10_url="/axapi/v3/configure" 28 | self.DeviceProxy = "" 29 | self.sync = {} 30 | 31 | for keys, value in kwargs.items(): 32 | setattr(self,keys, value) 33 | 34 | 35 | -------------------------------------------------------------------------------- /a10sdk/core/ip/ip_nat_inside.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Inside(A10BaseClass): 5 | 6 | """Class Description:: 7 | Inside configuration for NAT. 8 | 9 | Class inside supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/ip/nat/inside`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "inside" 27 | self.a10_url="/axapi/v3/ip/nat/inside" 28 | self.DeviceProxy = "" 29 | self.source = {} 30 | 31 | for keys, value in kwargs.items(): 32 | setattr(self,keys, value) 33 | 34 | 35 | -------------------------------------------------------------------------------- /a10sdk/core/ipv6/ipv6_route_static.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Static(A10BaseClass): 5 | 6 | """Class Description:: 7 | Allow static routes. 8 | 9 | Class static supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/ipv6/route/static`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "static" 27 | self.a10_url="/axapi/v3/ipv6/route/static" 28 | self.DeviceProxy = "" 29 | self.bfd = {} 30 | 31 | for keys, value in kwargs.items(): 32 | setattr(self,keys, value) 33 | 34 | 35 | -------------------------------------------------------------------------------- /a10sdk/core/upgrade/upgrade.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Upgrade(A10BaseClass): 5 | 6 | """ :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 7 | 8 | Class Description:: 9 | Upgrade System. 10 | 11 | Class upgrade supports CRUD Operations and inherits from `common/A10BaseClass`. 12 | This class is the `"PARENT"` class for this module.` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/upgrade`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "upgrade" 27 | self.a10_url="/axapi/v3/upgrade" 28 | self.DeviceProxy = "" 29 | self.cf = {} 30 | self.hd = {} 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /a10sdk/core/cgnv6/cgnv6_lsn_inside.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Inside(A10BaseClass): 5 | 6 | """Class Description:: 7 | Inside configuration for LSN. 8 | 9 | Class inside supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/cgnv6/lsn/inside`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "inside" 27 | self.a10_url="/axapi/v3/cgnv6/lsn/inside" 28 | self.DeviceProxy = "" 29 | self.source = {} 30 | 31 | for keys, value in kwargs.items(): 32 | setattr(self,keys, value) 33 | 34 | 35 | -------------------------------------------------------------------------------- /a10sdk/core/cgnv6/cgnv6_nat_inside.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Inside(A10BaseClass): 5 | 6 | """Class Description:: 7 | Inside configuration for NAT. 8 | 9 | Class inside supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/cgnv6/nat/inside`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "inside" 27 | self.a10_url="/axapi/v3/cgnv6/nat/inside" 28 | self.DeviceProxy = "" 29 | self.source = {} 30 | 31 | for keys, value in kwargs.items(): 32 | setattr(self,keys, value) 33 | 34 | 35 | -------------------------------------------------------------------------------- /a10sdk/core/ipv6/ipv6_nat_inside.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Inside(A10BaseClass): 5 | 6 | """Class Description:: 7 | Inside configuration for IPv6 NAT. 8 | 9 | Class inside supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/ipv6/nat/inside`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "inside" 27 | self.a10_url="/axapi/v3/ipv6/nat/inside" 28 | self.DeviceProxy = "" 29 | self.source = {} 30 | 31 | for keys, value in kwargs.items(): 32 | setattr(self,keys, value) 33 | 34 | 35 | -------------------------------------------------------------------------------- /a10sdk/core/ldap/ldap_server.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class LdapServer(A10BaseClass): 5 | 6 | """Class Description:: 7 | Configure LDAP server information. 8 | 9 | Class ldap-server supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/ldap-server`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "ldap-server" 27 | self.a10_url="/axapi/v3/ldap-server" 28 | self.DeviceProxy = "" 29 | self.host = {} 30 | 31 | for keys, value in kwargs.items(): 32 | setattr(self,keys, value) 33 | 34 | 35 | -------------------------------------------------------------------------------- /a10sdk/core/ip/ip_dns.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Dns(A10BaseClass): 5 | 6 | """Class Description:: 7 | Set DNS server. 8 | 9 | Class dns supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/ip/dns`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "dns" 27 | self.a10_url="/axapi/v3/ip/dns" 28 | self.DeviceProxy = "" 29 | self.suffix = {} 30 | self.primary = {} 31 | self.secondary = {} 32 | 33 | for keys, value in kwargs.items(): 34 | setattr(self,keys, value) 35 | 36 | 37 | -------------------------------------------------------------------------------- /a10sdk/core/snmp/snmp_server_disable.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Disable(A10BaseClass): 5 | 6 | """Class Description:: 7 | Disable l3v partition trap. 8 | 9 | Class disable supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/snmp-server/disable`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "disable" 27 | self.a10_url="/axapi/v3/snmp-server/disable" 28 | self.DeviceProxy = "" 29 | self.traps = {} 30 | 31 | for keys, value in kwargs.items(): 32 | setattr(self,keys, value) 33 | 34 | 35 | -------------------------------------------------------------------------------- /a10sdk/core/cgnv6/cgnv6_lsn_tcp.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Tcp(A10BaseClass): 5 | 6 | """Class Description:: 7 | LSN TCP parameters. 8 | 9 | Class tcp supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/cgnv6/lsn/tcp`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "tcp" 27 | self.a10_url="/axapi/v3/cgnv6/lsn/tcp" 28 | self.DeviceProxy = "" 29 | self.mss_clamp = {} 30 | self.reset_on_error = {} 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /a10sdk/core/interface/interface_ve_ip_router.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Router(A10BaseClass): 5 | 6 | """Class Description:: 7 | Router. 8 | 9 | Class router supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/interface/ve/{ifnum}/ip/router`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "router" 27 | self.a10_url="/axapi/v3/interface/ve/{ifnum}/ip/router" 28 | self.DeviceProxy = "" 29 | self.isis = {} 30 | 31 | for keys, value in kwargs.items(): 32 | setattr(self,keys, value) 33 | 34 | 35 | -------------------------------------------------------------------------------- /a10sdk/core/backup/backup.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Backup(A10BaseClass): 5 | 6 | """ :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 7 | 8 | Class Description:: 9 | Backup system files. 10 | 11 | Class backup supports CRUD Operations and inherits from `common/A10BaseClass`. 12 | This class is the `"PARENT"` class for this module.` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/backup`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "backup" 27 | self.a10_url="/axapi/v3/backup" 28 | self.DeviceProxy = "" 29 | self.system = {} 30 | self.store = {} 31 | self.log = {} 32 | 33 | for keys, value in kwargs.items(): 34 | setattr(self,keys, value) 35 | 36 | 37 | -------------------------------------------------------------------------------- /a10sdk/core/interface/interface_lif_ip_router.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Router(A10BaseClass): 5 | 6 | """Class Description:: 7 | Router. 8 | 9 | Class router supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/interface/lif/{ifnum}/ip/router`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "router" 27 | self.a10_url="/axapi/v3/interface/lif/{ifnum}/ip/router" 28 | self.DeviceProxy = "" 29 | self.isis = {} 30 | 31 | for keys, value in kwargs.items(): 32 | setattr(self,keys, value) 33 | 34 | 35 | -------------------------------------------------------------------------------- /a10sdk/core/interface/interface_ve_ipv6_router_rip.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Rip(A10BaseClass): 5 | 6 | """Class Description:: 7 | RIP Routing for IPv6. 8 | 9 | Class rip supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/interface/ve/{ifnum}/ipv6/router/rip`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "rip" 27 | self.a10_url="/axapi/v3/interface/ve/{ifnum}/ipv6/router/rip" 28 | self.DeviceProxy = "" 29 | 30 | for keys, value in kwargs.items(): 31 | setattr(self,keys, value) 32 | 33 | 34 | -------------------------------------------------------------------------------- /a10sdk/core/ipv4/ipv4_in_ipv6.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Ipv4InIpv6(A10BaseClass): 5 | 6 | """ :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 7 | 8 | Class Description:: 9 | Global IPv4-in-IPv6 configuration subcommands. 10 | 11 | Class ipv4-in-ipv6 supports CRUD Operations and inherits from `common/A10BaseClass`. 12 | This class is the `"PARENT"` class for this module.` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/ipv4-in-ipv6`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "ipv4-in-ipv6" 27 | self.a10_url="/axapi/v3/ipv4-in-ipv6" 28 | self.DeviceProxy = "" 29 | self.frag = {} 30 | 31 | for keys, value in kwargs.items(): 32 | setattr(self,keys, value) 33 | 34 | 35 | -------------------------------------------------------------------------------- /a10sdk/core/ipv6/ipv6_in_ipv4.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Ipv6InIpv4(A10BaseClass): 5 | 6 | """ :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 7 | 8 | Class Description:: 9 | Global IPv4-in-IPv6 configuration subcommands. 10 | 11 | Class ipv6-in-ipv4 supports CRUD Operations and inherits from `common/A10BaseClass`. 12 | This class is the `"PARENT"` class for this module.` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/ipv6-in-ipv4`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "ipv6-in-ipv4" 27 | self.a10_url="/axapi/v3/ipv6-in-ipv4" 28 | self.DeviceProxy = "" 29 | self.frag = {} 30 | 31 | for keys, value in kwargs.items(): 32 | setattr(self,keys, value) 33 | 34 | 35 | -------------------------------------------------------------------------------- /a10sdk/core/interface/interface_trunk_ip_router.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Router(A10BaseClass): 5 | 6 | """Class Description:: 7 | Router. 8 | 9 | Class router supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/interface/trunk/{ifnum}/ip/router`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "router" 27 | self.a10_url="/axapi/v3/interface/trunk/{ifnum}/ip/router" 28 | self.DeviceProxy = "" 29 | self.isis = {} 30 | 31 | for keys, value in kwargs.items(): 32 | setattr(self,keys, value) 33 | 34 | 35 | -------------------------------------------------------------------------------- /a10sdk/core/slb/slb_tcp_stats_stats.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class TcpStats(A10BaseClass): 5 | 6 | """Class Description:: 7 | Statistics for the object tcp-stats. 8 | 9 | Class tcp-stats supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/slb/tcp-stats/stats`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "tcp-stats" 27 | self.a10_url="/axapi/v3/slb/tcp-stats/stats" 28 | self.DeviceProxy = "" 29 | self.stats = {} 30 | 31 | for keys, value in kwargs.items(): 32 | setattr(self,keys, value) 33 | 34 | 35 | -------------------------------------------------------------------------------- /a10sdk/core/cgnv6/cgnv6_lsn_radius.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Radius(A10BaseClass): 5 | 6 | """ :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 7 | 8 | Class Description:: 9 | Configure the Interaction with External RADIUS Servers. 10 | 11 | Class radius supports CRUD Operations and inherits from `common/A10BaseClass`. 12 | This class is the `"PARENT"` class for this module.` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/cgnv6/lsn/radius`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "radius" 27 | self.a10_url="/axapi/v3/cgnv6/lsn/radius" 28 | self.DeviceProxy = "" 29 | self.server = {} 30 | 31 | for keys, value in kwargs.items(): 32 | setattr(self,keys, value) 33 | 34 | 35 | -------------------------------------------------------------------------------- /a10sdk/core/interface/interface_trunk_ipv6_router_rip.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Rip(A10BaseClass): 5 | 6 | """Class Description:: 7 | RIP Routing for IPv6. 8 | 9 | Class rip supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/interface/trunk/{ifnum}/ipv6/router/rip`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "rip" 27 | self.a10_url="/axapi/v3/interface/trunk/{ifnum}/ipv6/router/rip" 28 | self.DeviceProxy = "" 29 | 30 | for keys, value in kwargs.items(): 31 | setattr(self,keys, value) 32 | 33 | 34 | -------------------------------------------------------------------------------- /a10sdk/core/system/system_ip_stats_stats.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class IpStats(A10BaseClass): 5 | 6 | """Class Description:: 7 | Statistics for the object ip-stats. 8 | 9 | Class ip-stats supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/system/ip-stats/stats`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "ip-stats" 27 | self.a10_url="/axapi/v3/system/ip-stats/stats" 28 | self.DeviceProxy = "" 29 | self.stats = {} 30 | 31 | for keys, value in kwargs.items(): 32 | setattr(self,keys, value) 33 | 34 | 35 | -------------------------------------------------------------------------------- /a10sdk/core/enable/enable_management.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class EnableManagement(A10BaseClass): 5 | 6 | """ :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 7 | 8 | Class Description:: 9 | Enable management services. 10 | 11 | Class enable-management supports CRUD Operations and inherits from `common/A10BaseClass`. 12 | This class is the `"PARENT"` class for this module.` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/enable-management`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "enable-management" 27 | self.a10_url="/axapi/v3/enable-management" 28 | self.DeviceProxy = "" 29 | self.service = {} 30 | 31 | for keys, value in kwargs.items(): 32 | setattr(self,keys, value) 33 | 34 | 35 | -------------------------------------------------------------------------------- /a10sdk/core/interface/interface_ethernet_ip_router.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Router(A10BaseClass): 5 | 6 | """Class Description:: 7 | Router. 8 | 9 | Class router supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/interface/ethernet/{ifnum}/ip/router`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "router" 27 | self.a10_url="/axapi/v3/interface/ethernet/{ifnum}/ip/router" 28 | self.DeviceProxy = "" 29 | self.isis = {} 30 | 31 | for keys, value in kwargs.items(): 32 | setattr(self,keys, value) 33 | 34 | 35 | -------------------------------------------------------------------------------- /a10sdk/core/interface/interface_ethernet_ipv6_router_rip.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Rip(A10BaseClass): 5 | 6 | """Class Description:: 7 | RIP Routing for IPv6. 8 | 9 | Class rip supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/interface/ethernet/{ifnum}/ipv6/router/rip`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "rip" 27 | self.a10_url="/axapi/v3/interface/ethernet/{ifnum}/ipv6/router/rip" 28 | self.DeviceProxy = "" 29 | 30 | for keys, value in kwargs.items(): 31 | setattr(self,keys, value) 32 | 33 | 34 | -------------------------------------------------------------------------------- /a10sdk/core/interface/interface_loopback_ip_router.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Router(A10BaseClass): 5 | 6 | """Class Description:: 7 | Router. 8 | 9 | Class router supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/interface/loopback/{ifnum}/ip/router`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "router" 27 | self.a10_url="/axapi/v3/interface/loopback/{ifnum}/ip/router" 28 | self.DeviceProxy = "" 29 | self.isis = {} 30 | 31 | for keys, value in kwargs.items(): 32 | setattr(self,keys, value) 33 | 34 | 35 | -------------------------------------------------------------------------------- /a10sdk/core/interface/interface_loopback_ipv6_router_rip.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Rip(A10BaseClass): 5 | 6 | """Class Description:: 7 | RIP Routing for IPv6. 8 | 9 | Class rip supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/interface/loopback/{ifnum}/ipv6/router/rip`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "rip" 27 | self.a10_url="/axapi/v3/interface/loopback/{ifnum}/ipv6/router/rip" 28 | self.DeviceProxy = "" 29 | 30 | for keys, value in kwargs.items(): 31 | setattr(self,keys, value) 32 | 33 | 34 | -------------------------------------------------------------------------------- /a10sdk/core/system/system_ip6_stats_stats.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Ip6Stats(A10BaseClass): 5 | 6 | """Class Description:: 7 | Statistics for the object ip6-stats. 8 | 9 | Class ip6-stats supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/system/ip6-stats/stats`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "ip6-stats" 27 | self.a10_url="/axapi/v3/system/ip6-stats/stats" 28 | self.DeviceProxy = "" 29 | self.stats = {} 30 | 31 | for keys, value in kwargs.items(): 32 | setattr(self,keys, value) 33 | 34 | 35 | -------------------------------------------------------------------------------- /a10sdk/core/system/system_tcp_stats_stats.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class TcpStats(A10BaseClass): 5 | 6 | """Class Description:: 7 | Statistics for the object tcp-stats. 8 | 9 | Class tcp-stats supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/system/tcp-stats/stats`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "tcp-stats" 27 | self.a10_url="/axapi/v3/system/tcp-stats/stats" 28 | self.DeviceProxy = "" 29 | self.stats = {} 30 | 31 | for keys, value in kwargs.items(): 32 | setattr(self,keys, value) 33 | 34 | 35 | -------------------------------------------------------------------------------- /a10sdk/core/active/active_partition.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class ActivePartition(A10BaseClass): 5 | 6 | """Class Description:: 7 | Switch current partition. 8 | 9 | Class active-partition supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/active-partition/{partition_name}`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "active-partition" 27 | self.a10_url="/axapi/v3/active-partition/{partition_name}" 28 | self.DeviceProxy = "" 29 | 30 | for keys, value in kwargs.items(): 31 | setattr(self,keys, value) 32 | 33 | 34 | -------------------------------------------------------------------------------- /a10sdk/core/ip/ip_nat_nat_global_stats.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class NatGlobal(A10BaseClass): 5 | 6 | """Class Description:: 7 | Statistics for the object nat-global. 8 | 9 | Class nat-global supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/ip/nat/nat-global/stats`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "nat-global" 27 | self.a10_url="/axapi/v3/ip/nat/nat-global/stats" 28 | self.DeviceProxy = "" 29 | self.stats = {} 30 | 31 | for keys, value in kwargs.items(): 32 | setattr(self,keys, value) 33 | 34 | 35 | -------------------------------------------------------------------------------- /a10sdk/core/disable/disable_management.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class DisableManagement(A10BaseClass): 5 | 6 | """Class Description:: 7 | Disable management services. 8 | 9 | Class disable-management supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/disable-management`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "disable-management" 27 | self.a10_url="/axapi/v3/disable-management" 28 | self.DeviceProxy = "" 29 | self.service = {} 30 | 31 | for keys, value in kwargs.items(): 32 | setattr(self,keys, value) 33 | 34 | 35 | -------------------------------------------------------------------------------- /a10sdk/core/gslb/gslb_ip_list_oper_oper.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class IpListOper(A10BaseClass): 5 | 6 | """Class Description:: 7 | Operational Status for the object ip-list-oper. 8 | 9 | Class ip-list-oper supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/gslb/ip-list-oper/oper`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "ip-list-oper" 27 | self.a10_url="/axapi/v3/gslb/ip-list-oper/oper" 28 | self.DeviceProxy = "" 29 | self.oper = {} 30 | 31 | for keys, value in kwargs.items(): 32 | setattr(self,keys, value) 33 | 34 | 35 | -------------------------------------------------------------------------------- /a10sdk/core/cgnv6/cgnv6_fixed_nat.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class FixedNat(A10BaseClass): 5 | 6 | """ :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 7 | 8 | Class Description:: 9 | Configure Fixed NAT. 10 | 11 | Class fixed-nat supports CRUD Operations and inherits from `common/A10BaseClass`. 12 | This class is the `"PARENT"` class for this module.` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/cgnv6/fixed-nat`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "fixed-nat" 27 | self.a10_url="/axapi/v3/cgnv6/fixed-nat" 28 | self.DeviceProxy = "" 29 | self.alg = {} 30 | self.inside = {} 31 | self.A10WW_global = {} 32 | 33 | for keys, value in kwargs.items(): 34 | setattr(self,keys, value) 35 | 36 | 37 | -------------------------------------------------------------------------------- /a10sdk/core/cgnv6/cgnv6_lw_4o6_save_binding_table.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class SaveBindingTable(A10BaseClass): 5 | 6 | """Class Description:: 7 | Save LW-4over6 binding table. 8 | 9 | Class save-binding-table supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/cgnv6/lw-4o6/save-binding-table`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "save-binding-table" 27 | self.a10_url="/axapi/v3/cgnv6/lw-4o6/save-binding-table" 28 | self.DeviceProxy = "" 29 | 30 | for keys, value in kwargs.items(): 31 | setattr(self,keys, value) 32 | 33 | 34 | -------------------------------------------------------------------------------- /a10sdk/core/router/router_isis_address_family.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class AddressFamily(A10BaseClass): 5 | 6 | """Class Description:: 7 | Enter Address Family command mode. 8 | 9 | Class address-family supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/router/isis/{tag}/address-family`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "address-family" 27 | self.a10_url="/axapi/v3/router/isis/{tag}/address-family" 28 | self.DeviceProxy = "" 29 | self.ipv6 = {} 30 | 31 | for keys, value in kwargs.items(): 32 | setattr(self,keys, value) 33 | 34 | 35 | -------------------------------------------------------------------------------- /a10sdk/core/interface/interface_ve_ipv6_router.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Router(A10BaseClass): 5 | 6 | """Class Description:: 7 | Router. 8 | 9 | Class router supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/interface/ve/{ifnum}/ipv6/router`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "router" 27 | self.a10_url="/axapi/v3/interface/ve/{ifnum}/ipv6/router" 28 | self.DeviceProxy = "" 29 | self.ripng = {} 30 | self.ospf = {} 31 | self.isis = {} 32 | 33 | for keys, value in kwargs.items(): 34 | setattr(self,keys, value) 35 | 36 | 37 | -------------------------------------------------------------------------------- /a10sdk/core/router/router_bgp_address_family.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class AddressFamily(A10BaseClass): 5 | 6 | """Class Description:: 7 | Enter Address Family command mode. 8 | 9 | Class address-family supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/router/bgp/{as_number}/address-family`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "address-family" 27 | self.a10_url="/axapi/v3/router/bgp/{as_number}/address-family" 28 | self.DeviceProxy = "" 29 | self.ipv6 = {} 30 | 31 | for keys, value in kwargs.items(): 32 | setattr(self,keys, value) 33 | 34 | 35 | -------------------------------------------------------------------------------- /a10sdk/core/cgnv6/cgnv6_sixrd_fragmentation.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Fragmentation(A10BaseClass): 5 | 6 | """Class Description:: 7 | sixrd fragmentation parameters. 8 | 9 | Class fragmentation supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/cgnv6/sixrd/fragmentation`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "fragmentation" 27 | self.a10_url="/axapi/v3/cgnv6/sixrd/fragmentation" 28 | self.DeviceProxy = "" 29 | self.inbound = {} 30 | self.outbound = {} 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /a10sdk/core/interface/interface_trunk_ipv6_router.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Router(A10BaseClass): 5 | 6 | """Class Description:: 7 | Router. 8 | 9 | Class router supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/interface/trunk/{ifnum}/ipv6/router`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "router" 27 | self.a10_url="/axapi/v3/interface/trunk/{ifnum}/ipv6/router" 28 | self.DeviceProxy = "" 29 | self.ripng = {} 30 | self.ospf = {} 31 | self.isis = {} 32 | 33 | for keys, value in kwargs.items(): 34 | setattr(self,keys, value) 35 | 36 | 37 | -------------------------------------------------------------------------------- /a10sdk/core/router/router_ospf_redistribute_ip_nat.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class IpNat(A10BaseClass): 5 | 6 | """Class Description:: 7 | IP NAT. 8 | 9 | Class ip-nat supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/router/ospf/{process_id}/redistribute/ip-nat`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "ip-nat" 27 | self.a10_url="/axapi/v3/router/ospf/{process_id}/redistribute/ip-nat" 28 | self.DeviceProxy = "" 29 | self.ip_nat_redist = {} 30 | self.ip_nat_map = {} 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /a10sdk/core/cgnv6/cgnv6_ds_lite_fragmentation.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Fragmentation(A10BaseClass): 5 | 6 | """Class Description:: 7 | DS-Lite fragmentation parameters. 8 | 9 | Class fragmentation supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/cgnv6/ds-lite/fragmentation`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "fragmentation" 27 | self.a10_url="/axapi/v3/cgnv6/ds-lite/fragmentation" 28 | self.DeviceProxy = "" 29 | self.inbound = {} 30 | self.outbound = {} 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /a10sdk/core/interface/interface_ethernet_ipv6_router.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Router(A10BaseClass): 5 | 6 | """Class Description:: 7 | Router. 8 | 9 | Class router supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/interface/ethernet/{ifnum}/ipv6/router`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "router" 27 | self.a10_url="/axapi/v3/interface/ethernet/{ifnum}/ipv6/router" 28 | self.DeviceProxy = "" 29 | self.ripng = {} 30 | self.ospf = {} 31 | self.isis = {} 32 | 33 | for keys, value in kwargs.items(): 34 | setattr(self,keys, value) 35 | 36 | 37 | -------------------------------------------------------------------------------- /a10sdk/core/interface/interface_loopback_ipv6_router.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Router(A10BaseClass): 5 | 6 | """Class Description:: 7 | Router. 8 | 9 | Class router supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/interface/loopback/{ifnum}/ipv6/router`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "router" 27 | self.a10_url="/axapi/v3/interface/loopback/{ifnum}/ipv6/router" 28 | self.DeviceProxy = "" 29 | self.ripng = {} 30 | self.ospf = {} 31 | self.isis = {} 32 | 33 | for keys, value in kwargs.items(): 34 | setattr(self,keys, value) 35 | 36 | 37 | -------------------------------------------------------------------------------- /a10sdk/core/snmp/snmp_server_enable_traps_routing.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Routing(A10BaseClass): 5 | 6 | """Class Description:: 7 | Enable routing traps. 8 | 9 | Class routing supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/snmp-server/enable/traps/routing`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "routing" 27 | self.a10_url="/axapi/v3/snmp-server/enable/traps/routing" 28 | self.DeviceProxy = "" 29 | self.bgp = {} 30 | self.ospf = {} 31 | self.isis = {} 32 | 33 | for keys, value in kwargs.items(): 34 | setattr(self,keys, value) 35 | 36 | 37 | -------------------------------------------------------------------------------- /a10sdk/core/cgnv6/cgnv6_ds_lite_alg.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Alg(A10BaseClass): 5 | 6 | """Class Description:: 7 | DS-Lite ALG Parameters. 8 | 9 | Class alg supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/cgnv6/ds-lite/alg`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "alg" 27 | self.a10_url="/axapi/v3/cgnv6/ds-lite/alg" 28 | self.DeviceProxy = "" 29 | self.pptp = {} 30 | self.ftp = {} 31 | self.tftp = {} 32 | self.rtsp = {} 33 | self.sip = {} 34 | 35 | for keys, value in kwargs.items(): 36 | setattr(self,keys, value) 37 | 38 | 39 | -------------------------------------------------------------------------------- /a10sdk/core/pki/pki_delete_oper.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class DeleteOper(A10BaseClass): 5 | 6 | """ :param filename: {"minLength": 1, "maxLength": 255, "type": "string", "optional": true, "format": "string"} 7 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 8 | 9 | Class Description:: 10 | . 11 | 12 | Class delete-oper supports CRUD Operations and inherits from `common/A10BaseClass`. 13 | This class is the `"PARENT"` class for this module.` 14 | 15 | 16 | 17 | URL for this object:: 18 | `https:////axapi/v3/pki/delete-oper`. 19 | 20 | 21 | 22 | 23 | """ 24 | def __init__(self, **kwargs): 25 | self.ERROR_MSG = "" 26 | self.required=[] 27 | self.b_key = "delete-oper" 28 | self.a10_url="/axapi/v3/pki/delete-oper" 29 | self.DeviceProxy = "" 30 | self.filename = "" 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /a10sdk/core/cgnv6/cgnv6_nat46_stateless_fragmentation.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Fragmentation(A10BaseClass): 5 | 6 | """Class Description:: 7 | Stateless NAT46 parameters. 8 | 9 | Class fragmentation supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/cgnv6/nat46-stateless/fragmentation`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "fragmentation" 27 | self.a10_url="/axapi/v3/cgnv6/nat46-stateless/fragmentation" 28 | self.DeviceProxy = "" 29 | self.inbound = {} 30 | self.outbound = {} 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /a10sdk/core/cgnv6/cgnv6_lsn_alg.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Alg(A10BaseClass): 5 | 6 | """ :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 7 | 8 | Class Description:: 9 | Change LSN ALG Settings. 10 | 11 | Class alg supports CRUD Operations and inherits from `common/A10BaseClass`. 12 | This class is the `"PARENT"` class for this module.` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/cgnv6/lsn/alg`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "alg" 27 | self.a10_url="/axapi/v3/cgnv6/lsn/alg" 28 | self.DeviceProxy = "" 29 | self.ftp = {} 30 | self.sip = {} 31 | self.esp = {} 32 | self.pptp = {} 33 | self.rtsp = {} 34 | self.tftp = {} 35 | 36 | for keys, value in kwargs.items(): 37 | setattr(self,keys, value) 38 | 39 | 40 | -------------------------------------------------------------------------------- /a10sdk/core/cgnv6/cgnv6_nat64_alg.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Alg(A10BaseClass): 5 | 6 | """Class Description:: 7 | NAT64 ALG Parameters. 8 | 9 | Class alg supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/cgnv6/nat64/alg`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "alg" 27 | self.a10_url="/axapi/v3/cgnv6/nat64/alg" 28 | self.DeviceProxy = "" 29 | self.ftp = {} 30 | self.sip = {} 31 | self.esp = {} 32 | self.pptp = {} 33 | self.rtsp = {} 34 | self.tftp = {} 35 | 36 | for keys, value in kwargs.items(): 37 | setattr(self,keys, value) 38 | 39 | 40 | -------------------------------------------------------------------------------- /a10sdk/core/slb/slb_virtual_server_port_stats_fix.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Port(A10BaseClass): 5 | 6 | """Class Description:: 7 | Statistics for the object fix. 8 | 9 | Class port supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/slb/virtual-server/{name}/port/{port_number}+{protocol}/stats`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required = [ "port_number","protocol"] 26 | 27 | self.b_key = "port" 28 | self.a10_url="/axapi/v3/slb/virtual-server/{name}/port/{port_number}+{protocol}/stats" 29 | self.DeviceProxy = "" 30 | 31 | for keys, value in kwargs.items(): 32 | setattr(self,keys, value) 33 | 34 | 35 | -------------------------------------------------------------------------------- /a10sdk/core/aam/aam_authentication_server.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Server(A10BaseClass): 5 | 6 | """ :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 7 | 8 | Class Description:: 9 | Authentication server configuration. 10 | 11 | Class server supports CRUD Operations and inherits from `common/A10BaseClass`. 12 | This class is the `"PARENT"` class for this module.` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/aam/authentication/server`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "server" 27 | self.a10_url="/axapi/v3/aam/authentication/server" 28 | self.DeviceProxy = "" 29 | self.windows = {} 30 | self.ocsp = {} 31 | self.radius = {} 32 | self.ldap = {} 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/system/system_reset.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class SystemReset(A10BaseClass): 5 | 6 | """ :param reboot_flag: {"default": 0, "optional": true, "type": "number", "format": "flag"} 7 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 8 | 9 | Class Description:: 10 | Reset system to the default configuration. 11 | 12 | Class system-reset supports CRUD Operations and inherits from `common/A10BaseClass`. 13 | This class is the `"PARENT"` class for this module.` 14 | 15 | 16 | 17 | URL for this object:: 18 | `https:////axapi/v3/system-reset`. 19 | 20 | 21 | 22 | 23 | """ 24 | def __init__(self, **kwargs): 25 | self.ERROR_MSG = "" 26 | self.required=[] 27 | self.b_key = "system-reset" 28 | self.a10_url="/axapi/v3/system-reset" 29 | self.DeviceProxy = "" 30 | self.reboot_flag = "" 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /a10sdk/core/cgnv6/cgnv6_nat64_fragmentation.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Fragmentation(A10BaseClass): 5 | 6 | """Class Description:: 7 | NAT64 Fragmentation parameters. 8 | 9 | Class fragmentation supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/cgnv6/nat64/fragmentation`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "fragmentation" 27 | self.a10_url="/axapi/v3/cgnv6/nat64/fragmentation" 28 | self.DeviceProxy = "" 29 | self.inbound = {} 30 | self.outbound = {} 31 | self.df_bit_transparency = {} 32 | 33 | for keys, value in kwargs.items(): 34 | setattr(self,keys, value) 35 | 36 | 37 | -------------------------------------------------------------------------------- /a10sdk/core/cgnv6/cgnv6_fixed_nat_alg.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Alg(A10BaseClass): 5 | 6 | """ :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 7 | 8 | Class Description:: 9 | Change Fixed NAT ALG Settings. 10 | 11 | Class alg supports CRUD Operations and inherits from `common/A10BaseClass`. 12 | This class is the `"PARENT"` class for this module.` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/cgnv6/fixed-nat/alg`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "alg" 27 | self.a10_url="/axapi/v3/cgnv6/fixed-nat/alg" 28 | self.DeviceProxy = "" 29 | self.ftp = {} 30 | self.sip = {} 31 | self.esp = {} 32 | self.pptp = {} 33 | self.rtsp = {} 34 | self.tftp = {} 35 | 36 | for keys, value in kwargs.items(): 37 | setattr(self,keys, value) 38 | 39 | 40 | -------------------------------------------------------------------------------- /a10sdk/core/disable/disable_management_service.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Service(A10BaseClass): 5 | 6 | """Class Description:: 7 | Disable management services. 8 | 9 | Class service supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/disable-management/service`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "service" 27 | self.a10_url="/axapi/v3/disable-management/service" 28 | self.DeviceProxy = "" 29 | self.http = {} 30 | self.ping = {} 31 | self.ssh = {} 32 | self.https = {} 33 | self.snmp = {} 34 | 35 | for keys, value in kwargs.items(): 36 | setattr(self,keys, value) 37 | 38 | 39 | -------------------------------------------------------------------------------- /a10sdk/core/vcs/vcs_reload.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Reload(A10BaseClass): 5 | 6 | """ :param disable_merge: {"default": 0, "optional": true, "type": "number", "description": "don't merge this vBlade's configuration to aVCS chassis", "format": "flag"} 7 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 8 | 9 | Class Description:: 10 | VCS reload. 11 | 12 | Class reload supports CRUD Operations and inherits from `common/A10BaseClass`. 13 | This class is the `"PARENT"` class for this module.` 14 | 15 | 16 | 17 | URL for this object:: 18 | `https:////axapi/v3/vcs/reload`. 19 | 20 | 21 | 22 | 23 | """ 24 | def __init__(self, **kwargs): 25 | self.ERROR_MSG = "" 26 | self.required=[] 27 | self.b_key = "reload" 28 | self.a10_url="/axapi/v3/vcs/reload" 29 | self.DeviceProxy = "" 30 | self.disable_merge = "" 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /a10sdk/core/bios/bios_prog.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class BiosProg(A10BaseClass): 5 | 6 | """Class Description:: 7 | Programming for BIOS. 8 | 9 | Class bios-prog supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param uuid: {"description": "uuid of the object", "format": "string", "minLength": 1, "modify-not-allowed": 1, "optional": true, "maxLength": 64, "type": "string"} 13 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 14 | 15 | 16 | 17 | URL for this object:: 18 | `https:////axapi/v3/bios-prog`. 19 | 20 | 21 | 22 | 23 | """ 24 | def __init__(self, **kwargs): 25 | self.ERROR_MSG = "" 26 | self.required=[] 27 | self.b_key = "bios-prog" 28 | self.a10_url="/axapi/v3/bios-prog" 29 | self.DeviceProxy = "" 30 | self.uuid = "" 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /a10sdk/core/cgnv6/cgnv6_lsn_port_overloading.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class PortOverloading(A10BaseClass): 5 | 6 | """Class Description:: 7 | Configure Port-Overloading Behavior (default: disabled). 8 | 9 | Class port-overloading supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/cgnv6/lsn/port-overloading`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "port-overloading" 27 | self.a10_url="/axapi/v3/cgnv6/lsn/port-overloading" 28 | self.DeviceProxy = "" 29 | self.udp = {} 30 | self.A10WW_global = {} 31 | self.tcp = {} 32 | 33 | for keys, value in kwargs.items(): 34 | setattr(self,keys, value) 35 | 36 | 37 | -------------------------------------------------------------------------------- /a10sdk/core/arp/arp_timeout.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class ArpTimeout(A10BaseClass): 5 | 6 | """Class Description:: 7 | ARP entry timeout. 8 | 9 | Class arp-timeout supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param timeout: {"description": "ARP entry timeout", "format": "number", "default": 300, "optional": true, "maximum": 86400, "minimum": 60, "type": "number"} 13 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 14 | 15 | 16 | 17 | URL for this object:: 18 | `https:////axapi/v3/arp-timeout`. 19 | 20 | 21 | 22 | 23 | """ 24 | def __init__(self, **kwargs): 25 | self.ERROR_MSG = "" 26 | self.required=[] 27 | self.b_key = "arp-timeout" 28 | self.a10_url="/axapi/v3/arp-timeout" 29 | self.DeviceProxy = "" 30 | self.timeout = "" 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /a10sdk/core/delete/delete_bw_list.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class BwList(A10BaseClass): 5 | 6 | """ :param file_name: {"description": "Blacklist/whitelist Name", "format": "string", "minLength": 1, "optional": true, "maxLength": 31, "type": "string"} 7 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 8 | 9 | Class Description:: 10 | Blacklist/whitelist. 11 | 12 | Class bw-list supports CRUD Operations and inherits from `common/A10BaseClass`. 13 | This class is the `"PARENT"` class for this module.` 14 | 15 | 16 | 17 | URL for this object:: 18 | `https:////axapi/v3/delete/bw-list`. 19 | 20 | 21 | 22 | 23 | """ 24 | def __init__(self, **kwargs): 25 | self.ERROR_MSG = "" 26 | self.required=[] 27 | self.b_key = "bw-list" 28 | self.a10_url="/axapi/v3/delete/bw-list" 29 | self.DeviceProxy = "" 30 | self.file_name = "" 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /a10sdk/core/sflow/sflow.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Sflow(A10BaseClass): 5 | 6 | """ :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 7 | 8 | Class Description:: 9 | Configure sFlow. 10 | 11 | Class sflow supports CRUD Operations and inherits from `common/A10BaseClass`. 12 | This class is the `"PARENT"` class for this module.` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/sflow`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "sflow" 27 | self.a10_url="/axapi/v3/sflow" 28 | self.DeviceProxy = "" 29 | self.source_address = {} 30 | self.A10WW_global = {} 31 | self.agent = {} 32 | self.sampling = {} 33 | self.setting = {} 34 | self.polling = {} 35 | self.collector = {} 36 | 37 | for keys, value in kwargs.items(): 38 | setattr(self,keys, value) 39 | 40 | 41 | -------------------------------------------------------------------------------- /a10sdk/core/slb/slb_service_group_reset.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Reset(A10BaseClass): 5 | 6 | """ :param auto_switch: {"default": 0, "optional": true, "type": "number", "description": "Reset auto stateless state", "format": "flag"} 7 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 8 | 9 | Class Description:: 10 | Reset. 11 | 12 | Class reset supports CRUD Operations and inherits from `common/A10BaseClass`. 13 | This class is the `"PARENT"` class for this module.` 14 | 15 | 16 | 17 | URL for this object:: 18 | `https:////axapi/v3/slb/service-group/{name}/reset`. 19 | 20 | 21 | 22 | 23 | """ 24 | def __init__(self, **kwargs): 25 | self.ERROR_MSG = "" 26 | self.required=[] 27 | self.b_key = "reset" 28 | self.a10_url="/axapi/v3/slb/service-group/{name}/reset" 29 | self.DeviceProxy = "" 30 | self.auto_switch = "" 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /a10sdk/core/ve/ve_stats.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class VeStats(A10BaseClass): 5 | 6 | """Class Description:: 7 | Enables/Disables vlan ve interface stats generation. 8 | 9 | Class ve-stats supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param enable: {"default": 0, "optional": true, "type": "number", "description": "Enable vlan ve interface stats generation", "format": "flag"} 13 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 14 | 15 | 16 | 17 | URL for this object:: 18 | `https:////axapi/v3/ve-stats`. 19 | 20 | 21 | 22 | 23 | """ 24 | def __init__(self, **kwargs): 25 | self.ERROR_MSG = "" 26 | self.required=[] 27 | self.b_key = "ve-stats" 28 | self.a10_url="/axapi/v3/ve-stats" 29 | self.DeviceProxy = "" 30 | self.enable = "" 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /a10sdk/core/cgnv6/cgnv6_stateful_firewall_alg.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Alg(A10BaseClass): 5 | 6 | """ :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 7 | 8 | Class Description:: 9 | Configure ALGs for stateful firewall. 10 | 11 | Class alg supports CRUD Operations and inherits from `common/A10BaseClass`. 12 | This class is the `"PARENT"` class for this module.` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/cgnv6/stateful-firewall/alg`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "alg" 27 | self.a10_url="/axapi/v3/cgnv6/stateful-firewall/alg" 28 | self.DeviceProxy = "" 29 | self.ftp = {} 30 | self.sip = {} 31 | self.pptp = {} 32 | self.rtsp = {} 33 | self.rtp = {} 34 | self.tftp = {} 35 | 36 | for keys, value in kwargs.items(): 37 | setattr(self,keys, value) 38 | 39 | 40 | -------------------------------------------------------------------------------- /a10sdk/core/delete/delete_debug_monitor.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class DebugMonitor(A10BaseClass): 5 | 6 | """ :param file_name: {"description": "Local File Name", "format": "string", "minLength": 1, "optional": true, "maxLength": 31, "type": "string"} 7 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 8 | 9 | Class Description:: 10 | Debug File. 11 | 12 | Class debug-monitor supports CRUD Operations and inherits from `common/A10BaseClass`. 13 | This class is the `"PARENT"` class for this module.` 14 | 15 | 16 | 17 | URL for this object:: 18 | `https:////axapi/v3/delete/debug-monitor`. 19 | 20 | 21 | 22 | 23 | """ 24 | def __init__(self, **kwargs): 25 | self.ERROR_MSG = "" 26 | self.required=[] 27 | self.b_key = "debug-monitor" 28 | self.a10_url="/axapi/v3/delete/debug-monitor" 29 | self.DeviceProxy = "" 30 | self.file_name = "" 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /a10sdk/core/delete/delete_web_category.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class WebCategory(A10BaseClass): 5 | 6 | """ :param database: {"default": 0, "optional": true, "type": "number", "description": "Delete web-category database", "format": "flag"} 7 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 8 | 9 | Class Description:: 10 | Delete web-category database. 11 | 12 | Class web-category supports CRUD Operations and inherits from `common/A10BaseClass`. 13 | This class is the `"PARENT"` class for this module.` 14 | 15 | 16 | 17 | URL for this object:: 18 | `https:////axapi/v3/delete/web-category`. 19 | 20 | 21 | 22 | 23 | """ 24 | def __init__(self, **kwargs): 25 | self.ERROR_MSG = "" 26 | self.required=[] 27 | self.b_key = "web-category" 28 | self.a10_url="/axapi/v3/delete/web-category" 29 | self.DeviceProxy = "" 30 | self.database = "" 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /a10sdk/core/enable/enable_password.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class EnablePassword(A10BaseClass): 5 | 6 | """ :param password: {"description": "The password", "format": "password", "minLength": 1, "optional": true, "maxLength": 63, "type": "string"} 7 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 8 | 9 | Class Description:: 10 | Modify enable password parameters. 11 | 12 | Class enable-password supports CRUD Operations and inherits from `common/A10BaseClass`. 13 | This class is the `"PARENT"` class for this module.` 14 | 15 | 16 | 17 | URL for this object:: 18 | `https:////axapi/v3/enable-password`. 19 | 20 | 21 | 22 | 23 | """ 24 | def __init__(self, **kwargs): 25 | self.ERROR_MSG = "" 26 | self.required=[] 27 | self.b_key = "enable-password" 28 | self.a10_url="/axapi/v3/enable-password" 29 | self.DeviceProxy = "" 30 | self.password = "" 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /a10sdk/core/lacp/lacp.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Lacp(A10BaseClass): 5 | 6 | """Class Description:: 7 | LACP commands. 8 | 9 | Class lacp supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param system_priority: {"description": "LACP system priority. help-val LACP system priority, 1-65535, default 32768", "format": "number", "default": 32768, "optional": true, "maximum": 65535, "minimum": 1, "type": "number"} 13 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 14 | 15 | 16 | 17 | URL for this object:: 18 | `https:////axapi/v3/lacp`. 19 | 20 | 21 | 22 | 23 | """ 24 | def __init__(self, **kwargs): 25 | self.ERROR_MSG = "" 26 | self.required=[] 27 | self.b_key = "lacp" 28 | self.a10_url="/axapi/v3/lacp" 29 | self.DeviceProxy = "" 30 | self.system_priority = "" 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /a10sdk/core/system/system_poll_mode.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class SystemPollMode(A10BaseClass): 5 | 6 | """ :param enable: {"default": 0, "optional": true, "type": "number", "description": "Enable/Disable System Polling mode", "format": "flag"} 7 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 8 | 9 | Class Description:: 10 | Enable/Disable System Polling Mode. 11 | 12 | Class system-poll-mode supports CRUD Operations and inherits from `common/A10BaseClass`. 13 | This class is the `"PARENT"` class for this module.` 14 | 15 | 16 | 17 | URL for this object:: 18 | `https:////axapi/v3/system-poll-mode`. 19 | 20 | 21 | 22 | 23 | """ 24 | def __init__(self, **kwargs): 25 | self.ERROR_MSG = "" 26 | self.required=[] 27 | self.b_key = "system-poll-mode" 28 | self.a10_url="/axapi/v3/system-poll-mode" 29 | self.DeviceProxy = "" 30 | self.enable = "" 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /a10sdk/core/delete/delete_auth_portal.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class AuthPortal(A10BaseClass): 5 | 6 | """ :param portal_name: {"description": "Local File Name", "format": "string-rlx", "minLength": 1, "optional": true, "maxLength": 63, "type": "string"} 7 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 8 | 9 | Class Description:: 10 | Portal file for http authentication. 11 | 12 | Class auth-portal supports CRUD Operations and inherits from `common/A10BaseClass`. 13 | This class is the `"PARENT"` class for this module.` 14 | 15 | 16 | 17 | URL for this object:: 18 | `https:////axapi/v3/delete/auth-portal`. 19 | 20 | 21 | 22 | 23 | """ 24 | def __init__(self, **kwargs): 25 | self.ERROR_MSG = "" 26 | self.required=[] 27 | self.b_key = "auth-portal" 28 | self.a10_url="/axapi/v3/delete/auth-portal" 29 | self.DeviceProxy = "" 30 | self.portal_name = "" 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /a10sdk/core/cgnv6/cgnv6_lsn_endpoint_independent_mapping.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class EndpointIndependentMapping(A10BaseClass): 5 | 6 | """Class Description:: 7 | Configure Endpoint-Independent-Mapping Behavior (default: disabled). 8 | 9 | Class endpoint-independent-mapping supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/cgnv6/lsn/endpoint-independent-mapping`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "endpoint-independent-mapping" 27 | self.a10_url="/axapi/v3/cgnv6/lsn/endpoint-independent-mapping" 28 | self.DeviceProxy = "" 29 | self.udp = {} 30 | self.tcp = {} 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /a10sdk/core/A10_file/file_system_backup.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class SystemBackup(A10BaseClass): 5 | 6 | """ :param file_handle: {"description": "full path of the uploaded file", "format": "string-rlx", "minLength": 1, "optional": true, "maxLength": 255, "type": "string"} 7 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 8 | 9 | Class Description:: 10 | Backup system files. 11 | 12 | Class system-backup supports CRUD Operations and inherits from `common/A10BaseClass`. 13 | This class is the `"PARENT"` class for this module.` 14 | 15 | 16 | 17 | URL for this object:: 18 | `https:////axapi/v3/file/system-backup`. 19 | 20 | 21 | 22 | 23 | """ 24 | def __init__(self, **kwargs): 25 | self.ERROR_MSG = "" 26 | self.required=[] 27 | self.b_key = "system-backup" 28 | self.a10_url="/axapi/v3/file/system-backup" 29 | self.DeviceProxy = "" 30 | self.file_handle = "" 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /a10sdk/core/delete/delete_local_uri_file.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class LocalUriFile(A10BaseClass): 5 | 6 | """ :param file_name: {"description": "Local File Name", "format": "string", "minLength": 1, "optional": true, "maxLength": 63, "type": "string"} 7 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 8 | 9 | Class Description:: 10 | Local URI files for http response. 11 | 12 | Class local-uri-file supports CRUD Operations and inherits from `common/A10BaseClass`. 13 | This class is the `"PARENT"` class for this module.` 14 | 15 | 16 | 17 | URL for this object:: 18 | `https:////axapi/v3/delete/local-uri-file`. 19 | 20 | 21 | 22 | 23 | """ 24 | def __init__(self, **kwargs): 25 | self.ERROR_MSG = "" 26 | self.required=[] 27 | self.b_key = "local-uri-file" 28 | self.a10_url="/axapi/v3/delete/local-uri-file" 29 | self.DeviceProxy = "" 30 | self.file_name = "" 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /a10sdk/core/poap/poap.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Poap(A10BaseClass): 5 | 6 | """ :param action: {"optional": true, "enum": ["enable", "disable"], "type": "string", "description": "'enable': Enable POAP mode; 'disable': Disable POAP mode; ", "format": "enum"} 7 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 8 | 9 | Class Description:: 10 | Set POAP; when next boot, if startup-config is empty, system will enter POAP Mode. 11 | 12 | Class poap supports CRUD Operations and inherits from `common/A10BaseClass`. 13 | This class is the `"PARENT"` class for this module.` 14 | 15 | 16 | 17 | URL for this object:: 18 | `https:////axapi/v3/poap`. 19 | 20 | 21 | 22 | 23 | """ 24 | def __init__(self, **kwargs): 25 | self.ERROR_MSG = "" 26 | self.required=[] 27 | self.b_key = "poap" 28 | self.a10_url="/axapi/v3/poap" 29 | self.DeviceProxy = "" 30 | self.action = "" 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /a10sdk/core/acos/acos_scaleout.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class AcosScaleout(A10BaseClass): 5 | 6 | """Class Description:: 7 | Configure ACOS Scaleout. 8 | 9 | Class acos-scaleout supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param enable: {"default": 0, "optional": true, "partition-visibility": "private", "type": "number", "format": "flag"} 13 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 14 | 15 | 16 | 17 | URL for this object:: 18 | `https:////axapi/v3/acos-scaleout`. 19 | 20 | 21 | 22 | 23 | """ 24 | def __init__(self, **kwargs): 25 | self.ERROR_MSG = "" 26 | self.required=[] 27 | self.b_key = "acos-scaleout" 28 | self.a10_url="/axapi/v3/acos-scaleout" 29 | self.DeviceProxy = "" 30 | self.local_device = {} 31 | self.enable = "" 32 | self.cluster_config = {} 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/cgnv6/cgnv6_lsn_endpoint_independent_filtering.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class EndpointIndependentFiltering(A10BaseClass): 5 | 6 | """Class Description:: 7 | Configure Endpoint-Independent-Filtering Behavior (default: disabled). 8 | 9 | Class endpoint-independent-filtering supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/cgnv6/lsn/endpoint-independent-filtering`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "endpoint-independent-filtering" 27 | self.a10_url="/axapi/v3/cgnv6/lsn/endpoint-independent-filtering" 28 | self.DeviceProxy = "" 29 | self.udp = {} 30 | self.tcp = {} 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /a10sdk/core/delete/delete_auth_saml_idp.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class AuthSamlIdp(A10BaseClass): 5 | 6 | """ :param saml_idp_name: {"description": "Local IDP metadata name", "format": "string", "minLength": 1, "optional": true, "maxLength": 63, "type": "string"} 7 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 8 | 9 | Class Description:: 10 | SAML metadata of identity provider. 11 | 12 | Class auth-saml-idp supports CRUD Operations and inherits from `common/A10BaseClass`. 13 | This class is the `"PARENT"` class for this module.` 14 | 15 | 16 | 17 | URL for this object:: 18 | `https:////axapi/v3/delete/auth-saml-idp`. 19 | 20 | 21 | 22 | 23 | """ 24 | def __init__(self, **kwargs): 25 | self.ERROR_MSG = "" 26 | self.required=[] 27 | self.b_key = "auth-saml-idp" 28 | self.a10_url="/axapi/v3/delete/auth-saml-idp" 29 | self.DeviceProxy = "" 30 | self.saml_idp_name = "" 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /a10sdk/core/delete/delete_health_postfile.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class HealthPostfile(A10BaseClass): 5 | 6 | """ :param file_name: {"description": "Specify the File Name", "format": "string", "minLength": 1, "optional": true, "maxLength": 31, "type": "string"} 7 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 8 | 9 | Class Description:: 10 | Address the HTTP Post data file. 11 | 12 | Class health-postfile supports CRUD Operations and inherits from `common/A10BaseClass`. 13 | This class is the `"PARENT"` class for this module.` 14 | 15 | 16 | 17 | URL for this object:: 18 | `https:////axapi/v3/delete/health-postfile`. 19 | 20 | 21 | 22 | 23 | """ 24 | def __init__(self, **kwargs): 25 | self.ERROR_MSG = "" 26 | self.required=[] 27 | self.b_key = "health-postfile" 28 | self.a10_url="/axapi/v3/delete/health-postfile" 29 | self.DeviceProxy = "" 30 | self.file_name = "" 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /a10sdk/core/system/system_big_buff_pool.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class SystemBigBuffPool(A10BaseClass): 5 | 6 | """ :param big_buff_pool: {"default": 0, "optional": true, "type": "number", "description": "Configure big I/O buffer pool", "format": "flag"} 7 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 8 | 9 | Class Description:: 10 | System big buff pool config. 11 | 12 | Class system-big-buff-pool supports CRUD Operations and inherits from `common/A10BaseClass`. 13 | This class is the `"PARENT"` class for this module.` 14 | 15 | 16 | 17 | URL for this object:: 18 | `https:////axapi/v3/system-big-buff-pool`. 19 | 20 | 21 | 22 | 23 | """ 24 | def __init__(self, **kwargs): 25 | self.ERROR_MSG = "" 26 | self.required=[] 27 | self.b_key = "system-big-buff-pool" 28 | self.a10_url="/axapi/v3/system-big-buff-pool" 29 | self.DeviceProxy = "" 30 | self.big_buff_pool = "" 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /a10sdk/core/delete/delete_health_external.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class HealthExternal(A10BaseClass): 5 | 6 | """ :param file_name: {"description": "Specify the Program Name", "format": "string", "minLength": 1, "optional": true, "maxLength": 31, "type": "string"} 7 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 8 | 9 | Class Description:: 10 | Address the External Script Program. 11 | 12 | Class health-external supports CRUD Operations and inherits from `common/A10BaseClass`. 13 | This class is the `"PARENT"` class for this module.` 14 | 15 | 16 | 17 | URL for this object:: 18 | `https:////axapi/v3/delete/health-external`. 19 | 20 | 21 | 22 | 23 | """ 24 | def __init__(self, **kwargs): 25 | self.ERROR_MSG = "" 26 | self.required=[] 27 | self.b_key = "health-external" 28 | self.a10_url="/axapi/v3/delete/health-external" 29 | self.DeviceProxy = "" 30 | self.file_name = "" 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /a10sdk/core/delete/delete_startup_config.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class StartupConfig(A10BaseClass): 5 | 6 | """ :param file_name: {"description": "Local Configuration Profile Name", "format": "string", "minLength": 1, "optional": true, "maxLength": 31, "type": "string"} 7 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 8 | 9 | Class Description:: 10 | Startup Configuration profile. 11 | 12 | Class startup-config supports CRUD Operations and inherits from `common/A10BaseClass`. 13 | This class is the `"PARENT"` class for this module.` 14 | 15 | 16 | 17 | URL for this object:: 18 | `https:////axapi/v3/delete/startup-config`. 19 | 20 | 21 | 22 | 23 | """ 24 | def __init__(self, **kwargs): 25 | self.ERROR_MSG = "" 26 | self.required=[] 27 | self.b_key = "startup-config" 28 | self.a10_url="/axapi/v3/delete/startup-config" 29 | self.DeviceProxy = "" 30 | self.file_name = "" 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /a10sdk/core/router/router_device_context.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class DeviceContext(A10BaseClass): 5 | 6 | """Class Description:: 7 | The target device the following router commands to configure for. 8 | 9 | Class device-context supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param dev_id: {"description": "Device ID", "format": "number", "type": "number", "maximum": 8, "minimum": 1, "optional": true} 13 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 14 | 15 | 16 | 17 | URL for this object:: 18 | `https:////axapi/v3/router/device-context`. 19 | 20 | 21 | 22 | 23 | """ 24 | def __init__(self, **kwargs): 25 | self.ERROR_MSG = "" 26 | self.required=[] 27 | self.b_key = "device-context" 28 | self.a10_url="/axapi/v3/router/device-context" 29 | self.DeviceProxy = "" 30 | self.dev_id = "" 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /a10sdk/core/delete/delete_auth_portal_image.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class AuthPortalImage(A10BaseClass): 5 | 6 | """ :param image_name: {"description": "Local File Name", "format": "string-rlx", "minLength": 1, "optional": true, "maxLength": 63, "type": "string"} 7 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 8 | 9 | Class Description:: 10 | Image file for default portal. 11 | 12 | Class auth-portal-image supports CRUD Operations and inherits from `common/A10BaseClass`. 13 | This class is the `"PARENT"` class for this module.` 14 | 15 | 16 | 17 | URL for this object:: 18 | `https:////axapi/v3/delete/auth-portal-image`. 19 | 20 | 21 | 22 | 23 | """ 24 | def __init__(self, **kwargs): 25 | self.ERROR_MSG = "" 26 | self.required=[] 27 | self.b_key = "auth-portal-image" 28 | self.a10_url="/axapi/v3/delete/auth-portal-image" 29 | self.DeviceProxy = "" 30 | self.image_name = "" 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /a10sdk/core/device/device_context.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class DeviceContext(A10BaseClass): 5 | 6 | """ :param device_id: {"platform-specific-range": 1, "platform-specific-default": 1, "description": "Device ID", "format": "number", "optional": true, "type": "number"} 7 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 8 | 9 | Class Description:: 10 | Switch context to a particular device for VCS config. 11 | 12 | Class device-context supports CRUD Operations and inherits from `common/A10BaseClass`. 13 | This class is the `"PARENT"` class for this module.` 14 | 15 | 16 | 17 | URL for this object:: 18 | `https:////axapi/v3/device-context`. 19 | 20 | 21 | 22 | 23 | """ 24 | def __init__(self, **kwargs): 25 | self.ERROR_MSG = "" 26 | self.required=[] 27 | self.b_key = "device-context" 28 | self.a10_url="/axapi/v3/device-context" 29 | self.DeviceProxy = "" 30 | self.device_id = "" 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /a10sdk/core/aflex/aflex.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Aflex(A10BaseClass): 5 | 6 | """Class Description:: 7 | Manage aFleX Scripts. 8 | 9 | Class aflex supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param max_filesize: {"description": "Set maximum aFleX file size (Maximum file size in KBytes, default is 32K)", "partition-visibility": "shared", "default": 32, "optional": true, "format": "number", "maximum": 256, "minimum": 16, "type": "number"} 13 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 14 | 15 | 16 | 17 | URL for this object:: 18 | `https:////axapi/v3/aflex`. 19 | 20 | 21 | 22 | 23 | """ 24 | def __init__(self, **kwargs): 25 | self.ERROR_MSG = "" 26 | self.required=[] 27 | self.b_key = "aflex" 28 | self.a10_url="/axapi/v3/aflex" 29 | self.DeviceProxy = "" 30 | self.max_filesize = "" 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /a10sdk/core/cm/cm_ut_post_modify_parent_post_modify_child.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class PostModifyChild(A10BaseClass): 5 | 6 | """Class Description:: 7 | Unit test of post modify ineligible. 8 | 9 | Class post-modify-child supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param f1: {"optional": true, "minimum": 1, "type": "number", "maximum": 32, "format": "number"} 13 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 14 | 15 | 16 | 17 | URL for this object:: 18 | `https:////axapi/v3/cm-ut/post-modify-parent/{k1}/post-modify-child`. 19 | 20 | 21 | 22 | 23 | """ 24 | def __init__(self, **kwargs): 25 | self.ERROR_MSG = "" 26 | self.required=[] 27 | self.b_key = "post-modify-child" 28 | self.a10_url="/axapi/v3/cm-ut/post-modify-parent/{k1}/post-modify-child" 29 | self.DeviceProxy = "" 30 | self.f1 = "" 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /a10sdk/core/dnssec/dnssec_sign_zone_now.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class SignZoneNow(A10BaseClass): 5 | 6 | """ :param zone_name: {"description": "Specify the name for the DNS zone, empty means sign all zones", "format": "string", "minLength": 1, "optional": true, "maxLength": 127, "type": "string"} 7 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 8 | 9 | Class Description:: 10 | sign zone right now. 11 | 12 | Class sign-zone-now supports CRUD Operations and inherits from `common/A10BaseClass`. 13 | This class is the `"PARENT"` class for this module.` 14 | 15 | 16 | 17 | URL for this object:: 18 | `https:////axapi/v3/dnssec/sign-zone-now`. 19 | 20 | 21 | 22 | 23 | """ 24 | def __init__(self, **kwargs): 25 | self.ERROR_MSG = "" 26 | self.required=[] 27 | self.b_key = "sign-zone-now" 28 | self.a10_url="/axapi/v3/dnssec/sign-zone-now" 29 | self.DeviceProxy = "" 30 | self.zone_name = "" 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /a10sdk/core/vcs/vcs_vmaster_take_over.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class VmasterTakeOver(A10BaseClass): 5 | 6 | """ :param vmaster_take_over: {"description": "vMaster take over priority", "format": "number", "type": "number", "maximum": 255, "minimum": 1, "optional": true} 7 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 8 | 9 | Class Description:: 10 | Forcefully take over mastership. 11 | 12 | Class vmaster-take-over supports CRUD Operations and inherits from `common/A10BaseClass`. 13 | This class is the `"PARENT"` class for this module.` 14 | 15 | 16 | 17 | URL for this object:: 18 | `https:////axapi/v3/vcs/vmaster-take-over`. 19 | 20 | 21 | 22 | 23 | """ 24 | def __init__(self, **kwargs): 25 | self.ERROR_MSG = "" 26 | self.required=[] 27 | self.b_key = "vmaster-take-over" 28 | self.a10_url="/axapi/v3/vcs/vmaster-take-over" 29 | self.DeviceProxy = "" 30 | self.vmaster_take_over = "" 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /a10sdk/core/cgnv6/cgnv6_stateful_firewall_endpoint_independent_filtering.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class EndpointIndependentFiltering(A10BaseClass): 5 | 6 | """Class Description:: 7 | Configure Endpoint-Independent-Filtering Behavior . 8 | 9 | Class endpoint-independent-filtering supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 13 | 14 | 15 | 16 | URL for this object:: 17 | `https:////axapi/v3/cgnv6/stateful-firewall/endpoint-independent-filtering`. 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "endpoint-independent-filtering" 27 | self.a10_url="/axapi/v3/cgnv6/stateful-firewall/endpoint-independent-filtering" 28 | self.DeviceProxy = "" 29 | self.udp = {} 30 | self.tcp = {} 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /a10sdk/core/slb/slb_template_dblb_calc_sha1.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class CalcSha1(A10BaseClass): 5 | 6 | """ :param sha1_value: {"description": "Cleartext password", "format": "string", "minLength": 1, "optional": true, "maxLength": 63, "type": "string"} 7 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 8 | 9 | Class Description:: 10 | Calculate sha1 value of a cleartext password. 11 | 12 | Class calc-sha1 supports CRUD Operations and inherits from `common/A10BaseClass`. 13 | This class is the `"PARENT"` class for this module.` 14 | 15 | 16 | 17 | URL for this object:: 18 | `https:////axapi/v3/slb/template/dblb/{name}/calc-sha1`. 19 | 20 | 21 | 22 | 23 | """ 24 | def __init__(self, **kwargs): 25 | self.ERROR_MSG = "" 26 | self.required=[] 27 | self.b_key = "calc-sha1" 28 | self.a10_url="/axapi/v3/slb/template/dblb/{name}/calc-sha1" 29 | self.DeviceProxy = "" 30 | self.sha1_value = "" 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /a10sdk/core/cm/cm_ut_post_modify_parent.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class PostModifyParent(A10BaseClass): 5 | 6 | """Class Description:: 7 | Unit test of post modify ineligible. 8 | 9 | Class post-modify-parent supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param k1: {"minLength": 1, "maxLength": 32, "type": "string", "optional": false, "format": "string"} 13 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 14 | 15 | 16 | 17 | URL for this object:: 18 | `https:////axapi/v3/cm-ut/post-modify-parent/{k1}`. 19 | 20 | 21 | 22 | 23 | """ 24 | def __init__(self, **kwargs): 25 | self.ERROR_MSG = "" 26 | self.required = [ "k1"] 27 | 28 | self.b_key = "post-modify-parent" 29 | self.a10_url="/axapi/v3/cm-ut/post-modify-parent/{k1}" 30 | self.DeviceProxy = "" 31 | self.post_modify_child = {} 32 | self.k1 = "" 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/mac/mac_age_time.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class MacAgeTime(A10BaseClass): 5 | 6 | """Class Description:: 7 | Set Aging period for all MAC Interfaces. 8 | 9 | Class mac-age-time supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param aging_time: {"description": "Set aging period in seconds for all MAC interfaces (default 300 seconds)", "format": "number", "default": 300, "optional": true, "maximum": 600, "minimum": 10, "type": "number"} 13 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 14 | 15 | 16 | 17 | URL for this object:: 18 | `https:////axapi/v3/mac-age-time`. 19 | 20 | 21 | 22 | 23 | """ 24 | def __init__(self, **kwargs): 25 | self.ERROR_MSG = "" 26 | self.required=[] 27 | self.b_key = "mac-age-time" 28 | self.a10_url="/axapi/v3/mac-age-time" 29 | self.DeviceProxy = "" 30 | self.aging_time = "" 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /a10sdk/core/multi/multi_ctrl_cpu.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class MultiCtrlCpu(A10BaseClass): 5 | 6 | """ :param num_ctrl_cpus: {"description": "Enter a number between 1 and less than half of the total number of CPUs, default is 1", "format": "number", "type": "number", "maximum": 32, "minimum": 1, "optional": true} 7 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 8 | 9 | Class Description:: 10 | Enable Multiple Control CPUs. 11 | 12 | Class multi-ctrl-cpu supports CRUD Operations and inherits from `common/A10BaseClass`. 13 | This class is the `"PARENT"` class for this module.` 14 | 15 | 16 | 17 | URL for this object:: 18 | `https:////axapi/v3/multi-ctrl-cpu`. 19 | 20 | 21 | 22 | 23 | """ 24 | def __init__(self, **kwargs): 25 | self.ERROR_MSG = "" 26 | self.required=[] 27 | self.b_key = "multi-ctrl-cpu" 28 | self.a10_url="/axapi/v3/multi-ctrl-cpu" 29 | self.DeviceProxy = "" 30 | self.num_ctrl_cpus = "" 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /a10sdk/core/locale/locale_test.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Test(A10BaseClass): 5 | 6 | """ :param locale: {"optional": true, "enum": ["zh_CN", "zh_TW", "ja_JP"], "type": "string", "description": "'zh_CN': Chinese locale for PRC; 'zh_TW': Chinese locale for Taiwan; 'ja_JP': Japanese locale for Japan; ", "format": "enum"} 7 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 8 | 9 | Class Description:: 10 | To test current terminal encodings for specific locale. 11 | 12 | Class test supports CRUD Operations and inherits from `common/A10BaseClass`. 13 | This class is the `"PARENT"` class for this module.` 14 | 15 | 16 | 17 | URL for this object:: 18 | `https:////axapi/v3/locale/test`. 19 | 20 | 21 | 22 | 23 | """ 24 | def __init__(self, **kwargs): 25 | self.ERROR_MSG = "" 26 | self.required=[] 27 | self.b_key = "test" 28 | self.a10_url="/axapi/v3/locale/test" 29 | self.DeviceProxy = "" 30 | self.locale = "" 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /a10sdk/core/vrrp/vrrp_a_vrid_priority.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Priority(A10BaseClass): 5 | 6 | """Class Description:: 7 | HA VRRP-A Global Commands. 8 | 9 | Class priority supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param priority_value: {"description": "VRRP-A priorty. help-val Priority, default is 150", "format": "number", "default": 150, "optional": true, "maximum": 255, "minimum": 1, "type": "number"} 13 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 14 | 15 | 16 | 17 | URL for this object:: 18 | `https:////axapi/v3/vrrp-a/vrid/{vrid_val}/priority`. 19 | 20 | 21 | 22 | 23 | """ 24 | def __init__(self, **kwargs): 25 | self.ERROR_MSG = "" 26 | self.required=[] 27 | self.b_key = "priority" 28 | self.a10_url="/axapi/v3/vrrp-a/vrid/{vrid_val}/priority" 29 | self.DeviceProxy = "" 30 | self.priority_value = "" 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /a10sdk/core/delete/delete_geo_location_class_list.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class GeoLocationClassList(A10BaseClass): 5 | 6 | """ :param filename: {"description": "Specify file to be deleted", "format": "string", "minLength": 1, "optional": true, "maxLength": 63, "type": "string"} 7 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 8 | 9 | Class Description:: 10 | Delete geo-location class-list file. 11 | 12 | Class geo-location-class-list supports CRUD Operations and inherits from `common/A10BaseClass`. 13 | This class is the `"PARENT"` class for this module.` 14 | 15 | 16 | 17 | URL for this object:: 18 | `https:////axapi/v3/delete/geo-location-class-list`. 19 | 20 | 21 | 22 | 23 | """ 24 | def __init__(self, **kwargs): 25 | self.ERROR_MSG = "" 26 | self.required=[] 27 | self.b_key = "geo-location-class-list" 28 | self.a10_url="/axapi/v3/delete/geo-location-class-list" 29 | self.DeviceProxy = "" 30 | self.filename = "" 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # A10 Networks Python Client SDK 2 | 3 | A10 github repos: 4 | 5 | - [a10sdk-python](https://github.com/a10networks/a10sdk-python) - Full featured AxAPI client. 6 | - [acos-client](https://github.com/a10networks/acos-client) - Alternate AxAPI client. 7 | 8 | ## Usage 9 | 10 | In order to get a session ID for continued use we need to create a `DeviceProxy` object. The DeviceProxy class requires the hostname/IP, port, username, and password. 11 | 12 | ```python 13 | from a10sdk.common.device_proxy import DeviceProxy 14 | dp = DeviceProxy(host="10.48.5.181", port=443, username="admin", password="a10") 15 | ``` 16 | 17 | #### Example setting up an SLB: 18 | 19 | To utilize the sdk you must import the modules for the objects you would like to manage. 20 | 21 | ```python 22 | from a10sdk.core.slb.slb_virtual_server import VirtualServer 23 | vs = VirtualServer(name='s1', ip_address="1.1.1.1", DeviceProxy=dp) 24 | vs.create() 25 | ``` 26 | 27 | ## Contributing 28 | 29 | 1. Fork it ( http://github.com/a10networks/a10sdk-python/fork ) 30 | 2. Create your feature branch (`git checkout -b my-new-feature`) 31 | 3. Commit your changes (`git commit -am 'Add some feature'`) 32 | 4. Push to the branch (`git push origin my-new-feature`) 33 | 5. Create new Pull Request 34 | -------------------------------------------------------------------------------- /a10sdk/core/boot/boot_block_fix.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class BootBlockFix(A10BaseClass): 5 | 6 | """ :param cf: {"default": 0, "optional": true, "type": "number", "description": "Compact flash", "format": "flag"} 7 | :param hd: {"default": 0, "optional": true, "type": "number", "description": "Hard disk", "format": "flag"} 8 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 9 | 10 | Class Description:: 11 | Fix booting problem. 12 | 13 | Class boot-block-fix supports CRUD Operations and inherits from `common/A10BaseClass`. 14 | This class is the `"PARENT"` class for this module.` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/boot-block-fix`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "boot-block-fix" 29 | self.a10_url="/axapi/v3/boot-block-fix" 30 | self.DeviceProxy = "" 31 | self.cf = "" 32 | self.hd = "" 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/restore/restore.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Restore(A10BaseClass): 5 | 6 | """ :param remote_file: {"optional": true, "type": "string", "description": "Remote file path", "format": "url"} 7 | :param use_mgmt_port: {"default": 0, "optional": true, "type": "number", "description": "Use management port as source port", "format": "flag"} 8 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 9 | 10 | Class Description:: 11 | Restore system files. 12 | 13 | Class restore supports CRUD Operations and inherits from `common/A10BaseClass`. 14 | This class is the `"PARENT"` class for this module.` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/restore`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "restore" 29 | self.a10_url="/axapi/v3/restore" 30 | self.DeviceProxy = "" 31 | self.remote_file = "" 32 | self.use_mgmt_port = "" 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/netflow/netflow_monitor_protocol.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Protocol(A10BaseClass): 5 | 6 | """Class Description:: 7 | Configure netflow protocol version to use, default is netflow v9. 8 | 9 | Class protocol supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param version: {"description": "v9: \"Netflow version 9\"; v10: \"Netflow version 10 (IPFIX)\"; ", "format": "enum", "default": "v9", "type": "string", "enum": ["v9", "v10"], "optional": true} 13 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 14 | 15 | 16 | 17 | URL for this object:: 18 | `https:////axapi/v3/netflow/monitor/{name}/protocol`. 19 | 20 | 21 | 22 | 23 | """ 24 | def __init__(self, **kwargs): 25 | self.ERROR_MSG = "" 26 | self.required=[] 27 | self.b_key = "protocol" 28 | self.a10_url="/axapi/v3/netflow/monitor/{name}/protocol" 29 | self.DeviceProxy = "" 30 | self.version = "" 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /a10sdk/core/acos/acos_scaleout_cluster_config.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class ClusterConfig(A10BaseClass): 5 | 6 | """Class Description:: 7 | Cluster configuration. 8 | 9 | Class cluster-config supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param device_id: {"description": "Enter the device-id to gracefully shutdown", "format": "number", "type": "number", "maximum": 64, "minimum": 1, "optional": true} 13 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 14 | 15 | 16 | 17 | URL for this object:: 18 | `https:////axapi/v3/acos-scaleout/cluster-config`. 19 | 20 | 21 | 22 | 23 | """ 24 | def __init__(self, **kwargs): 25 | self.ERROR_MSG = "" 26 | self.required=[] 27 | self.b_key = "cluster-config" 28 | self.a10_url="/axapi/v3/acos-scaleout/cluster-config" 29 | self.DeviceProxy = "" 30 | self.device_id = "" 31 | self.device_groups = {} 32 | self.cluster_devices = {} 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/hd/hd_monitor.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class HdMonitor(A10BaseClass): 5 | 6 | """Class Description:: 7 | Enable HD monitoring. 8 | 9 | Class hd-monitor supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param enable: {"default": 0, "optional": true, "type": "number", "description": "Enable Hard disk monitoring", "format": "flag"} 13 | :param uuid: {"description": "uuid of the object", "format": "string", "minLength": 1, "modify-not-allowed": 1, "optional": true, "maxLength": 64, "type": "string"} 14 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/hd-monitor`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "hd-monitor" 29 | self.a10_url="/axapi/v3/hd-monitor" 30 | self.DeviceProxy = "" 31 | self.enable = "" 32 | self.uuid = "" 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/ip/ip_dns_suffix.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Suffix(A10BaseClass): 5 | 6 | """Class Description:: 7 | DNS suffix. 8 | 9 | Class suffix supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param domain_name: {"description": "DNS suffix", "format": "string", "minLength": 1, "optional": true, "maxLength": 32, "type": "string"} 13 | :param uuid: {"description": "uuid of the object", "format": "string", "minLength": 1, "modify-not-allowed": 1, "optional": true, "maxLength": 64, "type": "string"} 14 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/ip/dns/suffix`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "suffix" 29 | self.a10_url="/axapi/v3/ip/dns/suffix" 30 | self.DeviceProxy = "" 31 | self.domain_name = "" 32 | self.uuid = "" 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/vcs/vcs_vMaster_maintenance.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class VmasterMaintenance(A10BaseClass): 5 | 6 | """ :param vMaster_maintenance: {"description": "the seconds vMaster will be maintained, 60 by default", "format": "number", "default": 60, "optional": true, "maximum": 3600, "minimum": 0, "type": "number"} 7 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 8 | 9 | Class Description:: 10 | During this period, vMaster can leave and come back to be vMaster again. 11 | 12 | Class vMaster-maintenance supports CRUD Operations and inherits from `common/A10BaseClass`. 13 | This class is the `"PARENT"` class for this module.` 14 | 15 | 16 | 17 | URL for this object:: 18 | `https:////axapi/v3/vcs/vMaster-maintenance`. 19 | 20 | 21 | 22 | 23 | """ 24 | def __init__(self, **kwargs): 25 | self.ERROR_MSG = "" 26 | self.required=[] 27 | self.b_key = "vMaster-maintenance" 28 | self.a10_url="/axapi/v3/vcs/vMaster-maintenance" 29 | self.DeviceProxy = "" 30 | self.vMaster_maintenance = "" 31 | 32 | for keys, value in kwargs.items(): 33 | setattr(self,keys, value) 34 | 35 | 36 | -------------------------------------------------------------------------------- /a10sdk/core/dnssec/dnssec_ds.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Ds(A10BaseClass): 5 | 6 | """ :param ds_delete: {"default": 0, "optional": true, "type": "number", "description": "Delete the DS file", "format": "flag"} 7 | :param zone_name: {"description": "DNS zone name of the child zone", "format": "string", "minLength": 1, "optional": true, "maxLength": 127, "type": "string"} 8 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 9 | 10 | Class Description:: 11 | Delegation Signer(DS) Resource Records of child zones. 12 | 13 | Class ds supports CRUD Operations and inherits from `common/A10BaseClass`. 14 | This class is the `"PARENT"` class for this module.` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/dnssec/ds`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "ds" 29 | self.a10_url="/axapi/v3/dnssec/ds" 30 | self.DeviceProxy = "" 31 | self.ds_delete = "" 32 | self.zone_name = "" 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/qos/qos_bandwidth.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Bandwidth(A10BaseClass): 5 | 6 | """Class Description:: 7 | QoS bandwidth setting. 8 | 9 | Class bandwidth supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param enable: {"default": 0, "optional": true, "type": "number", "description": "enable bandwidth/shape control", "format": "flag"} 13 | :param uuid: {"description": "uuid of the object", "format": "string", "minLength": 1, "modify-not-allowed": 1, "optional": true, "maxLength": 64, "type": "string"} 14 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/qos/bandwidth`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "bandwidth" 29 | self.a10_url="/axapi/v3/qos/bandwidth" 30 | self.DeviceProxy = "" 31 | self.enable = "" 32 | self.uuid = "" 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/hostname/hostname.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Hostname(A10BaseClass): 5 | 6 | """ :param uuid: {"description": "uuid of the object", "format": "string", "minLength": 1, "modify-not-allowed": 1, "optional": true, "maxLength": 64, "type": "string"} 7 | :param value: {"optional": true, "platform-specific-default": 1, "type": "string", "description": "This System's Network Name", "format": "string"} 8 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 9 | 10 | Class Description:: 11 | Set system's network name. 12 | 13 | Class hostname supports CRUD Operations and inherits from `common/A10BaseClass`. 14 | This class is the `"PARENT"` class for this module.` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/hostname`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "hostname" 29 | self.a10_url="/axapi/v3/hostname" 30 | self.DeviceProxy = "" 31 | self.uuid = "" 32 | self.value = "" 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/dnssec/dnssec_dnskey.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Dnskey(A10BaseClass): 5 | 6 | """ :param key_delete: {"default": 0, "optional": true, "type": "number", "description": "Delete the DNSKEY file", "format": "flag"} 7 | :param zone_name: {"description": "DNS zone name of the child zone", "format": "string", "minLength": 1, "optional": true, "maxLength": 127, "type": "string"} 8 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 9 | 10 | Class Description:: 11 | DNSKEY Resource Records of child zones. 12 | 13 | Class dnskey supports CRUD Operations and inherits from `common/A10BaseClass`. 14 | This class is the `"PARENT"` class for this module.` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/dnssec/dnskey`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "dnskey" 29 | self.a10_url="/axapi/v3/dnssec/dnskey" 30 | self.DeviceProxy = "" 31 | self.key_delete = "" 32 | self.zone_name = "" 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/admin/admin_access.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Access(A10BaseClass): 5 | 6 | """ :param access_type: {"default": "axapi,cli,web", "optional": true, "enum": ["axapi", "cli", "web"], "type": "string", "format": "enum-list"} 7 | :param uuid: {"description": "uuid of the object", "format": "string", "minLength": 1, "modify-not-allowed": 1, "optional": true, "maxLength": 64, "type": "string"} 8 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 9 | 10 | Class Description:: 11 | Config access type. 12 | 13 | Class access supports CRUD Operations and inherits from `common/A10BaseClass`. 14 | This class is the `"PARENT"` class for this module.` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/admin/{user}/access`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "access" 29 | self.a10_url="/axapi/v3/admin/{user}/access" 30 | self.DeviceProxy = "" 31 | self.access_type = "" 32 | self.uuid = "" 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/delete/delete_cgnv6.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Cgnv6(A10BaseClass): 5 | 6 | """ :param fixed_nat: {"default": 0, "optional": true, "type": "number", "description": "Delete fixed-nat port-mapping-file", "format": "flag"} 7 | :param filename: {"description": "Specify the port-mapping-file to be deleted", "format": "string", "minLength": 1, "optional": true, "maxLength": 128, "type": "string"} 8 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 9 | 10 | Class Description:: 11 | Delete cgnv6 related files. 12 | 13 | Class cgnv6 supports CRUD Operations and inherits from `common/A10BaseClass`. 14 | This class is the `"PARENT"` class for this module.` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/delete/cgnv6`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "cgnv6" 29 | self.a10_url="/axapi/v3/delete/cgnv6" 30 | self.DeviceProxy = "" 31 | self.fixed_nat = "" 32 | self.filename = "" 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/router/router_log.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Log(A10BaseClass): 5 | 6 | """Class Description:: 7 | Router log options. 8 | 9 | Class log supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param log_buffer: {"default": 1, "optional": true, "type": "number", "description": "Logging goes to log-buffer", "format": "flag"} 13 | :param uuid: {"description": "uuid of the object", "format": "string", "minLength": 1, "modify-not-allowed": 1, "optional": true, "maxLength": 64, "type": "string"} 14 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/router/log`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "log" 29 | self.a10_url="/axapi/v3/router/log" 30 | self.DeviceProxy = "" 31 | self.log_buffer = "" 32 | self.uuid = "" 33 | self.A10WW_file = {} 34 | 35 | for keys, value in kwargs.items(): 36 | setattr(self,keys, value) 37 | 38 | 39 | -------------------------------------------------------------------------------- /a10sdk/core/disable/disable_management_service_ssh.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Ssh(A10BaseClass): 5 | 6 | """Class Description:: 7 | SSH service. 8 | 9 | Class ssh supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param management: {"default": 0, "optional": true, "type": "number", "description": "Management port", "format": "flag"} 13 | :param uuid: {"description": "uuid of the object", "format": "string", "minLength": 1, "modify-not-allowed": 1, "optional": true, "maxLength": 64, "type": "string"} 14 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/disable-management/service/ssh`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "ssh" 29 | self.a10_url="/axapi/v3/disable-management/service/ssh" 30 | self.DeviceProxy = "" 31 | self.management = "" 32 | self.uuid = "" 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/ipv6/ipv6_ospf.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Ospf(A10BaseClass): 5 | 6 | """Class Description:: 7 | Open Shortest Path First (OSPFv3). 8 | 9 | Class ospf supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param display_route_single_line: {"default": 0, "optional": true, "type": "number", "description": "Print an entry in single line", "format": "flag"} 13 | :param uuid: {"description": "uuid of the object", "format": "string", "minLength": 1, "modify-not-allowed": 1, "optional": true, "maxLength": 64, "type": "string"} 14 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/ipv6/ospf`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "ospf" 29 | self.a10_url="/axapi/v3/ipv6/ospf" 30 | self.DeviceProxy = "" 31 | self.display_route_single_line = "" 32 | self.uuid = "" 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/multi/multi_config.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class MultiConfig(A10BaseClass): 5 | 6 | """Class Description:: 7 | Set multi-config enable/disable. 8 | 9 | Class multi-config supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param enable: {"default": 0, "optional": true, "type": "number", "description": "Enable multiple configuration mode", "format": "flag"} 13 | :param uuid: {"description": "uuid of the object", "format": "string", "minLength": 1, "modify-not-allowed": 1, "optional": true, "maxLength": 64, "type": "string"} 14 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/multi-config`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "multi-config" 29 | self.a10_url="/axapi/v3/multi-config" 30 | self.DeviceProxy = "" 31 | self.enable = "" 32 | self.uuid = "" 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/snmp/snmp_server_enable.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Enable(A10BaseClass): 5 | 6 | """Class Description:: 7 | Enable SNMP service. 8 | 9 | Class enable supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param uuid: {"description": "uuid of the object", "format": "string", "minLength": 1, "modify-not-allowed": 1, "optional": true, "maxLength": 64, "type": "string"} 13 | :param service: {"default": 0, "optional": true, "type": "number", "description": "Enable SNMP service", "format": "flag"} 14 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/snmp-server/enable`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "enable" 29 | self.a10_url="/axapi/v3/snmp-server/enable" 30 | self.DeviceProxy = "" 31 | self.uuid = "" 32 | self.service = "" 33 | self.traps = {} 34 | 35 | for keys, value in kwargs.items(): 36 | setattr(self,keys, value) 37 | 38 | 39 | -------------------------------------------------------------------------------- /a10sdk/core/cgnv6/cgnv6_ds_lite_alg_ftp.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Ftp(A10BaseClass): 5 | 6 | """Class Description:: 7 | DS-Lite FTP ALG (default: enabled). 8 | 9 | Class ftp supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param ftp_enable: {"optional": true, "enum": ["disable"], "type": "string", "description": "'disable': Disable ALG; ", "format": "enum"} 13 | :param uuid: {"description": "uuid of the object", "format": "string", "minLength": 1, "modify-not-allowed": 1, "optional": true, "maxLength": 64, "type": "string"} 14 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/cgnv6/ds-lite/alg/ftp`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "ftp" 29 | self.a10_url="/axapi/v3/cgnv6/ds-lite/alg/ftp" 30 | self.DeviceProxy = "" 31 | self.ftp_enable = "" 32 | self.uuid = "" 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/cgnv6/cgnv6_ds_lite_alg_sip.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Sip(A10BaseClass): 5 | 6 | """Class Description:: 7 | DS-Lite SIP ALG (default: disabled). 8 | 9 | Class sip supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param sip_enable: {"optional": true, "enum": ["enable"], "type": "string", "description": "'enable': Enable ALG; ", "format": "enum"} 13 | :param uuid: {"description": "uuid of the object", "format": "string", "minLength": 1, "modify-not-allowed": 1, "optional": true, "maxLength": 64, "type": "string"} 14 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/cgnv6/ds-lite/alg/sip`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "sip" 29 | self.a10_url="/axapi/v3/cgnv6/ds-lite/alg/sip" 30 | self.DeviceProxy = "" 31 | self.sip_enable = "" 32 | self.uuid = "" 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/cgnv6/cgnv6_nat64_alg_esp.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Esp(A10BaseClass): 5 | 6 | """Class Description:: 7 | NAT64 ESP ALG (default: disabled). 8 | 9 | Class esp supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param uuid: {"description": "uuid of the object", "format": "string", "minLength": 1, "modify-not-allowed": 1, "optional": true, "maxLength": 64, "type": "string"} 13 | :param esp_enable: {"optional": true, "enum": ["enable"], "type": "string", "description": "'enable': Enable NAT64 ESP ALG; ", "format": "enum"} 14 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/cgnv6/nat64/alg/esp`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "esp" 29 | self.a10_url="/axapi/v3/cgnv6/nat64/alg/esp" 30 | self.DeviceProxy = "" 31 | self.uuid = "" 32 | self.esp_enable = "" 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/cgnv6/cgnv6_nat64_alg_sip.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Sip(A10BaseClass): 5 | 6 | """Class Description:: 7 | NAT64 SIP ALG (default: disabled). 8 | 9 | Class sip supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param sip_enable: {"optional": true, "enum": ["enable"], "type": "string", "description": "'enable': Enable NAT64 SIP ALG; ", "format": "enum"} 13 | :param uuid: {"description": "uuid of the object", "format": "string", "minLength": 1, "modify-not-allowed": 1, "optional": true, "maxLength": 64, "type": "string"} 14 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/cgnv6/nat64/alg/sip`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "sip" 29 | self.a10_url="/axapi/v3/cgnv6/nat64/alg/sip" 30 | self.DeviceProxy = "" 31 | self.sip_enable = "" 32 | self.uuid = "" 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/disable/disable_management_service_http.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Http(A10BaseClass): 5 | 6 | """Class Description:: 7 | HTTP service. 8 | 9 | Class http supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param management: {"default": 0, "optional": true, "type": "number", "description": "Management port", "format": "flag"} 13 | :param uuid: {"description": "uuid of the object", "format": "string", "minLength": 1, "modify-not-allowed": 1, "optional": true, "maxLength": 64, "type": "string"} 14 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/disable-management/service/http`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "http" 29 | self.a10_url="/axapi/v3/disable-management/service/http" 30 | self.DeviceProxy = "" 31 | self.management = "" 32 | self.uuid = "" 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/disable/disable_management_service_snmp.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Snmp(A10BaseClass): 5 | 6 | """Class Description:: 7 | SNMP service. 8 | 9 | Class snmp supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param management: {"default": 0, "optional": true, "type": "number", "description": "Management port", "format": "flag"} 13 | :param uuid: {"description": "uuid of the object", "format": "string", "minLength": 1, "modify-not-allowed": 1, "optional": true, "maxLength": 64, "type": "string"} 14 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/disable-management/service/snmp`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "snmp" 29 | self.a10_url="/axapi/v3/disable-management/service/snmp" 30 | self.DeviceProxy = "" 31 | self.management = "" 32 | self.uuid = "" 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/interface/interface_ve_ipv6_router_ripng.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Ripng(A10BaseClass): 5 | 6 | """Class Description:: 7 | ripng. 8 | 9 | Class ripng supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param uuid: {"description": "uuid of the object", "format": "string", "minLength": 1, "modify-not-allowed": 1, "optional": true, "maxLength": 64, "type": "string"} 13 | :param rip: {"default": 0, "optional": true, "type": "number", "description": "RIP Routing for IPv6", "format": "flag"} 14 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/interface/ve/{ifnum}/ipv6/router/ripng`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "ripng" 29 | self.a10_url="/axapi/v3/interface/ve/{ifnum}/ipv6/router/ripng" 30 | self.DeviceProxy = "" 31 | self.uuid = "" 32 | self.rip = "" 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/disable/disable_management_service_https.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Https(A10BaseClass): 5 | 6 | """Class Description:: 7 | HTTPS service. 8 | 9 | Class https supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param management: {"default": 0, "optional": true, "type": "number", "description": "Management port", "format": "flag"} 13 | :param uuid: {"description": "uuid of the object", "format": "string", "minLength": 1, "modify-not-allowed": 1, "optional": true, "maxLength": 64, "type": "string"} 14 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/disable-management/service/https`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "https" 29 | self.a10_url="/axapi/v3/disable-management/service/https" 30 | self.DeviceProxy = "" 31 | self.management = "" 32 | self.uuid = "" 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/vcs/vcs_action.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Action(A10BaseClass): 5 | 6 | """ :param action: {"description": "'enable': enable VCS; 'disable': disable VCS; ", "format": "enum", "default": "disable", "type": "string", "enum": ["enable", "disable"], "optional": true} 7 | :param uuid: {"description": "uuid of the object", "format": "string", "minLength": 1, "modify-not-allowed": 1, "optional": true, "maxLength": 64, "type": "string"} 8 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 9 | 10 | Class Description:: 11 | action for aVCS. 12 | 13 | Class action supports CRUD Operations and inherits from `common/A10BaseClass`. 14 | This class is the `"PARENT"` class for this module.` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/vcs/action`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "action" 29 | self.a10_url="/axapi/v3/vcs/action" 30 | self.DeviceProxy = "" 31 | self.action = "" 32 | self.uuid = "" 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/cgnv6/cgnv6_ds_lite_alg_pptp.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Pptp(A10BaseClass): 5 | 6 | """Class Description:: 7 | DS-Lite PPTP ALG (default: disabled). 8 | 9 | Class pptp supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param uuid: {"description": "uuid of the object", "format": "string", "minLength": 1, "modify-not-allowed": 1, "optional": true, "maxLength": 64, "type": "string"} 13 | :param pptp_enable: {"optional": true, "enum": ["enable"], "type": "string", "description": "'enable': Enable ALG; ", "format": "enum"} 14 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/cgnv6/ds-lite/alg/pptp`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "pptp" 29 | self.a10_url="/axapi/v3/cgnv6/ds-lite/alg/pptp" 30 | self.DeviceProxy = "" 31 | self.uuid = "" 32 | self.pptp_enable = "" 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/cgnv6/cgnv6_ds_lite_alg_rtsp.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Rtsp(A10BaseClass): 5 | 6 | """Class Description:: 7 | DS-Lite RTSP ALG (default: disabled). 8 | 9 | Class rtsp supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param uuid: {"description": "uuid of the object", "format": "string", "minLength": 1, "modify-not-allowed": 1, "optional": true, "maxLength": 64, "type": "string"} 13 | :param rtsp_enable: {"optional": true, "enum": ["enable"], "type": "string", "description": "'enable': Enable ALG; ", "format": "enum"} 14 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/cgnv6/ds-lite/alg/rtsp`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "rtsp" 29 | self.a10_url="/axapi/v3/cgnv6/ds-lite/alg/rtsp" 30 | self.DeviceProxy = "" 31 | self.uuid = "" 32 | self.rtsp_enable = "" 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/cgnv6/cgnv6_ds_lite_alg_tftp.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Tftp(A10BaseClass): 5 | 6 | """Class Description:: 7 | DS-Lite TFTP ALG (default: disabled). 8 | 9 | Class tftp supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param tftp_enable: {"optional": true, "enum": ["enable"], "type": "string", "description": "'enable': Enable ALG; ", "format": "enum"} 13 | :param uuid: {"description": "uuid of the object", "format": "string", "minLength": 1, "modify-not-allowed": 1, "optional": true, "maxLength": 64, "type": "string"} 14 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/cgnv6/ds-lite/alg/tftp`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "tftp" 29 | self.a10_url="/axapi/v3/cgnv6/ds-lite/alg/tftp" 30 | self.DeviceProxy = "" 31 | self.tftp_enable = "" 32 | self.uuid = "" 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/cgnv6/cgnv6_lsn_inside_source.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Source(A10BaseClass): 5 | 6 | """Class Description:: 7 | Source. 8 | 9 | Class source supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param uuid: {"description": "uuid of the object", "format": "string", "minLength": 1, "modify-not-allowed": 1, "optional": true, "maxLength": 64, "type": "string"} 13 | :param class_list: {"description": "Class List (Class List Name)", "format": "string-rlx", "minLength": 1, "optional": true, "maxLength": 63, "type": "string"} 14 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/cgnv6/lsn/inside/source`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "source" 29 | self.a10_url="/axapi/v3/cgnv6/lsn/inside/source" 30 | self.DeviceProxy = "" 31 | self.uuid = "" 32 | self.class_list = "" 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/cgnv6/cgnv6_nat64_alg_pptp.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Pptp(A10BaseClass): 5 | 6 | """Class Description:: 7 | NAT64 PPTP ALG (default: disabled). 8 | 9 | Class pptp supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param uuid: {"description": "uuid of the object", "format": "string", "minLength": 1, "modify-not-allowed": 1, "optional": true, "maxLength": 64, "type": "string"} 13 | :param pptp_enable: {"optional": true, "enum": ["enable"], "type": "string", "description": "'enable': Enable NAT64 PPTP ALG; ", "format": "enum"} 14 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/cgnv6/nat64/alg/pptp`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "pptp" 29 | self.a10_url="/axapi/v3/cgnv6/nat64/alg/pptp" 30 | self.DeviceProxy = "" 31 | self.uuid = "" 32 | self.pptp_enable = "" 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/cgnv6/cgnv6_nat64_alg_rtsp.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Rtsp(A10BaseClass): 5 | 6 | """Class Description:: 7 | NAT64 RTSP ALG (default: disabled). 8 | 9 | Class rtsp supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param uuid: {"description": "uuid of the object", "format": "string", "minLength": 1, "modify-not-allowed": 1, "optional": true, "maxLength": 64, "type": "string"} 13 | :param rtsp_enable: {"optional": true, "enum": ["enable"], "type": "string", "description": "'enable': Enable NAT64 RTSP ALG; ", "format": "enum"} 14 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/cgnv6/nat64/alg/rtsp`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "rtsp" 29 | self.a10_url="/axapi/v3/cgnv6/nat64/alg/rtsp" 30 | self.DeviceProxy = "" 31 | self.uuid = "" 32 | self.rtsp_enable = "" 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/cgnv6/cgnv6_nat64_alg_tftp.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Tftp(A10BaseClass): 5 | 6 | """Class Description:: 7 | NAT64 TFTP ALG (default: disabled). 8 | 9 | Class tftp supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param tftp_enable: {"optional": true, "enum": ["enable"], "type": "string", "description": "'enable': Enable NAT64 TFTP ALG; ", "format": "enum"} 13 | :param uuid: {"description": "uuid of the object", "format": "string", "minLength": 1, "modify-not-allowed": 1, "optional": true, "maxLength": 64, "type": "string"} 14 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/cgnv6/nat64/alg/tftp`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "tftp" 29 | self.a10_url="/axapi/v3/cgnv6/nat64/alg/tftp" 30 | self.DeviceProxy = "" 31 | self.tftp_enable = "" 32 | self.uuid = "" 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/interface/interface_trunk_ipv6_router_ripng.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Ripng(A10BaseClass): 5 | 6 | """Class Description:: 7 | ripng. 8 | 9 | Class ripng supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param uuid: {"description": "uuid of the object", "format": "string", "minLength": 1, "modify-not-allowed": 1, "optional": true, "maxLength": 64, "type": "string"} 13 | :param rip: {"default": 0, "optional": true, "type": "number", "description": "RIP Routing for IPv6", "format": "flag"} 14 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/interface/trunk/{ifnum}/ipv6/router/ripng`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "ripng" 29 | self.a10_url="/axapi/v3/interface/trunk/{ifnum}/ipv6/router/ripng" 30 | self.DeviceProxy = "" 31 | self.uuid = "" 32 | self.rip = "" 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/snmp/snmp_server_engineID.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Engineid(A10BaseClass): 5 | 6 | """Class Description:: 7 | Define local engineID. 8 | 9 | Class engineID supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param uuid: {"description": "uuid of the object", "format": "string", "minLength": 1, "modify-not-allowed": 1, "optional": true, "maxLength": 64, "type": "string"} 13 | :param engId: {"description": "Define local engineID HEX WORD", "format": "string", "minLength": 10, "optional": true, "maxLength": 24, "type": "string"} 14 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/snmp-server/engineID`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "engineID" 29 | self.a10_url="/axapi/v3/snmp-server/engineID" 30 | self.DeviceProxy = "" 31 | self.uuid = "" 32 | self.engId = "" 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/vcs/vcs_device_context.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class DeviceContext(A10BaseClass): 5 | 6 | """Class Description:: 7 | Which target device to manage. 8 | 9 | Class device-context supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param device: {"description": "Device (Device ID)", "format": "number", "type": "number", "maximum": 8, "minimum": 1, "optional": true} 13 | :param active_vrid: {"description": "VRRP vrid (Specify VRRP-A vrid)", "format": "number", "type": "number", "maximum": 31, "minimum": 0, "optional": true} 14 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/vcs/device-context`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "device-context" 29 | self.a10_url="/axapi/v3/vcs/device-context" 30 | self.DeviceProxy = "" 31 | self.device = "" 32 | self.active_vrid = "" 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/delete/delete_geo_location.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class GeoLocation(A10BaseClass): 5 | 6 | """ :param all: {"description": "Delete all files", "format": "flag", "default": 0, "optional": true, "not": "filename", "type": "number"} 7 | :param filename: {"description": "Specify file to be deleted", "format": "string", "minLength": 1, "optional": true, "maxLength": 63, "not": "all", "type": "string"} 8 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 9 | 10 | Class Description:: 11 | Delete geo-location file. 12 | 13 | Class geo-location supports CRUD Operations and inherits from `common/A10BaseClass`. 14 | This class is the `"PARENT"` class for this module.` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/delete/geo-location`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "geo-location" 29 | self.a10_url="/axapi/v3/delete/geo-location" 30 | self.DeviceProxy = "" 31 | self.A10WW_all = "" 32 | self.filename = "" 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/logging/logging_host_partition.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Partition(A10BaseClass): 5 | 6 | """Class Description:: 7 | Specify preferred partition configuration. 8 | 9 | Class partition supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param shared: {"default": 0, "optional": true, "type": "number", "description": "Select shared partition", "format": "flag"} 13 | :param uuid: {"description": "uuid of the object", "format": "string", "minLength": 1, "modify-not-allowed": 1, "optional": true, "maxLength": 64, "type": "string"} 14 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/logging/host/partition`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "partition" 29 | self.a10_url="/axapi/v3/logging/host/partition" 30 | self.DeviceProxy = "" 31 | self.shared = "" 32 | self.uuid = "" 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/cgnv6/cgnv6_nat46_stateless_prefix.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Prefix(A10BaseClass): 5 | 6 | """Class Description:: 7 | Enable Stateless NAT46 IPv6 source address. 8 | 9 | Class prefix supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param ipv6_prefix: {"optional": true, "type": "string", "description": "IPv6 prefix", "format": "ipv6-address-plen"} 13 | :param uuid: {"description": "uuid of the object", "format": "string", "minLength": 1, "modify-not-allowed": 1, "optional": true, "maxLength": 64, "type": "string"} 14 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/cgnv6/nat46-stateless/prefix`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "prefix" 29 | self.a10_url="/axapi/v3/cgnv6/nat46-stateless/prefix" 30 | self.DeviceProxy = "" 31 | self.ipv6_prefix = "" 32 | self.uuid = "" 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/gslb/gslb_policy_edns.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Edns(A10BaseClass): 5 | 6 | """Class Description:: 7 | Use EDNS extension. 8 | 9 | Class edns supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param uuid: {"description": "uuid of the object", "format": "string", "minLength": 1, "modify-not-allowed": 1, "optional": true, "maxLength": 64, "type": "string"} 13 | :param client_subnet_geographic: {"default": 0, "optional": true, "type": "number", "description": "Use client subnet for geo-location", "format": "flag"} 14 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/gslb/policy/{name}/edns`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "edns" 29 | self.a10_url="/axapi/v3/gslb/policy/{name}/edns" 30 | self.DeviceProxy = "" 31 | self.uuid = "" 32 | self.client_subnet_geographic = "" 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/interface/interface_ethernet_ipv6_router_ripng.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Ripng(A10BaseClass): 5 | 6 | """Class Description:: 7 | ripng. 8 | 9 | Class ripng supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param uuid: {"description": "uuid of the object", "format": "string", "minLength": 1, "modify-not-allowed": 1, "optional": true, "maxLength": 64, "type": "string"} 13 | :param rip: {"default": 0, "optional": true, "type": "number", "description": "RIP Routing for IPv6", "format": "flag"} 14 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/interface/ethernet/{ifnum}/ipv6/router/ripng`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "ripng" 29 | self.a10_url="/axapi/v3/interface/ethernet/{ifnum}/ipv6/router/ripng" 30 | self.DeviceProxy = "" 31 | self.uuid = "" 32 | self.rip = "" 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/interface/interface_loopback_ipv6_router_ripng.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Ripng(A10BaseClass): 5 | 6 | """Class Description:: 7 | ripng. 8 | 9 | Class ripng supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param uuid: {"description": "uuid of the object", "format": "string", "minLength": 1, "modify-not-allowed": 1, "optional": true, "maxLength": 64, "type": "string"} 13 | :param rip: {"default": 0, "optional": true, "type": "number", "description": "RIP Routing for IPv6", "format": "flag"} 14 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/interface/loopback/{ifnum}/ipv6/router/ripng`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "ripng" 29 | self.a10_url="/axapi/v3/interface/loopback/{ifnum}/ipv6/router/ripng" 30 | self.DeviceProxy = "" 31 | self.uuid = "" 32 | self.rip = "" 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/ip/ip_nat_inside_source_class_list.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class ClassList(A10BaseClass): 5 | 6 | """Class Description:: 7 | Class List. 8 | 9 | Class class-list supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param name: {"description": "Class List Name", "format": "string", "minLength": 1, "optional": true, "maxLength": 63, "type": "string"} 13 | :param uuid: {"description": "uuid of the object", "format": "string", "minLength": 1, "modify-not-allowed": 1, "optional": true, "maxLength": 64, "type": "string"} 14 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/ip/nat/inside/source/class-list`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "class-list" 29 | self.a10_url="/axapi/v3/ip/nat/inside/source/class-list" 30 | self.DeviceProxy = "" 31 | self.name = "" 32 | self.uuid = "" 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/memory/memory.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Memory(A10BaseClass): 5 | 6 | """ :param all_partitions: {"type": "number", "description": "All partition configurations", "format": "flag"} 7 | :param name: {"description": "Local Configuration Profile Name", "format": "string", "minLength": "1", "optional": false, "maxLength": "31", "type": "string"} 8 | :param primary: {"type": "number", "description": "Write to default Primary Configuration", "format": "flag"} 9 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 10 | 11 | 12 | 13 | URL for this object:: 14 | `https:////axapi/v3/write/memory`. 15 | 16 | Class memory supports CRUD Operations and inherits from `common/A10BaseClass`. 17 | This class is the `"PARENT"` class for this module.` 18 | 19 | 20 | 21 | 22 | """ 23 | def __init__(self, **kwargs): 24 | self.ERROR_MSG = "" 25 | self.required=[] 26 | self.b_key = "memory" 27 | self.a10_url="/axapi/v3/write/memory" 28 | self.DeviceProxy = "" 29 | self.all_partitions = "" 30 | self.name = "" 31 | self.primary = "" 32 | 33 | for keys, value in kwargs.items(): 34 | setattr(self,keys, value) 35 | 36 | 37 | -------------------------------------------------------------------------------- /a10sdk/core/network/network_arp_timeout.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class ArpTimeout(A10BaseClass): 5 | 6 | """Class Description:: 7 | ARP entry timeout. 8 | 9 | Class arp-timeout supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param uuid: {"description": "uuid of the object", "format": "string", "minLength": 1, "modify-not-allowed": 1, "optional": true, "maxLength": 64, "type": "string"} 13 | :param timeout: {"description": "ARP entry timeout", "format": "number", "default": 300, "optional": true, "maximum": 86400, "minimum": 60, "type": "number"} 14 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/network/arp-timeout`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "arp-timeout" 29 | self.a10_url="/axapi/v3/network/arp-timeout" 30 | self.DeviceProxy = "" 31 | self.uuid = "" 32 | self.timeout = "" 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/network/network_ve_stats.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class VeStats(A10BaseClass): 5 | 6 | """Class Description:: 7 | Enables/Disables vlan ve interface stats generation. 8 | 9 | Class ve-stats supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param enable: {"default": 0, "optional": true, "type": "number", "description": "Enable vlan ve interface stats generation", "format": "flag"} 13 | :param uuid: {"description": "uuid of the object", "format": "string", "minLength": 1, "modify-not-allowed": 1, "optional": true, "maxLength": 64, "type": "string"} 14 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/network/ve-stats`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "ve-stats" 29 | self.a10_url="/axapi/v3/network/ve-stats" 30 | self.DeviceProxy = "" 31 | self.enable = "" 32 | self.uuid = "" 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/delete/delete_partition.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Partition(A10BaseClass): 5 | 6 | """ :param partition_name: {"description": "Object partition name", "format": "string", "minLength": 1, "optional": true, "maxLength": 14, "type": "string"} 7 | :param id: {"description": "Specify unique Partition id", "format": "number", "optional": true, "maximum": 1023, "minimum": 1, "modify-not-allowed": 1, "type": "number"} 8 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 9 | 10 | Class Description:: 11 | hard delete a partition. 12 | 13 | Class partition supports CRUD Operations and inherits from `common/A10BaseClass`. 14 | This class is the `"PARENT"` class for this module.` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/delete/partition`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "partition" 29 | self.a10_url="/axapi/v3/delete/partition" 30 | self.DeviceProxy = "" 31 | self.partition_name = "" 32 | self.A10WW_id = "" 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/ip/ip_nat_alg_pptp.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Pptp(A10BaseClass): 5 | 6 | """Class Description:: 7 | PPTP ALG Settings. 8 | 9 | Class pptp supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param pptp: {"description": "'disable': Disable PPTP NAT ALG; 'enable': Enable PPTP NAT ALG; ", "format": "enum", "default": "disable", "type": "string", "enum": ["disable", "enable"], "optional": true} 13 | :param uuid: {"description": "uuid of the object", "format": "string", "minLength": 1, "modify-not-allowed": 1, "optional": true, "maxLength": 64, "type": "string"} 14 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/ip/nat/alg/pptp`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "pptp" 29 | self.a10_url="/axapi/v3/ip/nat/alg/pptp" 30 | self.DeviceProxy = "" 31 | self.pptp = "" 32 | self.uuid = "" 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | -------------------------------------------------------------------------------- /a10sdk/core/snmp/snmp_server_location.py: -------------------------------------------------------------------------------- 1 | from a10sdk.common.A10BaseClass import A10BaseClass 2 | 3 | 4 | class Location(A10BaseClass): 5 | 6 | """Class Description:: 7 | Text for mib object sysLocation. 8 | 9 | Class location supports CRUD Operations and inherits from `common/A10BaseClass`. 10 | This class is the `"PARENT"` class for this module.` 11 | 12 | :param loc: {"description": "The physical location of this node", "format": "string-rlx", "minLength": 1, "optional": true, "maxLength": 20, "type": "string"} 13 | :param uuid: {"description": "uuid of the object", "format": "string", "minLength": 1, "modify-not-allowed": 1, "optional": true, "maxLength": 64, "type": "string"} 14 | :param DeviceProxy: The device proxy for REST operations and session handling. Refer to `common/device_proxy.py` 15 | 16 | 17 | 18 | URL for this object:: 19 | `https:////axapi/v3/snmp-server/location`. 20 | 21 | 22 | 23 | 24 | """ 25 | def __init__(self, **kwargs): 26 | self.ERROR_MSG = "" 27 | self.required=[] 28 | self.b_key = "location" 29 | self.a10_url="/axapi/v3/snmp-server/location" 30 | self.DeviceProxy = "" 31 | self.loc = "" 32 | self.uuid = "" 33 | 34 | for keys, value in kwargs.items(): 35 | setattr(self,keys, value) 36 | 37 | 38 | --------------------------------------------------------------------------------