Merge "Add name into dummy engine schema and make it required"

This commit is contained in:
Jenkins
2014-01-26 15:36:16 +00:00
committed by Gerrit Code Review

View File

@@ -37,6 +37,7 @@ class DummyEngine(engine.EngineFactory):
CONFIG_SCHEMA = { CONFIG_SCHEMA = {
'type': 'object', 'type': 'object',
'properties': { 'properties': {
'name': {'type': 'string'},
'endpoint': { 'endpoint': {
'type': 'object', 'type': 'object',
'properties': { 'properties': {
@@ -49,7 +50,7 @@ class DummyEngine(engine.EngineFactory):
'tenant_name'], 'tenant_name'],
}, },
}, },
'required': ['endpoint'], 'required': ['name', 'endpoint'],
} }
def deploy(self): def deploy(self):