Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
emulab-devel
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
emulab
emulab-devel
Commits
f5bdc358
Commit
f5bdc358
authored
18 years ago
by
Mike Hibler
Browse files
Options
Downloads
Patches
Plain Diff
Parameter to allow running iperfd as the receiver of packets (rather than
the stub) on real plab nodes.
parent
1922e8cd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pelab/auto-pelab.tm
+16
-5
16 additions, 5 deletions
pelab/auto-pelab.tm
with
16 additions
and
5 deletions
pelab/auto-pelab.tm
+
16
−
5
View file @
f5bdc358
...
@@ -112,7 +112,6 @@ $ns define-template-parameter PLABNODES {} \
...
@@ -112,7 +112,6 @@ $ns define-template-parameter PLABNODES {} \
# Example node list
# Example node list
#set PLABNODES {plab518 plab541 plab628 plab736 plab360}
#set PLABNODES {plab518 plab541 plab628 plab736 plab360}
# Empty List
# Empty List
$ns define-template-parameter SKIPLIST {} \
$ns define-template-parameter SKIPLIST {} \
{Node numbers to ignore. For example "2 7"}
{Node numbers to ignore. For example "2 7"}
...
@@ -219,6 +218,14 @@ $ns define-template-parameter USE_MAGENT 1 \
...
@@ -219,6 +218,14 @@ $ns define-template-parameter USE_MAGENT 1 \
{If non-zero, uses the new stub (magent)\
{If non-zero, uses the new stub (magent)\
instead of the old one on plab nodes. }
instead of the old one on plab nodes. }
#
# If non-zero, start an iperfd process to receive traffic that would
# otherwise go to the stub.
#
$ns define-template-parameter MAGENT_NORECV 0 \
{If non-zero, turn off receiving traffic in the stub\
(an iperfd process is started to do it instead). }
#
#
# If non-zero, uses the DB-based "monitor" to control the cloud shaping
# If non-zero, uses the DB-based "monitor" to control the cloud shaping
#
#
...
@@ -231,8 +238,10 @@ $ns define-template-parameter USE_DBMONITOR $val \
...
@@ -231,8 +238,10 @@ $ns define-template-parameter USE_DBMONITOR $val \
(rather than the application monitor) to control the cloud shaping. }
(rather than the application monitor) to control the cloud shaping. }
#
#
# If dbmonitor is set, this is the interval in seconds at which to poll the DB
# If dbmonitor is set, these are the intervals at which the latency and BW
# and potentially update the shaping characteristics
# data are sampled by bgmon on the plab nodes. The smaller (shorter interval)
# of the two, is used as the interval at which dbmonitor polls the DB to get
# data recorded by bgmon.
#
#
$ns define-template-parameter DBMONITOR_LATINTERVAL 10 \
$ns define-template-parameter DBMONITOR_LATINTERVAL 10 \
{If USE_DBMONITOR is non-zero, the interval in seconds at which DB latency\
{If USE_DBMONITOR is non-zero, the interval in seconds at which DB latency\
...
@@ -272,7 +281,9 @@ set NO_STUB 0
...
@@ -272,7 +281,9 @@ set NO_STUB 0
if {$NO_PLAB} {
if {$NO_PLAB} {
set FAKE_PLAB 0
set FAKE_PLAB 0
set REAL_PLAB 0
set REAL_PLAB 0
set USE_DBMONITOR 1
# XXX don't force use of dbmonitor; may want to just use init_elabnodes.
# set USE_DBMONITOR 1
set NO_STUB 1
}
}
#
#
...
@@ -692,7 +703,7 @@ if {$FAKE_PLAB} {
...
@@ -692,7 +703,7 @@ if {$FAKE_PLAB} {
# stop stubs and monitors
# stop stubs and monitors
$start_fake append "$ns log \"##### Stopping stubs and monitors...\""
$start_fake append "$ns log \"##### Stopping stubs and monitors...\""
if {!$NO_STUB} {
if {!$NO_STUB} {
$start_fake append "$plabstubs stop"
$start_fake append "$plabstubs stop"
}
}
$start_fake append "$monitorgroup stop"
$start_fake append "$monitorgroup stop"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment