Skip to content

Commit 14aa12a

Browse files
committed
Merge pull request #1937 from djs55/CA-146104
CA-146104: re-add xenopsd bugtool plugin
2 parents bd68907 + e0ce954 commit 14aa12a

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

scripts/OMakefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,15 @@ install:
1919
mkdir -p $(DESTDIR)/var/lib/xcp
2020
$(IPROG) base-path $(DESTDIR)/etc/xapi.d
2121
$(IPROG) sm_diagnostics $(DESTDIR)$(LIBEXECDIR)
22+
$(IPROG) xn_diagnostics $(DESTDIR)$(LIBEXECDIR)
2223
$(IPROG) thread_diagnostics $(DESTDIR)$(LIBEXECDIR)
2324
$(IPROG) list_plugins $(DESTDIR)$(LIBEXECDIR)
2425
mkdir -p $(DESTDIR)$(ETCDIR)/bugtool/xapi
2526
mkdir -p $(DESTDIR)$(ETCDIR)/bugtool/xenopsd
2627
$(IDATA) bugtool-plugin/xapi.xml $(DESTDIR)$(ETCDIR)/bugtool
2728
$(IDATA) bugtool-plugin/xapi/stuff.xml $(DESTDIR)$(ETCDIR)/bugtool/xapi
29+
$(IDATA) bugtool-plugin/xenopsd.xml $(DESTDIR)$(ETCDIR)/bugtool
30+
$(IDATA) bugtool-plugin/xenopsd/stuff.xml $(DESTDIR)$(ETCDIR)/bugtool/xenopsd
2831
$(IPROG) fence $(DESTDIR)$(LIBEXECDIR)
2932
$(IPROG) xha-lc $(DESTDIR)$(LIBEXECDIR)
3033
$(IPROG) xapi-health-check $(DESTDIR)$(LIBEXECDIR)

scripts/xn_diagnostics

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#!/bin/sh
22

3-
echo xn list:
4-
xn list
3+
echo xenops-cli list:
4+
xenops-cli list
55
echo
6-
echo xn list verbose:
7-
xn list verbose
6+
echo xenops-cli list verbose:
7+
xenops-cli list --verbose --debug
88
echo
9-
xn diagnostics
9+
xenops-cli diagnostics

xapi.spec.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,11 @@ rm -rf $RPM_BUILD_ROOT
180180
@OPTDIR@/bin/xsh
181181
/etc/xensource/bugtool/xapi.xml
182182
/etc/xensource/bugtool/xapi/stuff.xml
183+
/etc/xensource/bugtool/xenopsd.xml
184+
/etc/xensource/bugtool/xenopsd/stuff.xml
183185
@OPTDIR@/libexec/list_plugins
184186
@OPTDIR@/libexec/sm_diagnostics
187+
@OPTDIR@/libexec/xn_diagnostics
185188
@OPTDIR@/libexec/thread_diagnostics
186189
@OPTDIR@/libexec/InterfaceReconfigure.py
187190
@OPTDIR@/libexec/InterfaceReconfigure.pyo

0 commit comments

Comments
 (0)