-
Language:
English
-
Language:
English
Red Hat Training
A Red Hat training course is available for Red Hat Gluster Storage
Chapter 4. Python Quick Start Example
4.1. Python Quick Start Introduction
This chapter provides a series of examples demonstrating the steps to create a cluster within a basic Red Hat Storage environment using the Python Software Development Kit.
These examples use the
ovirtsdk
Python library provided by the rhsc-sdk
package. This package is available to systems subscribed to a Red Hat Storage pool if you use the certificate-based Red Hat Network, or the Red Hat Storage channel if you use the Red Hat Network classic. See the Red Hat Storage Console Installation Guide for more information on subscribing systems to download software from these locations.
Note
See the Red Hat Storage Console Installation Guide for specific channel names current to your system.
You will also need:
- A networked installation of Red Hat Storage Console.
- A networked and configured Red Hat Storage Server.
- A working understanding of both the logical and physical objects that make up a Red Hat Storage environment.
- A working understanding of the Python programming language.
Important
All Python examples include placeholders for authentication details (USER for user name, and PASS for password). Ensure all requests performed with Python fulfill the authentication requirements of your environment.
Note
Red Hat Storage generates a globally unique identifier (GUID) for the id attribute for each resource. Identifier codes in these examples might appear different to the identifier codes in your Red Hat Storage environment.
Note
These Python examples contain only basic exception and error handling logic. For more information on the exception handling specific to the SDK, see the pydoc for the
ovirtsdk.infrastructure.errors
module.
22632%2C+Console+Developer+Guide-322-09-2014+17%3A11%3A35Report a bug