-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
69 lines (63 loc) · 1.49 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# Defines which nodes are used in the system and how to connect to them.
# This element should only be referenced during the constructor's initial
# setup.
# All names must be unique.
# No other nodes are known.
# These names will be used for src and dest addresses for the Message
# The local node’s name is included in this list
configuration :
- name : alice
ip : 127.0.0.1
port : 12347 # This is the incoming port on which MP will listen
# May be changed for further communication as usual
- name : bob
ip : 127.0.0.1
port : 14255
- name : charlie
ip : 127.0.0.1
port : 12998
- name : daphnie
ip : 127.0.0.1
port : 1987
- name : logger
ip : 127.0.0.1
port : 2004
groups :
- name : Group1
members :
- alice
- bob
- charlie
- name : Group2
members : # This is the incoming port on which MP will listen
- bob
- charlie
- daphnie # May be changed for further communication as usual
clock: logical
sendRules :
- action : duplicate
kind : send_dup
dest : bob
- action : drop
kind : send_drop
dest : bob
- action : delay
kind : send_del
dest : bob
- action : duplicate
kind : both_dup
- action : duplicate
kind : dup_drop
receiveRules :
- action : duplicate
kind : rec_dup
dest : bob
- action : drop
kind : rec_drop
dest : bob
- action : delay
kind : rec_del
dest : bob
- action : drop
kind : dup_drop
duplicate : true