From: Nicholas Bellinger <nab@xxxxxxxxxxxxxxxxxxxxx> Hi folks, This series adds support to rtslib for handling of the new iser-target attribute within the NetworkPortal class used by existing iscsi-target code. It allows rtslib to enable iser-target operation using the following bit of python code: portal = tpg.network_portal("10.100.0.1", 3260, mode='create') iser_attr = portal._get_iser_attr() print "Got iser_attr before: " + str(iser_attr) portal._set_iser_attr(True) iser_attr = portal._get_iser_attr() print "Got iser_attr after: " + str(iser_attr) Also note this code is intended to be backwards compatiable with earlier iscsi-target versions not supporting the iser-target network portal attribute + ib_isert.ko. Thanks, --nab Nicholas Bellinger (2): rtslib: Add support for iser get/set attribute in NetworkPortal class rtslib: Add NetworkPortal delete to disable iser attribute rtslib/target.py | 32 ++++++++++++++++++++++++++++++++ 1 files changed, 32 insertions(+), 0 deletions(-) -- 1.7.2.5 -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html