vlib: exec cli line-by-line processing and script updates
[vpp.git] / src / scripts / vnet / ip6-hbh
1 tap connect tap0
2 set int state tap-0 up
3 set int ip address tap-0 1::1/64
4 packet-generator new {                                          \
5   name hbh1                                                     \
6   limit 1                                                       \
7   node ip6-input                                                \
8   size 48-48                                                    \
9   data {                                                        \
10     IP6_HOP_BY_HOP_OPTIONS: 1::2 -> 1::2                        \
11     hex 0x3B00010403040506                                      \
12     incrementing 100                                            \
13   }                                                             \
14 }
15 packet-generator new {                                          \
16   name hbh2                                                     \
17   limit 1                                                       \
18   node ip6-input                                                \
19   size 48-48                                                    \
20   data {                                                        \
21     IP6_HOP_BY_HOP_OPTIONS: 1::2 -> 1::2                        \
22     hex 0x3B00C10403040506                                      \
23     incrementing 100                                            \
24   }                                                             \
25 }
26
27 packet-generator new {                                          \
28   name hbh3                                                     \
29   limit 1                                                       \
30   node ip6-input                                                \
31   size 48-48                                                    \
32   data {                                                        \
33     IP6_HOP_BY_HOP_OPTIONS: 1::2 -> 1::2                        \
34     hex 0x3BffC10403040506                                      \
35     incrementing 100                                            \
36   }                                                             \
37 }
38
39 packet-generator new {                                          \
40   name hbh4                                                     \
41   limit 1                                                       \
42   node ip6-input                                                \
43   size 64-64                                                    \
44   data {                                                        \
45     IP6_HOP_BY_HOP_OPTIONS: 1::2 -> 1::2                        \
46     hex 0x3BffC10403040506                                      \
47     incrementing 100                                            \
48   }                                                             \
49 }
50
51 packet-generator new {                                          \
52   name hbh5                                                     \
53   limit 1                                                       \
54   node ip6-input                                                \
55   size 56-56                                                    \
56   data {                                                        \
57     IP6_HOP_BY_HOP_OPTIONS: 1::2 -> 1::2                        \
58     length 16                                                   \
59     hex 0x3B010104030405060106030405060708                      \
60     incrementing 100                                            \
61   }                                                             \
62 }
63
64 packet-generator new {                                          \
65   name hbh6                                                     \
66   limit 1                                                       \
67   node ip6-input                                                \
68   size 56-56                                                    \
69   data {                                                        \
70     IP6_HOP_BY_HOP_OPTIONS: 1::2 -> 1::2                        \
71     length 16                                                   \
72     hex 0x3a00050200000100                                      \
73     ICMP echo_request                                           \
74     incrementing 100                                            \
75   }                                                             \
76 }
77
78 tr add pg-input 100