Add conditional check and result error check
Utilize sys.argv for oslo.cfg parameters, and add necessary importing
Add verification to generate middlebox from the cfg file.
Add support to generate/deploy bidirectional policies based on the same config file