Expand service validation to work for Nova cells

In order to run the services tests on Nova cells the validation schema
needs to be adapted to handle the scoped region[!child]@<service_id>
format that cells uses.

Change-Id: I530f6635393af9310070cbb36b6e51eed1979ddb
This commit is contained in:
Andrew Laski 2014-11-25 14:39:48 -05:00
parent 2995fb695b
commit 8d35679936

View File

@ -22,7 +22,8 @@ list_services = {
'items': {
'type': 'object',
'properties': {
'id': {'type': 'integer'},
'id': {'type': ['integer', 'string'],
'pattern': '^[a-zA-Z!]*@[0-9]+$'},
'zone': {'type': 'string'},
'host': {'type': 'string'},
'state': {'type': 'string'},