

This module also provides a method to get the list of all machines (and their details) that a deployed configuration has. Using this module, you can checkout a config & deploy it in one single method call, similarly undeploy & delete in a single method call. But, it should also cater to the broader audience as it still does provide overall functionality that might be required. Thus this module is heavily tailored for automationpurposes. $action = $lm->delete_config($configID) print $action DESCRIPTION This module does not provide a one-to-one mapping of the Lab Manager SOAP API,but rather it provides an API wrapper, which combines certain SOAP calls as ameaningful single operation. verbose), pass the debug option: my $lm = VMware::LabManager->new('username','passwd','labManager hostname', 'org', 'debug') #deploy_config returns the config ID of the config that is deployed my $configID = $lm->deploy_config('my_library_config_name') print $configID #get all the machines in the deployed config my $machineArray = $lm->get_machines($configID) print Dumper($machineArray) #delete the config once you are done. Use VMware::LabManager use Data::Dumper #instantiate the LM object my $lm = VMware::LabManager->new('username','passwd','labManager hostname', 'org') #or if you want the XML messages dumped (i.e.
#Vmware labmanager code#
Basic functionality like deploying & deleting a library config to & from the workspace are provided.Ī little code snippet to get you started: VERSION Version 0.01 SYNOPSIS This module provides an encapsulation of VMware Lab Manager SOAP API in convenient API format. Index NAMEVMware::LabManager - Perl module to provide basic VMware Lab Manager operations. VMware::LabManagerSection: User Contributed Perl Documentation (3)
