The cinder.volume.drivers.coho Module

class Client(address, prog, vers, port)

Bases: object

init_call(proc, args)
init_socket()
init_xid()
make_cred()
make_verf()
make_xid()
pack_auth(auth)
pack_callheader(xid, prog, vers, proc, cred, verf)
unpack_auth()
unpack_replyheader()
class CohoDriver(*args, **kwargs)

Bases: cinder.volume.drivers.nfs.NfsDriver

Coho Data NFS based cinder driver.

Creates file on NFS share for using it as block device on hypervisor. Version history: 1.0.0 - Initial driver

SHARE_FORMAT_REGEX = '.+:/.*'
create_cloned_volume(volume, src_vref)
create_snapshot(snapshot)

Create a volume snapshot.

create_volume_from_snapshot(volume, snapshot)

Create a volume from a snapshot.

delete_snapshot(snapshot)

Delete a volume snapshot.

do_setup(context)

Any initialization the volume driver does while starting.

extend_volume(volume, new_size)

Extend the specified file to the new_size (sparsely).

get_volume_stats(refresh)

Pass in Coho Data information in volume stats.

class CohoRPCClient(address, port)

Bases: cinder.volume.drivers.coho.Client

create_snapshot(src, dst, flags)
create_volume_from_snapshot(src, dst)
delete_snapshot(name)
make_auth_null()

Previous topic

The cinder.volume.drivers.cloudbyte.options Module

Next topic

The cinder.volume.drivers.datera Module

Project Source

This Page