~curtin-dev/curtin/trunk

Viewing all changes in revision 469.

  • Committer: Scott Moser
  • Author(s): Nish Aravamudan
  • Date: 2017-02-22 20:36:06 UTC
  • mfrom: (450.3.45 curtin)
  • Revision ID: smoser@ubuntu.com-20170222203606-71yzbu6a5m27b7of
Add iSCSI disk support.

iSCSI disks are specified following RFC4173
(https://tools.ietf.org/html/rfc4173) as:

  path: iscsi:[user:pass[:iuser:ipass]@]host:proto:port:lun:targetname

Unittests for iSCSI target parsing have been added as well as a vmtests
for testing iSCSI targets via tgt with all possible authentication
combinations.

For standalone testing, tools/find-tgt has been added to spawn a tgt
server as a regular user for serving iSCSI disks.

tools/jenkins-runner has been updated to use tools/find-tgt for the
automated vmtests.

Additionally, we add two new subcommands for working with iscsi volumes:
 block-attach-iscsi
 block-detach-iscsi

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: