sw test tool: Enable parsing a new 'ingress' format
sw test tool: Add support for sending packets continuously
sw test tool: Change egress/PACKET_IN processes to a method

These processes are used both in a case of one time ingress and a case of continuous ingress.
Changing processes to a method can reduce codes.
sw test tool: Enable sending packets continuously