Fix [Unity] verification and convert mgmt ipv6
The IPv6 format need change to [ipv6] Change-Id: Ic0fd36a4f6f71adbd16b54e074efcd3541ca5cf3 Closes-bug: #1845135
This commit is contained in:
parent
0c22a61335
commit
923edff726
|
@ -39,9 +39,10 @@ from manila import utils
|
|||
|
||||
"""Version history:
|
||||
7.0.0 - Supports DHSS=False mode
|
||||
7.0.1 - Fix parsing management IPv6 address
|
||||
"""
|
||||
|
||||
VERSION = "7.0.0"
|
||||
VERSION = "7.0.1"
|
||||
|
||||
LOG = log.getLogger(__name__)
|
||||
SUPPORTED_NETWORK_TYPES = (None, 'flat', 'vlan')
|
||||
|
@ -105,7 +106,8 @@ class UnityStorageConnection(driver.StorageConnection):
|
|||
def connect(self, emc_share_driver, context):
|
||||
"""Connect to Unity storage."""
|
||||
config = emc_share_driver.configuration
|
||||
storage_ip = config.emc_nas_server
|
||||
storage_ip = enas_utils.convert_ipv6_format_if_needed(
|
||||
config.emc_nas_server)
|
||||
username = config.emc_nas_login
|
||||
password = config.emc_nas_password
|
||||
self.client = client.UnityClient(storage_ip, username, password)
|
||||
|
|
Loading…
Reference in New Issue