ovs-bugtool: Collect database through CAP_NETWORK_STATUS.
authorGurucharan Shetty <shettyg@nicira.com>
Tue, 23 Jul 2013 21:53:11 +0000 (14:53 -0700)
committerGurucharan Shetty <gshetty@nicira.com>
Fri, 9 Aug 2013 21:04:25 +0000 (14:04 -0700)
commit347580223282638482150582a6aac67bc410141d
treeca92194f5a6b3559b6e0ff730b6ea7572a591970
parentbdd2719efb7483ea237698d8ca7c1459da01f368
ovs-bugtool: Collect database through CAP_NETWORK_STATUS.

Currently the openvswitch database is being collected with
CAP_NETWORK_CONFIG which has a max size of 50 KB. This is
quite low as the database can easily be larger than 50 KB.

Move database collection to CAP_NETWORK_STATUS which does
not have a max size. If database size exceeds 10 MB, create
a compacted version of it and then collect it.

Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
utilities/bugtool/ovs-bugtool.in