summaryrefslogtreecommitdiffstats
path: root/deploy/config/schemas.py
diff options
context:
space:
mode:
authorAlex Yang <yangyang1@zte.com.cn>2017-05-19 09:19:17 +0800
committerAlex Yang <yangyang1@zte.com.cn>2017-05-25 13:34:38 +0800
commit24e32399eba20d6b613b654b60b1dcc48a857adc (patch)
tree544247100b7428d3e91f693863e52939089779b9 /deploy/config/schemas.py
parentbfacd100e576a50be19447f7c1b6cea2ac55ebd0 (diff)
Use unified vm template files in python deploy script
Change-Id: I386011a35a9be3e4f1d468744a6945360bb2adb3 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
Diffstat (limited to 'deploy/config/schemas.py')
-rw-r--r--deploy/config/schemas.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/deploy/config/schemas.py b/deploy/config/schemas.py
index 7cc2c80e..d2fd7ef6 100644
--- a/deploy/config/schemas.py
+++ b/deploy/config/schemas.py
@@ -27,7 +27,8 @@ hosts_schema = {
'type': 'string',
'enum': ['COMPUTER', 'CONTROLLER_LB', 'CONTROLLER_HA']
}
- }
+ },
+ 'template': {'type': 'string', 'minLength': 1}
}
}
}