181 Commits

Author SHA1 Message Date
Clinton Knight
d4a379d083 Implement share revert to snapshot
This commit adds the ability for Manila to revert a
share to the latest available snapshot.

The feature is implemented in the LVM driver, for
testing purposes.

APIImpact
DocImpact
Co-Authored-By: Ben Swartzlander <ben@swartzlander.org>
Co-Authored-By: Andrew Kerr <andrew.kerr@netapp.com>
Implements: blueprint manila-share-revert-to-snapshot
Change-Id: Id497e13070e0003db2db951526a52de6c2182cca
2017-01-17 15:06:01 -05:00
Tom Barron
b213a25c44 Remove NovaNetworkPlugin
Nova network was deprecated in Newton and is no longer supported for
regular deployments in Ocata [1].

Complete the removal of nova network support from manila begun in [2]
by removing support for ''nova_net_id`` in the share networks API,
by removing the corresponding column from the share networks DB model,
and by removing the nova network plugins themselves.  Unit tests for
share network api views were refactored to remove redundancy while
extending coverage to the new microversion introduced with this patch
and maintaining full coverage of earlier microversions.

APIImpact
DocImpact
UpgradeImpact

Partially-implements: bp remove-nova-net-plugin

[1] http://docs.openstack.org/releasenotes/nova/unreleased.html
[2] I846b760fa7c01f7f86768399a2bfad9ced7e57cd

