[PATCH] targetcli: Add support for iser-target network portal attribute

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Nicholas Bellinger <nab@xxxxxxxxxxxxxxxxxxxxx>

Hi folks,

This patch adds support to targetcli for enabling/disabling the iser-target
network portal attribute within NetworkPortal context.

Here is how it looks in action:

/> ls iscsi/
o- iscsi ............................................................ [1 Target]
  o- iqn.2003-01.org.linux-iscsi.rtslinux.foobar ....................... [1 TPG]
    o- tpgt1 ......................................................... [enabled]
      o- acls ......................................................... [0 ACLs]
      o- luns .......................................................... [1 LUN]
      | o- lun0 ......................................... [rd_mcp/foo (ramdisk)]
      o- portals .................................................... [1 Portal]
        o- 10.100.0.1:3260 ................................. [OK, iser disabled]
/> cd /iscsi/iqn.2003-01.org.linux-iscsi.rtslinux.foobar/tpgt1/portals/10.100.0.1:3260 
/iscsi/iqn.20....100.0.1:3260> iser_enable 
iser operation has been enabled
/iscsi/iqn.20....100.0.1:3260> ls
o- 10.100.0.1:3260 .......................................... [OK, iser enabled]
/iscsi/iqn.20....100.0.1:3260> iser_disable 
iser operation has been disabled
/iscsi/iqn.20....100.0.1:3260> ls
o- 10.100.0.1:3260 ......................................... [OK, iser disabled]
/iscsi/iqn.20....100.0.1:3260> 

Thanks,

--nab

Nicholas Bellinger (1):
  targetcli: Add support for iser network portal attribute in UIPortal
    class

 targetcli/ui_target.py |   25 ++++++++++++++++++++++++-
 1 files changed, 24 insertions(+), 1 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




[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux