Version history:
1.0 - Initial driver
1.1 - When doing an export, look for IQN in endpoint_idents.
+ 1.2 - Look for lun-0 instead of lun-1.
"""
- VERSION = '1.1'
+ VERSION = '1.2'
def __init__(self, *args, **kwargs):
super(DateraDriver, self).__init__(*args, **kwargs)
iscsi_portal = export['_ipColl'][0] + ':3260'
iqn = export['endpoint_idents'].iterkeys().next()
- provider_location = '%s %s %s' % (iscsi_portal, iqn, 1)
+ provider_location = '%s %s %s' % (iscsi_portal, iqn, 0)
model_update = {'provider_location': provider_location}
return model_update