2013-08-08 10:34:06 -04:00
|
|
|
..
|
|
|
|
Copyright 2010-2011 United States Government as represented by the
|
|
|
|
Administrator of the National Aeronautics and Space Administration.
|
|
|
|
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.
|
|
|
|
|
|
|
|
Developer Guide
|
|
|
|
===============
|
|
|
|
|
2016-01-25 17:12:35 +01:00
|
|
|
In this section you will find information on manila's lower level programming APIs.
|
2013-08-08 10:34:06 -04:00
|
|
|
|
|
|
|
|
|
|
|
Programming HowTos and Tutorials
|
|
|
|
--------------------------------
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 3
|
|
|
|
|
|
|
|
development.environment
|
|
|
|
unit_tests
|
2016-06-01 18:30:12 +03:00
|
|
|
tempest_tests
|
2013-08-08 10:34:06 -04:00
|
|
|
addmethod.openstackapi
|
2016-05-25 22:38:48 -04:00
|
|
|
documenting_your_work
|
2016-04-01 16:41:12 -04:00
|
|
|
adding_release_notes
|
2016-04-25 11:04:52 -05:00
|
|
|
commit_message_tags
|
2013-08-08 10:34:06 -04:00
|
|
|
|
|
|
|
|
2016-01-25 17:12:35 +01:00
|
|
|
Background Concepts for manila
|
2014-06-06 19:30:04 +03:00
|
|
|
------------------------------
|
2013-08-08 10:34:06 -04:00
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 3
|
|
|
|
|
|
|
|
architecture
|
|
|
|
threading
|
2015-07-24 22:02:44 +09:00
|
|
|
i18n
|
2013-08-08 10:34:06 -04:00
|
|
|
rpc
|
2015-10-16 10:26:35 -03:00
|
|
|
driver_requirements
|
2014-12-14 21:42:54 -05:00
|
|
|
pool-aware-manila-scheduler
|
2013-08-08 10:34:06 -04:00
|
|
|
|
|
|
|
Other Resources
|
|
|
|
---------------
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 3
|
|
|
|
|
|
|
|
launchpad
|
|
|
|
gerrit
|
|
|
|
jenkins
|
|
|
|
|
|
|
|
API Reference
|
|
|
|
-------------
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 3
|
|
|
|
|
2014-06-06 19:30:04 +03:00
|
|
|
api
|
2015-05-16 11:59:37 -04:00
|
|
|
api_microversion_dev
|
|
|
|
api_microversion_history
|
2015-08-16 01:23:04 -04:00
|
|
|
experimental_apis
|
2013-08-08 10:34:06 -04:00
|
|
|
|
|
|
|
Module Reference
|
|
|
|
----------------
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 3
|
|
|
|
|
2014-09-22 00:05:35 -04:00
|
|
|
intro
|
2013-08-08 10:34:06 -04:00
|
|
|
services
|
|
|
|
database
|
2013-09-17 12:21:17 +03:00
|
|
|
share
|
2015-07-15 16:20:48 +03:00
|
|
|
share_hooks
|
2013-08-08 10:34:06 -04:00
|
|
|
auth
|
|
|
|
api
|
|
|
|
scheduler
|
|
|
|
fakes
|
2013-09-17 10:57:47 +03:00
|
|
|
manila
|
2015-05-13 10:48:39 +02:00
|
|
|
ganesha
|
2016-03-27 22:01:08 -04:00
|
|
|
share_replication
|
2013-08-08 10:34:06 -04:00
|
|
|
|
2015-08-05 23:41:01 -07:00
|
|
|
Capabilities and Extra-Specs
|
|
|
|
----------------------------
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 3
|
|
|
|
|
|
|
|
capabilities_and_extra_specs
|
2016-02-18 16:52:24 -05:00
|
|
|
export_location_metadata
|
2015-08-05 23:41:01 -07:00
|
|
|
|
2015-07-28 14:31:57 +03:00
|
|
|
Share backends feature support mapping
|
|
|
|
--------------------------------------
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 3
|
|
|
|
|
|
|
|
share_back_ends_feature_support_mapping
|
|
|
|
|
2014-09-19 11:29:24 +03:00
|
|
|
Share backends
|
|
|
|
--------------
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 3
|
|
|
|
|
2016-04-21 14:02:12 +03:00
|
|
|
container_driver
|
2016-02-03 18:24:41 +02:00
|
|
|
zfs_on_linux_driver
|
Manila NetApp cDOT driver refactoring
The Manila cDOT driver is a single file exceeding 1200 lines. It contains
multiple things (driver code, protocol helpers, ZAPI invocation code,
options) that should be split apart to allow for easier maintenance and
readability and add the potential for code sharing when we reintroduce
a 7-mode driver, add a single-SVM cDOT driver, etc.
We recently refactored NetApp's DOT Cinder drivers into a 4-layer
structure (interface, library, client, API) that separates concerns and
achieves the goals set forth above. This commit satisfies a plan to
do the same thing in Manila. The implementation steps are:
1. Update directory structure to match that of the Cinder NetApp drivers
2. Create driver interface shim
3. Move driver code to library (with base & C-mode classes, to allow for
7-mode code sharing later)
4. Move protocol helpers to separate files (already organized by base &
C-mode classes)
5. Split out ZAPI code to client layer (with base & C-mode classes, to
allow for 7-mode code sharing later)
6. Implement NetApp driver factory as in Cinder
7. Implement common NetApp options file as in Cinder
8. Implement cDOT API call optimizations
9. Update all unit tests as needed
Note that this patch appears to treble the total number of code lines.
This is due to the addition of many more unit tests plus a large amount
of fake controller API data to feed the API client tests.
Implements: blueprint netapp-manila-cdot-driver-refactoring
Closes-Bug: #1410317
Partial-Bug: #1396953
Closes-Bug: #1370965
Closes-Bug: #1418690
Closes-Bug: #1418696
Change-Id: I3fc0d09adf84a3708f110a89a7c8c760f4ce3588
2015-01-08 18:01:08 -05:00
|
|
|
netapp_cluster_mode_driver
|
2015-03-04 14:44:55 -08:00
|
|
|
emc_isilon_driver
|
2014-09-24 18:40:40 -04:00
|
|
|
emc_vnx_driver
|
2016-04-15 18:08:45 +08:00
|
|
|
emc_unity_driver
|
2014-09-19 11:29:24 +03:00
|
|
|
generic_driver
|
2015-02-05 16:32:48 +05:30
|
|
|
glusterfs_driver
|
2015-02-26 17:03:06 +05:30
|
|
|
glusterfs_native_driver
|
2015-11-18 13:15:32 +00:00
|
|
|
cephfs_native_driver
|
2015-10-06 04:35:16 -04:00
|
|
|
gpfs_driver
|
2015-01-11 23:41:21 -08:00
|
|
|
huawei_nas_driver
|
2015-03-02 09:55:10 +08:00
|
|
|
hdfs_native_driver
|
2016-08-25 14:43:53 -03:00
|
|
|
hitachi_hnas_driver
|
2015-10-29 17:19:48 -07:00
|
|
|
hpe_3par_driver
|
2016-02-09 14:58:07 -08:00
|
|
|
tegile_driver
|
2013-08-08 10:34:06 -04:00
|
|
|
|
|
|
|
Indices and tables
|
|
|
|
------------------
|
|
|
|
|
|
|
|
* :ref:`genindex`
|
|
|
|
* :ref:`search`
|
|
|
|
|