-
Virtual Server UP/Down check via API
Hi all, I want to know is it possible to check if the slb virtual server is up or down via API ?
-
Upload SSL certs via axapi v3.0
I have tried using the file/ssl-cert AXAPI 3.0 endpoint to upload an SSL cert, and have so far been unable to with either curl or Ansible. curl -k -X POST -v \ https://a10.example./axapi/v3/file/ssl-cert \ -H "Authorization: A10 ${SIG}" \ -H 'content-type: application/json' \ -d '{ "ssl-cert": { "file": "example.com.crt",…
-
Error with Partitions using ansible: 1023721472 Access Denied
Hi! We're moving to orchestrate our TH1040S using ansible. This started to work out very nicely! But now we're hitting an "Access Denied" when trying to handle partitions. Here are some details ACOS 4.1.4 a10.acos_axapi either 1.2.latest or 6.0.1 My user is in two partitions, but not the "shared" partition Here's an…
-
GitHub Documentation
Is anyone aware of a location where the documentation for the GitHub acos-client can be found? There is an example to create a SLB but that is it. I am looking for documentation to leverage the scripts to build a one-time base configuration on the Thunder from scratch: ie: Hostname, LLDP, NTP, time zone, sync/mirror port,…
-
API for 'show backup' command
I am looking for an API to find if last backup has been successful or not for A10 Load Balancer. It should be equivalent to "show backup" command.
-
[T&C] Use Postman for A10 aXAPI calls
Postman is well known test tool and very convenient when it comes to executing APIs. It provides not only variety of API functionality including authentication, setting headers, customizing the payload, but also collaboration functionality for the teams dealing with API projects. This article explains how you can use…
-
AxAPI Export or Download example?
I'm wanting to snag the fixed-nat port mapping file periodically and save it elsewhere, or in a database. I have managed to get the list of files, but I can't seem to figure out the export command. Could someone by chance share an example of how this would be done? In a perfect world i'd like to hit the API, get the file…
-
What is solution of A10 for API?
Hi everyone, Our customer have a web service system communicate with mobile app via API (RESTful API protocol). Now they want to a solution of A10 to support and protect this API. I have informed that is aXAPI, right? Please give me some advice about this issues Thanks
-
REST API and updating slb client-ssl server-name-list
I'm trying to automate uploading new SSL certs using the REST API. I can update the certificate-list okay, but now I'm working on SNI templates using server-name-list, and I can't get the request correct. I get: 'Failed to handle json field "server-name-list". JSON field should not be array type.'.
-
axapi v3 export object - no password attribute?
Thanks for the really quick reply earlier today regarding partitions, glad to have this forum actively monitored. I'm not seeing a password attribute for the export object. I do see one for import, which works just fine. I tried passing it the attribute but it doesn't like it: { "response": { "status": "fail", "err": {…
-
AXAPI: Determine when configuration last updated
Hi folks, I've been scouring the SDK documentation for the 4.1.x ADC code and have been unable to figure out how to determine the date time of the last configuration change. In the CLI I can run 'show running-config' and look at the top where it indicates when it was last updated and when it was last saved. In the earlier…
-
axapi wildcard
Hi all, I've begun to use the axapi. Here's the question: First, I got the authentification token. Then I'm seeking the virtual servers inforation. curl -k GET https://1...7/axapi/v3/slb/virtual-server -H "Content-Type:application/json" -H "Authorization: A10 3a7ff8596db0249f25761b09548437" I'm after the oper status of…
-
Health check from xAPI
How can I check if a service is up or down from the HTTP API (xAPI)? (The 'status' key in the server JSON only represents "enabled" or "disabled".) I think the CLI commands for getting the status are: health-test <ip> monitorname <name> health-test <ip> port <port> The system.performance.get method reports statistics for…
-
Service group description using aXAPI
How can I specify a description when creating a service group using the aXAPI (REST API)? I tried specifying it under key 'description', but the created service group does not have the description. Also aXAPI does not show the description of a service group created with using the Web GUI. I also want to edit service group…