Changes:
- Register share actions API as core API.
- Remove extension code for share actions.
- Leave rename of share actions API 'put' data for future update which
will be done with bump of microversion
after port of all extensions to core API.
Partially implements bp ext-to-core
Change-Id: I7fef38c37ae539473b6e3d2a0758c336b2a7d33c
Implement optional API for shrinking shares:
"manila shrink <share-id> <new-size>"
- Implement tenant-facing API for shrinking shares
- Add appropriate unit tests
Partially implements bp share-shrink-api
Change-Id: I48f8e05793a992b11fb180b0b4dbf43bcffb4229
Implement API for extending shares similar to Cinder:
"manila extend <share-id> <new-size>"
- Implement tenant-facing API for extending shares
- Add appropriate unit tests
Partially implements bp share-extend-api
Change-Id: Ic63ecb1c2881ac9c8b59010efe3a37413f18f28d
Remove the broken XML support presently available in Manila
in order to comply with the general direction among other
OpenStack projects to support JSON only.
Change-Id: Ibb542fa223f7f7d1bf95f3d1f568987ef839cd12
Closes-Bug: #1440782
The access-allow API should accept backslash characters so
that one may enter a Windows domain user, such as MYDOMAIN\Administrator.
This must also be fixed in the client.
Change-Id: I955b67781d4d9361ab79389a8d3a1dc0159d2cd4
Closes-Bug: #1426099
Add new migration which adds 'access_level' column to ShareAccessMapping table.
Change model description for ShareAccessMapping - include new column.
Add an ability to pass 'access_level' param to 'allow_access' method in share API,
pass 'access_level' to driver interface.
Add 'access_level' to return value of 'access_get_all' method.
Add unit and tempest tests.
Implements bp level-of-access-for-shares
Change-Id: I6c295b66261489544fc343948b960e39ec870b5c
oslo.i18n provides the i18n function that were provided by
oslo-incubator's gettextutils module
Import _ where needed, oslo.i18n deprecated the builtin method.
Closes-Bug: #1382187
Change-Id: I12aa1c725aa4bb52a9aa46e9c3d2b303839de48b
This patch adds support for cert based access type in Manila.
It introduces a new 'access_type' called 'cert' in access-allow API.
'access_to' argument passed by the user is the certificate's CN
(common name) to which access is allowed by the backend.
Per the Manila IRC discussions, the cert based trust setup between
instances and backend is out-of-band to Manila. See the log @
http://eavesdrop.openstack.org/meetings/manila/2014/manila.2014-07-24-15.01.log.html
(15:27:19 onwards)
Partially-implements blueprint cert-based-access-type
Change-Id: Ib48430deccece66a740ce05471db70eaadf634b3
Resources related to share access management hasn't xml
serrialisation so it returns incorrect response for xml
requests. XML temptates constructors added to
share_actions.py ato solve this problem
Change-Id: Ie76e768fc696c15dac4f18757ffcfe84335e04ce