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 "--only-real" flag to "ovs-vsctl list-br", we can get rid of that unnecessary warning.
Signed-off-by: Justin Pettit <[email protected]> --- utilities/ovs-ctl.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/utilities/ovs-ctl.in b/utilities/ovs-ctl.in index be481de..2b4d73e 100755 --- a/utilities/ovs-ctl.in +++ b/utilities/ovs-ctl.in @@ -294,7 +294,7 @@ internal_interfaces () { } save_flows () { - if set X `ovs_vsctl list-br`; then + if set X `ovs_vsctl -- --only-real list-br`; then shift if "$datadir/scripts/ovs-save" save-flows "$@" > "$script_flows"; then chmod +x "$script_flows" -- 1.7.5.4 _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
