Introduction
The AVxcelerate Resource Manager REST API v0.1.0 is compatible with the AVX Architecture V2. This REST API allows to perform CRUD (Create, Read, Update, and Delete) operations on resources such as queues, deployments, applications and app-runtime-configurations.Features
Queues
- You can create queues with the required storages, resource limits and environment variables
- Allowing to manage queues helps will help you configure different applications within resource limits and group the applications requiring same storage together.
- You can adjust the maximum number of workers that can concurrently run on a queue using the parameter ‘maximum_allowed_worker_instances’
Plugins
You can register a plugin with definition of container runtime. For example: Docker Engine / KubernetesJobs
- You can submit a resource-manager job by providing application details (name, version, image, environment variables, etc.) and track it to its completion.
- You can also check the status of the job and clean the resources the job has acquired.
Python helper
The AVxcelerate python APIs are hosted as a python package on a cluster as part of the Explore service deployment. The developers can install the package using pip and use it to call AVx autonomy APIs without needing to make raw REST calls. PyPi Regsitry URL: The python package is hosted as PyPi compliant registry on each deployed cluster. The registry URL is like this: https://BASE_URL/pypi For example, for AFT deployment: https://explore.azure-aft.apps.frisbeedev.com/pypiUsage example
Pre-requisites: We assume that on the system is running with the Ubuntu 22.04 version, and that the following tools are already installed:- python 3.10
- pip 25.1
- uv 0.6
- ansys-api-avxcelerate-autonomy
- ansys-avxcelerate-autonomy