sgs=`nova server-group-list | grep yao-test1_199 | awk -F ' ' '{print $2}'`
for i in $sgs; do nova server-group-delete $i;done