24 Commits

Author SHA1 Message Date
xing-yang
d9be8fa62b Move EMC drivers to dell_emc folder
This patch moves EMC drivers under dell_emc folder and
changes vendor name to "Dell EMC".

The base driver remains as EMCShareDriver.

DocImpact
UpgradeImpact
Implements-blueprint: move-emc-driver-to-dell-emc-folder
Change-Id: I799c7fcb59fbe887045fe81beb1e257586ba2f0e
2016-11-14 20:34:26 -05:00
npraveen35
65ccdc2f5c updated positional argument and output
Closes-Bug: #1625261

Change-Id: If1cb20211e928150e23dc43567ce0271a03adcd9
2016-10-13 12:42:09 +00:00
Marc Koderer
78e10bc060 Add neutron driver for binding
Add new neutron plugin which enables port bind actions for network
fabrics. This driver waits until all ports are in state "active"
and sets the binding host flag. Default vNIC type is set to
"baremetal" in order to benefit from the code already in place for
Ironic. It's also possible to switch to 'normal' which assumes an
neutron agent in place.

The feature can be tested using the docker driver.

DocImpact

Co-Authored-By: Daniel Gonzalez <daniel@gonzalez-nothnagel.de>
Partially-Implements: bp manila-hpb-support

Change-Id: I3156d7468d48f84f1b46885780a2426f9b99a387
2016-08-17 15:20:11 +02:00
Goutham Pacha Ravi
e4e61905ed Fix tox errors and warnings in the devref
Formatting errors have crept into the manila devref
and have been accumulating over time. It would
be nice to fix these as part of the devref cleanup.

Closes-Bug: #1583850
Partially-implements: bp improve-manila-developer-docs
Change-Id: I7ec954e720b4b88a21e265cd71ea598ea9a5213b
2016-05-22 10:50:02 -04:00
Jenkins
e9776762a4 Merge "[Doc] Update quick start guide to Mitaka release" 2016-05-19 17:53:07 +00:00
Tin Lam
07b1779605 [Doc] Update quick start guide to Mitaka release
Also, corrected casing in the usage of the project names.

Change-Id: I2077bd27f6f3b8ef84b91c81b08e9d6eba1f68fd
Closes-Bug: #1562086
2016-05-18 19:10:46 -05:00
Goutham Pacha Ravi
f14808a2d1 Add doc for Share Replication
- Document extra_spec and capabilities involved
- Document driver interfaces properly to please Sphinx
- Document scheduler behavior
- Document replica and snapshot workflows
- Fix trailing white spaces in the descriptions of capabilities

Change-Id: I054aebda9618968ab8bd3881ccdd8164e1283682
Closes-Bug: #1544812
2016-04-14 16:11:52 -04:00
binean
dac458af56 TrivialFix: Remove deprecated option 'DEFAULT/verbose'
Option "verbose" from group "DEFAULT" is deprecated for removal.
Its value may be silently ignored in the future.

If this option is not set explicitly, there is no such warning.
Furthermore, the default value of verbose is true, so there is no
need to set this value in config files.

And we use oslo_config.generator to generate a sample file.
We'd better fix the doc not encourage user to set verbose=True.

Change-Id: Ie9a68e511425d34cbce04e416f258db3064d0479
2016-01-22 18:01:21 +08:00
Marc Koderer
3df3c12fda Doc: Remove prerequisite: Ubuntu
There is no single action that is based on debian/ubuntu.
Only pip and Linux tools are used that should be the
same for all platforms.

Trivial-fix
Change-Id: Iecb7474b2bb90ebb4c3965b37ab3a893a8ee1229
2016-01-15 08:20:28 +00:00
daiki kato
85a359c55c Document correction in quick_start.rst
I cannot do name resolution of "controller" in the example,
because I cannot understand that the "controller" is variable.
So I think that the "controller" should be written between % and %.

Change-Id: I133bd85c9e1c3a8f491e97f251f17b86642e3a48
2015-12-11 14:00:36 +09:00
Clinton Knight
af2e103514 Reorganize scheduler and merge code from Oslo incubator
With oslo-incubator going away, we need to pull those classes into
the Manila code base, along with their unit tests.  This presents a
good opportunity to do some long-needed housecleaning.  This commit
does the following:

1. Moves the scheduler classes from openstack.common to manila.
2. Adds the unit tests from olso-incubator into Manila.
3. Removes duplication among the combined scheduler modules.
4. Moves scheduler drivers into a sub-module.
5. Normalizes class and module naming throughout the scheduler.
6. Splits some unit test files so they match the names of the
   modules that they test.
7. Converts usage of mox & oslotest to mock & unittest.
8. Adds a few unit tests to boost coverage levels.

Implements: blueprint reorganize-manila-scheduler
Change-Id: I7aa237e17787e89a95bb198093ea9bc9498279cd
2015-12-01 20:54:17 +00:00
Clinton Knight
dddc068879 Add v2 Manila API path as base for microversions
To prevent a microversioned client from managing a non-microversioned
Manila server, Manila must update its REST endpoints by adding /v2 for
all microversioned APIs.

