Previous topic

The nova.volume.driver Module

Next topic

The nova.volume.manager Module

This Page

Psst... hey. You're reading the latest content, but it might be out of sync with code. You can read Nova 2011.2 docs or all OpenStack docs too.

The nova.volume.iscsi Module

Helper code for the iSCSI volume driver.

class IetAdm(execute=<function execute at 0x1e9f230>)

Bases: nova.volume.iscsi.TargetAdmin

iSCSI target administration using ietadm.

delete_logicalunit(tid, lun, **kwargs)
delete_target(tid, **kwargs)
new_logicalunit(tid, lun, path, **kwargs)
new_target(name, tid, **kwargs)
show_target(tid, **kwargs)
class TargetAdmin(cmd, execute)

Bases: object

iSCSI target administration.

Base class for iSCSI target admin helpers.

delete_logicalunit(tid, lun, **kwargs)

Delete a logical unit from a target.

delete_target(tid, **kwargs)

Delete a target.

new_logicalunit(tid, lun, path, **kwargs)

Create a new LUN on a target using the supplied path.

new_target(name, tid, **kwargs)

Create a new iSCSI target.

set_execute(execute)

Set the function to be used to execute commands.

show_target(tid, **kwargs)

Query the given target ID.

class TgtAdm(execute=<function execute at 0x1e9f230>)

Bases: nova.volume.iscsi.TargetAdmin

iSCSI target administration using tgtadm.

delete_logicalunit(tid, lun, **kwargs)
delete_target(tid, **kwargs)
new_logicalunit(tid, lun, path, **kwargs)
new_target(name, tid, **kwargs)
show_target(tid, **kwargs)
get_target_admin()