ovs-ctl: Don't run "ovs-save save-flows" on fake bridges.
authorJustin Pettit <jpettit@nicira.com>
Sat, 1 Dec 2012 02:58:09 +0000 (18:58 -0800)
committerJustin Pettit <jpettit@nicira.com>
Sun, 2 Dec 2012 00:49:55 +0000 (16:49 -0800)
commiteb28b60b6771c1b4d550aef6a760bdd97dbb9a5c
treeab917af67b88bbd201d967e0b9c375843502df22
parent110d0a0499c8921370985ddf07e529fd648ebd45
ovs-ctl: Don't run "ovs-save save-flows" on fake bridges.

Previously, ovs-ctl would determine which bridges to run "ovs-save
save-flows" on by running "ovs-vsctl list-br".  In addition to real
bridges, that command also returns fake bridges.  An error is returned
when "ovs-save save-flows" is run on a fake bridge.  By using the newly
added "--real" flag to "ovs-vsctl list-br", we can get rid of that
unnecessary warning.

Signed-off-by: Justin Pettit <jpettit@nicira.com>
utilities/ovs-ctl.in