Commit 7cc2dc25 authored by Hejing Li's avatar Hejing Li
Browse files

class name fix & express mode off

parent 0747f76a
...@@ -307,8 +307,8 @@ class Gem5Host(HostSim): ...@@ -307,8 +307,8 @@ class Gem5Host(HostSim):
cmd += '--no-simbricks ' cmd += '--no-simbricks '
if env.create_cp: if env.create_cp:
cmd += '--max-checkpoints=1 ' #cmd += '--max-checkpoints=1 '
pass
if env.restore_cp: if env.restore_cp:
cmd += '-r 1 ' cmd += '-r 1 '
...@@ -519,7 +519,7 @@ class NS3SequencerNet(NetSim): ...@@ -519,7 +519,7 @@ class NS3SequencerNet(NetSim):
return cmd return cmd
# fix temparal path # fix temparal path
class NS3BridgeNet(NetSim): class OmnetSwitch(NetSim):
def __init__(self): def __init__(self):
super().__init__() super().__init__()
...@@ -528,7 +528,7 @@ class NS3BridgeNet(NetSim): ...@@ -528,7 +528,7 @@ class NS3BridgeNet(NetSim):
#for (_,n) in self.connect_sockets(env): #for (_,n) in self.connect_sockets(env):
# ports += '--CosimPort=' + n + ' ' # 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) print(cmd)
return cmd return cmd
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment