Bindings for the StorPool distributed storage API
Project description
Description
This package contains Python bindings to the JSON-over-HTTP API of the StorPool distributed storage software.
For more information about the available API functions please see the apidoc.html file.
StorPool is distributed data storage software running on standard x86 servers. StorPool aggregates the performance and capacity of all drives into a shared pool of storage distributed among the servers. Within this storage pool the user creates thin-provisioned volumes that are exposed to the clients as block devices. StorPool consists of two parts wrapped in one package - a server and a client. The StorPool server allows a hypervisor to act as a storage node, while the StorPool client allows a hypervisor node to access the storage pool and act as a compute node.
Version history
2.0.0
add the capacityPlaceAll and capacityPlaceTail template properties
add volumeBalancerGroups() and the VolumeBalancerSlot and VolumeBalancerAllocationGroup types
replace UpDiskTarget’s objectsToRecover attribute with a toRecover attribute for the target’s storedSize and onDiskSize members; accordingly, bump the storpool module’s version to 2.0.0 for a backwards-incompatible change
add the _asdict() method to JsonObject to fix the breakage in newer versions of simplejson when they try to look for this method using getattr(), triggering an unknown attribute JsonObject exception
add some omitted documentation titles for some rarely-used internal relocator/balancer commands
mark the disk wbc and aggregateScore properties as internal
add the missing documentation for the AttachmentDesc.volume attribute
1.3.1
fix a typo in a DiskWbcStats member name: ios -> iops
1.3.0
remove an unused internal Python object attribute
only check the defined attributes in JsonObject, ignore any additional members received in a JSON message
add snapshotsSpace() for the snapshot reverse space estimation
reflect the fact that volumeStatus() may also return an anonymous snapshot, thus the name may also be a SnapshotName
drop the “name” attribute of VolumeSummaryBase since it is always overridden in its child classes (either a volume or a snapshot name)
fix the return types of snapshotInfo() and snapshotDescribe()
add the “autoName”, “bound”, “deleted”, and “transient” snapshot flags
add the “noFua” and “isWbc” disk flags, the “wbc” write-back cache info, and the “aggregateScore” aggregation info
flesh out the volume balancer and relocator support
1.2.0
fix the return type of volumeCreate() and snapshotCreate() - a new type, ApiOkVolumeCreate, that extends ApiOk to add the optinal “autoName” autogenerated snapshot name
note that this documents version 15.02 of the StorPool API
fix a bug in a very rarely used initialization mode of JsonObject
add a “section” parameter to the SPConfig constructor to be able to fetch information about another host in the cluster
1.1.0
add the get() method with a default value to SPConfig objects
1.0.5
add the SnapshotUpdateDesc type, since snapshotUpdate() only accepts a subset of volumeUpdate()’s parameters
add the volumeTemplateStatus(), diskIgnore(), volumeAbandonDisk() and snapshotAbandonDisk() commands
add the “bind” parameter to volumeUpdate() and snapshotUpdate()
add the “baseOn” parameter to volumeCreate()
add some internal templateId attributes; they are returned by the StorPool management service, but they should not really be used by consumers
fix the validation of snapshot names to accept the anonymous snapshots that may be returned by the various “list snapshots” commands
properly return information about missing/down disks in disksList() and serverDisksList() - introduce a separate type for them
make the objects returned by the API calls iterable - “for i in obj” is now similar to a dictionary’s iteritems() method
make volumeCreate()’s “size” parameter optional, since the size may be defined in a volume template
1.0.4
rename Disk.ok to Disk.up
fix typo: CientID => ClientID
clean-up/fix peer ID types
mark a bunch of attributes as internal
use js.dumps and not str when printing values in the documentation
generate better json for optional and internal values in the documentation
export changes to ClusterStatus due to AoE and mgmt failover
add AoE commands
add the optional “propagate” parameter to volumeTemplateUpdate()
extend the validation regular expressions for the names of volumes and snapshots to support the special notation for system volumes and snapshots currently being deleted
fix the ActiveRequestDesc “name” parameter to also support snapshot names
add the “snapshot” flag to the volumeStatus() result to signify that this entry represents a snapshot and not a volume
1.0.3
update the API documentation
fix a HTTPConnection usage bug
1.0.2
fix the author e-mail address in setup.py
fix the README file’s Markdown format
1.0.1
relicense under the Apache 2.0 License
switch the README file to Markdown format
remove a leftover OpenStack reference from the README file
1.0.0
first public release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.