About
-----
This package is part of the Isilon SDK. It includes language bindings
for easier programmatic access to the OneFS API for cluster
configuration (on your cluster this is the REST API made up of all the
URIs underneath ``https://[cluster]:8080/platform/*``, also called the
"Platform API" or "PAPI"). The SDK also includes language bindings for
the OneFS RAN (i.e. RESTful Access to Namespace) interface, which
provides access to the OneFS filesystem namespace.
Installation
------------
``pip install isilon_sdk``
Example program
---------------
Please select the subpackage as applicable to the OneFS version of your
cluster by referring to the below table:
OneFS Version and respective subpackage name are as:
9.4.0.0: v9_4_0
9.5.0.0: v9_5_0
9.6.0.0: v9_6_0
9.7.0.0: v9_7_0
9.8.0.0: v9_8_0
9.9.0.0: v9_9_0
Here’s an example of using the Python PAPI bindings to retrieve a list
of NFS exports from your clusters
::
from __future__ import print_function
from pprint import pprint
import time
import urllib3
import isilon_sdk.v9_9_0
from isilon_sdk.v9_9_0.rest import ApiException
urllib3.disable_warnings()
# configure cluster connection: basicAuth
configuration = isilon_sdk.v9_9_0.Configuration()
configuration.host = 'https://10.205.228.161:8080'
configuration.username = 'root'
configuration.password = 'a'
configuration.verify_ssl = False
# create an instance of the API class
api_client = isilon_sdk.v9_9_0.ApiClient(configuration)
api_instance = isilon_sdk.v9_9_0.ProtocolsApi(api_client)
# get all exports
sort = 'description'
limit = 50
order = 'ASC'
try:
api_response = api_instance.list_nfs_exports(sort=sort, limit=limit, dir=order)
pprint(api_response)
except ApiException as e:
print("Exception when calling ProtocolsApi->list_nfs_exports: %s\n" % e)
More Info
---------------
See the Github repo for more information:
https://github.com/isilon/isilon_sdk
Raw data
{
"_id": null,
"home_page": "https://github.com/Isilon/isilon_sdk_python",
"name": "isilon-sdk",
"maintainer": "Isilon SDK",
"docs_url": null,
"requires_python": ">=2.7",
"maintainer_email": "sdk@isilon.com",
"keywords": "Swagger, Isilon SDK, OneFS, PowerScale",
"author": "Isilon SDK",
"author_email": "sdk@isilon.com",
"download_url": "https://files.pythonhosted.org/packages/fb/cb/6514386c2db9097c2538f703d7f32ac3b14e1005332486a09d2390a8206c/isilon_sdk-0.4.0.tar.gz",
"platform": null,
"description": "About\n-----\n\nThis package is part of the Isilon SDK. It includes language bindings\nfor easier programmatic access to the OneFS API for cluster\nconfiguration (on your cluster this is the REST API made up of all the\nURIs underneath ``https://[cluster]:8080/platform/*``, also called the\n\"Platform API\" or \"PAPI\"). The SDK also includes language bindings for\nthe OneFS RAN (i.e. RESTful Access to Namespace) interface, which\nprovides access to the OneFS filesystem namespace.\n\nInstallation\n------------\n\n``pip install isilon_sdk``\n\nExample program\n---------------\n\nPlease select the subpackage as applicable to the OneFS version of your\ncluster by referring to the below table:\n\n\nOneFS Version and respective subpackage name are as:\n\n9.4.0.0: v9_4_0\n9.5.0.0: v9_5_0 \n9.6.0.0: v9_6_0 \n9.7.0.0: v9_7_0 \n9.8.0.0: v9_8_0 \n9.9.0.0: v9_9_0 \n\nHere\u2019s an example of using the Python PAPI bindings to retrieve a list\nof NFS exports from your clusters\n\n::\n\n from __future__ import print_function\n\n from pprint import pprint\n import time\n import urllib3\n\n import isilon_sdk.v9_9_0\n from isilon_sdk.v9_9_0.rest import ApiException\n\n urllib3.disable_warnings()\n\n # configure cluster connection: basicAuth\n configuration = isilon_sdk.v9_9_0.Configuration()\n configuration.host = 'https://10.205.228.161:8080'\n configuration.username = 'root'\n configuration.password = 'a'\n configuration.verify_ssl = False\n\n # create an instance of the API class\n api_client = isilon_sdk.v9_9_0.ApiClient(configuration)\n api_instance = isilon_sdk.v9_9_0.ProtocolsApi(api_client)\n\n # get all exports\n sort = 'description'\n limit = 50\n order = 'ASC'\n try:\n api_response = api_instance.list_nfs_exports(sort=sort, limit=limit, dir=order)\n pprint(api_response)\n except ApiException as e:\n print(\"Exception when calling ProtocolsApi->list_nfs_exports: %s\\n\" % e)\n\nMore Info\n---------------\nSee the Github repo for more information:\nhttps://github.com/isilon/isilon_sdk\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Python language bindings for managing OneFS clusters.",
"version": "0.4.0",
"project_urls": {
"Documentation": "https://github.com/Isilon/isilon_sdk_python",
"Homepage": "https://github.com/Isilon/isilon_sdk_python",
"Source code": "https://github.com/Isilon/isilon_sdk"
},
"split_keywords": [
"swagger",
" isilon sdk",
" onefs",
" powerscale"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "37c2f353ed02c8db738c70683a25eed29abc16d3877fc16d4f1d02d1925c872a",
"md5": "3ca04ab56965ae2fa2c39fb2b4a5b1c2",
"sha256": "1978b5a19955efc05b23ac34ad02c30dc39d2536c06130be39c5e5b377061daf"
},
"downloads": -1,
"filename": "isilon_sdk-0.4.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3ca04ab56965ae2fa2c39fb2b4a5b1c2",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=2.7",
"size": 18847983,
"upload_time": "2024-10-30T10:52:53",
"upload_time_iso_8601": "2024-10-30T10:52:53.983325Z",
"url": "https://files.pythonhosted.org/packages/37/c2/f353ed02c8db738c70683a25eed29abc16d3877fc16d4f1d02d1925c872a/isilon_sdk-0.4.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "fbcb6514386c2db9097c2538f703d7f32ac3b14e1005332486a09d2390a8206c",
"md5": "615003ee3b34e420467d1a21e8185cf5",
"sha256": "e3d6726f6c51ba81261dc91749309276b52ab3936be9ba0555ac181b8c540275"
},
"downloads": -1,
"filename": "isilon_sdk-0.4.0.tar.gz",
"has_sig": false,
"md5_digest": "615003ee3b34e420467d1a21e8185cf5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=2.7",
"size": 8036007,
"upload_time": "2024-10-30T10:52:56",
"upload_time_iso_8601": "2024-10-30T10:52:56.441875Z",
"url": "https://files.pythonhosted.org/packages/fb/cb/6514386c2db9097c2538f703d7f32ac3b14e1005332486a09d2390a8206c/isilon_sdk-0.4.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-30 10:52:56",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Isilon",
"github_project": "isilon_sdk_python",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "isilon-sdk"
}