self.driver._eql_execute('volume', 'select', volume['name'], 'access',
'create', 'initiator',
self.connector['initiator'],
- 'authmethod chap',
+ 'authmethod', 'chap',
'username',
self.configuration.eqlx_chap_login)
self.mox.ReplayAll()
cmd = ['volume', 'select', volume['name'], 'access', 'create',
'initiator', connector['initiator']]
if self.configuration.eqlx_use_chap:
- cmd.extend(['authmethod chap', 'username',
+ cmd.extend(['authmethod', 'chap', 'username',
self.configuration.eqlx_chap_login])
self._eql_execute(*cmd)
iscsi_properties = self._get_iscsi_properties(volume)