10 Commits

Author SHA1 Message Date
Jenkins
488789adc9 Merge "Decentralized configuration." 2013-03-13 20:36:40 +00:00
Zhihao Yuan
38d72dffd0 Decentralized configuration.
The configuration is based on oslo-config, while this module lets
each module which want to be configured define the options it need
by itself, and get the limited access to those config variables.

Implements blueprint config-module

Change-Id: Iffbb859da0cb5fb8434bc439320bf6c20f9d39b5
2013-03-13 14:22:37 -04:00
Flaper Fesp
64cfda6fa8 Use issublcass instead of isinstance
StorageBaseTest should check for issubclass instead of isinstance since
the driver / controller instances are not yet created at that time.

Fixes bug 1154690

Change-Id: I12a76305045cd7dfb8c98ece97e9e6c02e0b7622
2013-03-13 17:51:43 +01:00
Flaper Fesp
665ae50599 Implements base classes for storage controllers
This patch follows (or should follow) the specs written in the v1
specification: https://wiki.openstack.org/wiki/Marconi/specs/api/v1

This patch deletes driver_base.py and adds base.py in marconi/storage
package.

Note: Most of this implementations will be tested in further patches
since there's no good way to test these base classes.

Implements blueprint storage-base

Change-Id: Iefa6374635fcf9dd9fc60417d8ed5c306bbc619a
2013-03-13 13:59:34 +01:00
Flaper Fesp
420c1e046c Added hacking file
As part of adding the hacking file, this patch adds some files taken
from nova project that will help with the coding standards validation.

Tox now uses run_pep8 for the pep8 test

Change-Id: I0784390a0b13c9694e358563d43e5442592a785e
2013-03-07 18:07:53 +01:00
Zhihao Yuan
c9a6762ac7 Move marconi.common.Kernel to marconi.Kernel.
marconi.common should contain commonly importable utilities.
But Kernel depends on things outside marconi.common, which
results in a recursive dependency if they import anything under
marconi.common.

Change-Id: Ibfeb5abe9fc21a8bcf170d1eddceac44e5abf844
2013-03-06 10:26:02 -05:00
Kurt Griffiths
ef5d1f9480 doc: Make file headings consistent, and update docstrings per the proposed HACKING guide
Change-Id: I593bc9e6cff83307dca3d87f052872a7819d6a0b
2013-03-05 16:45:52 -05:00
Kurt Griffiths
8e72773c65 feat(Kernel): Demonstrate wiring up endpoints
Add just enough code to show how the kernel might use endpoint controllers
as the uniform interface between transport and storage drivers.

Change-Id: Id359986a4e45850266e64b06dae4544b52c8f93c
Implements: blueprint endpoints
2013-02-27 14:06:34 +01:00
Kurt Griffiths
0651435b88 test: Add test suite utility class and sample conf
Change-Id: Ic4f0cbcafc1c81d6a1e32d6300f33854febca2fe
2013-02-26 19:40:42 +01:00
Monty Taylor
e0600c2d02 Initial import.
Change-Id: I00a644dabdd01eb1e09a42a8d326cacdaca76f9f
2012-11-01 09:52:20 +01:00