vlib: exec cli line-by-line processing and script updates

Type: improvement
Change-Id: I82e7c0acc547794bcc7c42f4b8881a8251bf7a9b
Signed-off-by: Damjan Marion <damarion@cisco.com>
diff --git a/src/scripts/vnet/nat44_lb b/src/scripts/vnet/nat44_lb
index 6b6d4e1..7ccd093 100644
--- a/src/scripts/vnet/nat44_lb
+++ b/src/scripts/vnet/nat44_lb
@@ -1,33 +1,33 @@
 create packet-generator interface pg0
 create packet-generator interface pg1
 
-packet-generator new {
-  name f1
-  limit 1000000
-  node ip4-input
-  size 64-64
-  worker 0
-  interface pg1
-  data {
-    UDP: 172.16.1.11 -> 172.16.1.3
-    UDP: 3001 -> 3000
-    length 128 checksum 0 incrementing 1
-  }
+packet-generator new {						\
+  name f1							\
+  limit 1000000							\
+  node ip4-input						\
+  size 64-64							\
+  worker 0							\
+  interface pg1							\
+  data {							\
+    UDP: 172.16.1.11 -> 172.16.1.3				\
+    UDP: 3001 -> 3000						\
+    length 128 checksum 0 incrementing 1			\
+  }								\
 }
 
 
-packet-generator new {
-  name f2
-  limit 1000000
-  node ip4-input
-  size 64-64
-  worker 1
-  interface pg1
-  data {
-    UDP: 172.16.1.10 -> 172.16.1.3
-    UDP: 3001 -> 3000
-    length 128 checksum 0 incrementing 1
-  }
+packet-generator new {						\
+  name f2							\
+  limit 1000000							\
+  node ip4-input						\
+  size 64-64							\
+  worker 1							\
+  interface pg1							\
+  data {							\
+    UDP: 172.16.1.10 -> 172.16.1.3				\
+    UDP: 3001 -> 3000						\
+    length 128 checksum 0 incrementing 1			\
+  }								\
 }
 
 nat44 add address 172.16.1.3