The cinder.api.contrib.volume_replication Module

class VolumeReplicationAttributeTemplate

Bases: cinder.api.xmlutil.TemplateBuilder

construct()
class VolumeReplicationController(*args, **kwargs)

Bases: cinder.api.openstack.wsgi.Controller

The Volume Replication API controller for the Openstack API.

detail(req, resp_obj)
promote(req, id, body)
reenable(req, id, body)
show(req, resp_obj, id)
wsgi_actions = {'os-reenable-replica': 'reenable', 'os-promote-replica': 'promote'}
wsgi_extensions = [('show', None), ('detail', None)]
class VolumeReplicationListAttributeTemplate

Bases: cinder.api.xmlutil.TemplateBuilder

construct()
class Volume_replication(ext_mgr)

Bases: cinder.api.extensions.ExtensionDescriptor

Volume replication management support.

alias = 'os-volume-replication'
get_controller_extensions()
name = 'VolumeReplication'
namespace = 'http://docs.openstack.org/volume/ext/volume_replication/api/v1'
updated = '2014-08-01T00:00:00+00:00'
make_volume(elem)

Previous topic

The cinder.api.contrib.volume_mig_status_attribute Module

Next topic

The cinder.api.contrib.volume_tenant_attribute Module

Project Source

This Page