The cinder.volume.drivers.vmware.pbm Module

Class for making VMware PBM SOAP calls.

This is used for storage policy based placement of volumes. Read more about it here: http://pubs.vmware.com/vsphere-55/index.jsp#com.vmware.vspsdk.apiref.doc/right-pane.html

class PBMClient(vimSession, pbm_wsdl, protocol='https', host='localhost')

Bases: cinder.volume.drivers.vmware.vim.Vim

Sets up a client to interact with the vSphere PBM APIs.

This client piggy backs on Vim object’s authenticated cookie to invoke PBM API calls.

Note that this class needs the PBM wsdl file in order to make SOAP API calls. This wsdl file is included in the VMware Storage Policy SDK. A user of this feature needs to install this SDK on the Cinder volume nodes and configure the path in the cinder.conf file.

client
service_content

Set the authenticated vim session cookie in this pbm client.

Previous topic

The cinder.volume.drivers.vmware.io_util Module

Next topic

The cinder.volume.drivers.vmware.read_write_util Module

This Page