@@ -359,7 +359,7 @@ def set_eula(self, **kwargs):
359
359
360
360
:param \*\*kwargs: See the REST API Guide on your array for the
361
361
documentation on the request:
362
- **PUT eula**
362
+ **PUT array/ eula**
363
363
:returns: EULA agreement and a dictionary describing the EULA
364
364
acceptance status on the array.
365
365
:rtype: ResponseDict
@@ -1177,7 +1177,7 @@ def connect_nfs_offload(self, name, **kwargs):
1177
1177
:type name: str
1178
1178
:param \*\*kwargs: See the REST API Guide on your array for the
1179
1179
documentation on the request:
1180
- **POST offload/nfs /{}**
1180
+ **POST nfs_offload /{}**
1181
1181
:type \*\*kwargs: optional
1182
1182
1183
1183
:returns: A dictionary describing the nfs target.
@@ -1193,7 +1193,7 @@ def connect_s3_offload(self, name, **kwargs):
1193
1193
:type name: str
1194
1194
:param \*\*kwargs: See the REST API Guide on your array for the
1195
1195
documentation on the request:
1196
- **POST offload/s3 /{}**
1196
+ **POST s3_offload /{}**
1197
1197
:type \*\*kwargs: optional
1198
1198
1199
1199
:returns: A dictionary describing the S3 target.
@@ -1273,7 +1273,7 @@ def list_nfs_offload(self, **kwargs):
1273
1273
1274
1274
:param \*\*kwargs: See the REST API Guide on your array for the
1275
1275
documentation on the request:
1276
- **GET offload/nfs **
1276
+ **GET nfs_offload **
1277
1277
:type \*\*kwargs: optional
1278
1278
1279
1279
:returns: A list of dictionaries describing NFS offload connections.
@@ -1287,7 +1287,7 @@ def list_s3_offload(self, **kwargs):
1287
1287
1288
1288
:param \*\*kwargs: See the REST API Guide on your array for the
1289
1289
documentation on the request:
1290
- **GET offload/s3 **
1290
+ **GET s3_offload **
1291
1291
:type \*\*kwargs: optional
1292
1292
1293
1293
:returns: A list of dictionaries describing S3 offload connections.
@@ -1301,7 +1301,7 @@ def list_azure_offload(self, **kwargs):
1301
1301
1302
1302
:param \*\*kwargs: See the REST API Guide on your array for the
1303
1303
documentation on the request:
1304
- **GET offload/azure **
1304
+ **GET azure_offload **
1305
1305
:type \*\*kwargs: optional
1306
1306
1307
1307
:returns: A list of dictionaries describing Azure Blob offload connections.
@@ -1339,7 +1339,7 @@ def get_nfs_offload(self, name, **kwargs):
1339
1339
:type offload: str
1340
1340
:param \*\*kwargs: See the REST API Guide on your array for the
1341
1341
documentation on the request:
1342
- **GET offload/nfs /::offload**
1342
+ **GET nfs_offload /::offload**
1343
1343
:type \*\*kwargs: optional
1344
1344
1345
1345
:returns: A dictionary describing the nfs offload connection.
@@ -1361,7 +1361,7 @@ def get_s3_offload(self, name, **kwargs):
1361
1361
:type offload: str
1362
1362
:param \*\*kwargs: See the REST API Guide on your array for the
1363
1363
documentation on the request:
1364
- **GET offload/s3 /::offload**
1364
+ **GET s3_offload /::offload**
1365
1365
:type \*\*kwargs: optional
1366
1366
1367
1367
:returns: A dictionary describing the S3 offload connection.
@@ -1377,7 +1377,7 @@ def get_azure_offload(self, name, **kwargs):
1377
1377
:type offload: str
1378
1378
:param \*\*kwargs: See the REST API Guide on your array for the
1379
1379
documentation on the request:
1380
- **GET offload/azure /::offload**
1380
+ **GET azure_offload /::offload**
1381
1381
:type \*\*kwargs: optional
1382
1382
1383
1383
:returns: A dictionary describing the Azure Blob offload connection.
@@ -1419,6 +1419,10 @@ def get_network_interface(self, interface, **kwargs):
1419
1419
1420
1420
:param interface: Name of network interface to get information about.
1421
1421
:type interface: str
1422
+ :param \*\*kwargs: See the REST API Guide on your array for the
1423
+ documentation on the request:
1424
+ **GET network/:network_component**
1425
+ :type \*\*kwargs: optional
1422
1426
1423
1427
:returns: A dictionary describing the interface.
1424
1428
:rtype: ResponseDict
@@ -1429,6 +1433,11 @@ def get_network_interface(self, interface, **kwargs):
1429
1433
def list_network_interfaces (self , ** kwargs ):
1430
1434
"""Get a list of dictionaries describing network interfaces.
1431
1435
1436
+ :param \*\*kwargs: See the REST API Guide on your array for the
1437
+ documentation on the request:
1438
+ **GET network**
1439
+ :type \*\*kwargs: optional
1440
+
1432
1441
:returns: A list of dictionaries describing each network interface.
1433
1442
:rtype: ResponseList
1434
1443
@@ -3527,6 +3536,10 @@ def get_kmip(self, name, **kwargs):
3527
3536
3528
3537
:param name: The name of the KMIP config to operate on.
3529
3538
:type name: string
3539
+ :param \*\*kwargs: See the REST API Guide on your array for the
3540
+ documentation on the request:
3541
+ **GET kmip/:kmip**
3542
+ :type \*\*kwargs: optional
3530
3543
3531
3544
:returns: A list of dictionaries containing the requested kmip configuration.
3532
3545
:rtype: ResponseList
@@ -3760,8 +3773,6 @@ def get_app_node(self, app_name, **kwargs):
3760
3773
def schedule_maintenance_window (self , ** kwargs ):
3761
3774
"""Schedule a maintenance window and return a dictionary describing it.
3762
3775
3763
- :param name: Name of the maintenance window to be scheduled.
3764
- :type name: str
3765
3776
:param \*\*kwargs: See the REST API Guide on your array for the
3766
3777
documentation on the request:
3767
3778
**POST maintenance_window**
@@ -3771,20 +3782,20 @@ def schedule_maintenance_window(self, **kwargs):
3771
3782
:rtype: ResponseDict
3772
3783
3773
3784
"""
3774
-
3775
3785
return self ._request ("POST" , "maintenance_window" , kwargs )
3776
3786
3777
3787
def unschedule_maintenance_window (self , ** kwargs ):
3778
3788
"""Unschedule a maintenance window and return a dictionary describing it.
3779
3789
3780
- :param name: Name of the maintenance window to be unscheduled.
3781
- :type name: str
3790
+ :param \*\*kwargs: See the REST API Guide on your array for the
3791
+ documentation on the request:
3792
+ **DELETE maintenance_window**
3793
+ :type \*\*kwargs: optional
3782
3794
3783
3795
:returns: A dictionary describing the unscheduled maintenance window.
3784
3796
:rtype: ResponseDict
3785
3797
3786
3798
"""
3787
-
3788
3799
return self ._request ("DELETE" , "maintenance_window" , kwargs )
3789
3800
3790
3801
def list_maintenance_windows (self , ** kwargs ):
@@ -3924,7 +3935,7 @@ class PureError(Exception):
3924
3935
"""
3925
3936
def __init__ (self , reason ):
3926
3937
self .reason = reason
3927
- super (PureError , self ).__init__ ()
3938
+ super (PureError , self ).__init__ (reason )
3928
3939
3929
3940
def __str__ (self ):
3930
3941
return "PureError: {0}" .format (self .reason )
@@ -3971,4 +3982,3 @@ def __str__(self):
3971
3982
"version {1} at {2}: {3}\n {4}" )
3972
3983
return msg .format (self .code , self .rest_version , self .target ,
3973
3984
self .reason , self .text )
3974
-
0 commit comments