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

[Xen-API] [PATCH] call openvswitch-cfg-update instead of vswitch-cfg-update



# 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

 


Rackspace

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