Commit Graph

11 Commits

Author SHA1 Message Date
Valeriy Ponomaryov 36b54e660d Port services to core API
Changes:
- Register services API as core API using old link.
- Remove extension code for services.
- Leave rename of API url 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: I06005e8339f16c404d3f1ff9917480603801d44f
2015-11-09 13:54:48 +00:00
Igor Malinovskiy 15fb464e5d Add availability zones support
Rework availability zones support which was inherited from Cinder:
- Add public API extension
- Preserve AZ if creating a share from a snapshot
- Always set AZ in Share API or Share Manager
- Update db schema and create db migration
- Update appropriate unit tests

APIImpact
Partially-Implements: blueprint availability-zones

Change-Id: Iea9fbc3fea5c0128772115c028989121f397e0c5
2015-08-26 18:48:16 +03:00
Igor Malinovskiy a26824818f Remove Limited XML API Support from Manila
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
2015-04-13 15:43:47 +03:00
Valeriy Ponomaryov 63a0504c21 Use oslo_log lib
Module 'log' from oslo-incubator was removed after release of oslo_log library.
So, start using oslo_log, but keep oslo-incubator code yet other common modules
within Manila codebase use it.

Implements bp use-oslo-log-lib

Change-Id: I88224f7c2bd99adb78140dfc3fa73cea437f29cd
2015-02-08 10:42:40 +00:00
Igor Malinovskiy 8752815407 Add service id to information provided by API
Currently API doesn't provide service id. Adding this
information gives the opportunity to identify backends
with same names running on the same host.

Add service id to information returned by index() method
of ServiceController (same as it is implemented in Nova).

Partially implements bp manage-shares

Change-Id: I9128a3f2a98635f35bdd39718344ba4e8e5f325d
2015-01-02 12:45:21 +02:00
Marc Koderer ecf603bc05 Remove vim headers
As discussed in [1] remove all vim headers from manila files.

[1]: http://lists.openstack.org/pipermail/openstack-dev/2013-October/017353.html

Change-Id: I341486c66ffe4dad7db8608fdc66868ceb7ad95a
Closes-Bug: #1229324
2014-10-06 15:00:27 +02:00
Andreas Jaeger cd8dff0725 Flake8: Fix some occurences of F841
Fix F841 in some files:
F841 local variable 'XXX' is assigned to but never used

Also fix in utils.py some occurences of:
H405  multi line docstring summary not separated with an empty line

Change-Id: I272f075d874e2a48da102d9d4025cb93225170e0
Partial-Bug: #1333290
2014-08-23 19:38:34 +02:00
Andreas Jaeger 43aeceff2f Fix H402 hacking rules
Fix and enable hacking test:
H402: one line docstring needs punctuation.

Fix testsuite, the change for manila/tests/api/extensions/foxinsocks.py
needs corresponding changes.

Change-Id: I587cd6771787ca56b1410f86a6ec13380bcc206b
2014-08-19 17:04:54 +02:00
Valeriy Ponomaryov 07c7a181df Refactored service-list filters
Except fixing bug also added more filter options,
that are expected to be added for client.

Change-Id: Ie25d77b8b46914879e0a18189c3cd9c2fa71f860
Closes-Bug: #1309024
2014-04-22 05:45:19 -04:00
Yulia Portnova 84aa8c2dee removed some volume occurances 2013-09-05 11:33:10 +03:00
Yulia Portnova dc4ce932ed Renamed cinder to manila.
Fixed setup.py, fixed bin scripts.
2013-09-02 09:59:07 +03:00