此内容没有您所选择的语言版本。
15.3. Installing the Software Development Kit
Summary
The software development kit is provided by the rhsc-sdk package. This package includes all of the Python bindings for the Red Hat Gluster Storage Console API. To begin using the software development kit, you must install the rhsc-sdk package on the system that you wish to use for script development. The instructions that appear here are intended for use on a system running Red Hat Enterprise Linux 6 or later.
Procedure 15.1. Installing the Python SDK
- Ensure that your system has the required entitlements:
- When using certificate-based Red Hat Network, you must subscribe to the
Red Hat Gluster Storageentitlement to install therhsc-sdkpackage. - When using Red Hat Network classic, you must subscribe to the
Red Hat Gluster Storage Consolechannel to install therhsc-sdkpackage. Refer to the Red Hat Gluster Storage Console Installation Guide for specific channel names current to your system.
- Ensure that you are logged in as the
rootuser. - Install the
rhsc-sdkpackage using theyumcommand.yum install rhsc-sdk
# yum install rhsc-sdkCopy to Clipboard Copied! Toggle word wrap Toggle overflow ResultTherhsc-sdkpackage is now installed. TheovirtsdkPython library is now available for use on the local system.