Commit 9cb3ec8d authored by Leigh B. Stoller's avatar Leigh B. Stoller

Do not allow virtnodes in lans, since assign cannot handle the

combination of lans and trivial links.
parent 259951c1
......@@ -448,6 +448,12 @@ Lan instproc updatedb {DB} {
var_import ::GLOBALS::eid
foreach nodeport $nodelist {
set node [lindex $nodeport 0]
set isvirt [$node set isvirt]
if {$isvirt} {
perror "Virtual nodes ($node) may not be in lans yet!"
return
}
set linkqueue $linkq($nodeport)
set limit_ [$linkqueue set limit_]
set maxthresh_ [$linkqueue set maxthresh_]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment