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-changelog

[Xen-changelog] Only write a success node when coming online, not going

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Only write a success node when coming online, not going offline.
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 26 Nov 2005 02:36:08 +0000
Delivery-date: Sat, 26 Nov 2005 02:36:25 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID 801c6363501b94b935e1946ddb3effee3ae6b2c2
# Parent  3c01d53e383d4a2a294167d40968601043921d53
Only write a success node when coming online, not going offline.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>

diff -r 3c01d53e383d -r 801c6363501b tools/examples/vif-nat
--- a/tools/examples/vif-nat    Fri Nov 25 17:08:22 2005
+++ b/tools/examples/vif-nat    Fri Nov 25 17:09:49 2005
@@ -55,4 +55,8 @@
 
 handle_iptable
 
-success
+log debug "Successful vif-nat $command for $vif."
+if [ "$command" == "online" ]
+then
+  success
+fi
diff -r 3c01d53e383d -r 801c6363501b tools/examples/vif-route
--- a/tools/examples/vif-route  Fri Nov 25 17:08:22 2005
+++ b/tools/examples/vif-route  Fri Nov 25 17:09:49 2005
@@ -47,4 +47,8 @@
 
 handle_iptable
 
-success
+log debug "Successful vif-route $command for $vif."
+if [ "$command" == "online" ]
+then
+  success
+fi

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Only write a success node when coming online, not going offline., Xen patchbot -unstable <=