Skip to content

BasicMachine Plugin for the VMware vRealize Orchestrator. The BasicMachine plugin allows persistent storage of information about virtual machines as resources within the VMware vRealize Orchestrator.

Notifications You must be signed in to change notification settings

evoila/vro-plugin-basicmachine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 

Repository files navigation

vro-plugin-basicmachine

The BasicMachine plugin allows persistent storage of information about virtual machines as resources within the VMware vRealize Orchestrator. The stored resources of the type BasicMachine are displayed graphically in the plugin inventory. The so-called class BasicMachineManager provides methods to create, update, and remove these resources. It also offers several methods for querying and filtering.

Plugin was tested under

vRealize Automation 7.5.0, vRealize Automation 7.4.0, vRealize Automation 7.3.1 and vRealize Orchestrator 7.6.0 ✅

Functionality

Configurations/Resources will stored persistent ✔
Configurations/Resources will cached by the plugin for better performance ✔
Configurations/Resources show up in the plugin inventory ✔
Workflow included for save, delete and update BasicMachine's ✔

Predefined Workflows

  • Save BasicMachine
    -Stores the configuration details persisten as a BasicMachine resource on the endpoint.
  • Delete BasicMachine
    -Removes a BasicMachine resource from the persistent storage on the endpoint.

Import Workflows

  1. Download o11nplugin-basicmachine-package-1.0.package.
  2. Change from Run to Design in the Drop-Box on the Top of the Window.
  3. Select the package icon from the tabs.
  4. Select the import package icon right under the Design Drop-Box.
  5. Browse the downloaded package file and click open.
  6. When the Package Import Information pop-up click import.
  7. Select the Workflows and click Import Selected elements.

BasicMachine:BasicMachine (Type)

BasicMachine (ScriptingObject)

Properties
  • owner (String)
  • name (String)
  • ipAddress (String)
  • dnsName (String)
  • cpu (String)
  • memory (String)
  • operatingSystem (String)
  • diskSize (String)
  • powerState (String)
  • snapshot (String)
  • initialUsername (String)
  • initialPassword (String)
  • description (String)
  • json (String)

BasicMachineManager (Singleton)

Methods
  • saveBasicMachine(owner, name, ipAddress, dnsName, cpu, memory, operatingSystem, diskSize, powerState, snapshot, initialUsername, initialPassword, description, json)
  • deleteBasicMachine(id)
  • getBasicMachineByID(id)
  • allBasicMachines()
  • getBasicMachinesByOwner(owner)
  • getBasicMachinesByName(name)
  • getBasicMachinesByOperatingSystem(operatingSystem)
  • getBasicMachinesByDnsName(dnsName)
  • getBasicMachinesByIpAddress(ipAddress)

Note: All properties can also be accessed and modified directly!

Example:

var bm = BasicMachineManager.getBasicMachineById(id);

bm.owner = "johndoe"
bm.name = "machineA";
bm.ipAddress = "0.0.0.0";
bm.dnsName = "machineA";
bm.cpu = "2";
bm.memory = "1024";
bm.operatingSystem = "linux";
bm.diskSize = "3096"";
bm.powerState = "0";
bm.snapshot = "0";
bm.initialUsername = "admin";
bm.initialPassword = "password";
bm.description = "this is an example";
bm.json = "json string goes here";

Screenhots

API Explorer

API-Explorer

Plugin Inventory

Inventory

About

BasicMachine Plugin for the VMware vRealize Orchestrator. The BasicMachine plugin allows persistent storage of information about virtual machines as resources within the VMware vRealize Orchestrator.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages