change the type of ntp_server

change the type of ntp_server from ip to general so that can use domain name

Change-Id: Id5b1b7050f2d0dc755bccf0126f17a7abe864b9e
Signed-off-by: baigk <baiguoku@huawei.com>
This commit is contained in:
baigk 2015-12-22 13:14:04 +08:00
parent 9d6335ade0
commit 503670ffe4
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ METADATA = {
'ntp_server': {
'_self': {
'is_required': True,
'field': 'ip',
'field': 'general',
'default_callback': default_ntp_server,
'options_callback': ntp_server_options,
'mapping_to': 'ntp_server'