From cb9cadad578297ffd78fa8a33670bdf1ab669e7e Mon Sep 17 00:00:00 2001 From: Ed Warnicke Date: Tue, 8 Dec 2015 15:45:58 -0700 Subject: Initial commit of vpp code. Change-Id: Ib246f1fbfce93274020ee93ce461e3d8bd8b9f17 Signed-off-by: Ed Warnicke --- vnet/etc/scripts/speed | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 vnet/etc/scripts/speed (limited to 'vnet/etc/scripts/speed') diff --git a/vnet/etc/scripts/speed b/vnet/etc/scripts/speed new file mode 100644 index 00000000..d60d671f --- /dev/null +++ b/vnet/etc/scripts/speed @@ -0,0 +1,14 @@ +packet-generator new { + name x + limit 1 + node ip4-input + size 50-50 + data { + ICMP: 1.2.3.4 -> 5.6.7.8 + ICMP echo_request + incrementing 100 + } +} + +tr add pg-input 100 +ip route 5.6.7.8/32 via pg/stream-0 000102030405060708090a0b0c0d -- cgit 1.2.3-korg