Skip to main content

Gentleman

Gentleman is a simple, straightforward Python library for communication with Ganeti clusters using Ganeti’s RAPI.

Usage

Import a client of your choice, and then do some work with it.

>>> from gentleman.sync import RequestsRapiClient
>>> c = RequestsRapiClient("your.ganeti.cluster")
>>> c.start()
>>> print c.version
2
>>> print c.features
['instance-reinstall-reqv1', 'node-evac-res1', 'node-migrate-reqv1',
'instance-create-reqv1']

There’s also a Twisted client. An example with Twisted’s shell:

>>> from gentleman.async import *
>>> c = TwistedRapiClient("your.ganeti.cluster")
>>> c.start()
<Deferred #0>
Deferred #0 called back: None
>>> c.version
2
>>> c.features
['instance-reinstall-reqv1', 'node-evac-res1', 'node-migrate-reqv1',
'instance-create-reqv1']

License

Gentleman is made available under the terms of the GPL, version 2 or (at your discretion) any later version.

Gentleman is based on code from Ganeti, (c) 2010-11 Google Inc., and code from Ganeti Web Manager, (c) 2011-12 Oregon State University.

Release files for gentleman 15.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gentleman 15.5
File Size Uploaded
gentleman-15.5.tar.gz 12.0 kB Details

Release files / gentleman-15.5.tar.gz

Download URL gentleman-15.5.tar.gz
Size 12.0 kB
Tags Source
SHA-256 checksum
How to use checksums
55cfd50197cf124eaebf759b0d856f8e8b677b326c355f166b77fcc0e7784b0e
BLAKE2b-256 checksum
How to use checksums
2fad1a2df9caa3ead0d2f86314f789b500b09ad7b6b4edc624dc618c3866fdbf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

15.5 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page