Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
d9f8458d
Commit
d9f8458d
authored
Jun 24, 2020
by
Jialin Li
Browse files
experiments: fix ns3 shell functions to use the new ns3 cosim-run.sh format
parent
f30132ef
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
experiments/common-functions.sh
experiments/common-functions.sh
+2
-2
No files found.
experiments/common-functions.sh
View file @
d9f8458d
...
...
@@ -148,7 +148,7 @@ run_ns3_bridge() {
epath
=
"
`
readlink
-f
$OUTDIR
/eth.
$p
`
"
ports
=
"
$ports
--CosimPort=
$epath
"
done
$NS3_BASE
/cosim-run.sh cosim-bridge-example
\
$NS3_BASE
/cosim-run.sh
cosim
cosim-bridge-example
\
$ports
&>
$OUTDIR
/ns3_bridge.
$1
.log &
pid
=
$!
ALL_PIDS
=
"
$ALL_PIDS
$pid
"
...
...
@@ -171,7 +171,7 @@ run_ns3_dumbbell() {
ports
=
"
$ports
--CosimPortRight=
$epath
"
done
$NS3_BASE
/cosim-run.sh cosim-dumbbell-example
\
$NS3_BASE
/cosim-run.sh
cosim
cosim-dumbbell-example
\
$ports
$4
&>
$OUTDIR
/ns3_dumbbell.
$1
.log &
pid
=
$!
ALL_PIDS
=
"
$ALL_PIDS
$pid
"
...
...
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