Add ip and mac valid check functionality 53/20853/8
authorHerry Huang <huangxiangyu5@huawei.com>
Mon, 12 Sep 2016 11:03:40 +0000 (19:03 +0800)
committerHerry Huang <huangxiangyu5@huawei.com>
Fri, 23 Sep 2016 11:45:46 +0000 (19:45 +0800)
commit7e9120d10db671b65df70f8433064756a34517e4
tree7da8e329602ec20571f01b5bfe54c62528779305
parent239a72670e7ea9fcfdfa97c0b508581e474ce790
Add ip and mac valid check functionality

Add function check_input_para in /deploy/launch.sh to check
whether there is invalid address in DHA and NETWORK file after
function process_input_para is called.

Check_input_para is defined in /deploy/deploy_parameter.sh and
calls check_valid.py in /util. Exit installation when invalid
address or format error is found.

JIRA:COMPASS-480

Change-Id: Ib01c368db6b48cbded0045a2819d895c980c2b1b
Signed-off-by: Herry Huang <huangxiangyu5@huawei.com>
deploy/deploy_parameter.sh
deploy/launch.sh
util/check_valid.py [new file with mode: 0644]