Metadata-Version: 2.1
Name: aos-prov
Version: 5.0.0b19
Summary: AosEdge Unit provisioning tool
Home-page: UNKNOWN
Author: EPAM Systems
Author-email: support@aoscloud.io
License: Apache License 2.0
Platform: any
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: aos-keys (>=1.7.0)
Requires-Dist: asn1crypto (>=1.4.0)
Requires-Dist: grpcio (>=1.44.0)
Requires-Dist: protobuf (<=3.20.1,>=3.14)
Requires-Dist: protobuf (==3.20.*)
Requires-Dist: requests (>=2.22.0)
Requires-Dist: rich (>=10.13)
Requires-Dist: importlib-metadata (==4.2.0) ; python_version < "3.8"
Requires-Dist: importlib-resources (>=3.0) ; python_version < "3.9"
Provides-Extra: dev
Requires-Dist: grpcio-tools (~=1.34) ; extra == 'dev'

Aos provisioning tool
=====================
This tool is part of the Aos SDK.


Overview
--------
This tool will help you to create and provision new AosCore-powered Units on the Aos Cloud.

Using this tool you'll be able to:
* create a new development multi-node Unit using **Oracle VirtualBox** with our disk images.
* provision virtual Unit.
* provision Renesas Dev-kit for Aos Cloud.


Prerequisites
--------------
* Python 3.7+ .
* Oracle Virtual Box 7 installed on your system.
* Aos user certificate to access Aos cloud. You may create one with the **aos-key** tool.


Installation
------------
```bash
pip install aos-prov
```

Usage
------------

### Create a new Unit based on Oracle VirtualBox image and provision it on Aos Cloud:


```bash
aos-prov unit-new --name {vm-name}
```
>Where: 
>* **vm-name** - Uniq name of a new Virtual Machine

Example:
```bash
aos-prov unit-new --name DevUnit1
```

### Provision dev-kit or VM:
To provision Renesas dev-kit you have to know IP address of device. Use command ot provision
```bash
aos-prov -u 'IP-ADDR:PORT'
```
Example:
```bash
aos-prov -u '127.0.0.1:8089'
```

### Download images for Units:
```bash
aos-prov download
```

### Create Unit VMs without provisioning:
```bash
aos-prov vm-new --name {vm-name}
```

### Remove Unit VMs:
```bash
aos-prov vm-remove --name {vm-name}
```

### Start Unit VMs:
```bash
aos-prov vm-start --name {vm-name}
```


