add testcase lsdef_nics

This commit is contained in:
ligc 2013-08-08 16:20:07 +08:00
parent fbd772e8cd
commit 839c6d85a3

View File

@ -196,3 +196,14 @@ cmd:lsdef -t node -h -i status
check:rc==0
check:output=~status
end
start:lsdef_nics
description:lsdef --nics
cmd:mkdef -t node -o testnode1 groups=all mgt=ipmi nicips.eth0=1.1.1.1
check:rc==0
cmd:lsdef testnode1 --nics
check:rc==0
check:output=~1.1.1.1
cmd:rmdef testnode1
check:rc==0
end