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/scripts/vnet/gre | |
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/scripts/vnet/gre')
-rw-r--r-- | src/scripts/vnet/gre | 96 |
1 files changed, 48 insertions, 48 deletions
diff --git a/src/scripts/vnet/gre b/src/scripts/vnet/gre index 820fc09f469..bab26353d40 100644 --- a/src/scripts/vnet/gre +++ b/src/scripts/vnet/gre @@ -26,60 +26,60 @@ set int ip address gre1 ::2/128 ip route add 192:168:3::0/64 via gre1 set int state gre1 up -packet-generator new { - name gre4-tx - limit -1 - node ip4-input - size 64-64 - interface pg0 - data { - UDP: 192.168.1.2 -> 192.168.3.1 - UDP: 4321 -> 1234 - length 128 checksum 0 incrementing 1 - } +packet-generator new { \ + name gre4-tx \ + limit -1 \ + node ip4-input \ + size 64-64 \ + interface pg0 \ + data { \ + UDP: 192.168.1.2 -> 192.168.3.1 \ + UDP: 4321 -> 1234 \ + length 128 checksum 0 incrementing 1 \ + } \ } -packet-generator new { - name gre4-rx - limit -1 - node ip6-input - size 72-72 - interface pg1 - data { - GRE: 192:168:2::2 -> 192:168:2::1 - ip4 - UDP: 192.168.3.1 -> 192.168.1.2 - UDP: 1234 -> 4321 - length 128 checksum 0 incrementing 1 - } +packet-generator new { \ + name gre4-rx \ + limit -1 \ + node ip6-input \ + size 72-72 \ + interface pg1 \ + data { \ + GRE: 192:168:2::2 -> 192:168:2::1 \ + ip4 \ + UDP: 192.168.3.1 -> 192.168.1.2 \ + UDP: 1234 -> 4321 \ + length 128 checksum 0 incrementing 1 \ + } \ } -packet-generator new { - name gre6-tx - limit -1 - node ip6-input - size 64-64 - interface pg0 - data { - UDP: 192:168:1::2 -> 192:168:3::1 - UDP: 4321 -> 1234 - length 128 checksum 0 incrementing 1 - } +packet-generator new { \ + name gre6-tx \ + limit -1 \ + node ip6-input \ + size 64-64 \ + interface pg0 \ + data { \ + UDP: 192:168:1::2 -> 192:168:3::1 \ + UDP: 4321 -> 1234 \ + length 128 checksum 0 incrementing 1 \ + } \ } -packet-generator new { - name gre6-rx - limit -1 - node ip4-input - size 72-72 - interface pg1 - data { - GRE: 192.168.2.2 -> 192.168.2.1 - ip6 - UDP: 192:168:3::1 -> 192:168:1::2 - UDP: 1234 -> 4321 - length 128 checksum 0 incrementing 1 - } +packet-generator new { \ + name gre6-rx \ + limit -1 \ + node ip4-input \ + size 72-72 \ + interface pg1 \ + data { \ + GRE: 192.168.2.2 -> 192.168.2.1 \ + ip6 \ + UDP: 192:168:3::1 -> 192:168:1::2 \ + UDP: 1234 -> 4321 \ + length 128 checksum 0 incrementing 1 \ + } \ } packet-generator enable |