177 Commits

Author SHA1 Message Date
Maurice Schreiber
192b4d128d NetApp ONTAP: allow multiple DNS IPs
The security service dns_ip parameter also takes a list of
comma separated DNS IPs for vserver dns configuration.
Allows HA setup, where DNS can be down for maintenance.

Change-Id: I1da99d0b44778d3ccaaff5871dfcb175b8cdbc02
2019-01-30 16:55:28 +00:00
Goutham Pacha Ravi
53918308c8 Separate APIs for share & replica export locations
Users of replicated shares expect to see primary
export locations when viewing information regarding
the share. Because we collate exports of all replicas
within the export locations APIs, it becomes hard for
users to discern which exports belong to the primary
share. For secondary replicas, users would also need
additional information (availability zone, state of the
replication) to work with.

Introduce micro-version 2.47 from which the export locations
API (GET /v2/{tenant_id}/shares/{share_id}/export_locations)
no longer provides export locations of non-active share
replicas. A new API has been introduced to provide export
location details for share replicas, both active and non-active.
(GET /v2/{tenant_id}/share-replicas/{share_replica_id}/export-locations)

The new API provides the replica's state and availability zone
in addition to the export location information.

APIImpact
Implements: bp export-locations-az
Change-Id: I0a1d9dd00b4c13ac01988e30ca2b7d7ce4a747d1
2019-01-07 01:51:16 -08:00
Maurice Schreiber
a84423a1be
[api-ref] Added share servers show and corrected path to details
Change-Id: Idc0fbd9f786b50dd4899258337aa5bcb61c4ab0a
Closes-Bug: #1795604
2018-11-20 11:34:27 +01:00
wangqiangbj
515d61d46f adjust response code in 'service.inc'
TrivialFix
Change-Id: I7c164b1942a485e1206f76d8700135cbb888303c
2018-08-16 08:48:33 +08:00
Zuul
65076ffba8 Merge "Api-ref: Add min_version in the API parameters" 2018-08-04 02:03:25 +00:00
Zuul
3abfbef591 Merge "Retrieve is_default value to fix empty display in CLI" 2018-07-24 19:31:55 +00:00
Zuul
f8360539c0 Merge "Api-ref: change fix `extra-spec-key` key in path" 2018-07-24 18:39:56 +00:00
lijunbo
fb7ac9b8bf Api-ref: Add min_version in the API parameters
TrivialFix:

Change-Id: Idc29bb1744e4760f72be706c03eb6451465d5d59
Closes-bug: #1614955
2018-07-24 23:15:46 +08:00
lijunbo
cf677f2603 Retrieve is_default value to fix empty display in CLI
This bug is from path[1], when we use manila client to create
a share type or share group type, the is_default value is always
empty, so add the is_default value when we create each share type
or share group type.

Closes-bug: #1743941
[1] Ib264d8422fe57701f990cbbf7ea5d1e90b8b0008

Change-Id: Ia8bcb632591fc0b5438847b22ec59c2039ecf5f1
2018-07-24 12:00:58 +08:00
Zuul
c204daa5ee Merge "Api-ref: Add missing parameter in the version api" 2018-07-17 19:09:25 +00:00
junboli
7b8e6af033 Api-ref: Add missing parameter in the version api
Add missing updated parameter in the version api.
besides, change media-types parameter in body and
required.

Change-Id: Ib0123f16a969ecc98f5dccd2a03eab621e02d8c8
2018-07-17 15:36:41 +00:00
Goutham Pacha Ravi
2f42c984e5 Allow setting test API microversions in gate tests
Add MANILA_TEMPEST_MIN_API_MICROVERSION and
MANILA_TEMPEST_MAX_API_MICROVERSION to the ci
post_test_hook. These options default to
the values specified in the api_version_request.py
file.

Also add the API Version History to the api-ref.

Change-Id: I21b3a705986216afb0ce73ca1f92571dda757408
Closes-Bug: #1781671
2018-07-16 08:41:03 -07:00
junboli
d3d7e4c69a Api-ref: change fix `extra-spec-key` key in path
TrivialFix:
In the API Unset an extra spec:
/v2/{tenant_id}/types/{share_type_id}/extra_specs/{extra-spec-key}
the key extra-spec-key should be in path, but it is in body, this
is to fix this.

Change-Id: Ia6f01a6bca369ca4b922a45e8e6ece4f583528c7
2018-07-16 14:10:10 +08:00
Zuul
32f7688bce Merge "API: Add `all_tenants` parameter" 2018-06-21 13:34:28 +00:00
Zuul
361ba5eac7 Merge "[API] Doc snapshot and share net deletion preconditions" 2018-06-21 03:46:15 +00:00
shaoxj
cdf1470879 API: Add `all_tenants` parameter
When administrarots query snapshots, share networks, or security
services, they may set ``all_tenants`` to true to get records for all
OpenStack projects.

