openstack-manuals/doc/training-guides/sources/cinder/drivers.xml
Sean Roberts 7ec78aef2d changes the trunk location for the training guides
was incorrectly placed in trunk/training-guide non-plural, now trunk/training-guides.
also add redirect from trunk/openstack-training and trunk/training-guide to the
new location.

Change-Id: I0648a9604dc6a1d6c7480a90c07871608a8752ca
Closes-Bug: #1255684
2013-11-27 14:41:18 -08:00

88 lines
3.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<section xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xlink="http://www.w3.org/1999/xlink"
version="5.0"
xml:id="drivers">
<title>Drivers</title>
<section xml:id="header">
<title>Header</title>
<para>
..
Copyright (c) 2013 OpenStack Foundation
All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may
not use this file except in compliance with the License. You may obtain
a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations
under the License.
</para>
</section>
<section xml:id="Drivers">
<title>Drivers</title>
<para>
=======
Cinder exposes an API to users to interact with different storage backend
solutions. The following are standards across all drivers for Cinder services
to properly interact with a driver.
</para>
</section>
<section xml:id="Minimum-Features">
<title>Minimum-Features</title>
<para>
----------------
Minimum features are enforced to avoid having a grid of what features are
supported by which drivers and which releases. Cinder Core requires that all
drivers implement the following minimum features.
Havana
------
<itemizedlist>
<listitem><para>Volume Create/Delete</para></listitem>
<listitem><para>Volume Attach/Detach</para></listitem>
<listitem><para>Snapshot Create/Delete</para></listitem>
<listitem><para>Create Volume from Snapshot</para></listitem>
<listitem><para>Get Volume Stats</para></listitem>
<listitem><para>Copy Image to Volume</para></listitem>
<listitem><para>Copy Volume to Image</para></listitem>
<listitem><para>Clone Volume</para></listitem>
</itemizedlist>
</para>
</section>
<section xml:id="Icehouse">
<title>Icehouse</title>
<para>
--------
<itemizedlist>
<listitem><para>All of the above plus</para></listitem>
<listitem><para>Extend Volume</para></listitem>
</itemizedlist>
</para>
</section>
<section xml:id="Volume-Stats">
<title>Volume-Stats</title>
<para>
------------
Volume stats are used by the different schedulers for the drivers to provide
a report on their current state of the backend. The following should be
provided by a driver.
<itemizedlist>
<listitem><para>driver_version</para></listitem>
<listitem><para>free_capacity_gb</para></listitem>
<listitem><para>reserved_percentage</para></listitem>
<listitem><para>storage_protocol</para></listitem>
<listitem><para>total_capacity_gb</para></listitem>
<listitem><para>vendor_name</para></listitem>
<listitem><para>volume_backend_name</para></listitem>
</itemizedlist>
<itemizedlist>
<listitem><para>If the driver is unable to provide a value for free_capacity_gb or</para></listitem>
</itemizedlist>
total_capacity_gb, keywords can be provided instead. Please use 'unknown' if
the array cannot report the value or 'infinite' if the array has no upper
</para>
</section>
</section>