vmt-plan: Turbonomic API plan engine
vmt-plan is a companion library to vmt-connect for working with the Turbonomic API. The core purpose of the library is to provide interfaces for constructing and running plans within Turbonomic.
Installation
pip install vmtplan
Usage
# Basic Plan - Note the import is vmtplanner <!>
import vmtconnect as vc
import vmtplanner as vp
vmt = vc.Session(host='localhost', username='bob', password='*****')
# scoping to two groups by UUID
scope = ['430e28cbaabf35522a180859d4160562d123ac78',
'e48fd3270917221d3e6290e1affead34b872e95b']
scenario = vp.PlanSpec('custom scenario', scope=scope)
# add 5 copies of a VM immediately using positional arguments
scenario.change_entity(vp.EntityAction.ADD, ['1341c28a-c9b7-46a5-ab25-321260482a91'], [0], 5)
# add 1 copy each month for 2 months using named arguments
scenario.change_entity(action=vp.EntityAction.ADD,
targets=['1341c28a-c9b7-46a5-ab25-321260482a91'],
count=1,
projection=[30, 60])
plan = vp.Plan(vmt, scenario)
plan.run()
Documentation
The user guide is a good place to start. Detailed documentation is also available here.
Metadata
Release files for vmtplan 2.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vmtplan-2.3.0.tar.gz | 25.1 kB | Without provenance | Details for vmtplan-2.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vmtplan-2.3.0-py3-none-any.whl | Python 3 | none | any | Details for vmtplan-2.3.0-py3-none-any.whl |
Total release size: 85.5 kB
Release files / vmtplan-2.3.0.tar.gz
| Download URL | vmtplan-2.3.0.tar.gz |
|---|---|
| Size | 25.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
29d42e96cc1a9f1e08b79388a14db012b8dc3a4b60b18e7fc4fc130023597c53
|
|
BLAKE2b-256 checksum How to use checksums |
3d6e2173036cdadfd2fb545236c8a91f316a4b10f4aa3da1796a31d47c5d6d0a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.9
|
Release files / vmtplan-2.3.0-py3-none-any.whl
| Download URL | vmtplan-2.3.0-py3-none-any.whl |
|---|---|
| Size | 60.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
13be5045cfd7f81966b171f34eac97f363dbab7a5dbdcc6c0f83669c7845715f
|
|
BLAKE2b-256 checksum How to use checksums |
21df47a89bdc7607740b8c08c376705d3b02e32948a791aa9b7ae8f3305d6d24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.9
|
Security for vmtplan 2.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.