Change-Id: Ia208dec102295f1021ce5c4da88397e7946c8dba
2018-06-20 07:00:39 +00:00
Zuul
d7bbfce472 Merge "[Doc] Add 'gateway' and 'mtu' in share network api-ref" 2018-06-20 06:18:40 +00:00
shaoxj
ec629ec0b5 [API] Doc snapshot and share net deletion preconditions
1. Share snapshot state must be ``available`` or ``error``.
2. Share network must not be in use by any shares or share groups.

Change-Id: I4bc81ed3677c8d65059b47b22aec2edbecf2c55f
2018-06-18 19:55:49 +00:00
shaoxj
901308d12d Document the preconditions for deleting a share
Document both the share status that allows deletion and
dependencies of the share that prevent share deletion.

Change-Id: I5f076112e66a2d50394639dce50390d8cfb4922b
2018-06-12 17:31:45 +00:00
zhiguo.li
7ebbf8dd75 [Doc] Add 'gateway' and 'mtu' in share network api-ref
The attributes "gateway" and "mtu" are already added in Shared File
Systems API since version 2.18 and 2.20. This patch provides description
about them in response parameters, and adds them to response examples.

Change-Id: I55e3a04453a9edd20b5ca4e1627ae8c3ae5601cc
2018-06-09 22:21:43 +00:00
Maurice Schreiber
1bd9a1e8f4 Add ou to security service
Allows to configure in which organizational unit the share ends up

APIImpact

Change-Id: I70fd4e0ea7898e85dff59a927b3cb086d5e408ac
Needed-By: I77d87c8e6f98054f2f02bc4202c14314ff321964
Partial-Bug: #1696669
2018-04-24 15:04:40 -07:00
Zuul
fdd6f34599 Merge "Support filter search for share type API" 2018-04-21 10:12:28 +00:00
junboli
d80596b508 Support filter search for share type API
Add support for extra_specs filter search in type list API.

Change-Id: I43fbef2a32489f2064586a3674eb34329f3503c4
Implements: blueprint support-filter-search-for-share-type
2018-03-25 18:19:38 +08:00
Zuul
b62af449ae Merge "Move openstackdocstheme to extensions in api-ref" 2018-03-25 03:31:47 +00:00
junboli
acf8c99e9b Use rest_status_code for api-ref response codes
Rather than our freeform way of listing response codes in our
api-ref, we should be using the os-api-ref extension option to
get nicely formatted response code listings.

https://docs.openstack.org/os-api-ref/latest/usage.html#rest-status-code

Change-Id: Ibafafa2f9c3b301b5cdd9b1cb3b8b6d678faa731
2018-03-24 01:07:16 +00:00
junboli
cc4afb9aad Add docs for quota_class_set API
We have implemented quota-classes-show and quota-classes-update
api, but no api-ref is documented. This patch is to add api-ref
in the docs.

Change-Id: I275ee4fe048607a49368c4f985c055ab3a3bbfb6
Closes-bug: #1751683
2018-02-27 10:10:40 +08:00
leiyashuai
8639d9b69f Move openstackdocstheme to extensions in api-ref
Move openstackdocstheme to extensions. According to the guide below:
https://docs.openstack.org/openstackdocstheme/latest/

Change-Id: Iba6c11d432cdfc397f2cd2165c1fae7e7e0813fc
2018-02-12 17:17:25 +08:00
Zuul
06501aef03 Merge "Fix version details API does not return 200 OK" 2018-02-01 18:14:55 +00:00
junboli
4073c5b3e4 DocImpact: Add MapR-FS native driver
Change-Id: I5dfeb0e9e914d658ab7f76d7695402ab2b1bd829
Closes-Bug: #1657002
2018-01-16 04:38:17 +00:00
lijunbo
cfd4dd00d1 Fix version details API does not return 200 OK
When use version details api http://ip:8786/v2 to get api details,
it does not return 200 OK, and the return value is empty.

This change is to correct the version details API URL.

Change-Id: I1cde2a35dc84ccaac15d6963f453fd793c54fda4
Closes-Bug: #1742336
2018-01-10 04:22:28 +00:00
junboli
ee11996bf9 Api-ref: add show details for share type
Add missing show details for a specified share type
in api ref.

Change-Id: Iffa5cdcb86d9d9d34950fd7e7365b1608f8716bf
2017-12-31 16:12:06 +08:00
junboli
26808c59c2 Fix incorrect api ref parameters
fix incorrect ``snapshot_id``, ``project_id``
and ``status``, besides, remove some unused
parameters.

