]> xenbits.xensource.com Git - xcp/xen-api.git/commitdiff
Emergency Network Reset script
authorRob Hoes <rob.hoes@citrix.com>
Mon, 23 Aug 2010 12:23:55 +0000 (13:23 +0100)
committerRob Hoes <rob.hoes@citrix.com>
Mon, 23 Aug 2010 12:23:55 +0000 (13:23 +0100)
This patch creates the script xe-reset-networking, which is able to trigged a network reset on the host it is executed on.

See the design page at http://wiki.xensource.com/xenwiki/Emergency_Network_Reset for more information and usage details.

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
scripts/OMakefile

index 69db95e2118d1c0faf660147c36af9e3cbd66ba3..98d60db300663056531c719e2862974fbe54ad7d 100644 (file)
@@ -49,6 +49,7 @@ install:
        $(IPROG) debug_ha_query_liveset $(DESTDIR)/opt/xensource/debug
        $(IPROG) xe-scsi-dev-map $(DESTDIR)/opt/xensource/bin/
        $(IPROG) xe-mount-iso-sr $(DESTDIR)/opt/xensource/bin/
+       $(IPROG) xe-reset-networking $(DIST)/staging/opt/xensource/bin/
        $(IPROG) xe-set-iscsi-iqn $(DESTDIR)/opt/xensource/bin/
        $(IPROG) xe-toolstack-restart $(DESTDIR)/opt/xensource/bin/
        $(IPROG) xe-xentrace $(DESTDIR)/opt/xensource/bin/