Commit c95f78e2 authored by Mike Hibler's avatar Mike Hibler

Update comments about using the API.

parent 62d8f131
......@@ -28,12 +28,8 @@
#
# XXX things the API cannot do yet:
#
# 1. create a zvol,
# 2. create an iSCSI extent (POST) with type='ZVOL',
# Actually, you can do this if you specify
# iscsi_target_extent_type=='Disk' and
# iscsi_target_extent_disk=='zvol/...'
# 3. create an authorized initiator (POST); always return 302 FOUND
# 1. create a zvol volume; no API exists,
# 2. create an authorized initiator (POST); always return 302 FOUND
#
# API also does not report an error for:
#
......
......@@ -774,6 +774,11 @@ sub exportSlice($$$$) {
# done yet for this volume. (If this is a persistent lease, it
# may already be exported and in use.)
#
# XXX note that the API doc indicates that you would just specify
# type 'ZVOL' but that doesn't work. You have to set:
# iscsi_target_extent_type=='Disk' and
# iscsi_target_extent_disk=='zvol/...'
#
# XXX currently iname will never exist since we don't share mappings.
# The "else" code is left just in case we need it again in the future.
#
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment