Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
71a5944a
Commit
71a5944a
authored
May 13, 2014
by
Leigh B Stoller
Browse files
Put links with zero remaining_bandwidth into the ptop file so that assign
will correct error (no_bandwidth instead of no_connect).
parent
e99ded80
Changes
1
Show whitespace changes
Inline
Side-by-side
tbsetup/ptopgen.in
View file @
71a5944a
...
...
@@ -1941,11 +1941,13 @@ while (($node1,$card1,$port1,$node2,$card2,$port2) =
if
(
$sharing_mode
{
$node1
})
{
$bw
=
$interfacestate
{"
$node1
:
$iface1
"}
->
{'
remaining_bandwidth
'};
#
# Zero bandwidth is okay, and causes assign to use the
# no_bandwith error instead of the no_connect error.
#
if
(
$bw
<
0
)
{
$bw
=
0
;
}
next
if
(
$bw
==
0
);
}
print_simple_link
(
$node1
,
$iface1
,
...
...
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