Adds configurable marshalling for Compute

* Added marshalling section to Compute config

Change-Id: Ic757e43b9a5c5d00f4668a240e2882af4e51686e
This commit is contained in:
Daryl Walleck
2013-07-22 22:18:39 -05:00
parent 745e1c86cd
commit 9d6f854e5a

View File

@@ -17,6 +17,18 @@ limitations under the License.
from cloudcafe.common.models.configuration import ConfigSectionInterface
class MarshallingConfig(ConfigSectionInterface):
SECTION_NAME = 'marshalling'
@property
def serializer(self):
return self.get("serialize_format")
@property
def deserializer(self):
return self.get("deserialize_format")
class ComputeConfig(ConfigSectionInterface):
SECTION_NAME = 'compute'