self.assertEquals(
retval,
{'provider_location':
- '%s:%s,1 %s%s' % (FLAGS.nexenta_host,
- FLAGS.nexenta_iscsi_target_portal_port,
- FLAGS.nexenta_target_prefix,
- self.TEST_VOLUME_NAME)})
+ '%s:%s,1 %s%s 0' % (FLAGS.nexenta_host,
+ FLAGS.nexenta_iscsi_target_portal_port,
+ FLAGS.nexenta_target_prefix,
+ self.TEST_VOLUME_NAME)})
def __get_test(i):
def _test_create_export_fail(self):
else:
LOG.info(_('Ignored LUN mapping entry addition error "%s"'
' while ensuring export'), exc)
- return '%s:%s,1 %s' % (FLAGS.nexenta_host,
- FLAGS.nexenta_iscsi_target_portal_port,
- target_name)
+ return '%s:%s,1 %s 0' % (FLAGS.nexenta_host,
+ FLAGS.nexenta_iscsi_target_portal_port,
+ target_name)
def create_export(self, _ctx, volume):
"""Create new export for zvol.