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
bb5d74fd
Commit
bb5d74fd
authored
Aug 03, 2007
by
Jonathon Duerig
Browse files
Fixed events. Now works. It was resetting after every node, rather than once at the beginning.
parent
6bdb528b
Changes
1
Hide whitespace changes
Inline
Side-by-side
pelab/bw-bottleneck/sharedBottle.pl
View file @
bb5d74fd
...
...
@@ -52,6 +52,14 @@ my %bwMap = {};
my
%delayMap
=
{};
my
%elabMap
=
{};
# Create & send events.
# Get initial conditions for the paths of interest
# from the database, using init-elabnodes.pl
my
$tevc
=
"
/usr/testbed/bin/tevc -e
$newProjName
/
$newExpName
now
";
`
/usr/testbed/bin/tevc -w -e
$newProjName
/
$newExpName
now elabc reset
`;
`
$tevc
elabc create start
`;
# Create a list of the IP addresses.
foreach
$conditionLine
(
@initialConditions
)
{
...
...
@@ -332,14 +340,6 @@ foreach $sourceName (readdir(logsDirHandle))
# }
# Create & send events.
# Get initial conditions for the paths of interest
# from the database, using init-elabnodes.pl
my
$tevc
=
"
/usr/testbed/bin/tevc -e
$newProjName
/
$newExpName
now
";
`
$tevc
elabc reset
`;
`
$tevc
elabc create start
`;
# Send the events to all the nodes which form an equivalent class.
foreach
$tmpName
(
@equivClasses
)
{
...
...
Write
Preview
Supports
Markdown
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