Commit fc68fee4 authored by Kirk Webb's avatar Kirk Webb

Rename induced san hosts something more interesting.

parent 9defdfa0
......@@ -121,12 +121,13 @@ Blockstore instproc get_node {} {
}
# Allocate parent host and bind to it.
set node [$sim node]
$node set subnodehost 1
$node set subnodechild $self
set hname "sanhost-${self}"
uplevel "#0" "set $hname [$sim node]"
$hname set subnodehost 1
$hname set subnodechild $self
# Return parent node object.
return $node
return $hname
}
# updatedb DB
......
......@@ -562,15 +562,10 @@ proc parse_bw {bspec {islink 1}} {
# Special cases
#
# "*" means let assign pick the bandwidth. Make it zero.
#
# "~" means "best effort" bandwidth - not conservatively allocated.
# Used when links may be multiplexed onto hosts, where the hosts
# should not attempt to guarantee bandwidth. Make this case -1.
#
if {"$bspec" == "*"} {
if {"$bspec" == "*" || "$bspec" == "~"} {
return 0
} elseif {"$bspec" == "~"} {
return -1
}
# Default to bytes
......
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