ovs-ofctl: Ability to read a hex string from file.
authorGurucharan Shetty <gshetty@nicira.com>
Wed, 18 Jun 2014 18:12:36 +0000 (11:12 -0700)
committerGurucharan Shetty <gshetty@nicira.com>
Fri, 27 Jun 2014 00:01:17 +0000 (17:01 -0700)
commit8b227701fe9726649977a9e5a591877fe68ace0e
tree7863677cdadfa67a3f80b24c7debf059ab801fe1
parent9e784ba5c90fbfc4db5f36392d9c42322696177e
ovs-ofctl: Ability to read a hex string from file.

The unit test, "OFPST_TABLE reply - OF1.2" in ofp-print.at
sends a very large hex string as an argument to 'ovs-ofctl ofp-print'.
The length of the hex string exceeds the maximum command line length
in Windows. With this commit, we can pass the same hex string by
placing it inside a file.

Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
tests/ofp-print.at
utilities/ovs-ofctl.c