Skip to main content

REST lib for VMWARE vRO

Project description

Build Status

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for vmwvro2, version 0.1.12
Filename, size File type Python version Upload date Hashes
Filename, size vmwvro2-0.1.12-py3-none-any.whl (26.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size vmwvro2-0.1.12.tar.gz (14.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page