Skip to content
GitLab
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
4a309126
Commit
4a309126
authored
Jan 07, 2003
by
Leigh B. Stoller
Browse files
Minor tweaks.
parent
b0229ae9
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/assign_wrapper.in
View file @
4a309126
...
...
@@ -2,7 +2,7 @@
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-200
2
University of Utah and the Flux Group.
# Copyright (c) 2000-200
3
University of Utah and the Flux Group.
# All rights reserved.
#
...
...
@@ -831,7 +831,6 @@ while (1) {
TBDebugTimeStamp
("
reserving started
");
# Reserve resources
if
(
!
$fail
)
{
print
"
Reserving resources.
\n
";
@toreserve
=
();
# We don't reserve LAN nodes.
foreach
$node
(
keys
(
%p2vmap
))
{
...
...
@@ -840,9 +839,9 @@ while (1) {
}
}
if
(
system
("
nalloc
$pid
$eid
"
.
join
("
",
@toreserve
)))
{
print
"
Failed to reserve
resourc
es.
Trying again.
\n
";
print
"
Failed to reserve
nod
es. Trying again.
\n
";
}
else
{
print
"
Successfully reserved
resources. Finishing setup.
\n
";
print
"
Successfully reserved
physical nodes
\n
";
TBDebugTimeStamp
("
reserving finished
");
last
;
}
...
...
@@ -942,7 +941,6 @@ foreach my $vname (keys(%isvirtnode)) {
my
$fixed
=
$fixed_nodes
{
$vname
};
my
$pnode
;
my
$type
;
#
# Run avail to see if there are any virtnodes free on the (phys) node
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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