The oslo.vmware.service Module

Common classes that provide access to vSphere services.

class oslo.vmware.service.Service(wsdl_url=None, soap_url=None)

Bases: object

Base class containing common functionality for invoking vSphere services

static build_base_url(protocol, host, port)

Return the vCenter session cookie.

service_content
class oslo.vmware.service.ServiceMessagePlugin

Bases: suds.plugin.MessagePlugin

Suds plug-in handling some special cases while calling VI SDK.

add_attribute_for_value(node)

Helper to handle AnyType.

Suds does not handle AnyType properly. But VI SDK requires type attribute to be set when AnyType is used.

Parameters:node – XML value node
marshalled(context)

Modifies the envelope document before it is sent.

This method provides the plug-in with the opportunity to prune empty nodes and fix nodes before sending it to the server.

Parameters:context – send context

Previous topic

The oslo.vmware.rw_handles Module

Next topic

The oslo.vmware.vim Module

This Page