[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-API] [PATCH] CA-39903: accept openvswitch in /etc/xensource/network.conf



The OpenVswitch project is trying to standardise on using OpenVswitch
rather than simply vswitch so accept both in network.conf and report
the mode as openvswitch.

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>

diff -r a78dbd9dd754 -r 7b55c43b9b86 ocaml/netdev/netdev.ml
--- a/ocaml/netdev/netdev.ml    Tue Apr 06 13:28:22 2010 +0100
+++ b/ocaml/netdev/netdev.ml    Tue Apr 06 13:28:22 2010 +0100
@@ -39,11 +39,12 @@
 
 let string_of_kind kind = match kind with
   | Bridge -> "bridge"
-  | Vswitch -> "vswitch"
+  | Vswitch -> "openvswitch"
 
 let kind_of_string s = match s with
   | "bridge" -> Bridge
   | "vswitch" -> Vswitch
+  | "openvswitch" -> Vswitch
   | _ -> raise (Unknown_network_backend s)
 
 module Internal = struct

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.