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
50a26804
Commit
50a26804
authored
Nov 17, 2020
by
Jialin Li
Browse files
experiments: remove unused script
parent
67ce2dc1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
30 deletions
+0
-30
experiments/pyexps/qemu_nopaxos_ehseq.py
experiments/pyexps/qemu_nopaxos_ehseq.py
+0
-30
No files found.
experiments/pyexps/qemu_nopaxos_ehseq.py
deleted
100644 → 0
View file @
67ce2dc1
import
modes.experiments
as
exp
import
modes.simulators
as
sim
import
modes.nodeconfig
as
node
e
=
exp
.
Experiment
(
'qemu-nopaxos-ehseq'
)
net
=
sim
.
NS3SequencerNet
()
e
.
add_network
(
net
)
class
NOPaxosNode
(
node
.
CorundumLinuxNode
):
disk_image
=
'nopaxos'
sequencer
=
sim
.
create_basic_hosts
(
e
,
1
,
'sequencer'
,
net
,
sim
.
CorundumBMNIC
,
sim
.
QemuHost
,
NOPaxosNode
,
node
.
NOPaxosSequencer
,
ip_start
=
100
)
replicas
=
sim
.
create_basic_hosts
(
e
,
3
,
'replica'
,
net
,
sim
.
CorundumBMNIC
,
sim
.
QemuHost
,
NOPaxosNode
,
node
.
NOPaxosReplica
)
clients
=
sim
.
create_basic_hosts
(
e
,
1
,
'client'
,
net
,
sim
.
CorundumBMNIC
,
sim
.
QemuHost
,
NOPaxosNode
,
node
.
NOPaxosClient
,
ip_start
=
4
)
sequencer
[
0
].
sleep
=
1
for
i
in
range
(
len
(
replicas
)):
replicas
[
i
].
node_config
.
app
.
index
=
i
replicas
[
i
].
sleep
=
1
for
c
in
clients
:
c
.
node_config
.
app
.
server_ips
=
[
'10.0.0.1'
,
'10.0.0.2'
,
'10.0.0.3'
]
c
.
wait
=
True
experiments
=
[
e
]
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