Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-stable
Commits
42d28208
Commit
42d28208
authored
Dec 07, 2012
by
Mike Hibler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Accept the magic Emulab-specific bandwidth tokens.
parent
f2437487
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
tbsetup/nsverify/tb_compat.tcl
tbsetup/nsverify/tb_compat.tcl
+6
-2
No files found.
tbsetup/nsverify/tb_compat.tcl
View file @
42d28208
# -*- tcl -*-
#
# Copyright
(
c
)
2000-201
1
University of Utah and the Flux Group.
# Copyright
(
c
)
2000-201
2
University of Utah and the Flux Group.
#
#
{{{
EMULAB-LICENSE
#
...
...
@@ -101,7 +101,11 @@ LTLink instproc set_dst { dst } {
# use some parsing procs provided by ns.
LTLink instproc set_bw
{
bw
}
{
$self instvar bw_
set bw_
[
bw_parse $bw
]
if
{
"
$bw
"
==
"*"
||
"
$bw
"
==
"~"
}
{
set bw_ 0
}
else
{
set bw_
[
bw_parse $bw
]
}
}
LTLink instproc set_delay
{
delay
}
{
$self instvar delay_
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment