Skip to content

Commit

Permalink
CA-146104: re-add xenopsd bugtool plugin
Browse files Browse the repository at this point in the history
Ideally this would get moved wholesale to the xenopsd repo, but
somewhere is better than nowhere.

Signed-off-by: David Scott <dave.scott@citrix.com>
  • Loading branch information
David Scott committed Sep 14, 2014
1 parent bd68907 commit e0ce954
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
3 changes: 3 additions & 0 deletions scripts/OMakefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,15 @@ install:
mkdir -p $(DESTDIR)/var/lib/xcp
$(IPROG) base-path $(DESTDIR)/etc/xapi.d
$(IPROG) sm_diagnostics $(DESTDIR)$(LIBEXECDIR)
$(IPROG) xn_diagnostics $(DESTDIR)$(LIBEXECDIR)
$(IPROG) thread_diagnostics $(DESTDIR)$(LIBEXECDIR)
$(IPROG) list_plugins $(DESTDIR)$(LIBEXECDIR)
mkdir -p $(DESTDIR)$(ETCDIR)/bugtool/xapi
mkdir -p $(DESTDIR)$(ETCDIR)/bugtool/xenopsd
$(IDATA) bugtool-plugin/xapi.xml $(DESTDIR)$(ETCDIR)/bugtool
$(IDATA) bugtool-plugin/xapi/stuff.xml $(DESTDIR)$(ETCDIR)/bugtool/xapi
$(IDATA) bugtool-plugin/xenopsd.xml $(DESTDIR)$(ETCDIR)/bugtool
$(IDATA) bugtool-plugin/xenopsd/stuff.xml $(DESTDIR)$(ETCDIR)/bugtool/xenopsd
$(IPROG) fence $(DESTDIR)$(LIBEXECDIR)
$(IPROG) xha-lc $(DESTDIR)$(LIBEXECDIR)
$(IPROG) xapi-health-check $(DESTDIR)$(LIBEXECDIR)
Expand Down
10 changes: 5 additions & 5 deletions scripts/xn_diagnostics
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/sh

echo xn list:
xn list
echo xenops-cli list:
xenops-cli list
echo
echo xn list verbose:
xn list verbose
echo xenops-cli list verbose:
xenops-cli list --verbose --debug
echo
xn diagnostics
xenops-cli diagnostics
3 changes: 3 additions & 0 deletions xapi.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,11 @@ rm -rf $RPM_BUILD_ROOT
@OPTDIR@/bin/xsh
/etc/xensource/bugtool/xapi.xml
/etc/xensource/bugtool/xapi/stuff.xml
/etc/xensource/bugtool/xenopsd.xml
/etc/xensource/bugtool/xenopsd/stuff.xml
@OPTDIR@/libexec/list_plugins
@OPTDIR@/libexec/sm_diagnostics
@OPTDIR@/libexec/xn_diagnostics
@OPTDIR@/libexec/thread_diagnostics
@OPTDIR@/libexec/InterfaceReconfigure.py
@OPTDIR@/libexec/InterfaceReconfigure.pyo
Expand Down

0 comments on commit e0ce954

Please sign in to comment.