isilon-sdk


Nameisilon-sdk JSON
Version 0.3.0.1 PyPI version JSON
download
home_pagehttps://github.com/Isilon/isilon_sdk_python
SummaryPython language bindings for managing OneFS clusters.
upload_time2024-01-24 09:30:14
maintainerIsilon SDK
docs_urlNone
authorIsilon SDK
requires_python>=2.7
licenseMIT
keywords swagger isilon sdk onefs powerscale
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            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 | Subpackage Name |
+===============+=================+
|    9.0.0.0    |      v9_0_0     |
+---------------+-----------------+
|    9.1.0.0    |      v9_1_0     |
+---------------+-----------------+
|    9.2.0.0    |      v9_2_0     |
+---------------+-----------------+
|    9.2.1.0    |      v9_2_1     |
+---------------+-----------------+
|    9.3.0.0    |      v9_3_0     |
+---------------+-----------------+
|    9.4.0.0    |      v9_4_0     |
+---------------+-----------------+
|    9.5.0.0    |      v9_5_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_3_0
   from isilon_sdk.v9_3_0.rest import ApiException

   urllib3.disable_warnings()

   # configure cluster connection: basicAuth
   configuration = isilon_sdk.v9_3_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_3_0.ApiClient(configuration)
   api_instance = isilon_sdk.v9_3_0.ProtocolsApi(api_client)

   # get all exports
   sort = 'description'
   limit = 50
   dir = 'ASC'
   try:
       api_response = api_instance.list_nfs_exports(sort=sort, limit=limit, dir=dir)
       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/1e/97/41691acee7b86301b5f767e69f504b25d014e6cf1e083c18499b53cdbc76/isilon-sdk-0.3.0.1.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+---------------+-----------------+\n| OneFS Version | Subpackage Name |\n+===============+=================+\n|    9.0.0.0    |      v9_0_0     |\n+---------------+-----------------+\n|    9.1.0.0    |      v9_1_0     |\n+---------------+-----------------+\n|    9.2.0.0    |      v9_2_0     |\n+---------------+-----------------+\n|    9.2.1.0    |      v9_2_1     |\n+---------------+-----------------+\n|    9.3.0.0    |      v9_3_0     |\n+---------------+-----------------+\n|    9.4.0.0    |      v9_4_0     |\n+---------------+-----------------+\n|    9.5.0.0    |      v9_5_0     |\n+---------------+-----------------+\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_3_0\n   from isilon_sdk.v9_3_0.rest import ApiException\n\n   urllib3.disable_warnings()\n\n   # configure cluster connection: basicAuth\n   configuration = isilon_sdk.v9_3_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_3_0.ApiClient(configuration)\n   api_instance = isilon_sdk.v9_3_0.ProtocolsApi(api_client)\n\n   # get all exports\n   sort = 'description'\n   limit = 50\n   dir = 'ASC'\n   try:\n       api_response = api_instance.list_nfs_exports(sort=sort, limit=limit, dir=dir)\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\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Python language bindings for managing OneFS clusters.",
    "version": "0.3.0.1",
    "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": "169537758296c7a8d1aca33eac098b598799f21d01bfbf13c82f430c041a1f36",
                "md5": "ab9bc37edf7dd8b9a794aecd0ea55da9",
                "sha256": "59f29c7735fd4ae35a8a5e7cf4c34170519bf570d93296f12fac6ff99c2b6c60"
            },
            "downloads": -1,
            "filename": "isilon_sdk-0.3.0.1-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ab9bc37edf7dd8b9a794aecd0ea55da9",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=2.7",
            "size": 18742662,
            "upload_time": "2024-01-24T09:30:07",
            "upload_time_iso_8601": "2024-01-24T09:30:07.642570Z",
            "url": "https://files.pythonhosted.org/packages/16/95/37758296c7a8d1aca33eac098b598799f21d01bfbf13c82f430c041a1f36/isilon_sdk-0.3.0.1-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1e9741691acee7b86301b5f767e69f504b25d014e6cf1e083c18499b53cdbc76",
                "md5": "f1e60361d51c293c2dc76ab465b1f5ec",
                "sha256": "b1c44afcbbafa408aada9056c91931095957440204ed6d55a62cfa2aba98007a"
            },
            "downloads": -1,
            "filename": "isilon-sdk-0.3.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "f1e60361d51c293c2dc76ab465b1f5ec",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=2.7",
            "size": 9055883,
            "upload_time": "2024-01-24T09:30:14",
            "upload_time_iso_8601": "2024-01-24T09:30:14.832780Z",
            "url": "https://files.pythonhosted.org/packages/1e/97/41691acee7b86301b5f767e69f504b25d014e6cf1e083c18499b53cdbc76/isilon-sdk-0.3.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-24 09:30:14",
    "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"
}
        
Elapsed time: 0.18529s