On Fri, Jan 11, 2013 at 03:48:40PM -0800, Gurucharan Shetty wrote: > This patch adds a helper command: save-ofports. The command > will o/p a shell script that will set the 'ofport_request' column > of the interface table with the value of the corresponding ofport. > > This command takes a list of bridges as input and will be used by > a future commit to restore the ofport value across force-reload-kmod. > > Issue #13556 > Signed-off-by: Gurucharan Shetty <gshe...@nicira.com>
This seems reasonable. It would be a good idea to add a note to the commit message that this is only useful for upgrades from 1.9, since that's the only version that has ofport_request but does not have the newer behavior of ofport. We should add an --if-exists option to "ovs-vsctl set", so that a long string of "ovs-vsctl -- --if-exists set interface <foo> ..." commands does not fail if one of the interfaces happens to have disappeared (e.g. its VM was shut down). I'm working on that. _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev