ovs-save: Add "dev" keyword before interface names in the ip commands
authorAnsis Atteka <aatteka@nicira.com>
Mon, 16 Apr 2012 06:30:15 +0000 (23:30 -0700)
committerAnsis Atteka <aatteka@nicira.com>
Mon, 16 Apr 2012 17:08:20 +0000 (10:08 -0700)
commit200940deb7c85de7afe3e52edabf574088ac01e3
tree81b4634732d883b1490b36ea392b9481129220fe
parentf1936eb65178f796d26a8d265697af8c19dce8cd
ovs-save: Add "dev" keyword before interface names in the ip commands

The "service force-reload-kmod" command did not work properly, if there
was a bridge, which name was a prefix of string "broadcast" (e.g. "br").

To reproduce:
ovs-vsctl add-br br
service openvswitch-switch force-reload-kmod

This patch will make sure that the generated ip commands are clearly
interpretable by the ip utility.

Issue #9841
Signed-off-by: Ansis Atteka <aatteka@nicira.com>
utilities/ovs-save