Change-Id: I8b9a559fbea61979f01737ed1dc272276c4f1269
2017-01-13 08:11:16 -05:00
Jenkins
600f9d5f8e Merge "Add the ability to check the tenant quota in detail" 2017-01-07 06:35:45 +00:00
Jenkins
860bf20430 Merge "[api-ref] Refactor share instance export locations API documentation" 2017-01-05 22:47:02 +00:00
Cao Xuan Hoang
a4c2cad1d4 Remove trailing backtick
This patch is removing a trailing backtick (`) from the
api-ref/source/services.inc document.

Change-Id: Ibb02536e02703e2463e0475c5c13e431e1ec048f
2017-01-04 13:40:52 +07:00
Ha Van Tu
4fc3524bf8 [api-ref] Refactor share instance export locations API documentation
This patch makes share instance export locations API documentation
more readable and maintainable.

Change-Id: I4b4771bbe9f2689162c84f085cae159f364ecb20
2017-01-03 09:11:39 +07:00
Jenkins
122446d63b Merge "[api-ref] Refactor share actions API documentation" 2016-12-29 17:47:25 +00:00
Ha Van Tu
46584eeec9 [api-ref] Refactor share actions API documentation
This patch makes share actions API documentation be more readable
and maintainable.

Change-Id: I388bdc4d9f22eda50fbede1106afebba6ceb355f
2016-12-28 14:24:16 +07:00
Ha Van Tu
a42c08e797 [api-ref] Refactor share export location API documentation
This patch make share export location documentation be readable
and maintainable.

Change-Id: I9a43ef525b8c16941df99fe54c0d5483dcb2ed4b
2016-12-28 12:18:24 +07:00
zhongjun
7275aafc9e Add the ability to check the tenant quota in detail
Now the quota-set API only returned single attribute
'limit', this change intends to add a new API
'quota-sets/{project_id}/detail' to retrieve more info
with attributes 'in_use', 'limit', 'reserved'.

APIImpact
Implements: blueprint admin-check-tenant-quota-usage
Depends-On: Ie0eb7d32b7b032ffdb7f7dd47f68841211e7d7a6
Change-Id: I499b099a3ba7704a2108cd15f80ff507e24b7cd0
2016-12-28 10:32:24 +08:00
zhongjun
d5643c75f5 Add share_type filter support to pool_list
Administrators intend to get the pool's information filtered
by share type(actually filtered by share_type's *extra_spec*)
more directly.
The blueprint is to add a filter key 'share_type' to cover
this situation.

APIImpact
Implements: blueprint pool-list-by-share-type
Change-Id: Ifd64bb84d03a02aa0a118cc42e1d1b373c439884
2016-12-09 09:59:34 +08:00
Jenkins
8ed0a25f36 Merge "[api-ref] Refactor Manila availability-zones API" 2016-12-07 17:10:32 +00:00
Ha Van Tu
6e906bacd9 [api-ref] Refactor Manila scheduler stats API
This patch makes the scheduler stats API reference more readable
and maintainable.

Change-Id: I78aeb7e273abc86922de2e69e4c6b0a2e75d0c1c
2016-11-29 10:19:37 +07:00
Jenkins
5328719185 Merge "[api-ref] Refactor Manila snapshot API" 2016-11-25 13:45:38 +00:00
melissaml
319f016fde Fix a typo in parameters.yaml
Removed redundant 'is'.

TrivialFix

Change-Id: Iae1e3c1914a0439b93db62e8c86e25c8b3980c15
2016-10-14 22:16:11 +08:00
Ha Van Tu
b09faaf43e [api-ref] Refactor Manila snapshot API
This patch makes the Manila snapshot API reference more readable
and maintainable.

Change-Id: If34bfb99852bcca61b65edc14ec98c859e995344
2016-10-09 15:00:53 -04:00
Jenkins
360be9607e Merge "[api-ref] Refactor Manila security service API" 2016-09-29 21:45:10 +00:00
Jenkins
a2b79e1d5f Merge "[api-ref] Remove temporary block in conf.py" 2016-09-29 11:00:53 +00:00
Ha Van Tu
9152425f2f [api-ref] Refactor Manila security service API
This patch make security service api reference to be more readable
and maintainable.

Change-Id: I802f09baee7dda91999983947aca8406a57d445e
2016-09-28 09:30:10 +07:00
Ha Van Tu
945aa1826f [api-ref] Refactor Manila availability-zones API
This patch makes availability-zones API be more readable and
maintainable.

Change-Id: I622b2470996b0e43cf9dcefdf72172759b3daec8
2016-09-23 02:31:10 +00:00
Ha Van Tu
02a0cb8b3e [api-ref] Refactor Manila quota set API
This patch refactors Manila quota set API to make it be readable
and maintainable.

Change-Id: I0a275b3ab4dc8e7ba5675562599bd853f03fa30e
2016-09-21 11:04:59 +00:00
Nguyen Phuong An
583aea4949 [api-ref] Remove temporary block in conf.py
The os-api-ref 1.0.0 is out. We can remove the support to older version
now.

Change-Id: I9974796c2e2ccab5d2f4f651d082632de040f3c4
Reference: Ia6245d502fde38cd4d63aa4a786b6296b22a37a1
2016-09-21 08:26:31 +00:00
Ha Van Tu
5e6eef7a60 [api-ref] Refactor limits and services API
This patch refactors limits and services API to make it clear to
understand and maintain.

Change-Id: I0e214f59e193f861e4959dfef951854bea530b7b
2016-09-15 11:02:08 +07:00
Ha Van Tu
0dc2fdc1da [api-ref] Refactor manila extension API
This patch refactors manila extension API to make it clear
to understand and maintain.

Change-Id: I35b8b135acc02238daf7c2fb9f42bf276806f7d8
2016-09-15 11:01:45 +07:00
Ha Van Tu
8eaf23982c [api-ref] Refactor consistency group API
This patch refactors consistency group API to make it clear to
understand and maintain.

Change-Id: I5b48f354cb32d2606e6eaf2c01c49a333921ff4f
2016-09-15 11:00:49 +07:00
Nguyen Phuong An
8118e24826 Fix typo in response status code
This patch fixes a typo error in response status code of
api-ref/source/quota-sets.inc

TrivialFix

Change-Id: I691c80b99b7d86278259fddff59d6aaf26d7bdd5
2016-09-09 10:04:58 +07:00
Ha Van Tu
24a160907f Config logABug feature for Manila api-ref
Currently, Manila api-ref is configured with logABug feature.
When users click "Report bug" button, it leads to "openstack-manuals"
which is default. We should change it to "manila".

Change-Id: I15d9ce4cc6f9648f49f6ad66de766aa55cab6cbb
2016-09-08 10:25:03 +07:00
Jenkins
addb65225d Merge "add access_key to share_access_map" 2016-08-24 17:32:36 +00:00
Ramana Raja
0d4f2ee4e0 add access_key to share_access_map
For backends with internal authentication system,
e.g. Ceph, that return ``access_key`` (credential) for
client identities that are granted share access:

* Retrieve ``access_key`` as return value of driver's
  update_access()

* Store ``access_key`` in ShareAccessMapping model

* Expose it in access_list API

APIImpact

DocImpact

Partially implements bp auth-access-keys

Co-Authored-By: John Spray <jspray@redhat.com>

Change-Id: I486064f117cf3001dba7735ca92a7d89aee3ce5b
2016-08-22 20:41:19 +05:30
Graham Hayes
8210bf5310 Get ready for os-api-ref sphinx theme change
Change-Id: I1c13e4d92d0629361affb5dcd8ae793b33b33c9b
2016-08-19 16:44:03 +01:00
Daniel Gonzalez
3e86e3deac Migrate API reference into tree
The API Documentation team has requires [1] that
projects maintain their api-reference in-tree and
build it to the developer.openstack.org website.

This version of the API reference uses os-api-ref
and compiles API documentation close to that of
the OpenStack compute service (nova).

Co-Authored-By: Goutham Pacha Ravi <gouthamr@netapp.com>

[0] http://lists.openstack.org/pipermail/openstack-dev/2016-May/093765.html

Implements: bp move-manila-api-reference-in-tree
Change-Id: I67bb3354162d6e0e00fa2788edde864cc14920ee
2016-07-25 15:55:00 +00:00