From 3153f007c0b5954faf880e6404bebf7f0b7777bb Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Sat, 14 May 2022 00:14:02 +0200 Subject: vlib: exec cli line-by-line processing and script updates Type: improvement Change-Id: I82e7c0acc547794bcc7c42f4b8881a8251bf7a9b Signed-off-by: Damjan Marion --- src/plugins/adl/setup.pg | 72 ++++++++++++++++++++++++------------------------ 1 file changed, 36 insertions(+), 36 deletions(-) (limited to 'src/plugins/adl') diff --git a/src/plugins/adl/setup.pg b/src/plugins/adl/setup.pg index 7f816bc0893..7117225789a 100644 --- a/src/plugins/adl/setup.pg +++ b/src/plugins/adl/setup.pg @@ -6,46 +6,46 @@ set int ip6 table loop0 0 set int ip address loop0 2001:db01::1/64 set int state loop0 up -packet-generator new { - name ip4 - limit 100 - rate 0 - size 128-128 - interface loop0 - node adl-input - data { IP4: 1.2.40 -> 3cfd.fed0.b6c8 - UDP: 192.168.1.2-192.168.1.10 -> 192.168.2.1 - UDP: 1234 -> 2345 - incrementing 114 - } +packet-generator new { \ + name ip4 \ + limit 100 \ + rate 0 \ + size 128-128 \ + interface loop0 \ + node adl-input \ + data { IP4: 1.2.40 -> 3cfd.fed0.b6c8 \ + UDP: 192.168.1.2-192.168.1.10 -> 192.168.2.1 \ + UDP: 1234 -> 2345 \ + incrementing 114 \ + } \ } -packet-generator new { - name ip6-allow - limit 50 - rate 0 - size 128-128 - interface loop0 - node adl-input - data { IP6: 1.2.40 -> 3cfd.fed0.b6c8 - UDP: 2001:db01::2 -> 2001:db01::1 - UDP: 1234 -> 2345 - incrementing 80 - } +packet-generator new { \ + name ip6-allow \ + limit 50 \ + rate 0 \ + size 128-128 \ + interface loop0 \ + node adl-input \ + data { IP6: 1.2.40 -> 3cfd.fed0.b6c8 \ + UDP: 2001:db01::2 -> 2001:db01::1 \ + UDP: 1234 -> 2345 \ + incrementing 80 \ + } \ } -packet-generator new { - name ip6-drop - limit 50 - rate 0 - size 128-128 - interface loop0 - node adl-input - data { IP6: 1.2.40 -> 3cfd.fed0.b6c8 - UDP: 2001:db01::3 -> 2001:db01::1 - UDP: 1234 -> 2345 - incrementing 80 - } +packet-generator new { \ + name ip6-drop \ + limit 50 \ + rate 0 \ + size 128-128 \ + interface loop0 \ + node adl-input \ + data { IP6: 1.2.40 -> 3cfd.fed0.b6c8 \ + UDP: 2001:db01::3 -> 2001:db01::1 \ + UDP: 1234 -> 2345 \ + incrementing 80 \ + } \ } ip table 1 -- cgit 1.2.3-korg