pypi pyvmomi 8.0.0.1
vSphere 8.0 Release

latest releases: 8.0.3.0.1, 8.0.3.0.0, 8.0.2.0.1...
19 months ago

Bindings:

Breaking changes:

  • Minimum Python 2 requirement is 2.7.9
  • DynamicTypeManagerHelper.py is removed
  • ManagedMethodExecutorHelper.py is removed
  • connect.ConnectNoSSL() and connect.SmartConnectNoSSL() are removed.
    Use connect.Connect(disableSslCertValidation=True) and connect.SmartConnect(disableSslCertValidation=True)
  • VmomiSupport.UncallableManagedMethod is renamed to VmomiSupport.UnknownManagedMethod

New modules:

Security.py
A new module is added to handle thumbprint verification.
There is a predefined set of available crypto functions to verify the certificate thumbprints.
Its possible to configure during runtime which of the available crypto functions are allowed.

Feature.py
A new module related to pyVmomi development within VMware.

VmomiJSONEncoder.py
The VmomiJSONEncoder is moved into a dedicated module.

More changes:

  • A new 'binaryIsBytearray' setting is added to select the base type for the binary type. By default, the binary type is 'str' for Python 2 and 'bytes' for Python 3. If binaryIsBytearray is True, the binary type for Python 2 is set to 'bytearray'. Required for VmomiJSONEncoder to work properly.
  • The license note is removed from the Python files. LICENSE.txt holds the Apache 2 license note.
  • pyVmomi now uses relative imports
  • Dependency on “requests” is removed
  • Added support for SAML token authentication
  • Added timeout for HTTP requests
  • Added option to set the maximum amount of time a task is allowed to run. On timeout, an exception is generated if raiseOnError is True.
  • Add option to get all updates for the task.
  • Add option to use a logger instead of the standard output
  • Various bug fixes
  • Code style improvements

Deprecated:

  • connect.OpenUrlWithBasicAuth()
  • connect.OpenPathWithStub()

Don't miss a new pyvmomi release

NewReleases is sending notifications on new releases.