Helper code for the iSCSI volume driver.
-
class IetAdm(execute=<function execute at 0xa66725c>)
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 0xa66725c>)
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()