From d80d50a17d0113215ac1936bc746979f2aec1146 Mon Sep 17 00:00:00 2001 From: Rachel Tucker Date: Tue, 27 Mar 2018 13:20:44 -0600 Subject: [PATCH] Removing deprecated serial id --- ds3/ds3.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/ds3/ds3.py b/ds3/ds3.py index 61c8608..f9db8fa 100755 --- a/ds3/ds3.py +++ b/ds3/ds3.py @@ -1114,7 +1114,6 @@ def __init__(self): 'MinimumWriteReservedDrives': None, 'Name': None, 'Quiesced': None, - 'SerialId': None, 'SerialNumber': None, 'State': None } @@ -1530,7 +1529,6 @@ def __init__(self): 'MinimumWriteReservedDrives': None, 'Name': None, 'Quiesced': None, - 'SerialId': None, 'SerialNumber': None, 'State': None } @@ -1807,7 +1805,6 @@ def __init__(self): 'MinimumWriteReservedDrives': None, 'Name': None, 'Quiesced': None, - 'SerialId': None, 'SerialNumber': None, 'State': None } @@ -6852,7 +6849,7 @@ def __init__(self, tape_drive_id, quiesced=None, reserved_task_type=None): class ModifyTapePartitionSpectraS3Request(AbstractRequest): - def __init__(self, tape_partition, auto_compaction_enabled=None, minimum_read_reserved_drives=None, minimum_write_reserved_drives=None, quiesced=None): + def __init__(self, tape_partition, auto_compaction_enabled=None, minimum_read_reserved_drives=None, minimum_write_reserved_drives=None, quiesced=None, serial_number=None): super(ModifyTapePartitionSpectraS3Request, self).__init__() self.tape_partition = tape_partition if auto_compaction_enabled is not None: @@ -6863,6 +6860,8 @@ def __init__(self, tape_partition, auto_compaction_enabled=None, minimum_read_re self.query_params['minimum_write_reserved_drives'] = minimum_write_reserved_drives if quiesced is not None: self.query_params['quiesced'] = quiesced + if serial_number is not None: + self.query_params['serial_number'] = serial_number self.path = '/_rest_/tape_partition/' + tape_partition self.http_verb = HttpVerb.PUT