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 "****************"
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.4.dev4.tar.gz
(11.0 kB
view hashes)
Built Distribution
Close
Hashes for vmwvro2-0.1.4.dev4-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c280c204d3fbc0ff2f276af950dfe9d87ddf6815b1729a03ade5d94a6250e2f |
|
MD5 | 1a7b9500b72765b755592e39e23babe4 |
|
BLAKE2b-256 | 0a8ca9c3f4df693e24bedb0f4c98fc0b553ba2ebb4192171a912ba6bcbd70d42 |