REST lib for VMWARE vRO
Project description
Project description
A REST API library to execute 'Worflows' on VMware vRealize Orchestrator (vRO).
Features
What you can do with vmwvro:
- Support for a list of vRO endpoints
- Concurrent executions
- Support of input and output paramenters
- Supported socks proxy
- Download of Workflow log
Basic usage
#!/usr/bin/env python
from vmwvro2.workflow import Workflow, MultiRun
from vmwvro2.sessions import SessionList
sl = SessionList()
sl.load()
##########################################################
wf = Workflow()
wf.id = "338beefa-9fff-469b-89d4-914031ffbfb6"
wf.name = "IP update"
wf.param(name="ipAddress",value="10.10.10.10")
wf.param(name="newStatus",value="In Service")
mt = MultiRun()
mt.add(wf,sl,"dev")
mt.run()
mt.wait()
mt.getLogs()
for alias in mt.list:
print("****************")
print(alias)
print(mt.list[alias].name)
mt.list[alias].print_parameters())
print(mt.list[alias].log)
Licence
MIT
NOTE: Based and some parts copied from "vmwvro" (c) Lior P. Abitbol
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vmwvro2-0.1.12.tar.gz
(14.9 kB
view details)
Built Distribution
vmwvro2-0.1.12-py3-none-any.whl
(26.3 kB
view details)
File details
Details for the file vmwvro2-0.1.12.tar.gz
.
File metadata
- Download URL: vmwvro2-0.1.12.tar.gz
- Upload date:
- Size: 14.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7444a11ad3633fe19defea6c4b6dd72f79e4bac85496352ef4e01bfbe2cfae2 |
|
MD5 | dd5428e07905a6b0b2eec5cc0a52763d |
|
BLAKE2b-256 | b38f3a93d55cd75e683516519a87fdd8c7ad2a832199a265e6f8cba4b74f6090 |
File details
Details for the file vmwvro2-0.1.12-py3-none-any.whl
.
File metadata
- Download URL: vmwvro2-0.1.12-py3-none-any.whl
- Upload date:
- Size: 26.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8d3a9bce2a1e9127769f37a6908d1f077ba84b63ac95880b745ddd27399a216 |
|
MD5 | b0dffacefbc00e7a88aa03aacbe65f83 |
|
BLAKE2b-256 | 4f3641833d437d376ab6716f42c53eeaba7a3692a4a4ab102d51c3a31a0bded7 |