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
7cc2dc25
Commit
7cc2dc25
authored
Jan 24, 2022
by
Hejing Li
Browse files
class name fix & express mode off
parent
0747f76a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
experiments/simbricks/simulators.py
experiments/simbricks/simulators.py
+4
-4
No files found.
experiments/simbricks/simulators.py
View file @
7cc2dc25
...
...
@@ -307,8 +307,8 @@ class Gem5Host(HostSim):
cmd
+=
'--no-simbricks '
if
env
.
create_cp
:
cmd
+=
'--max-checkpoints=1 '
#
cmd += '--max-checkpoints=1 '
pass
if
env
.
restore_cp
:
cmd
+=
'-r 1 '
...
...
@@ -519,7 +519,7 @@ class NS3SequencerNet(NetSim):
return
cmd
# fix temparal path
class
NS3BridgeNet
(
NetSim
):
class
OmnetSwitch
(
NetSim
):
def
__init__
(
self
):
super
().
__init__
()
...
...
@@ -528,7 +528,7 @@ class NS3BridgeNet(NetSim):
#for (_,n) in self.connect_sockets(env):
# ports += '--CosimPort=' + n + ' '
cmd
=
'opp_run -u Cmdenv -m -n /OS/endhost-networking/work/sim/hejing/omnetpp-5.7/samples/inet4/src:/OS/endhost-networking/work/sim/hejing/omnetpp-5.7/samples/inet4/examples/:/OS/endhost-networking/work/sim/hejing/omnetpp-5.7/samples/inet4/tutorials/:/OS/endhost-networking/work/sim/hejing/omnetpp-5.7/samples/inet4/showcases/ --image-path=/OS/endhost-networking/work/sim/hejing/omnetpp-5.7/samples/inet4/images -l /OS/endhost-networking/work/sim/hejing/omnetpp-5.7/samples/inet4/src/INET -f /OS/endhost-networking/work/sim/hejing/omnetpp-5.7/samples/inet4/examples/ethernet/simbricks/omnetpp.ini'
cmd
=
'opp_run -u Cmdenv -m -n /OS/endhost-networking/work/sim/hejing/omnetpp-5.7/samples/inet4/src:/OS/endhost-networking/work/sim/hejing/omnetpp-5.7/samples/inet4/examples/:/OS/endhost-networking/work/sim/hejing/omnetpp-5.7/samples/inet4/tutorials/:/OS/endhost-networking/work/sim/hejing/omnetpp-5.7/samples/inet4/showcases/ --image-path=/OS/endhost-networking/work/sim/hejing/omnetpp-5.7/samples/inet4/images
--cmdenv-express-mode=false
-l /OS/endhost-networking/work/sim/hejing/omnetpp-5.7/samples/inet4/src/INET -f /OS/endhost-networking/work/sim/hejing/omnetpp-5.7/samples/inet4/examples/ethernet/simbricks/omnetpp.ini'
print
(
cmd
)
return
cmd
...
...
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