diff --git a/manila/share/drivers/dell_emc/plugins/unity/connection.py b/manila/share/drivers/dell_emc/plugins/unity/connection.py index bfe7d058fd..1dfabb806f 100644 --- a/manila/share/drivers/dell_emc/plugins/unity/connection.py +++ b/manila/share/drivers/dell_emc/plugins/unity/connection.py @@ -45,7 +45,7 @@ SUPPORTED_NETWORK_TYPES = (None, 'flat', 'vlan') class UnityStorageConnection(driver.StorageConnection): """Implements Unity specific functionality for EMC Manila driver.""" - IP_ALLOCATIONS = 2 + IP_ALLOCATIONS = 1 @emc_utils.log_enter_exit def __init__(self, *args, **kwargs): diff --git a/manila/tests/share/drivers/dell_emc/plugins/unity/test_connection.py b/manila/tests/share/drivers/dell_emc/plugins/unity/test_connection.py index 943d400a26..ebfcfc9ab9 100644 --- a/manila/tests/share/drivers/dell_emc/plugins/unity/test_connection.py +++ b/manila/tests/share/drivers/dell_emc/plugins/unity/test_connection.py @@ -597,7 +597,7 @@ class TestConnection(test.TestCase): @res_mock.patch_connection def test_get_network_allocations_number(self, connection): - self.assertEqual(2, connection.get_network_allocations_number()) + self.assertEqual(1, connection.get_network_allocations_number()) @res_mock.patch_connection def test_get_proto_enum(self, connection):