46565c4995
This patch migrates cinderlib to the new OpenDev code review system as described in these mailing list messages: http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html Change-Id: I53af5de68e021896a2bd940b4a8901dedc1f6a04
1.2 KiB
1.2 KiB
Cinderlib DevStack Plugin
This directory contains the cinderlib DevStack plugin.
To configure cinderlib with DevStack, you will need to enable this plugin by adding one line to the local section of your local.conf file.
To enable the plugin, add a line of the form:
enable_plugin cinderlib <GITURL> [GITREF]
where:
<GITURL> is the URL of a cinderlib repository
[GITREF] is an optional git ref (branch/ref/tag). The default is master.
For example:
enable_plugin cinderlib https://opendev.org/openstack/cinderlib
Another example using Train's stable branch:
enable_plugin cinderlib https://opendev.org/openstack/cinderlib stable/train
The cinderlib DevStack plugin will install cinderlib from Git by
default, but it can be installed from PyPi using the
CINDERLIB_FROM_GIT
configuration option:
CINDERLIB_FROM_GIT=False
The plugin will also generate the code equivalent to the deployed
Cinder's configuration in
$CINDERLIB_SAMPLE_DIR/cinderlib.py
which defaults to the
same directory where the Cinder configuration is saved.
For more information, see the DevStack plugin documentation.