# HG changeset patch
# User Ian Campbell <[email protected]>
# 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 <[email protected]>

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(-)


# HG changeset patch
# User Ian Campbell <[email protected]>
# 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 <[email protected]>

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 ->
_______________________________________________
xen-api mailing list
[email protected]
http://lists.xensource.com/mailman/listinfo/xen-api

Reply via email to