This commit does the following:

* Add /v2 to the URL map, connected to all the same /v1 API methods
* Renumber the microversion sequence starting from 2.0
* Update the versions API to reflect v2
* Publish the new endpoint to Keystone in the DevStack plug-in
* Update relevant documentation
* Update Tempest tests for microversions
APIImpact
Co-Authored-By: Andrew Kerr <andrew.kerr@netapp.com>
Closes-Bug: 1488624
Change-Id: I56a516b5f81914557dd2465746629431cfd6deac
2015-09-10 13:58:26 +00:00
Jeremy Stanley
ac20f3d363 Switch from MySQL-python to PyMySQL
As discussed in the Liberty Design Summit "Moving apps to Python 3"
cross-project workshop, the way forward in the near future is to
switch to the pure-python PyMySQL library as a default.

https://etherpad.openstack.org/p/liberty-cross-project-python3

Change-Id: Ic5b8afd5968a3ea9cb32069d289f3c59729d776e
2015-05-20 01:03:59 +00:00
Ben Swartzlander
81dac423c4 Update Quickstart guide
I found some problems with the quick start guide.
* Client version was old
* share-network-create syntax was wrong
* Example conf file left out important project/tenant names

Change-Id: I5360b3dd3a51ef4f1823eaa940e51adf3f437b3d
2015-05-12 16:16:31 -04:00
vponomaryov
6ec3f1b782 Add doc for network plugins
Add doc with description of network plugins and examples of their usage.

Change-Id: Ibda70b99219325893c408ab06d2c670f0d422169
2015-05-11 23:56:54 -04:00
vponomaryov
6dd5bfec08 Add doc with basic deployment steps
This doc describes steps that should be performed to install simple Manila
configuration in existing cloud.
It has installation-specific steps that can differ from deployment to
deployment.

Following steps are described here:
- Installation of Manila binaries
- Installation of Manila client
- Registration in Keystone
- Preparation of external files (configs, etc...)
- Basic configuration of Manila
- Setup of DB
- Running services of Manila
- Creation of pilot share

Not covered:
- network plugins configuration
- share drivers-specific configurations to all drivers except Generic driver,
and this one is covered in only small use case.

Change-Id: Ie68d861411358d227b6f7cc3487dffd1e0838e4d
2015-04-27 14:12:07 +03:00
Thomas Bechtold
ef6de3f584 Add Glossary with basic Manila terms
Glossary should be used to describe common terms used in Manila's
documentation. Starting using it for "manila-share", "manila-api" and
"manila-scheduler".

Change-Id: I288332f5b599c9c78d45f0102e4d2a20753af3a6
2015-04-09 14:23:54 +02:00
Thomas Bechtold
026c2debb5 Fix example style in admin doc
The configuration example for multiple backends is visibly wrong.
Use a literal code block (marked as such with "::" and indentation) to
show the example configuration.

Change-Id: If994eddee9e9cf586e4c629d984bc4bf479f4e5b
2015-03-05 10:01:49 +01:00
Ben Swartzlander
063bfde371 Remove obsolete option: enabled_backends
The correct option name is enabled_share_backends.
This change removes the obsolete option and corrects
the documentation to reference the correct name.

Change-Id: I616f6006966f33b261e8ead43bd7757c03797bef
Closes-Bug: #1425237
2015-02-28 19:08:35 +00:00
Clinton Knight
12eeedb639 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-02-10 12:30:24 +00:00
Jenkins
b04450ddb8 Merge "Add admin doc for multiple backends configuration" 2014-10-28 17:33:03 +00:00
Rushil Chugh
6a5de1894f Add admin doc for multiple backends configuration
Add admin doc for how to configure multiple backends in manila.conf.

Change-Id: I3ac59649bab1aad06388aa49bc777fa4f17d94cc
2014-10-28 12:37:52 -04:00
Andreas Jaeger
98161fabb9 Fix doc build
Fix the following that shows up when running "python setup.py
build_sphinx":
manila/doc/source/adminref/index.rst:16:
WARNING: toctree contains reference to nonexisting document
u'adminref/launchpad'
manila/doc/source/adminref/index.rst:16:
WARNING: toctree contains reference to nonexisting document
u'adminref/gerrit'
manila/doc/source/adminref/index.rst:16:
WARNING: toctree contains reference to nonexisting document
u'adminref/jenkins'

checking consistency...
manila/doc/source/adminref/index.rst::
WARNING: document isn't included in any toctree

Cleanup adminref/index.rst file and remove content that is duplicated
from the devref/index.rst and not relevant here.

Change-Id: I57accea0f041ac59e507e4cf6461d2239f60b3b7
2014-10-14 21:16:24 +02:00
Rushil Chugh
1dfe057fcd Add Admin doc for an Introduction to Manila
Add doc for an Introduction to Manila dealing with the fundamentals and basic
terminology used with respect to Manila from an Admin perspective.
Also, create a directory for an Admin ref along with a sample index.rst.

Change-Id: I1847f291750227927a747b5ea224a6861310a529
2014-10-13 09:23:24 -04:00