session: use session error type instead of vnet error
[vpp.git] / extras / packetforge / README.rst
index f477c0b..6d95996 100644 (file)
@@ -49,6 +49,17 @@ profile directly, otherwise "-a" option should be added in the command to
 specify actions. The example can be found in parsegraph/samples folder.
 Users can create their own json files according to examples and Spec.
 
+::
+
+     $ python flow_create.py --show -p "mac()/ipv4(src=1.1.1.1,dst=2.2.2.2)/udp()"
+
+     $ python flow_parse.py --show -p "mac()/ipv4(src=1.1.1.1,dst=2.2.2.2)/udp()"
+
+These commands can show the forging result of spec and mask only, without invoving
+VPP. No need to configure actions and interfaces. Users can get the binary string
+of spec and mask from a flow pattern if needed. flow_parse.py can be used without
+VAPI installed.
+
 ::
 
       $ show flow entry