Change-Id: I6d9e359957bf459032e0796a52879cab7c4caaa5
2017-12-26 21:23:03 +08:00
Zuul
99fed712e5 Merge "Add count info in /shares and /shares/detail API doc" 2017-12-14 19:14:50 +00:00
zhongjun
506aa1cf9c Add count info in /shares and /shares/detail API doc
Added support for display count info
in share list and detail APIs Doc.

Depends-On: I12c41a46140b04f26565d8934e0326480477c612
Partially-Implements bp add-amount-info-in-list-api
Change-Id: I25c41a46190b04f26565d8934e0326480477c613
2017-12-11 01:04:57 +00:00
junboli
17ed3e0455 Update docs to fix broken links
We still left lots of broken links in the docs, this change is
to fix them.

Change-Id: I4965489974ffa24e62f04fc1c995d1c7017e1291
2017-12-04 16:58:47 +08:00
zhongjun
470e76d6b3 Add 'description' in share type API Doc
Add attr 'description' in list/create share
type API Doc.

Depends-On: I39705acbfca812b66d74fbd2fee228a7a85bc2d8
Change-Id: I49705acbfca812b66d74fbd2fee228a7a85bc2d7
Partial-Bug: #1724183
2017-11-23 11:13:57 +08:00
junboli
d88ab3cfa2 [Api-ref] update parameters for share types api
1. update share types params
2. correct sample json datas

Closes-bug: #1733753
Change-Id: I804b657cf7b189c25f09864e79a74f76a99252bb
2017-11-22 16:01:09 +00:00
junboli
6985c77ee5 Api ref contains incorrect parameters.
Things like following is in api-ref, need to be correct.
  1. use share_id and remove share_id_4
  2. export_location_id_path param is required
  3. security_service_id is required not optional
This patch is to fix these.

Change-Id: Ic811095b85a0460d3c6bedc9526d8ed64248de4c
Closes-bug: #1719543
2017-11-17 13:26:08 +08:00
Zuul
3f85754e0a Merge "[Doc] Fix parameters in share network api-ref" 2017-11-13 00:29:21 +00:00
zhongjun
cd77c128b0 Add API document for share group [3/3]
This patch adds a new API document for share group snapshot.

Partial-Bug: 1724716
Change-Id: I832d264eb220027aad32937dc64a6ca428ee55a4
2017-11-02 16:38:16 +00:00
zhongjun
3da1c7d4fb Add API document for share group [2/3]
This patch adds a new API document for share group

Partial-Bug: 1724716
Change-Id: I852d264eb120027aad32997dc64a6ca128ee55a3
2017-11-02 16:35:11 +00:00
zhongjun
9f2f05ffc4 Add API document for share group [1/3]
This patch adds a new API document for share group type.

Partial-Bug: 1724716
Change-Id: I852d264eb120027aad32997dc64a6ca428ee55a4
2017-10-31 10:06:34 +00:00
zhongjun
3dba4d4715 [Doc] Fix parameters in share network api-ref
* Change description parameter 'required' attr value
  from true to false.
* Add neutron_net_id and neutron_subnet_id in share
  network update API request parameter.

Closes-bug: #1727145
Change-Id: Iedde7a2a674a60e760b47d5eb2973f42d79223d1
2017-10-25 03:45:49 +00:00
Zuul
c86e7658af Merge "[Doc] Add share group in doc" 2017-10-24 15:24:25 +00:00
zhongjun
0d4a317adb [Doc] Add share group in doc
Separate add share group description in other API or CLI echo in
this patch from add share group itself description in other patches:
Added share group iteslf in api-ref [1]
Added share api admin doc [2]
Added share group in driver requirements [3]

[1] I852d264eb120027aad32997dc64a6ca428ee55a4
[2] Ia0cc534e0bfb2ca5e495e575237e9911c746691b
[3] Iedde5a9a774a60e760b47d5eb2973f42d79227d4

Change-Id: Iedde5a9a774a60e760b47d5eb2973f42d79127d3
2017-09-28 14:49:29 +00:00
Jenkins
56ca6db3b4 Merge "[Api-ref] Remove unused parameter extra_specs_2 in parameters.yaml" 2017-09-21 08:40:35 +00:00
Jenkins
a035da08b4 Merge "[Doc] Delete consistency group in doc" 2017-09-20 03:42:40 +00:00
junboli
90e5c8a1d7 Switch base to latest in link address
Using latest doc version instead of ocata version.


Change-Id: Ia71473a80f52b4839d677de6bd1f0202241f4048
2017-09-19 12:52:49 +00:00
zhongjun
804b81226c [Doc] Delete consistency group in doc
Since consistency group APIs were removed in 2.31 API version.
Now we delete consistency group description in docs.

Change-Id: I6499ae6c98d9489a257bb20febd6c1ddb9e17b12
2017-09-18 11:29:57 +08:00
Jenkins
0e3ad3917d Merge "[doc] Move Experimental APIs description to a common place" 2017-09-18 03:04:15 +00:00