1- ![ sf-python-logo] ( https://raw.githubusercontent.com/solidfire/solidfire-sdk-python/master/img/python-50.png ) SolidFire Python SDK v1.5
1+ ![ sf-python-logo] ( https://raw.githubusercontent.com/solidfire/solidfire-sdk-python/master/img/python-50.png ) SolidFire Python SDK v1.7
22
33Python SDK library for interacting with SolidFire Element API
44
@@ -23,7 +23,7 @@ Compatibility
2323
2424| Component | Version |
2525| :-------------------------| :--------------|
26- | SolidFire Element OS | 7 .0 - 10.0 |
26+ | SolidFire Element OS | 10 .0 - 12.2 |
2727
2828Getting Help
2929------------
@@ -37,11 +37,8 @@ new features and capabilities.
3737Documentation
3838-------------
3939
40- [ Latest Docs] ( http://solidfire-sdk-python.readthedocs.io )
41-
4240[ Release
43- Notes] ( https://github.com/solidfire/solidfire-sdk-python/blob/master/NetApp_SolidFire_Python_SDK_Release_Notes.pdf )
44-
41+ Notes] ( NetAppElementPythonSDKReleaseNotes1_7.pdf )
4542
4643Installation
4744------------
@@ -122,13 +119,15 @@ account from the add\_account\_result object.
122119### More examples using the Python SDK
123120
124121 from solidfire.factory import ElementFactory
122+ from solidfire.models import *
125123
126124 # Create connection to SF Cluster
127125 sfe = ElementFactory.create("ip-address-of-cluster", "username", "password")
128126
129127 # --------- EXAMPLE 1 - CREATE AN ACCOUNT -----------
130128 # Send the request with required parameters and gather the result
131- add_account_result = sfe.add_account(username="example-account")
129+ add_account_result = sfe.add_account(username="example-account",
130+ initiator_secret=CHAPSecret(secret="asdfghjkl"))
132131 # Pull the account ID from the result object
133132 account_id = add_account_result.account_id
134133
@@ -179,18 +178,18 @@ unreachable):
179178
180179 from solidfire.factory import ElementFactory
181180 sfe = ElementFactory.create("ip-address-of-cluster", "username", "password")
182- sfe.timeout (600)
181+ sfe.connect_timeout (600)
183182
184183Read timeout (useful for extending time for a service call to return):
185184
186185 from solidfire.factory import ElementFactory
187186 sfe = ElementFactory.create("ip-address-of-cluster", "username", "password")
188- sfe.read_timeout (600)
187+ sfe.timeout (600)
189188
190189** License**
191190-----------
192191
193- Copyright © 2016, 2017 NetApp, Inc. All rights reserved.
192+ Copyright © 2020, 2021 NetApp, Inc. All rights reserved.
194193
195194Licensed under the Apache License, Version 2.0 (the "License"); you may
196195not use this file except in compliance with the License. You may obtain
0 commit comments