AE-2096: AVX Management API's Part 1
Review Request #1016 — Created Aug. 18, 2025 and submitted
| Information | |
|---|---|
| apoorva.sn | |
| AMP | |
| amp_4_0 | |
| AE-2096 | |
| Reviewers | |
| apoorva.sn, mmiriam, ngurunathan, shuinvy | |
Problem
Porting AVX Management API's which supports the management of AVX device from AMP
Solution
Have taken a part of the API's for AVX Management as part1 and the remaining API's which are pending will be taking up as part2
Have made change w.r.t python3 after migration
AVX Management
Add:
[root@AN opt]# curl 'http://127.0.0.1:8000/api/cm/virtualization/Host/_add' \
-H 'Accept: application/json, text/plain, /' \
-H 'Accept-Language: en-GB,en-US;q=0.9,en;q=0.8' \
-H 'Connection: keep-alive' \
-H 'Content-Type: application/x-www-form-urlencoded;charset=UTF-8' \
-b 'csrftoken=gyUasUA45Wy29Vn1hSqpaRCRXG2hXs6a; hive_key=1; django_language=en; csrf_token=gyUasUA45Wy29Vn1hSqpaRCRXG2hXs6a; current_user=array; hive_sess=6f88c415-b0f8-4f73-95b3-dad5610e1d78' \
-H 'Origin: http://127.0.0.1:8000' \
-H 'Referer: http://127.0.0.1:8000/app/' \
-H 'Sec-Fetch-Dest: empty' \
-H 'Sec-Fetch-Mode: cors' \
-H 'Sec-Fetch-Site: same-origin' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36' \
-H 'X-CSRFToken: gyUasUA45Wy29Vn1hSqpaRCRXG2hXs6a' \
-H 'sec-ch-ua: "Not)A;Brand";v="8", "Chromium";v="138", "Google Chrome";v="138"' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'sec-ch-ua-platform: "macOS"' \
--data-raw 'post_data=%7B%22restapi_port%22%3A9997%2C%22name%22%3A%22AVX-162.60%22%2C%22ip%22%3A%22192.168.162.60%22%2C%22restapi_account%22%3A%7B%22restapi_username%22%3A%22restapi%22%2C%22restapi_password%22%3A%22Restapi%40123%22%7D%7D&csrfmiddlewaretoken=gyUasUA45Wy29Vn1hSqpaRCRXG2hXs6a' \
--insecure
[true, "id=%22%22", []]List:
[root@AN admin]# curl 'http://127.0.0.1:8000/api/cm/virtualization/Host/_get_list_data' \
-H 'Accept: application/json, text/plain, /' \
-H 'Accept-Language: en-GB,en-US;q=0.9,en;q=0.8' \
-H 'Connection: keep-alive' \
-b 'csrftoken=0F5zG6LKrIDmf5epxLt9slqSd8J991p1; hive_key=1; django_language=en; csrf_token=0F5zG6LKrIDmf5epxLt9slqSd8J991p1; current_user=array; hive_sess=05c6276e-ea22-49a4-b0ac-875ffb663f77' \
-H 'Referer: http://127.0.0.1:8000/app/' \
-H 'Sec-Fetch-Dest: empty' \
-H 'Sec-Fetch-Mode: cors' \
-H 'Sec-Fetch-Site: same-origin' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36' \
-H 'X-CSRFToken: 0F5zG6LKrIDmf5epxLt9slqSd8J991p1' \
-H 'sec-ch-ua: "Not)A;Brand";v="8", "Chromium";v="138", "Google Chrome";v="138"' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'sec-ch-ua-platform: "macOS"' \
--insecure
[{"id": "da0a9fcc-78c8-11f0-9795-0050568d64ef", "name": "AVX-162.60", "ip": "192.168.162.60", "restapi_port": 9997, "restapi_account": {"restapi_username": "restapi", "restapi_password": "Restapi@123"}, "connection": "Connected", "vm_number": 0, "cpu_usage": 0.0, "memory_usage": 0.0, "disk_usage": 0.0, "host_name": "AVX_LAB", "system_cpu": "Intel(R) Xeon(R) CPU", "system_ram": "65462056 kbytes.", "system_boot_time": "Mon Aug 11 16:53:44 IST (+0530) 2025", "system_up_time": " 2 days, 19:19", "platform_bld_date": "Tue Oct 18 00:43:44 EDT 2022", "ssl_hw": "HW ( 1X80H ) Initialized", "compression_hw": "1XC25 Initialized", "power_supply": "2U, AC, 2-cords, Redundancy", "network_interface": "0 x Gigabit Ethernet copper", "model": "Array AVX 5900", "serial_number": "2441Q0106955901426147015633466", "license_key": "c6bade38-9da267da-62016ffb-6ce94789-e7a04022-ff000000-1455d8ab-20250807-20251007", "license_date": "Expires on 2025-10-07", "build_version": "AVX Rel.AVX.2.7.4.9 build on Tue Jul 1 04:02:24 2025", "pk": "{\"id\": \"da0a9fcc-78c8-11f0-9795-0050568d64ef\"}", "pk_id": "da0a9fcc-78c8-11f0-9795-0050568d64ef"}]Get System Resource Info:
[root@AN admin]# curl 'http://127.0.0.1:8000/proxy_req_dev/sys_resource_occupation' \
-H 'Accept: application/json, text/plain, /' \
-H 'Accept-Language: en-GB,en-US;q=0.9,en;q=0.8' \
-H 'CM-Data: da0a9fcc-78c8-11f0-9795-0050568d64ef' \
-H 'CM-Type: host' \
-H 'Connection: keep-alive' \
-b 'csrftoken=d6s9m6JR4T0ugObq5DgTMYXYFsba3BYh; hive_key=1; django_language=en; csrf_token=d6s9m6JR4T0ugObq5DgTMYXYFsba3BYh; current_user=array; hive_sess=5030ad73-bef1-42f4-b18f-3274b78ce414' \
-H 'Referer: http://127.0.0.1:8000/app/' \
-H 'Sec-Fetch-Dest: empty' \
-H 'Sec-Fetch-Mode: cors' \
-H 'Sec-Fetch-Site: same-origin' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36' \
-H 'X-CSRFToken: d6s9m6JR4T0ugObq5DgTMYXYFsba3BYh' \
-H 'sec-ch-ua: "Not)A;Brand";v="8", "Chromium";v="138", "Google Chrome";v="138"' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'sec-ch-ua-platform: "macOS"' \
--insecure
{"result": {"memory_left": 0, "memory_all": 62, "ssl_vf_left_detail": {"shared": "0", "dedicated": "8"}, "cpu_left": 0, "cpu_used": 20, "port_vf_all": 32, "port_vf_used": 9, "cpu_thread": [["SLB2", 4, "custom"], ["vAPVtest2", 4, "custom"], ["VishalASF", 4, "custom"], ["AMP", 4, "custom"], ["vAMP_3_6", 2, "custom"], ["Soujanya", 2, "small"]], "memory": [["SLB2", 8], ["vAPVtest2", 8], ["VishalASF", 8], ["AMP", 8], ["vAMP_3_6", 4], ["Soujanya", 4]], "cpu_left_shared": 0, "ssl_vf_used_detail": {"SLB2": {"shared": 0, "dedicated": 0}, "vAMP_3_6": {"shared": 0, "dedicated": 0}, "vAPVtest2": {"shared": 0, "dedicated": 0}, "VishalASF": {"shared": 0, "dedicated": 0}, "AMP": {"shared": 0, "dedicated": 0}, "Soujanya": {"shared": 0, "dedicated": 0}}, "ssl_vf_left": 8, "memory_used": 40, "cpu_left_dedicated": 0, "cpu_vswitch_used": 0, "ssl_vf": [["SLB2", 0], ["vAMP_3_6", 0], ["vAPVtest2", 0], ["VishalASF", 0], ["AMP", 0], ["Soujanya", 0]], "ssl_vf_used": 0, "disk_total": 1688, "disk_left": 1492, "memory_reserved": 22, "port_vf_left": 23, "cpu_all": 20, "port_vf": [["SLB2", 3], ["vAPVtest2", 3], ["vAMP_3_6", 2], ["AMP", 1], ["VishalASF", 0], ["Soujanya", 0]], "disk_used": 196, "ssl_vf_all": 8}}Graph Data:
[root@AN admin]# curl 'http://127.0.0.1:8000/proxy_req/composer/graph/xyAxis' \
-H 'Accept: application/json, text/javascript, /; q=0.01' \
-H 'Accept-Language: en-GB,en-US;q=0.9,en;q=0.8' \
-H 'CM-Data: da0a9fcc-78c8-11f0-9795-0050568d64ef' \
-H 'Connection: keep-alive' \
-H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' \
-b 'csrftoken=Ve6J2yQ2AzZkMZNTARiJ7eTr99Ym5w9B; hive_key=1; django_language=en; csrf_token=Ve6J2yQ2AzZkMZNTARiJ7eTr99Ym5w9B; current_user=array; hive_sess=2af883e5-6cea-4739-acc4-f57e0c689479' \
-H 'Origin: http://127.0.0.1:8000' \
-H 'Referer: http://127.0.0.1:8000/app/' \
-H 'Sec-Fetch-Dest: empty' \
-H 'Sec-Fetch-Mode: cors' \
-H 'Sec-Fetch-Site: same-origin' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36' \
-H 'X-Requested-With: XMLHttpRequest' \
-H 'sec-ch-ua: "Not)A;Brand";v="8", "Chromium";v="138", "Google Chrome";v="138"' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'sec-ch-ua-platform: "macOS"' \
--data-raw $'[{"type":"influxdb","select":["non_negative_derivative(first(tx_bytes), 1s)8"],"from":"avx_throughput_stats","where":["interface = \'total\'"],"group_by":"time(10s)","time":["now() - 10m","now() - 10s"]},{"type":"influxdb","select":["non_negative_derivative(first(rx_bytes), 1s)8"],"from":"avx_throughput_stats","where":["interface = \'total\'"],"group_by":"time(10s)","time":["now() - 10m","now() - 10s"]}]' \
--insecure
{"error":0,"data":{"legend":["avx_throughput_stats.non_negative_derivative(first(tx_bytes), 1s)8","avx_throughput_stats.non_negative_derivative(first(rx_bytes), 1s)8"],"series":[{"data":[["2025-08-14T08:19:40Z",49968],["2025-08-14T08:19:50Z",25368.8],["2025-08-14T08:20:00Z",30873.6],["2025-08-14T08:20:10Z",75849.6],["2025-08-14T08:20:20Z",18058.4],["2025-08-14T08:20:30Z",39449.6],["2025-08-14T08:20:40Z",67094.4],["2025-08-14T08:20:50Z",25690.4],["2025-08-14T08:21:00Z",31689.6],["2025-08-14T08:21:10Z",72979.2],["2025-08-14T08:21:20Z",16364],["2025-08-14T08:21:30Z",61212.8],["2025-08-14T08:21:40Z",108822.4],["2025-08-14T08:21:50Z",70109.6],["2025-08-14T08:22:00Z",58641.6],["2025-08-14T08:22:10Z",84235.2],["2025-08-14T08:22:20Z",17237.6],["2025-08-14T08:22:30Z",38321.6],["2025-08-14T08:22:40Z",66969.6],["2025-08-14T08:22:50Z",25973.6],["2025-08-14T08:23:00Z",34032],["2025-08-14T08:23:10Z",71078.4],["2025-08-14T08:23:20Z",16095.2],["2025-08-14T08:23:30Z",41595.2],["2025-08-14T08:23:40Z",65222.4],["2025-08-14T08:23:50Z",28394.4],["2025-08-14T08:24:00Z",37838.4],["2025-08-14T08:24:10Z",72819.2],["2025-08-14T08:24:20Z",18884],["2025-08-14T08:24:30Z",42281.6],["2025-08-14T08:24:40Z",66238.4],["2025-08-14T08:24:50Z",27927.2],["2025-08-14T08:25:00Z",40435.2],["2025-08-14T08:25:10Z",69801.6],["2025-08-14T08:25:20Z",16978.4],["2025-08-14T08:25:30Z",46313.6],["2025-08-14T08:25:40Z",63283.2],["2025-08-14T08:25:50Z",24370.4],["2025-08-14T08:26:00Z",38779.2],["2025-08-14T08:26:10Z",68937.6],["2025-08-14T08:26:20Z",16397.6],["2025-08-14T08:26:30Z",49707.2],["2025-08-14T08:26:40Z",105945.6],["2025-08-14T08:26:50Z",71832.8],["2025-08-14T08:27:00Z",82854.4],["2025-08-14T08:27:10Z",113448],["2025-08-14T08:27:20Z",47568.8],["2025-08-14T08:27:30Z",40678.4],["2025-08-14T08:27:40Z",59784],["2025-08-14T08:27:50Z",29405.6],["2025-08-14T08:28:00Z",35681.6],["2025-08-14T08:28:10Z",70812.8],["2025-08-14T08:28:20Z",23688.8],["2025-08-14T08:28:30Z",41499.2],["2025-08-14T08:28:40Z",62236.8],["2025-08-14T08:28:50Z",31536.8],["2025-08-14T08:29:00Z",32932.8],["2025-08-14T08:29:10Z",71894.4],["2025-08-14T08:29:20Z",22661.6]],"name":"avx_throughput_stats.non_negative_derivative(first(tx_bytes), 1s)8"},{"data":[["2025-08-14T08:19:40Z",15382.4],["2025-08-14T08:19:50Z",8043.2],["2025-08-14T08:20:00Z",12784.8],["2025-08-14T08:20:10Z",23592],["2025-08-14T08:20:20Z",5705.6],["2025-08-14T08:20:30Z",12951.2],["2025-08-14T08:20:40Z",20534.4],["2025-08-14T08:20:50Z",8177.6],["2025-08-14T08:21:00Z",13242.4],["2025-08-14T08:21:10Z",22376],["2025-08-14T08:21:20Z",5209.6],["2025-08-14T08:21:30Z",20063.2],["2025-08-14T08:21:40Z",34000],["2025-08-14T08:21:50Z",22545.6],["2025-08-14T08:22:00Z",21808.8],["2025-08-14T08:22:10Z",25880],["2025-08-14T08:22:20Z",5641.6],["2025-08-14T08:22:30Z",12612],["2025-08-14T08:22:40Z",20366.4],["2025-08-14T08:22:50Z",8408],["2025-08-14T08:23:00Z",13802.4],["2025-08-14T08:23:10Z",21824],["2025-08-14T08:23:20Z",5264],["2025-08-14T08:23:30Z",13527.2],["2025-08-14T08:23:40Z",19924.8],["2025-08-14T08:23:50Z",8987.2],["2025-08-14T08:24:00Z",15106.4],["2025-08-14T08:24:10Z",22580.8],["2025-08-14T08:24:20Z",5969.6],["2025-08-14T08:24:30Z",13928.8],["2025-08-14T08:24:40Z",20248],["2025-08-14T08:24:50Z",8878.4],["2025-08-14T08:25:00Z",16068],["2025-08-14T08:25:10Z",21294.4],["2025-08-14T08:25:20Z",5380.8],["2025-08-14T08:25:30Z",15444],["2025-08-14T08:25:40Z",19105.6],["2025-08-14T08:25:50Z",7814.4],["2025-08-14T08:26:00Z",15368.8],["2025-08-14T08:26:10Z",21115.2],["2025-08-14T08:26:20Z",5372.8],["2025-08-14T08:26:30Z",16216.8],["2025-08-14T08:26:40Z",33022.4],["2025-08-14T08:26:50Z",23212.8],["2025-08-14T08:27:00Z",29642.4],["2025-08-14T08:27:10Z",35555.2],["2025-08-14T08:27:20Z",15430.4],["2025-08-14T08:27:30Z",13300],["2025-08-14T08:27:40Z",18280],["2025-08-14T08:27:50Z",9360],["2025-08-14T08:28:00Z",14375.2],["2025-08-14T08:28:10Z",21856],["2025-08-14T08:28:20Z",7526.4],["2025-08-14T08:28:30Z",13690.4],["2025-08-14T08:28:40Z",18993.6],["2025-08-14T08:28:50Z",10048],["2025-08-14T08:29:00Z",13679.2],["2025-08-14T08:29:10Z",21936],["2025-08-14T08:29:20Z",7252.8]],"name":"avx_throughput_stats.non_negative_derivative(first(rx_bytes), 1s)8"}]}}[root@AN admin]# curl 'http://127.0.0.1:8000/proxy_req/composer/graph/xyAxis' \
-H 'Accept: application/json, text/javascript, /; q=0.01' \
-H 'Accept-Language: en-GB,en-US;q=0.9,en;q=0.8' \
-H 'CM-Data: da0a9fcc-78c8-11f0-9795-0050568d64ef' \
-H 'Connection: keep-alive' \
-H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' \
-b 'csrftoken=9mx7eCzkKZjC3mjrVL6xeGBv3O6T7GJq; hive_key=1; django_language=en; csrf_token=9mx7eCzkKZjC3mjrVL6xeGBv3O6T7GJq; current_user=array; hive_sess=fd7d3388-5a28-4358-9430-490440458b73' \
-H 'Origin: http://127.0.0.1:8000' \
-H 'Referer: http://127.0.0.1:8000/app/' \
-H 'Sec-Fetch-Dest: empty' \
-H 'Sec-Fetch-Mode: cors' \
-H 'Sec-Fetch-Site: same-origin' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36' \
-H 'X-Requested-With: XMLHttpRequest' \
-H 'sec-ch-ua: "Not)A;Brand";v="8", "Chromium";v="138", "Google Chrome";v="138"' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'sec-ch-ua-platform: "macOS"' \
--data-raw '[{"type":"influxdb","select":["100-idle"],"from":"avx_cpu_stats","where":[],"time":["now() - 10m","now() - 10s"]}]' \
--insecure
{"error":0,"data":{"legend":["avx_cpu_stats.100-idle"],"series":[{"data":[["2025-08-14T08:21:29.373492914Z",5.400000000000006],["2025-08-14T08:21:34.377730485Z",5.420000000000002],["2025-08-14T08:21:39.370285655Z",5.680000000000007],["2025-08-14T08:21:44.375025776Z",9.439999999999998],["2025-08-14T08:21:49.378581171Z",6.530000000000001],["2025-08-14T08:21:54.370604342Z",6.8700000000000045],["2025-08-14T08:21:59.373258483Z",5.980000000000004],["2025-08-14T08:22:04.375570517Z",6.019999999999996],["2025-08-14T08:22:09.377230849Z",6.049999999999997],["2025-08-14T08:22:14.372887257Z",9],["2025-08-14T08:22:19.375161933Z",6.159999999999997],["2025-08-14T08:22:24.37863269Z",5.760000000000005],["2025-08-14T08:22:29.371551839Z",5.769999999999996],["2025-08-14T08:22:34.373509407Z",5.849999999999994],["2025-08-14T08:22:39.376788787Z",5.969999999999999],["2025-08-14T08:22:44.373702259Z",9.329999999999998],["2025-08-14T08:22:49.377045743Z",5.909999999999997],["2025-08-14T08:22:54.380140496Z",6.010000000000005],["2025-08-14T08:22:59.372847989Z",6.140000000000001],["2025-08-14T08:23:04.376378619Z",6.459999999999994],["2025-08-14T08:23:09.380041009Z",7.019999999999996],["2025-08-14T08:23:14.375942612Z",9.939999999999998],["2025-08-14T08:23:19.378579569Z",6.359999999999999],["2025-08-14T08:23:24.372387001Z",6.010000000000005],["2025-08-14T08:23:29.375356812Z",6.150000000000006],["2025-08-14T08:23:34.377084049Z",5.930000000000007],["2025-08-14T08:23:39.379594012Z",6.099999999999994],["2025-08-14T08:23:44.374072659Z",9.299999999999997],["2025-08-14T08:23:49.376062655Z",5.689999999999998],["2025-08-14T08:23:54.379033086Z",6.140000000000001],["2025-08-14T08:23:59.371561322Z",5.840000000000003],["2025-08-14T08:24:04.374863524Z",6.159999999999997],["2025-08-14T08:24:09.377746143Z",6.75],["2025-08-14T08:24:14.372999103Z",9.25],["2025-08-14T08:24:19.377035742Z",6.310000000000002],["2025-08-14T08:24:24.379494663Z",7.299999999999997],["2025-08-14T08:24:29.372155423Z",6.400000000000006],["2025-08-14T08:24:34.375355576Z",6.049999999999997],["2025-08-14T08:24:39.377274395Z",5.920000000000002],["2025-08-14T08:24:44.372529515Z",9.590000000000003],["2025-08-14T08:24:49.376972372Z",5.8700000000000045],["2025-08-14T08:24:54.370256695Z",6.299999999999997],["2025-08-14T08:24:59.373875762Z",6.219999999999999],["2025-08-14T08:25:04.377331313Z",6.590000000000003],["2025-08-14T08:25:09.370212561Z",6.1299999999999955],["2025-08-14T08:25:14.377404063Z",9.86],["2025-08-14T08:25:19.379243Z",5.709999999999994],["2025-08-14T08:25:24.371855872Z",5.8700000000000045],["2025-08-14T08:25:29.374485668Z",6.3799999999999955],["2025-08-14T08:25:34.377741043Z",6],["2025-08-14T08:25:39.369512Z",7.859999999999999],["2025-08-14T08:25:44.376609188Z",10.040000000000006],["2025-08-14T08:25:49.370433535Z",7.799999999999997],["2025-08-14T08:25:54.37330876Z",5.829999999999998],["2025-08-14T08:25:59.377231654Z",6.109999999999999],["2025-08-14T08:26:04.370339311Z",6.640000000000001],["2025-08-14T08:26:09.373266881Z",6.3799999999999955],["2025-08-14T08:26:14.379400742Z",9.61],["2025-08-14T08:26:19.371388579Z",6.099999999999994],["2025-08-14T08:26:24.374392434Z",6.060000000000002],["2025-08-14T08:26:29.377428861Z",6.069999999999993],["2025-08-14T08:26:34.369841199Z",5.859999999999999],["2025-08-14T08:26:39.373481139Z",6.079999999999998],["2025-08-14T08:26:44.378314018Z",10.079999999999998],["2025-08-14T08:26:49.370400646Z",6.390000000000001],["2025-08-14T08:26:54.374458236Z",8.030000000000001],["2025-08-14T08:26:59.378046504Z",7.099999999999994],["2025-08-14T08:27:04.372221756Z",6.439999999999998],["2025-08-14T08:27:09.374008551Z",6.25],["2025-08-14T08:27:14.378965226Z",10.040000000000006],["2025-08-14T08:27:19.373501786Z",6.1299999999999955],["2025-08-14T08:27:24.376183966Z",6.269999999999996],["2025-08-14T08:27:29.377731359Z",6.060000000000002],["2025-08-14T08:27:34.370586612Z",6.659999999999997],["2025-08-14T08:27:39.372184496Z",6.299999999999997],["2025-08-14T08:27:44.377825965Z",9.980000000000004],["2025-08-14T08:27:49.372366999Z",6.390000000000001],["2025-08-14T08:27:54.373661472Z",6.459999999999994],["2025-08-14T08:27:59.375632833Z",6.519999999999996],["2025-08-14T08:28:04.378575544Z",6.700000000000003],["2025-08-14T08:28:09.371798934Z",7.900000000000006],["2025-08-14T08:28:14.378416263Z",10.420000000000002],["2025-08-14T08:28:19.370133871Z",6.730000000000004],["2025-08-14T08:28:24.371186156Z",6.709999999999994],["2025-08-14T08:28:29.374595319Z",6.909999999999997],["2025-08-14T08:28:34.37599882Z",6.849999999999994],["2025-08-14T08:28:39.378022566Z",6.680000000000007],["2025-08-14T08:28:44.374468387Z",10],["2025-08-14T08:28:49.377626458Z",6.540000000000006],["2025-08-14T08:28:54.379900617Z",7.219999999999999],["2025-08-14T08:28:59.373688067Z",6.909999999999997],["2025-08-14T08:29:04.376073654Z",6.6200000000000045],["2025-08-14T08:29:09.378912087Z",7],["2025-08-14T08:29:14.374024868Z",10.269999999999996],["2025-08-14T08:29:19.377057569Z",6.709999999999994],["2025-08-14T08:29:24.379955121Z",8.700000000000003],["2025-08-14T08:29:29.371807766Z",7.239999999999995],["2025-08-14T08:29:34.374150311Z",6.989999999999995],["2025-08-14T08:29:39.378343977Z",6.849999999999994],["2025-08-14T08:29:44.374345785Z",9.89],["2025-08-14T08:29:49.376357234Z",7.340000000000003],["2025-08-14T08:29:54.37937206Z",7.439999999999998],["2025-08-14T08:29:59.371172723Z",7.019999999999996],["2025-08-14T08:30:04.373847272Z",8.64],["2025-08-14T08:30:09.378361618Z",7.230000000000004],["2025-08-14T08:30:14.374061707Z",10.530000000000001],["2025-08-14T08:30:19.376600646Z",7.3700000000000045],["2025-08-14T08:30:24.378244354Z",7.1299999999999955],["2025-08-14T08:30:29.37054278Z",7.760000000000005],["2025-08-14T08:30:34.372767363Z",7.810000000000002],["2025-08-14T08:30:39.374508189Z",9.150000000000006],["2025-08-14T08:30:44.369737101Z",11.180000000000007],["2025-08-14T08:30:49.373489563Z",7.560000000000002],["2025-08-14T08:30:54.375584741Z",7.159999999999997],["2025-08-14T08:30:59.376903478Z",7.219999999999999],["2025-08-14T08:31:04.37304717Z",8.560000000000002],["2025-08-14T08:31:09.375589131Z",7.829999999999998],["2025-08-14T08:31:14.372037581Z",11.269999999999996]],"name":"avx_cpu_stats.100-idle"}]}}[root@AN admin]# curl 'http://127.0.0.1:8000/proxy_req/composer/graph/xyAxis' \
-H 'Accept: application/json, text/javascript, /; q=0.01' \
-H 'Accept-Language: en-GB,en-US;q=0.9,en;q=0.8' \
-H 'CM-Data: da0a9fcc-78c8-11f0-9795-0050568d64ef' \
-H 'Connection: keep-alive' \
-H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' \
-b 'csrftoken=lnu8DssJlvhiq6XdDblzp023SRMBv03U; hive_key=1; django_language=en; csrf_token=lnu8DssJlvhiq6XdDblzp023SRMBv03U; current_user=array; hive_sess=f844a1a4-1963-4d97-a5ab-59d050ab6564' \
-H 'Origin: http://127.0.0.1:8000' \
-H 'Referer: http://127.0.0.1:8000/app/' \
-H 'Sec-Fetch-Dest: empty' \
-H 'Sec-Fetch-Mode: cors' \
-H 'Sec-Fetch-Site: same-origin' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36' \
-H 'X-Requested-With: XMLHttpRequest' \
-H 'sec-ch-ua: "Not)A;Brand";v="8", "Chromium";v="138", "Google Chrome";v="138"' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'sec-ch-ua-platform: "macOS"' \
--data-raw '[{"type":"influxdb","select":["(total-free-cached-buffers)/total100"],"from":"avx_memory_stats","where":[],"time":["now() - 10m","now() - 10s"]}]' \
--insecure
{"error":0,"data":{"legend":["avx_memory_stats.(total-free-cached-buffers)/total100"],"series":[{"data":[["2025-08-14T08:22:59.372970222Z",68.26325772597183],["2025-08-14T08:23:04.376497655Z",68.263459369501],["2025-08-14T08:23:09.380153835Z",68.2639115398392],["2025-08-14T08:23:14.376121865Z",68.26703395933669],["2025-08-14T08:23:19.378700074Z",68.26340437581123],["2025-08-14T08:23:24.372502499Z",68.26394209188908],["2025-08-14T08:23:29.375470393Z",68.26413151459832],["2025-08-14T08:23:34.377211912Z",68.26394820229905],["2025-08-14T08:23:39.379710901Z",68.26681398457757],["2025-08-14T08:23:44.374177238Z",68.26412540418835],["2025-08-14T08:23:49.37616805Z",68.26402763762873],["2025-08-14T08:23:54.379152142Z",68.26232894365555],["2025-08-14T08:23:59.37167749Z",68.26304386162268],["2025-08-14T08:24:04.374988599Z",68.26377100040976],["2025-08-14T08:24:09.377855614Z",68.2678771959133],["2025-08-14T08:24:14.37310238Z",68.26447980796692],["2025-08-14T08:24:19.377130557Z",68.26202953356675],["2025-08-14T08:24:24.379622736Z",68.26377711081973],["2025-08-14T08:24:29.372258332Z",68.26320273228205],["2025-08-14T08:24:34.375463026Z",68.26268945784409],["2025-08-14T08:24:39.377396291Z",68.27294883619298],["2025-08-14T08:24:44.372631891Z",68.26692397195713],["2025-08-14T08:24:49.37708138Z",68.26433926853748],["2025-08-14T08:24:54.370376526Z",68.26364268180028],["2025-08-14T08:24:59.373994671Z",68.26484643256545],["2025-08-14T08:25:04.377443766Z",68.26418039787812],["2025-08-14T08:25:09.370332891Z",68.26419261869808],["2025-08-14T08:25:14.377554496Z",68.26432704771753],["2025-08-14T08:25:19.379352025Z",68.2639115398392],["2025-08-14T08:25:24.371973436Z",68.26341659663119],["2025-08-14T08:25:29.374595597Z",68.26555524012261],["2025-08-14T08:25:34.377858064Z",68.26300719916283],["2025-08-14T08:25:39.369616256Z",68.26319051146208],["2025-08-14T08:25:44.376715802Z",68.26617850194012],["2025-08-14T08:25:49.370546166Z",68.26608073538051],["2025-08-14T08:25:54.373428562Z",68.26288499096331],["2025-08-14T08:25:59.377345992Z",68.26290943260321],["2025-08-14T08:26:04.370466091Z",68.26166290896822],["2025-08-14T08:26:09.373381161Z",68.26135738846943],["2025-08-14T08:26:14.379502251Z",68.26223728750591],["2025-08-14T08:26:19.371500695Z",68.26071579542202],["2025-08-14T08:26:24.374502031Z",68.26048359984294],["2025-08-14T08:26:29.377552428Z",68.26053248312274],["2025-08-14T08:26:34.369948341Z",68.26055692476264],["2025-08-14T08:26:39.373607758Z",68.2608685556714],["2025-08-14T08:26:44.378414636Z",68.26217618340615],["2025-08-14T08:26:49.370512164Z",68.26105186797065],["2025-08-14T08:26:54.37455983Z",68.26246948308497],["2025-08-14T08:26:59.378166657Z",68.26277500358376],["2025-08-14T08:27:04.372337993Z",68.26251225595482],["2025-08-14T08:27:09.374110297Z",68.26229839160567],["2025-08-14T08:27:14.379098561Z",68.26442481427715],["2025-08-14T08:27:19.373650372Z",68.26250003513485],["2025-08-14T08:27:24.37628695Z",68.26272000989397],["2025-08-14T08:27:29.377832493Z",68.26162013609839],["2025-08-14T08:27:34.370696527Z",68.26107019920059],["2025-08-14T08:27:39.372293519Z",68.26143071338913],["2025-08-14T08:27:44.377938847Z",68.26515195306423],["2025-08-14T08:27:49.372481213Z",68.26185233167746],["2025-08-14T08:27:54.373770183Z",68.26235338529546],["2025-08-14T08:27:59.375764664Z",68.26252447677476],["2025-08-14T08:28:04.378683357Z",68.26282388686356],["2025-08-14T08:28:09.371933713Z",68.26287888055333],["2025-08-14T08:28:14.378527139Z",68.26142460297918],["2025-08-14T08:28:19.370259716Z",68.26070357460206],["2025-08-14T08:28:24.371310693Z",68.25902932226876],["2025-08-14T08:28:29.374595092Z",68.2602452938539],["2025-08-14T08:28:34.376102197Z",68.26053859353271],["2025-08-14T08:28:39.378131552Z",68.2605935872225],["2025-08-14T08:28:44.374582128Z",68.26481588051557],["2025-08-14T08:28:49.37772878Z",68.26221284586602],["2025-08-14T08:28:54.38001555Z",68.26264057456429],["2025-08-14T08:28:59.373788725Z",68.26179733798767],["2025-08-14T08:29:04.376174492Z",68.25948149260695],["2025-08-14T08:29:09.379026508Z",68.25977479228578],["2025-08-14T08:29:14.374172242Z",68.2640093063988],["2025-08-14T08:29:19.37717303Z",68.26085633485145],["2025-08-14T08:29:24.380033887Z",68.26130239477965],["2025-08-14T08:29:29.371918088Z",68.25937761563738],["2025-08-14T08:29:34.374255992Z",68.26086244526141],["2025-08-14T08:29:39.378537788Z",68.26076467870182],["2025-08-14T08:29:44.374386299Z",68.26376488999979],["2025-08-14T08:29:49.376464089Z",68.26237171652537],["2025-08-14T08:29:54.379473994Z",68.26152236953877],["2025-08-14T08:29:59.371276892Z",68.26121684904],["2025-08-14T08:30:04.373944952Z",68.2608441140315],["2025-08-14T08:30:09.378480102Z",68.26153459035874],["2025-08-14T08:30:14.374175141Z",68.26156514240861],["2025-08-14T08:30:19.376708665Z",68.25991533171522],["2025-08-14T08:30:24.378348615Z",68.2622433979159],["2025-08-14T08:30:29.37065085Z",68.26238393734533],["2025-08-14T08:30:34.372871477Z",68.26290332219324],["2025-08-14T08:30:39.374641568Z",68.26171790265799],["2025-08-14T08:30:44.369861428Z",68.26215174176625],["2025-08-14T08:30:49.373603236Z",68.26261002251441],["2025-08-14T08:30:54.375698484Z",68.26284221809348],["2025-08-14T08:30:59.377018625Z",68.26059969763247],["2025-08-14T08:31:04.373158229Z",68.265206946754],["2025-08-14T08:31:09.375690013Z",68.26617850194012],["2025-08-14T08:31:14.372171951Z",68.26614794989024],["2025-08-14T08:31:19.374153074Z",68.26564078586227],["2025-08-14T08:31:24.376749883Z",68.26466923067616],["2025-08-14T08:31:29.379721872Z",68.26553690889268],["2025-08-14T08:31:34.371081826Z",68.26599518964085],["2025-08-14T08:31:39.373412953Z",68.26378933163969],["2025-08-14T08:31:44.370650129Z",68.2705230034327],["2025-08-14T08:31:49.372632527Z",68.26885486150938],["2025-08-14T08:31:54.375281189Z",68.26747390885492],["2025-08-14T08:31:59.378181077Z",68.2687265428999],["2025-08-14T08:32:04.369740093Z",68.271946728957],["2025-08-14T08:32:09.372125768Z",68.27272886143386],["2025-08-14T08:32:14.378765955Z",68.26953922742665],["2025-08-14T08:32:19.370023148Z",68.26839658076122],["2025-08-14T08:32:24.373815131Z",68.26748612967488],["2025-08-14T08:32:29.376360846Z",68.26633126218951],["2025-08-14T08:32:34.378086673Z",68.26557357135255],["2025-08-14T08:32:39.380869607Z",68.26656345776857],["2025-08-14T08:32:44.37627711Z",68.26561634422237]],"name":"avx_memory_stats.(total-free-cached-buffers)/total*100"}]}}[root@AN admin]# curl 'http://127.0.0.1:8000/proxy_req_dev/avx/query_system_info' \
-H 'Accept: application/json, text/plain, /' \
-H 'Accept-Language: en-GB,en-US;q=0.9,en;q=0.8' \
-H 'CM-Data: da0a9fcc-78c8-11f0-9795-0050568d64ef' \
-H 'CM-Type: host' \
-H 'Connection: keep-alive' \
-b 'csrftoken=HofS75tKNSjZ9sgg3uTqLTvhjh3ZFWBX; hive_key=1; django_language=en; csrf_token=HofS75tKNSjZ9sgg3uTqLTvhjh3ZFWBX; current_user=array; hive_sess=57c9b0e9-5214-46eb-891b-f9c41832dd29' \
-H 'Referer: http://127.0.0.1:8000/app/' \
-H 'Sec-Fetch-Dest: empty' \
-H 'Sec-Fetch-Mode: cors' \
-H 'Sec-Fetch-Site: same-origin' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36' \
-H 'X-CSRFToken: HofS75tKNSjZ9sgg3uTqLTvhjh3ZFWBX' \
-H 'sec-ch-ua: "Not)A;Brand";v="8", "Chromium";v="138", "Google Chrome";v="138"' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'sec-ch-ua-platform: "macOS"' \
--insecure
{"state": true, "data": {"disk": {"disk_left": "1492", "disk_total": "1688", "disk_used": "196"}, "model": "Array AVX 5900", "domain_num": 1, "domain": [{"memory": {"sum": "62", "used": "40", "reserved": "22", "left": "0"}, "ssl": [{"card_type": "CaviumN5", "vf_dedicated_available": "8", "vf_sum": "8", "id": "1", "vf_share_available": "0"}], "cpu": {"dedicated_left": "0", "reserved": "0", "sum": "20", "used": "20", "shared_left": "0", "left": "0"}, "id": "1", "port": [{"vf_available": "5", "vf_sum": "8", "id": "1"}, {"vf_available": "5", "vf_sum": "8", "id": "2"}, {"vf_available": "6", "vf_sum": "8", "id": "3"}, {"vf_available": "7", "vf_sum": "8", "id": "4"}]}], "support_size": ["Entry", "Small", "Medium", "Large"]}}VA Deployments
[root@AN admin]# curl 'http://127.0.0.1:8000/proxy_req_dev/api/avx/va/instance/VAInstance/_get_list_data?key=[%22domain_id%22,%22va_name%22,%22va_size%22,%22ip%22,%22status%22,%22vendor%22,%22product_name%22,%22product_category%22,%22boottime%22,%22image%22,%22cpu_thread%22]' \
-H 'Accept: application/json, text/plain, /' \
-H 'Accept-Language: en-GB,en-US;q=0.9,en;q=0.8' \
-H 'CM-Data: da0a9fcc-78c8-11f0-9795-0050568d64ef' \
-H 'CM-Type: host' \
-H 'Connection: keep-alive' \
-b 'csrftoken=IrHuqLHyiT2KTf9piboQqu3Pe3Chs3lP; hive_key=1; django_language=en; csrf_token=IrHuqLHyiT2KTf9piboQqu3Pe3Chs3lP; current_user=array; hive_sess=a1b6c77d-4cd2-49d8-aa1d-aba01b2843e1' \
-H 'Referer: http://127.0.0.1:8000/app/' \
-H 'Sec-Fetch-Dest: empty' \
-H 'Sec-Fetch-Mode: cors' \
-H 'Sec-Fetch-Site: same-origin' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36' \
-H 'X-CSRFToken: IrHuqLHyiT2KTf9piboQqu3Pe3Chs3lP' \
-H 'sec-ch-ua: "Not)A;Brand";v="8", "Chromium";v="138", "Google Chrome";v="138"' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'sec-ch-ua-platform: "macOS"' \
--insecure
[{"va_name": "Soujanya", "va_size": "small", "status": true, "starting_port": [], "domain_id": "1", "va_vncport": "5900", "cpu_thread": 2, "cpu_thread_shared": false, "memory": 4, "ip": "", "vlan_tag": "", "nic_type": "e1000", "tgt_name": "apv10_default", "vendor": "Array Networks", "product_name": "vAPV", "product_category": "ADC", "boottime": "2025-08-11T16:54:13", "type": "Package", "va_port": [], "va_ssl": [], "attached_disk": [], "attached_usb": []}, {"va_name": "AMP", "va_size": "custom", "status": false, "starting_port": [], "domain_id": "1", "va_vncport": "5903", "cpu_thread": 4, "cpu_thread_shared": false, "memory": 8, "ip": "192.168.162.81", "vlan_tag": "", "nic_type": "e1000", "tgt_name": "AMP_3_7_1", "vendor": "Array", "product_name": "Array-AMP", "product_category": "AMP", "boottime": "N/A", "type": "", "va_port": [], "va_ssl": [], "attached_disk": [], "attached_usb": []}, {"va_name": "VishalASF", "va_size": "custom", "status": true, "starting_port": [], "domain_id": "1", "va_vncport": "5904", "cpu_thread": 4, "cpu_thread_shared": false, "memory": 8, "ip": "192.168.174.211", "vlan_tag": "", "nic_type": "e1000", "tgt_name": "asf_default", "vendor": "Array Networks", "product_name": "vASF", "product_category": "WAF", "boottime": "2025-08-11T16:54:08", "type": "", "va_port": [], "va_ssl": [], "attached_disk": [], "attached_usb": []}, {"va_name": "vAPVtest2", "va_size": "custom", "status": true, "starting_port": [], "domain_id": "1", "va_vncport": "5901", "cpu_thread": 4, "cpu_thread_shared": false, "memory": 8, "ip": "192.168.162.90", "vlan_tag": "", "nic_type": "e1000", "tgt_name": "APV_10.4.0.5", "vendor": "Array Networks", "product_name": "vAPV", "product_category": "ADC", "boottime": "2025-08-11T16:54:10", "type": "Individual", "va_port": [], "va_ssl": [], "attached_disk": [], "attached_usb": []}, {"va_name": "SLB2", "va_size": "custom", "status": true, "starting_port": [], "domain_id": "1", "va_vncport": "5902", "cpu_thread": 4, "cpu_thread_shared": false, "memory": 8, "ip": "192.168.162.79", "vlan_tag": "", "nic_type": "e1000", "tgt_name": "APV_10.4.0.5", "vendor": "Array Networks", "product_name": "vAPV", "product_category": "ADC", "boottime": "2025-08-11T16:54:12", "type": "Individual", "va_port": [], "va_ssl": [], "attached_disk": [], "attached_usb": []}, {"va_name": "vAMP_3_6", "va_size": "custom", "status": true, "starting_port": [], "domain_id": "1", "va_vncport": "5905", "cpu_thread": 2, "cpu_thread_shared": false, "memory": 4, "ip": "", "vlan_tag": "", "nic_type": "e1000", "tgt_name": "AMP_3_6", "vendor": "Array", "product_name": "AMP", "product_category": "AMP", "boottime": "2025-08-11T16:54:14", "type": "", "va_port": [], "va_ssl": [], "attached_disk": [], "attached_usb": []}]Configuration
Running Configuration:
[root@AN admin]# curl 'http://127.0.0.1:8000/proxy_req_dev/api/avx/system/config_mgmt/ViewConfig/_fields?fields=[%22running_config%22]' \
-H 'Accept: application/json, text/plain, /' \
-H 'Accept-Language: en-GB,en-US;q=0.9,en;q=0.8' \
-H 'CM-Data: da0a9fcc-78c8-11f0-9795-0050568d64ef' \
-H 'CM-Type: host' \
-H 'Connection: keep-alive' \
-b 'csrftoken=UC3MEsbEer6KKDvuSMSoEQS7nvWvHzhs; hive_key=1; django_language=en; csrf_token=UC3MEsbEer6KKDvuSMSoEQS7nvWvHzhs; current_user=array; hive_sess=3b20f29a-76da-4f2e-90ca-36cded536fb1' \
-H 'Referer: http://127.0.0.1:8000/app/' \
-H 'Sec-Fetch-Dest: empty' \
-H 'Sec-Fetch-Mode: cors' \
-H 'Sec-Fetch-Site: same-origin' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36' \
-H 'X-CSRFToken: UC3MEsbEer6KKDvuSMSoEQS7nvWvHzhs' \
-H 'sec-ch-ua: "Not)A;Brand";v="8", "Chromium";v="138", "Google Chrome";v="138"' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'sec-ch-ua-platform: "macOS"' \
--insecure
{"running_config": "#version Rel.AVX.2.7.4.9 build on Tue Jul 1 04:02:24 2025\n\n\n#command timeout configuration\nsystem command timeout 120\n\n#hostname configuration\nhostname \"AVX_LAB\"\n\n#nameserver configuration\nip nameserver 8.8.8.8\n\n#enable password\npasswd enable \"XXXXXXXXXsaFLGt/QKS6yw\"\n\n#user configuration\nuser \"array\" \"XXXXXXXXX5q$QkeSlO6sFeEDBz7GltJ97.8II7ZTNYrgX4rNp6wy7OGvSAJsBDVU8oysPGzqEtjcvSIEw2PV7uSkIe.Mzn8pb.\" \"config\"\nuser \"restapi\" \"XXXXXXXXXNW$5kWW3F6H9HF.gF9UnvjjfUyjKmSQYLluuiqxbe8.8O2aWS8lBrAd.bXHw4yrivOxkK28gnYhOuUUPCTGPmC8Q/\" \"config\"\n\n#ip configuration\nip address 192.168.162.60 255.255.255.0\n\n#ip host configuration\n\n#bond configuration\nbond interface bond1 port2\nbond interface bond1 port1\nbond interface bond2 port3\nbond interface bond2 port4\n\n#route configuration\nip route default 192.168.162.1\n\n#xmlrpc configuration\nxmlrpc off\nxmlrpc port 9999\n\n#webui configuration\nwebui port 8888\nwebui on\nwebui hostcheck on\nwebui ssl settings clientauth disable\nwebui ssl settings authmandatory enable\nwebui ssl settings ciphersuites \"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-GCM-SHA384\"\nwebui ssl settings protocol \"TLSv12\"\n\n#webui twofactor userconfiguration\nwebui twofactor off \"array\"\nwebui twofactor off \"restapi\"\n\n#restapi configuration\nrestapi on https 9997\n\n#ha configuration\nha off\n\n#system interactive configuration\nsupport 0.0.0.0 0.0.0.0\n\n#avxlog configuration\nlog on\nlog level info\nlog facility local1\n\n#snmp configuration\nsnmp community \"public\"\nsnmp contact \"\"\nsnmp location \"\"\nno snmp enable traps\nsnmp ipcontrol off\nsnmp off \n\n#no default user configuration\n#\n#avx ntp configuration\nntp off\n\n#system timezone configuration\nsystem timezone \"Asia/India/Kolkata\"\n\n#avx dhcp configuration\ndhcp server off\ndhcp relay off\n\n#avx promisc configuration\n\n#OpenStack configuration\nopenstack off\n\n#Monitor configuration\nmonitor off\n\n#ssh configuration\nssh on\nssh auth passwd on \"array\"\nssh auth key off \"array\"\nssh auth passwd on \"restapi\"\nssh auth key off \"restapi\"\nssh cipher \"aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com\"\nssh macs \"hmac-sha2-256,hmac-sha2-512,umac-64@openssh.com,umac-128@openssh.com\"\nssh kex \"curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521\"\nssh alivetime 60 3\n\n#interface shutdown\n\n#interface description\n\n#admin aaa configuration\nadmin aaa off\n", "startup_config": "Current configuration on disk\n\n#Last configuration change at Thu Aug 14 10:00:36 2025 by root\n#version Rel.AVX.2.7.4.9 build on Tue Jul 1 04:02:24 2025\n\n#command timeout configuration\nsystem command timeout 120\n\n#hostname configuration\nhostname \"AVX_LAB\"\n\n#nameserver configuration\nip nameserver 8.8.8.8\n\n#enable password\npasswd enable \"XXXXXXXXXsaFLGt/QKS6yw\"\n\n#user configuration\nuser \"array\" \"XXXXXXXXX5q$QkeSlO6sFeEDBz7GltJ97.8II7ZTNYrgX4rNp6wy7OGvSAJsBDVU8oysPGzqEtjcvSIEw2PV7uSkIe.Mzn8pb.\" \"config\"\nuser \"restapi\" \"XXXXXXXXXNW$5kWW3F6H9HF.gF9UnvjjfUyjKmSQYLluuiqxbe8.8O2aWS8lBrAd.bXHw4yrivOxkK28gnYhOuUUPCTGPmC8Q/\" \"config\"\n\n#ip configuration\nip address 192.168.162.60 255.255.255.0\n\n#ip host configuration\n\n#bond configuration\nbond interface bond1 port2\nbond interface bond1 port1\nbond interface bond2 port3\nbond interface bond2 port4\n\n#route configuration\nip route default 192.168.162.1\n\n#xmlrpc configuration\nxmlrpc off\nxmlrpc port 9999\n\n#webui configuration\nwebui port 8888\nwebui on\nwebui hostch............Startup Configuration:
[root@AN admin]# curl 'http://127.0.0.1:8000/proxy_req_dev/api/avx/system/config_mgmt/ViewConfig/_fields?fields=[%22startup_config%22]' \
-H 'Accept: application/json, text/plain, /' \
-H 'Accept-Language: en-GB,en-US;q=0.9,en;q=0.8' \
-H 'CM-Data: da0a9fcc-78c8-11f0-9795-0050568d64ef' \
-H 'CM-Type: host' \
-H 'Connection: keep-alive' \
-b 'csrftoken=34sywgPSBz6EzDIUo3Y6VbNTcAk9iRc4; hive_key=1; django_language=en; csrf_token=34sywgPSBz6EzDIUo3Y6VbNTcAk9iRc4; current_user=array; hive_sess=f08c792f-357f-42ce-93e9-2ebce19f81e2' \
-H 'Referer: http://127.0.0.1:8000/app/' \
-H 'Sec-Fetch-Dest: empty' \
-H 'Sec-Fetch-Mode: cors' \
-H 'Sec-Fetch-Site: same-origin' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36' \
-H 'X-CSRFToken: 34sywgPSBz6EzDIUo3Y6VbNTcAk9iRc4' \
-H 'sec-ch-ua: "Not)A;Brand";v="8", "Chromium";v="138", "Google Chrome";v="138"' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'sec-ch-ua-platform: "macOS"' \
--insecure
{"running_config": "#version Rel.AVX.2.7.4.9 build on Tue Jul 1 04:02:24 2025\n\n\n#command timeout configuration\nsystem command timeout 120\n\n#hostname configuration\nhostname \"AVX_LAB\"\n\n#nameserver configuration\nip nameserver 8.8.8.8\n\n#enable password\npasswd enable \"XXXXXXXXXsaFLGt/QKS6yw\"\n\n#user configuration\nuser \"array\" \"XXXXXXXXX5q$QkeSlO6sFeEDBz7GltJ97.8II7ZTNYrgX4rNp6wy7OGvSAJsBDVU8oysPGzqEtjcvSIEw2PV7uSkIe.Mzn8pb.\" \"config\"\nuser \"restapi\" \"XXXXXXXXXNW$5kWW3F6H9HF.gF9UnvjjfUyjKmSQYLluuiqxbe8.8O2aWS8lBrAd.bXHw4yrivOxkK28gnYhOuUUPCTGPmC8Q/\" \"config\"\n\n#ip configuration\nip address 192.168.162.60 255.255.255.0\n\n#ip host configuration\n\n#bond configuration\nbond interface bond1 port2\nbond interface bond1 port1\nbond interface bond2 port3\nbond interface bond2 port4\n\n#route configuration\nip route default 192.168.162.1\n\n#xmlrpc configuration\nxmlrpc off\nxmlrpc port 9999\n\n#webui configuration\nwebui port 8888\nwebui on\nwebui hostcheck on\nwebui ssl settings clientauth disable\nwebui ssl settings authmandatory enable\nwebui ssl settings ciphersuites \"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-GCM-SHA384\"\nwebui ssl settings protocol \"TLSv12\"\n\n#webui twofactor userconfiguration\nwebui twofactor off \"array\"\nwebui twofactor off \"restapi\"\n\n#restapi configuration\nrestapi on https 9997\n\n#ha configuration\nha off\n\n#system interactive configuration\nsupport 0.0.0.0 0.0.0.0\n\n#avxlog configuration\nlog on\nlog level info\nlog facility local1\n\n#snmp configuration\nsnmp community \"public\"\nsnmp contact \"\"\nsnmp location \"\"\nno snmp enable traps\nsnmp ipcontrol off\nsnmp off \n\n#no default user configuration\n#\n#avx ntp configuration\nntp off\n\n#system timezone configuration\nsystem timezone \"Asia/India/Kolkata\"\n\n#avx dhcp configuration\ndhcp server off\ndhcp relay off\n\n#avx promisc configuration\n\n#OpenStack configuration\nopenstack off\n\n#Monitor configuration\nmonitor off\n\n#ssh configuration\nssh on\nssh auth passwd on \"array\"\nssh auth key off \"array\"\nssh auth passwd on \"restapi\"\nssh auth key off \"restapi\"\nssh cipher \"aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com\"\nssh macs \"hmac-sha2-256,hmac-sha2-512,umac-64@openssh.com,umac-128@openssh.com\"\nssh kex \"curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521\"\nssh alivetime 60 3\n\n#interface shutdown\n\n#interface description\n\n#admin aaa configuration\nadmin aaa off\n", "startup_config": "Current configuration on disk\n\n#Last configuration change at Thu Aug 14 10:00:36 2025 by root\n#version Rel.AVX.2.7.4.9 build on Tue Jul 1 04:02:24 2025\n\n#command timeout configuration\nsystem command timeout 120\n\n#hostname configuration\nhostname \"AVX_LAB\"\n\n#nameserver configuration\nip nameserver 8.8.8.8\n\n#enable password\npasswd enable \"XXXXXXXXXsaFLGt/QKS6yw\"\n\n#user configuration\nuser \"array\" \"XXXXXXXXX5q$QkeSlO6sFeEDBz7GltJ97.8II7ZTNYrgX4rNp6wy7OGvSAJsBDVU8oysPGzqEtjcvSIEw2PV7uSkIe.Mzn8pb.\" \"config\"\nuser \"restapi\" \"XXXXXXXXXNW$5kWW3F6H9HF.gF9UnvjjfUyjKmSQYLluuiqxbe8.8O2aWS8lBrAd.bXHw4yrivOxkK28gnYhOuUUPCTGPmC8Q/\" \"config\"\n\n#ip configuration\nip address 192.168.162.60 255.255.255.0\n\n#ip host configuration\n\n#bond configuration\nbond interface bond1 port2\nbond interface bond1 port1\nbond interface bond2 port3\nbond interface bond2 port4\n\n#route configuration\nip route default 192.168.162.1\n\n#xmlrpc configuration\nxmlrpc off\nxmlrpc port 9999\n\n#webui configuration\nwebui port 8888\nwebui on\nwebui hostcheck on\nwebui ssl settings clientauth disable\nwebui ssl settings authmandatory enable\nwebui ssl settings ciphersuites \"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-GCM-SHA384\"\nwebui ssl settings protocol \"TLSv12\"\n\n#webui twofactor userconfiguration\nwebui twofactor off \"array\"\nwebui twofactor off \"restapi\"\n\n#restapi configuration\nrestapi on https 9997\n\n#ha configuration\nha off\n\n#system interactive configuration\nsupport 0.0.0.0 0.0.0.0\n\n#avxlog configuration\nlog on\nlog level info\nlog facility local1\n\n#snmp configuration\nsnmp community \"public\"\nsnmp contact \"\"\nsnmp location \"\"\nno snmp enable traps\nsnmp ipcontrol off\nsnmp off \n\n#no default user configuration\n#\n#avx ntp configuration\nntp off\n\n#system timezone configuration\nsystem timezone \"Asia/India/Kolkata\"\n\n#avx dhcp configuration\ndhcp server off\ndhcp relay off\n\n#avx promisc configuration\n\n#OpenStack configuration\nopenstack off\n\n#Monitor configuration\nmonitor off\n\n#ssh configuration\nssh on\nssh auth passwd on \"array\"\nssh auth key off \"array\"\nssh auth passwd on \"restapi\"\nssh auth key off \"restapi\"\nssh cipher \"aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com\"\nssh macs \"hmac-sha2-256,hmac-sha2-512,umac-64@openssh.com,umac-128@openssh.com\"\nssh kex \"curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256,ecdh........Technical Statistics:
[root@AN admin]# curl 'http://127.0.0.1:8000/proxy_req_dev/api/avx/system/config_mgmt/ViewConfig/_fields?fields=[%22tech%22]' \
-H 'Accept: application/json, text/plain, /' \
-H 'Accept-Language: en-GB,en-US;q=0.9,en;q=0.8' \
-H 'CM-Data: da0a9fcc-78c8-11f0-9795-0050568d64ef' \
-H 'CM-Type: host' \
-H 'Connection: keep-alive' \
-b 'csrftoken=gf1SucwNclO5U24oW0AZjkn4XvUBXlXk; hive_key=1; django_language=en; csrf_token=gf1SucwNclO5U24oW0AZjkn4XvUBXlXk; current_user=array; hive_sess=6d0a8f3c-b97e-4950-9504-12e2a7544809' \
-H 'Referer: http://127.0.0.1:8000/app/' \
-H 'Sec-Fetch-Dest: empty' \
-H 'Sec-Fetch-Mode: cors' \
-H 'Sec-Fetch-Site: same-origin' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36' \
-H 'X-CSRFToken: gf1SucwNclO5U24oW0AZjkn4XvUBXlXk' \
-H 'sec-ch-ua: "Not)A;Brand";v="8", "Chromium";v="138", "Google Chrome";v="138"' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'sec-ch-ua-platform: "macOS"' \
--insecure
{"running_config": "#version Rel.AVX.2.7.4.9 build on Tue Jul 1 04:02:24 2025\n\n\n#command timeout configuration\nsystem command timeout 120\n\n#hostname configuration\nhostname \"AVX_LAB\"\n\n#nameserver configuration\nip nameserver 8.8.8.8\n\n#enable password\npasswd enable \"XXXXXXXXXsaFLGt/QKS6yw\"\n\n#user configuration\nuser \"array\" \"XXXXXXXXX5q$QkeSlO6sFeEDBz7GltJ97.8II7ZTNYrgX4rNp6wy7OGvSAJsBDVU8oysPGzqEtjcvSIEw2PV7uSkIe.Mzn8pb.\" \"config\"\nuser \"restapi\" \"XXXXXXXXXNW$5kWW3F6H9HF.gF9UnvjjfUyjKmSQYLluuiqxbe8.8O2aWS8lBrAd.bXHw4yrivOxkK28gnYhOuUUPCTGPmC8Q/\" \"config\"\n\n#ip configuration\nip address 192.168.162.60 255.255.255.0\n\n#ip host configuration\n\n#bond configuration\nbond interface bond1 port2\nbond interface bond1 port1\nbond interface bond2 port3\nbond interface bond2 port4\n\n#route configuration\nip route default 192.168.162.1\n\n#xmlrpc configuration\nxmlrpc off\nxmlrpc port 9999\n\n#webui configuration\nwebui port 8888\nwebui on\nwebui hostcheck on\nwebui ssl settings clientauth disable\nwebui ssl settings authmandatory enable\nwebui ssl settings ciphersuites \"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-GCM-SHA384\"\nwebui ssl settings protocol \"TLSv12\"\n\n#webui twofactor userconfiguration\nwebui twofactor off \"array\"\nwebui twofactor off \"restapi\"\n\n#restapi configuration\nrestapi on https 9997\n\n#ha configuration\nha off\n\n#system interactive configuration\nsupport 0.0.0.0 0.0.0.0\n\n#avxlog configuration\nlog on\nlog level info\nlog facility local1\n\n#snmp configuration\nsnmp community \"public\"\nsnmp contact \"\"\nsnmp location \"\"\nno snmp enable traps\nsnmp ipcontrol off\nsnmp off \n\n#no default user configuration\n#\n#avx ntp configuration\nntp off\n\n#system timezone configuration\nsystem timezone \"Asia/India/Kolkata\"\n\n#avx dhcp configuration\ndhcp server off\ndhcp relay off\n\n#avx promisc configuration\n\n#OpenStack configuration\nopenstack off\n\n#Monitor configuration\nmonitor off\n\n#ssh configuration\nssh on\nssh auth passwd on \"array\"\nssh auth key off \"array\"\nssh auth passwd on \"restapi\"\nssh auth key off \"restapi\"\nssh cipher \"aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com\"\nssh macs \"hmac-sha2-256,hmac-sha2-512,umac-64@openssh.com,umac-128@openssh.com\"\nssh kex \"curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521\"\nssh alivetime 60 3\n\n#interface shutdown\n\n#interface description\n\n#admin aaa configuration\nadmin aaa off\n", "startup_config": "Current configuration on disk\n\n#Last configuration change at Thu Aug 14 10:00:36 2025 by root\n#version Rel.AVX.2.7.4.9 build on Tue Jul 1 04:02:24 2025\n\n#command timeout configuration\nsystem command timeout 120\n\n#hostname configuration\nhostname \"AVX_LAB\"\n\n#nameserver configuration\nip nameserver 8.8.8.8\n\n#enable password\npasswd enable \"XXXXXXXXXsaFLGt/QKS6yw\"\n\n#user configuration\nuser \"array\" \"XXXXXXXXX5q$QkeSlO6sFeEDBz7GltJ97.8II7ZTNYrgX4rNp6wy7OGvSAJsBDVU8oysPGzqEtjcvSIEw2PV7uSkIe.Mzn8pb.\" \"config\"\nuser \"restapi\" \"XXXXXXXXXNW$5kWW3F6H9HF.gF9UnvjjfUyjKmSQYLluuiqxbe8.8O2aWS8lBrAd.bXHw4yrivOxkK28gnYhOuUUPCTGPmC8Q/\" \"config\"\n\n#ip configuration\nip address 192.168.162.60 255.255.255.0\n\n#ip host configuration\n\n#bond configuration\nbond interface bond1 port2\nbond interface bond1 port1\nbond interface bond2 port3\nbond interface bond2 port4\n\n#route configuration\nip route default 192.168.162.1\n\n#xmlrpc configuration\nxmlrpc off\nxmlrpc port 9999\n\n#webui configuration\nwebui port 8888\nwebui on\nwebui hostcheck on\nwebui ssl settings clientauth disable\nwebui ssl settings authmandatory enable\nwebui ssl settings ciphersuites \"ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-GCM-SHA384\"\nwebui ssl settings protocol \"TLSv12\"\n\n#webui twofactor userconfiguration\nwebui twofactor off \"array\"\nwebui twofactor off \"restapi\"\n\n#restapi configuration\nrestapi on https 9997\n\n#ha configuration\nha off\n\n#system interactive configuration\nsupport 0.0.0.0 0.0.0.0\n.....VA Instances
[root@AN admin]# curl 'http://127.0.0.1:8000//proxy_req_dev/api/avx/va/image/VAImageManagement/_get_list_data' \
-H 'Accept: application/json, text/plain, /' \
-H 'Accept-Language: en-GB,en-US;q=0.9,en;q=0.8' \
-H 'CM-Data: da0a9fcc-78c8-11f0-9795-0050568d64ef' \
-H 'CM-Type: host' \
-H 'Connection: keep-alive' \
-b 'csrftoken=VEGr5RJGx8jaSZEU7dnOW9JFQqV09xe6; hive_key=1; django_language=en; csrf_token=VEGr5RJGx8jaSZEU7dnOW9JFQqV09xe6; current_user=array; hive_sess=d980c1b2-0e46-4915-a4c0-94c45ca1cc16' \
-H 'Referer: http://127.0.0.1:8000//app/' \
-H 'Sec-Fetch-Dest: empty' \
-H 'Sec-Fetch-Mode: cors' \
-H 'Sec-Fetch-Site: same-origin' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36' \
-H 'X-CSRFToken: VEGr5RJGx8jaSZEU7dnOW9JFQqV09xe6' \
-H 'sec-ch-ua: "Not)A;Brand";v="8", "Chromium";v="138", "Google Chrome";v="138"' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'sec-ch-ua-platform: "macOS"' \
--insecure
[{"image_name": "default", "ani_image_metadata": true, "version": "Rel.APV.8.6.0.121", "size": "shared-entry, entry, small, medium, large, custom", "description": "vAPV image for AVX", "vendor": "Array Networks", "product_category": "ADC", "other_category": "", "product_name": "vAPV", "console_type": "VNC", "icon": "app/icons/default/icon_vAPV.png"}, {"image_name": "ag_default", "ani_image_metadata": true, "version": "Rel.AG.9.4.0.215", "size": "shared-entry, entry, small, medium, large, custom", "description": "", "vendor": "Array Networks", "product_category": "VPN", "other_category": "", "product_name": "vxAG", "console_type": "VNC", "icon": "app/icons/default/icon_vxAG.png"}, {"image_name": "apv10_default", "ani_image_metadata": true, "version": "Rel.APV.10.7.2.5", "size": "shared-entry, entry, small, medium, large, custom", "description": "vAPV image for AVX", "vendor": "Array Networks", "product_category": "ADC", "other_category": "", "product_name": "vAPV", "console_type": "VNC", "icon": "app/icons/default/icon_vAPV.png"}, {"image_name": "asf_default", "ani_image_metadata": true, "version": "Rel_ASF_3_0_4_5", "size": "small, medium, large, custom", "description": "vASF image for AVX", "vendor": "Array Networks", "product_category": "WAF", "other_category": "", "product_name": "vASF", "console_type": "VNC", "icon": "app/icons/default/icon_vASF.png"}, {"image_name": "WAN-514-29", "ani_image_metadata": true, "version": "5.1.4-29", "size": "shared-entry, entry, small, medium, large, custom", "description": "WAN-514-29", "vendor": "Array Networks", "product_category": "WAN", "other_category": "", "product_name": "vWAN", "console_type": "VNC", "icon": "app/icons/default/icon_vWAN.png"}, {"image_name": "WAN_512_59", "ani_image_metadata": true, "version": "512", "size": "shared-entry, entry, small, medium, large, custom", "description": "wan-512", "vendor": "Array Networks", "product_category": "WAN", "other_category": "", "product_name": "vWAN", "console_type": "VNC", "icon": "app/icons/default/icon_vWAN.png"}, {"image_name": "AMP_3706", "ani_image_metadata": true, "version": "3.7.0.6", "size": "shared-entry, entry, small, medium, large, custom", "description": "AMP-3.7.0.6", "vendor": "Array Networks", "product_category": "Other", "other_category": "AMP", "product_name": "AMP", "console_type": "VNC", "icon": "app/icons/default/icon_VA.png"}, {"image_name": "APV_10.7.0.12", "ani_image_metadata": true, "version": "Rel_APV_10_7_0_12", "size": "shared-entry, entry, small, medium, large, custom", "description": "vAPV image for AVX", "vendor": "Array Networks", "product_category": "ADC", "other_category": "", "product_name": "vAPV", "console_type": "VNC", "icon": "app/icons/default/icon_vAPV.png"}, {"image_name": "APV_10.7.0.21", "ani_image_metadata": true, "version": "Rel_APV_10_7_0_21", "size": "shared-entry, entry, small, medium, large, custom", "description": "vAPV image for AVX", "vendor": "Array Networks", "product_category": "ADC", "other_category": "", "product_name": "vAPV", "console_type": "VNC", "icon": "app/icons/default/icon_vAPV.png"}, {"image_name": "APV_10.4.0.5", "ani_image_metadata": true, "version": "Rel.APV.10.4.0.5", "size": "shared-entry, entry, small, medium, large, custom", "description": "vAPV image for AVX", "vendor": "Array Networks", "product_category": "ADC", "other_category": "", "product_name": "vAPV", "console_type": "VNC", "icon": "app/icons/default/icon_vAPV.png"}, {"image_name": "AMP_3_7_1", "ani_image_metadata": true, "version": "AMP_3_7_1", "size": "shared-entry, entry, small, medium, large, custom", "description": "AMP_Release_3_7_1", "vendor": "Array", "product_category": "Other", "other_category": "AMP", "product_name": "Array-AMP", "console_type": "VNC", "icon": "app/icons/default/icon_VA.png"}, {"image_name": "AMP_3_6_0_2", "ani_image_metadata": true, "version": "3_6_0_2", "size": "shared-entry, entry, small, medium, large, custom", "description": "AMP_3_6_0_2", "vendor": "Array Networks", "product_category": "Other", "other_category": "AMP", "product_name": "AMP", "console_type": "VNC", "icon": "app/icons/default/icon_VA.png"}, {"image_name": "AMP_3_6", "ani_image_metadata": true, "version": "AMP_3_6_0_2", "size": "shared-entry, entry, small, medium, large, custom", "description": "AMP_3_6", "vendor": "Array", "product_category": "Other", "other_category": "AMP", "product_name": "AMP", "console_type": "VNC, Serial", "icon": "app/icons/default/icon_VA.png"}][root@AN admin]#[root@AN admin]# curl 'http://127.0.0.1:8000/proxy_req_dev/api/avx/va/instance/VAInstance/_get_list_data?key=[%22tgt_name%22,%22va_name%22,%22ip%22,%22product_category%22,%22va_size%22,%22status%22,%22va_vncport%22,%22product_name%22,%22vendor%22,%22boottime%22,%22type%22]' \
-H 'Accept: application/json, text/plain, /' \
-H 'Accept-Language: en-GB,en-US;q=0.9,en;q=0.8' \
-H 'CM-Data: da0a9fcc-78c8-11f0-9795-0050568d64ef' \
-H 'CM-Type: host' \
-H 'Connection: keep-alive' \
-b 'csrftoken=pBnHhuM4beAN3PbohcinfrYC2OeMgLQA; hive_key=1; django_language=en; csrf_token=pBnHhuM4beAN3PbohcinfrYC2OeMgLQA; current_user=array; hive_sess=0e16cc86-83af-49b8-af49-a7c2d4badacc' \
-H 'Referer: http://127.0.0.1:8000/app/' \
-H 'Sec-Fetch-Dest: empty' \
-H 'Sec-Fetch-Mode: cors' \
-H 'Sec-Fetch-Site: same-origin' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36' \
-H 'X-CSRFToken: pBnHhuM4beAN3PbohcinfrYC2OeMgLQA' \
-H 'sec-ch-ua: "Not)A;Brand";v="8", "Chromium";v="138", "Google Chrome";v="138"' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'sec-ch-ua-platform: "macOS"' \
--insecure
[{"va_name": "Soujanya", "va_size": "small", "status": true, "starting_port": [], "domain_id": "1", "va_vncport": "5900", "cpu_thread": 2, "cpu_thread_shared": false, "memory": 4, "ip": "", "vlan_tag": "", "nic_type": "e1000", "tgt_name": "apv10_default", "vendor": "Array Networks", "product_name": "vAPV", "product_category": "ADC", "boottime": "2025-08-11T16:54:13", "type": "Package", "va_port": [], "va_ssl": [], "attached_disk": [], "attached_usb": []}, {"va_name": "AMP", "va_size": "custom", "status": false, "starting_port": [], "domain_id": "1", "va_vncport": "5903", "cpu_thread": 4, "cpu_thread_shared": false, "memory": 8, "ip": "192.168.162.81", "vlan_tag": "", "nic_type": "e1000", "tgt_name": "AMP_3_7_1", "vendor": "Array", "product_name": "Array-AMP", "product_category": "AMP", "boottime": "N/A", "type": "", "va_port": [], "va_ssl": [], "attached_disk": [], "attached_usb": []}, {"va_name": "VishalASF", "va_size": "custom", "status": true, "starting_port": [], "domain_id": "1", "va_vncport": "5904", "cpu_thread": 4, "cpu_thread_shared": false, "memory": 8, "ip": "192.168.174.211", "vlan_tag": "", "nic_type": "e1000", "tgt_name": "asf_default", "vendor": "Array Networks", "product_name": "vASF", "product_category": "WAF", "boottime": "2025-08-11T16:54:08", "type": "", "va_port": [], "va_ssl": [], "attached_disk": [], "attached_usb": []}, {"va_name": "vAPVtest2", "va_size": "custom", "status": true, "starting_port": [], "domain_id": "1", "va_vncport": "5901", "cpu_thread": 4, "cpu_thread_shared": false, "memory": 8, "ip": "192.168.162.90", "vlan_tag": "", "nic_type": "e1000", "tgt_name": "APV_10.4.0.5", "vendor": "Array Networks", "product_name": "vAPV", "product_category": "ADC", "boottime": "2025-08-11T16:54:10", "type": "Individual", "va_port": [], "va_ssl": [], "attached_disk": [], "attached_usb": []}, {"va_name": "SLB2", "va_size": "custom", "status": true, "starting_port": [], "domain_id": "1", "va_vncport": "5902", "cpu_thread": 4, "cpu_thread_shared": false, "memory": 8, "ip": "192.168.162.79", "vlan_tag": "", "nic_type": "e1000", "tgt_name": "APV_10.4.0.5", "vendor": "Array Networks", "product_name": "vAPV", "product_category": "ADC", "boottime": "2025-08-11T16:54:12", "type": "Individual", "va_port": [], "va_ssl": [], "attached_disk": [], "attached_usb": []}, {"va_name": "vAMP_3_6", "va_size": "custom", "status": true, "starting_port": [], "domain_id": "1", "va_vncport": "5905", "cpu_thread": 2, "cpu_thread_shared": false, "memory": 4, "ip": "", "vlan_tag": "", "nic_type": "e1000", "tgt_name": "AMP_3_6", "vendor": "Array", "product_name": "AMP", "product_category": "AMP", "boottime": "2025-08-11T16:54:14", "type": "", "va_port": [], "va_ssl": [], "attached_disk": [], "attached_usb": []}]VA Backup
[root@AN admin]# curl 'http://127.0.0.1:8000/proxy_req_dev/api/avx/va/instance/VABackup/_get_list_data' \
-H 'Accept: application/json, text/plain, /' \
-H 'Accept-Language: en-GB,en-US;q=0.9,en;q=0.8' \
-H 'CM-Data: da0a9fcc-78c8-11f0-9795-0050568d64ef' \
-H 'CM-Type: host' \
-H 'Connection: keep-alive' \
-b 'csrftoken=TnmlJrF2I5ApPielQHy6JSJNrSCLL5IP; hive_key=1; django_language=en; csrf_token=TnmlJrF2I5ApPielQHy6JSJNrSCLL5IP; current_user=array; hive_sess=1f623ba9-23e9-4d5c-b558-ca17579b9cf3' \
-H 'Referer: http://127.0.0.1:8000/app/' \
-H 'Sec-Fetch-Dest: empty' \
-H 'Sec-Fetch-Mode: cors' \
-H 'Sec-Fetch-Site: same-origin' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36' \
-H 'X-CSRFToken: TnmlJrF2I5ApPielQHy6JSJNrSCLL5IP' \
-H 'sec-ch-ua: "Not)A;Brand";v="8", "Chromium";v="138", "Google Chrome";v="138"' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'sec-ch-ua-platform: "macOS"' \
--insecure
[{"va_name": "PerivAMP", "backup_name": "AMP3.6Licensed", "enable": false}, {"va_name": "PerivAMP", "backup_name": "AMP3.7.0.6-Licensed", "enable": false}]Create Backup:
[root@AN admin]# curl 'http://127.0.0.1:8000/proxy_req_dev/api/avx/va/instance/VAInstance/_perform' \
-H 'Accept: application/json, text/plain, /' \
-H 'Accept-Language: en-GB,en-US;q=0.9,en;q=0.8' \
-H 'CM-Data: da0a9fcc-78c8-11f0-9795-0050568d64ef' \
-H 'CM-Type: host' \
-H 'Connection: keep-alive' \
-H 'Content-Type: application/json' \
-b 'csrftoken=fZpNBXdcnhlY49VUHYhGxUPdDEyvXLLo; hive_key=1; django_language=en; csrf_token=fZpNBXdcnhlY49VUHYhGxUPdDEyvXLLo; current_user=array; hive_sess=f6dc4651-bcbd-41b6-b89a-6d2ee64522fb' \
-H 'Origin: http://127.0.0.1:8000' \
-H 'Referer: http://127.0.0.1:8000/app/' \
-H 'Sec-Fetch-Dest: empty' \
-H 'Sec-Fetch-Mode: cors' \
-H 'Sec-Fetch-Site: same-origin' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36' \
-H 'X-CSRFToken: fZpNBXdcnhlY49VUHYhGxUPdDEyvXLLo' \
-H 'sec-ch-ua: "Not)A;Brand";v="8", "Chromium";v="138", "Google Chrome";v="138"' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'sec-ch-ua-platform: "macOS"' \
--data-raw 'action=Backup&options=%7B%22__pk_list%22%3A%5B%22%7B%5C%22va_name%5C%22%3A%5C%22AMP%5C%22%7D%22%5D%2C%22backup_name%22%3A%22Backup_amp2%22%2C%22enable%22%3Afalse%7D'
[true, {"config_change": true, "refresh_page": false, "msg": ""}]Restore Backup:
[root@AN admin]# curl 'http://127.0.0.1:8000/proxy_req_dev/api/avx/va/instance/VABackup/_perform' \
-H 'Accept: application/json, text/plain, /' \
-H 'Accept-Language: en-GB,en-US;q=0.9,en;q=0.8' \
-H 'CM-Data: da0a9fcc-78c8-11f0-9795-0050568d64ef' \
-H 'CM-Type: host' \
-H 'Connection: keep-alive' \
-H 'Content-Type: application/json' \
-b 'csrftoken=W7iMfjUMbuPCWGU6g22wbwJVxNM6uznV; hive_key=1; django_language=en; csrf_token=W7iMfjUMbuPCWGU6g22wbwJVxNM6uznV; current_user=array; hive_sess=4e44ff5a-911b-4db6-8b72-a962b3e012ca' \
-H 'Origin: http://127.0.0.1:8000' \
-H 'Referer: http://127.0.0.1:8000/app/' \
-H 'Sec-Fetch-Dest: empty' \
-H 'Sec-Fetch-Mode: cors' \
-H 'Sec-Fetch-Site: same-origin' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36' \
-H 'X-CSRFToken: W7iMfjUMbuPCWGU6g22wbwJVxNM6uznV' \
-H 'sec-ch-ua: "Not)A;Brand";v="8", "Chromium";v="138", "Google Chrome";v="138"' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'sec-ch-ua-platform: "macOS"' \
--data-raw 'action=Restore&options=%7B%22__pk_list%22%3A%5B%22%7B%5C%22backup_name%5C%22%3A%5C%22Backup_amp2%5C%22%7D%22%5D%2C%22domain%22%3A%220%22%7D' \
--insecure
[true, {"config_change": true, "refresh_page": false, "type": "pipe_action", "pipeid": "TD+lKGyLhl/2u/Sx8N4hnw==", "msg": ""}]
