
Implement 'manage share' feature in ZFSonLinux share driver. Prerequisites: - share being managed should exist. - share being managed should not be part of any replication relations. - share being managed should not have redefined mountpoint. Details: - share being managed will be renamed by share driver based on taken ID. - share being managed will get "quota" attribute set based on provided value in API (--driver_options size=5) or it will set quota to nearest bigger rounded integer of already used space (2,4 -> 3, 3.6 -> 4). Implements blueprint zfsonlinux-manage-share DocImpact Change-Id: I03eab5e02835fe660dde0020601c02c0136bddeb
Building the docs
Dependencies
- Sphinx
-
You'll need sphinx (the python one) and if you are using the virtualenv you'll need to install it in the virtualenv specifically so that it can load the manila modules.
pip install Sphinx
- Graphviz
-
Some of the diagrams are generated using the
dot
language from Graphviz.sudo apt-get install graphviz
Use make
Just type make:
% make
Look in the Makefile for more targets.
Manually
Generate the code.rst file so that Sphinx will pull in our docstrings:
% ./generate_autodoc_index.sh > source/code.rst
Run `sphinx_build`:
% sphinx-build -b html source build/html
The docs have been built
Check out the build directory to find them. Yay!