vnf_src_interface=self._parse_vnf_interface(args.get("source")),\r
vnf_dst_interface=self._parse_vnf_interface(args.get("destination")),\r
weight=args.get("weight"),\r
- match=args.get("match"))\r
+ match=args.get("match"),\r
+ bidirectional=args.get("bidirectional"))\r
\r
# note zerorpc does not support named arguments\r
r = self.c.network_action_start(\r
parser.add_argument(\r
"--match", "-m", dest="match",\r
help="string holding extra matches for the flow entries")\r
+parser.add_argument(\r
+ "--bidirectional", "-b", dest="bidirectional",\r
+ action='store_true',\r
+ help="add/remove the flow entries in 2 directions")\r
+\r
\r
def main(argv):\r
args = vars(parser.parse_args(argv))\r