Merge "Update supported transports for iscsi connector"
This commit is contained in:
commit
a5c79e385f
|
@ -43,7 +43,7 @@ class ISCSIConnector(base.BaseLinuxConnector, base_iscsi.BaseISCSIConnector):
|
||||||
"""Connector class to attach/detach iSCSI volumes."""
|
"""Connector class to attach/detach iSCSI volumes."""
|
||||||
|
|
||||||
supported_transports = ['be2iscsi', 'bnx2i', 'cxgb3i', 'default',
|
supported_transports = ['be2iscsi', 'bnx2i', 'cxgb3i', 'default',
|
||||||
'cxgb4i', 'qla4xxx', 'ocs', 'iser']
|
'cxgb4i', 'qla4xxx', 'ocs', 'iser', 'tcp']
|
||||||
VALID_SESSIONS_PREFIX = ('tcp:', 'iser:')
|
VALID_SESSIONS_PREFIX = ('tcp:', 'iser:')
|
||||||
|
|
||||||
def __init__(self, root_helper, driver=None,
|
def __init__(self, root_helper, driver=None,
|
||||||
|
@ -268,7 +268,7 @@ class ISCSIConnector(base.BaseLinuxConnector, base_iscsi.BaseISCSIConnector):
|
||||||
"""Check that given iscsi_iface uses only supported transports
|
"""Check that given iscsi_iface uses only supported transports
|
||||||
|
|
||||||
Accepted transport names for provided iface param are
|
Accepted transport names for provided iface param are
|
||||||
be2iscsi, bnx2i, cxgb3i, cxgb4i, default, qla4xxx, ocs or iser.
|
be2iscsi, bnx2i, cxgb3i, cxgb4i, default, qla4xxx, ocs, iser or tcp.
|
||||||
Note the difference between transport and iface;
|
Note the difference between transport and iface;
|
||||||
unlike default(iscsi_tcp)/iser, this is not one and the same for
|
unlike default(iscsi_tcp)/iser, this is not one and the same for
|
||||||
offloaded transports, where the default format is
|
offloaded transports, where the default format is
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
[`bug 1722432 <https://bugs.launchpad.net/os-brick/+bug/1722432>`_]
|
||||||
|
Changes the supported_transports to support tcp transport. With this
|
||||||
|
change, we can define an custom iface with tcp transport to limit the
|
||||||
|
storage traffic only be transimitted via storage NIC we specified.
|
Loading…
Reference in New Issue