diff options
author | Damjan Marion <damarion@cisco.com> | 2022-05-14 00:14:02 +0200 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2022-05-16 01:31:54 +0000 |
commit | 3153f007c0b5954faf880e6404bebf7f0b7777bb (patch) | |
tree | 239edca15c5663f3697e467dc531bab2446d3822 /src/plugins/adl | |
parent | 342044a3b5a8b2fe6287ca49b69df0c4bd2ca34c (diff) |
vlib: exec cli line-by-line processing and script updates
Type: improvement
Change-Id: I82e7c0acc547794bcc7c42f4b8881a8251bf7a9b
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/adl')
-rw-r--r-- | src/plugins/adl/setup.pg | 72 |
1 files changed, 36 insertions, 36 deletions
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 |