summaryrefslogtreecommitdiffstats
path: root/src/plugins/tracedump/setup.pg
blob: 1ebdb0dd7f06060df901ad83a95274105d9d540a (plain)
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
set term pag off

packet-generator new {						\
    name worker0						\
    worker 0							\
    limit 12							\
    rate 1.2e7							\
    size 128-128						\
    interface local0						\
    node ethernet-input						\
    data { IP4: 1.2.40 -> 3cfd.fed0.b6c8			\
           UDP: 192.168.40.1 - 192.168.40.100 -> 192.168.50.10	\
           UDP: 1234 -> 2345					\
           incrementing 114					\
    }								\
}

packet-generator new {						\
    name worker1						\
    worker 1							\
    limit 12							\
    rate 1.2e7							\
    size 128-128						\
    interface local0						\
    node ethernet-input						\
    data { IP4: 1.2.4 -> 3cfd.fed0.b6c9				\
           UDP: 192.168.41.1 - 192.168.41.100 -> 192.168.51.10	\
           UDP: 1234 -> 2345					\
           incrementing 114					\
    }								\
}

trace add pg-input 20
pa en