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] call openvswitch-cfg-update instead of vswitch-cfg-upd

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] [PATCH] call openvswitch-cfg-update instead of vswitch-cfg-update
From: David Scott <dave.scott@xxxxxxxxxxxxx>
Date: Thu, 8 Jul 2010 11:18:29 +0100
Delivery-date: Thu, 08 Jul 2010 03:26:46 -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
User-agent: Mercurial-patchbomb/1.4.3
# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1278584281 -3600
# Node ID a182192d6af59e2f05bae57d02c63ab42cba6639
# Parent  fdb69254017b8de14ae7b9e068e54a800ffbfe49
CA-39972: call openvswitch-cfg-update instead of vswitch-cfg-update

Upstream changed the name of this script as part of a move to
consistently use the openvswitch name.

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

diff -r fdb69254017b -r a182192d6af5 ocaml/xapi/helpers.ml
--- a/ocaml/xapi/helpers.ml     Thu Jul 08 11:15:44 2010 +0100
+++ b/ocaml/xapi/helpers.ml     Thu Jul 08 11:18:01 2010 +0100
@@ -822,8 +822,8 @@
 
 let update_vswitch_controller ~__context ~host =
        try call_api_functions ~__context (fun rpc session_id ->
-               let result = Client.Client.Host.call_plugin ~rpc ~session_id 
~host ~plugin:"vswitch-cfg-update" ~fn:"update" ~args:[] in
-               debug "vswitch-cfg-update(on %s): %s"
+               let result = Client.Client.Host.call_plugin ~rpc ~session_id 
~host ~plugin:"openvswitch-cfg-update" ~fn:"update" ~args:[] in
+               debug "openvswitch-cfg-update(on %s): %s"
                        (Db.Host.get_name_label ~__context ~self:host)
                        result)
        with e ->
 ocaml/xapi/helpers.ml |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Attachment: vswitch-correct-cfg-update-plugin.patch
Description: Text Data

_______________________________________________
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] call openvswitch-cfg-update instead of vswitch-cfg-update, David Scott <=