vppapigen: fix incorrect comments in json
[vpp.git] / src / scripts / vnet / mpls-tunnel
index d04b297..863379f 100644 (file)
@@ -1,50 +1,46 @@
-packet-generator new {
-  name x0
-  limit 1
-  node ip4-input
-  size 64-64
-  no-recycle
-  data {
-    ICMP: 1.0.0.2 -> 2.0.0.2
-    ICMP echo_request
-    incrementing 100
-  }
+packet-generator new {                                         \
+  name x0                                                      \
+  limit 1                                                      \
+  node ip4-input                                               \
+  size 64-64                                                   \
+  data {                                                       \
+    ICMP: 1.0.0.2 -> 2.0.0.2                                   \
+    ICMP echo_request                                          \
+    incrementing 100                                           \
+  }                                                            \
 }
-packet-generator new {
-  name x1
-  limit 1
-  node ip4-input
-  size 64-64
-  no-recycle
-  data {
-    ICMP: 1.0.0.2 -> 2.0.1.2
-    ICMP echo_request
-    incrementing 100
-  }
+packet-generator new {                                         \
+  name x1                                                      \
+  limit 1                                                      \
+  node ip4-input                                               \
+  size 64-64                                                   \
+  data {                                                       \
+    ICMP: 1.0.0.2 -> 2.0.1.2                                   \
+    ICMP echo_request                                          \
+    incrementing 100                                           \
+  }                                                            \
 }
-packet-generator new {
-  name x2
-  limit 1
-  node ip4-input
-  size 64-64
-  no-recycle
-  data {
-    ICMP: 1.0.0.2 -> 2.0.2.2
-    ICMP echo_request
-    incrementing 100
-  }
+packet-generator new {                                         \
+  name x2                                                      \
+  limit 1                                                      \
+  node ip4-input                                               \
+  size 64-64                                                   \
+  data {                                                       \
+    ICMP: 1.0.0.2 -> 2.0.2.2                                   \
+    ICMP echo_request                                          \
+    incrementing 100                                           \
+  }                                                            \
 }
-packet-generator new {
-  name x3
-  limit 1
-  node ip4-input
-  size 64-64
-  no-recycle
-  data {
-    ICMP: 1.0.0.2 -> 2.0.3.2
-    ICMP echo_request
-    incrementing 100
-  }
+packet-generator new {                                         \
+  name x3                                                      \
+  limit 1                                                      \
+  node ip4-input                                               \
+  size 64-64                                                   \
+  data {                                                       \
+    ICMP: 1.0.0.2 -> 2.0.3.2                                   \
+    ICMP echo_request                                          \
+    incrementing 100                                           \
+  }                                                            \
 }
 
 
@@ -55,7 +51,7 @@ loop create
 set int state loop0 up
 
 set int ip address loop0 10.0.0.1/24
-set ip arp loop0 10.0.0.2 00:00:11:aa:bb:cc
+set ip neighbor loop0 10.0.0.2 00:00:11:aa:bb:cc
 
 mpls tunnel add via 10.0.0.2 loop0 out-label 33 out-label 34 out-label 35 out-label 36
 set int state mpls-tunnel0 up