Released 16 Mar 2021

Build 17698549 is the 7.0 Update 2 release of the vSphere SDK for Perl.

Check frequently for additions and updates to these release notes.

vSphere SDK for Perl 7.0 Update 2 Release Notes

Welcome to the vSphere SDK for Perl 7.0 Update 2 release notes.

The vSphere SDK for Perl provides an easy-to-use Perl scripting interface to the vSphere Web Services API.

-->

About the vSphere SDK for Perl

The vSphere SDK for Perl is a client-side Perl framework that provides an easy-to-use scripting interface to the vSphere Web Services SDK . Administrators and developers who are familiar with Perl can use the vSphere SDK for Perl to automate a wide variety of administrative, provisioning, and monitoring tasks in the vSphere environment. The vSphere SDK for Perl includes ready-to-use utility applications, which you can immediately put to use in your virtual data center.

The vSphere SDK for Perl installation includes the WS-Management Perl Library, which allows you to write scripts that retrieve CIM data from the ESX host using CIMOM, a service that provides standard CIM management functions over a WBEM (Web-Based Enterprise Management).

You can use the vSphere SDK for Perl to manage ESXi 6.x, ESXi 7.x, vCenter Server 6.x, and vCenter Server 7.x.

What's New in vSphere SDK for Perl 7.0 Update 2

This release includes minor updates to modules.

Deprecation Notice

The vSphere SDK for Perl is deprecated in the 7.0 Update 2 release, and discontinued after that.

Feature and Support Notice

The vSphere SDK for Perl Installation Guide and vSphere SDK for Perl Programming Guide are valid for vSphere SDK for Perl 7.0, vSphere SDK for Perl 7.0 Update 1, and vSphere SDK for Perl 7.0 Update 2.

Supported Platforms

For this release, vSphere SDK for Perl is supported on the following Linux platforms:

  • Red Hat Enterprise Linux (RHEL) 6.6 (Server) — 64-bit
  • Red Hat Enterprise Linux (RHEL) 7.1 (Server) — 64-bit
  • Red Hat Enterprise Linux (RHEL) 7.3 (Server) — 64-bit
  • Red Hat Enterprise Linux (RHEL) 7.5 (Server) — 64-bit
  • Red Hat Enterprise Linux (RHEL) 7.6 (Server) — 64-bit
  • Ubuntu 12.04 (LTS) — 64-bit
  • Ubuntu 14.04 (LTS) — 64-bit
  • Ubuntu 15.10 (LTS) — 64-bit
  • Ubuntu 16.04 (LTS) — 64-bit
  • SLES 11 SP3 — 64-bit
  • SLES 12 — 64-bit

For this release, vSphere SDK for Perl is supported on the following Windows platforms:

  • Windows 8 (64-bit)
  • Windows 10 (64-bit)
  • Windows 2008 (64-bit)
  • Windows 2012 R2 (64-bit)

Known Issues

  • Retrieving task information fails

    When you query a recent task list against ESXi 7.0 or later, you receive an error message of type Can't load class 'vslmCatalogChangeResult'.

  • Obtaining objects of different types requires multiple calls to the Vim::get_views() subroutine
    The Vim::get_views() subroutine takes a reference to an array of managed object references and returns a reference to an array of view objects. Although the array can contain multiple managed object types, objects of only one type can be obtained at the same time.

    Workaround: You can call get_views() multiple times to obtain multiple object types. Or you can specify the appropriate base class (rather than a specific subclass) as the view type to access values of properties that are common across all objects based on the superclass. For example, view_type = 'ManagedEntity' allows you to retrieve all objects that extend from this base class (VirtualMachine, HostSystem, Folder, ResourcePool, and so on).

  • Must use encoded representation when constructing filters that recognize names containing certain special characters
    Based on what the vSphere Web Services API returns, a few property values, such as ManagedEntity.name, VirtualMachineConfigInfo.name, and VirtualMachineConfigSpec.name, are returned with the characters ’/’, ’\’, and ’%’ encoded as %2f, %5c, and %25.

    For example, if you have a Folder named My%Folder, its name is returned as My%25Folder. If you want to construct a filter that recognizes names containing slashes or percent signs, you must use the encoded representation.

    Workaround: To match a name that contains a percent sign, write:
    filter => { name => qr/%25/ }
    You cannot perform a match on percent sign alone, because a percent sign alone also matches other characters that are preceded by a percent escape character.
    filter => { name => qr/%/ } # wrong;
    You must use case-insensitive matching for escape character sequences that contain alpha characters:
    filter => { name => qr/%2f/i } # matches %2f and %2F

check-circle-line exclamation-circle-line close-line
Scroll to top icon