Dell SC: Specify High Availability for create replication
No SyncMode was being specified. This defaults the SyncMode to
High Consistency. This patch changes it to High Availability.
Change-Id: Idaa8f4f9a4d1914da99caeb8a49e4740e4d9e68b
Closes-Bug: #1596680
(cherry picked from commit 70b039cfe6
)
This commit is contained in:
parent
8ad1ab5c33
commit
8a5b03d446
|
@ -5997,6 +5997,7 @@ class DellSCSanAPITestCase(test.TestCase):
|
|||
'StorageCenter': ssn,
|
||||
'ReplicateActiveReplay': False,
|
||||
'Type': 'Asynchronous',
|
||||
'SyncMode': 'HighAvailability',
|
||||
'DestinationVolumeAttributes':
|
||||
{'CreateSourceVolumeFolderPath': True,
|
||||
'Notes': notes,
|
||||
|
@ -6062,6 +6063,7 @@ class DellSCSanAPITestCase(test.TestCase):
|
|||
'StorageCenter': ssn,
|
||||
'ReplicateActiveReplay': False,
|
||||
'Type': 'Asynchronous',
|
||||
'SyncMode': 'HighAvailability',
|
||||
'DestinationVolumeAttributes':
|
||||
{'CreateSourceVolumeFolderPath': True,
|
||||
'Notes': notes,
|
||||
|
|
|
@ -2648,6 +2648,7 @@ class StorageCenterApi(object):
|
|||
# Have to replicate the active replay.
|
||||
payload['ReplicateActiveReplay'] = replicate_active or synchronous
|
||||
payload['Type'] = 'Synchronous' if synchronous else 'Asynchronous'
|
||||
payload['SyncMode'] = 'HighAvailability'
|
||||
destinationvolumeattributes = {}
|
||||
destinationvolumeattributes['CreateSourceVolumeFolderPath'] = True
|
||||
destinationvolumeattributes['Notes'] = self.notes
|
||||
|
|
Loading…
Reference in New Issue