WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

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

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] [PATCH] CA-39903: accept openvswitch in /etc/xensource/network.conf
From: Ian Campbell <ian.campbell@xxxxxxxxxx>
Date: Tue, 06 Apr 2010 13:29:11 +0100
Cc: Ian Campbell <ian.campbell@xxxxxxxxxx>
Delivery-date: Tue, 06 Apr 2010 05:29:05 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-API] [PATCH] CA-39903: accept openvswitch in /etc/xensource/network.conf, Ian Campbell <=