-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathagents_and_groups.aal
137 lines (120 loc) · 4.06 KB
/
agents_and_groups.aal
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
groups:
click_group: *click_group
http_servers: *http_servers
http_clients: *http_clients
http_aggregation_node: [control]
iperf_group: *iperf_group
mgen_group: *mgen_group
route_group: *route_group
rtp_group: *rtp_group
tcpdump1_group: *tcpdump1_group
tcpdump2_group: *tcpdump2_group
## MODULE DIRECTORY ##
# If you are using a different repository for MAGI agents,
# copy this file to your overrides directory
# (default for this is ~/.edgect_scenarios/overrides)
# and change the following path.
# To modify the path for an individual module, modify the 'path:' setting for that module.
top_dir: &agent_dir /proj/edgect/magi/modules
agents:
######################
##### MONITORING #####
######################
tcpdump1:
group: tcpdump1_group
path: !!python/object/apply:string.join [[*agent_dir, "tcpdump"], /]
execargs: {}
tcpdump2:
group: tcpdump2_group
path: !!python/object/apply:string.join [[*agent_dir, "tcpdump"], /]
execargs: {}
NodeStatAgentViz:
group: route_group
path: !!python/object/apply:string.join [[*agent_dir, "nodeStats"], /]
execargs:
interval: 5
RouteAgentViz:
group: route_group
path: !!python/object/apply:string.join [[*agent_dir, "route_agent"], /]
execargs:
interval: 10
truncate: true
recordLevel: 0
GstreamerRTPAgentViz:
group: rtp_group
path: !!python/object/apply:string.join [[*agent_dir, "gstreamer/GstreamerRTPAgentViz/"], /]
execargs:
dir_to_check: *rtp_log_dir
HTTPAggregationAgent:
group: http_aggregation_node
path: !!python/object/apply:string.join [[*agent_dir, "data_aggregation_agent"], /]
execargs:
lag: 10.0
agent_key: http_client_progress
data_key: dl_interval
node_key: host
reduce_method: 'sum(L)/len(L)'
enclaves: [{}]
######################
##### IMPAIRMENTS ####
######################
### Click ############
ClickAgent:
group: click_group
path: !!python/object/apply:string.join [[*agent_dir, "clickControl"], /]
execargs: {}
######################
##### GENERATORS #####
######################
### Web traffic ######
HTTPServerAgent:
group: http_servers
path: !!python/object/apply:string.join [[*agent_dir, "apache"], /]
execargs: {}
HTTPClientAgent:
group: http_clients
path: !!python/object/apply:string.join [[*agent_dir, "curl_client"], /]
execargs: {}
### RTP traffic ######
GstreamerRTPAgent:
group: rtp_group
path: !!python/object/apply:string.join [[*agent_dir, "gstreamer/RTPGenerator"], /]
execargs:
flows: [{}]
### RTSP traffic #####
GstreamerRTSPAgent:
group: rtp_group
path: !!python/object/apply:string.join [[*agent_dir, "gstreamer/RTSPGenerator"], /]
execargs:
flows: [{}]
### iPerf traffic ####
iPerf:
group: iperf_group
path: !!python/object/apply:string.join [[*agent_dir, "iperf"], /]
execargs:
flows: [{}]
### MGEN traffic ###
mgen:
group: mgen_group
path: !!python/object/apply:string.join [[*agent_dir, "mgen"], /]
execargs: {
config_dir: "/tmp",
log: "/tmp/mgen.log"
}
#/proj/edgect/magi/modules/apache/apache.idl
#/proj/edgect/magi/modules/clickControl/clickControl.idl
#/proj/edgect/magi/modules/curl_client/curl_client.idl
#/proj/edgect/magi/modules/data_aggregation_agent/data_aggregation_agent.idl
#/proj/edgect/magi/modules/http_client/http_client.idl
#/proj/edgect/magi/modules/iperf/iperf_agent.idl
#/proj/edgect/magi/modules/ipsec/ipsec.idl
#/proj/edgect/magi/modules/iron/iron_agent.idl
#/proj/edgect/magi/modules/mgen/mgen_agent.idl
#/proj/edgect/magi/modules/nodeStats/nodeStats.idl
#/proj/edgect/magi/modules/pktcounters/pktCountersAgent.idl
#/proj/edgect/magi/modules/pycurl_client/pycurl_client.idl
#/proj/edgect/magi/modules/route_agent/route_agent.idl
#/proj/edgect/magi/modules/runproc/runproc.idl
#/proj/edgect/magi/modules/gstreamer/RTPGenerator/GstreamerRTPAgent.idl
#/proj/edgect/magi/modules/gstreamer/GstreamerRTPAgentViz/GstreamerRTPAgentViz.idl
#/proj/edgect/magi/modules/gstreamer/RTSPGenerator/gstreamer_rtsp_agent.idl