forked from xapi-project/xen-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dune-project
735 lines (672 loc) · 13.8 KB
/
dune-project
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
(lang dune 3.15)
(formatting (enabled_for ocaml))
(using menhir 2.0)
(using directory-targets 0.1)
(cram enable)
(implicit_transitive_deps false)
(generate_opam_files true)
(name "xapi")
(source (github xapi-project/xen-api))
(license "LGPL-2.1-only WITH OCaml-LGPL-linking-exception")
(authors "[email protected]")
(maintainers "Xapi project maintainers")
(homepage "https://xapi-project.github.io/")
(package
(name zstd)
)
(package
(name clock)
(synopsis "Xapi's library for managing time")
(authors "Jonathan Ludlam" "Pau Ruiz Safont")
(depends
(ocaml (>= 4.12))
(alcotest :with-test)
astring
fmt
mtime
ptime
(xapi-log (= :version))
(qcheck-core :with-test)
(qcheck-alcotest :with-test)
)
)
(package
(name xml-light2)
)
(package
(name xapi-sdk)
(license "BSD-2-Clause")
(synopsis "Xen API SDK generation code")
(depends
(alcotest :with-test)
astring
(fmt :with-test)
mustache
(xapi-datamodel (= :version))
(xapi-stdext-unix (and (= :version) :with-test))
(xapi-test-utils :with-test)
)
(allow_empty)
)
(package
(name xen-api-client-lwt)
)
(package
(name xen-api-client)
(synopsis "Xen-API client library for remotely-controlling a xapi host")
(authors "David Scott" "Anil Madhavapeddy" "Jerome Maloberti" "John Else" "Jon Ludlam" "Thomas Sanders" "Mike McClurg")
(depends
(alcotest :with-test)
astring
(cohttp (>= "0.22.0"))
re
rpclib
uri
(uuid (= :version))
(xapi-client (= :version))
(xapi-idl (= :version))
(xapi-rrd (= :version))
(xapi-types (= :version))
xmlm
)
)
(package
(name xe)
)
(package
(name xapi-types)
)
(package
(name xapi-tracing)
(depends
ocaml
dune
(alcotest :with-test)
(fmt :with-test)
re
uri
(uuid :with-test)
(xapi-log (= :version))
(xapi-stdext-threads (= :version))
)
(synopsis "Allows to instrument code to generate tracing information")
(description "This library provides modules to allow gathering runtime traces.")
)
(package
(name xapi-tracing-export)
(depends
ocaml
cohttp-posix
dune
cohttp
ptime
result
rresult
rpclib
ppx_deriving_rpc
uri
(xapi-log (= :version))
(xapi-open-uri (= :version))
(xapi-stdext-threads (= :version))
(xapi-stdext-unix (= :version))
(xapi-tracing (= :version))
(zstd (= :version))
)
(synopsis "Export traces in multiple protocols and formats")
(description "This library export traces is able to push traces to http endpoints or generate compressed tarballs in the filesystem.")
)
(package
(name xapi-storage-script)
)
(package
(name xapi-storage-cli)
)
(package
(name xapi-storage)
)
(package
(name xapi-schema)
)
(package
(name rrdd-plugin)
(synopsis "A plugin library for the xapi performance monitoring daemon")
(description "This library allows one to expose a datasource which can then be sampled by the performance monitoring daemon.")
(depends
ocaml
astring
rpclib
(rrd-transport (= :version))
(xapi-forkexecd (= :version))
(xapi-stdext-pervasives (= :version))
(xapi-stdext-std (= :version))
(xapi-stdext-threads (= :version))
(xapi-stdext-unix (= :version))
(xapi-idl (= :version))
xenstore
xenstore_transport
)
)
(package
(name xapi-open-uri)
)
(package
(name xapi-nbd)
)
(package
(name xapi-log)
)
(package
(name xapi-idl)
)
(package
(name xapi-forkexecd)
(synopsis "Sub-process control service for xapi")
(description "This daemon creates and manages sub-processes on behalf of xapi.")
(depends
astring
(forkexec (= :version))
(uuid (= :version))
(xapi-stdext-unix (= :version))
)
)
(package
(name xapi-expiry-alerts)
)
(package
(name xapi-datamodel)
)
(package
(name xapi-consts)
)
(package
(name xapi-compression)
)
(package
(name xapi-client)
)
(package
(name xapi-cli-protocol)
)
(package
(name xapi-debug)
(synopsis "Debugging tools for XAPI")
(description "Tools installed into the non-standard /opt/xensource/debug location")
(depends
alcotest
angstrom
astring
base64
cmdliner
cohttp
cstruct
ctypes
domain-name
fd-send-recv
fmt
hex
integers
ipaddr
logs
magic-mime
mirage-crypto
mirage-crypto-pk
mirage-crypto-rng
mtime
pci
polly
ppx_deriving
ppx_deriving_rpc
ppx_sexp_conv
psq
ptime
qcheck-alcotest
qcheck-core
re
result
rpclib
rresult
sexplib
sexplib0
sha
tar
tar-unix
uri
uuidm
uutf
x509
xapi-backtrace
xapi-log
xapi-types
xapi-stdext-pervasives
xapi-stdext-unix
xen-api-client
xenctrl
xenstore_transport
xmlm
yojson
)
)
(package
(name xapi-tools)
(synopsis "Various daemons and CLI applications required by XAPI")
(description "Includes message-switch, xenopsd, forkexecd, ...")
(depends
astring
base64
cmdliner
cstruct-unix
fmt
logs
lwt
mtime
netlink
qmp
re
result
rpclib
rresult
uri
xenctrl
xmlm
yojson
; can't use '= version' here yet,
; 'xapi-tools' will have version ~dev, not 'master' like all the others
; because it is not in xs-opam yet
rrd-transport
xapi-tracing-export
xen-api-client
(alcotest :with-test)
(ppx_deriving_rpc :with-test)
(qcheck-core :with-test)
(xapi-test-utils :with-test)
(xenstore_transport :with-test)
)
)
(package
(name xapi)
(synopsis "The toolstack daemon which implements the XenAPI")
(description "This daemon exposes the XenAPI and is used by clients such as 'xe' and 'XenCenter' to manage clusters of Xen-enabled hosts.")
(depends
(alcotest :with-test)
angstrom
astring
base-threads
base64
(bos :with-test)
cdrom
cmdliner
cohttp
conf-pam
(crowbar :with-test)
cstruct
ctypes
ctypes-foreign
domain-name
(ezxenstore (= :version))
fmt
fd-send-recv
hex
(http-lib (and :with-test (= :version))) ; the public library is only used for testing
integers
ipaddr
logs
magic-mime
mirage-crypto
mirage-crypto-pk
(mirage-crypto-rng (>= "0.11.0"))
(message-switch-unix (= :version))
mtime
opentelemetry-client-ocurl
pci
(pciutil (= :version))
polly
ppx_deriving_rpc
ppx_sexp_conv
ppx_deriving
psq
ptime
qcheck-alcotest
qcheck-core
re
result
rpclib
(rrdd-plugin (= :version))
rresult
sexpr
sexplib
sexplib0
sha
(stunnel (= :version))
tar
tar-unix
uri
(uuid (= :version))
uutf
uuidm
x509
xapi-backtrace
(xapi-client (= :version))
(xapi-cli-protocol (= :version))
(xapi-consts (= :version))
(xapi-datamodel (= :version))
(xapi-expiry-alerts (= :version))
(xapi-idl (= :version))
(xapi-inventory (= :version))
(xapi-log (= :version))
(xapi-stdext-date (= :version))
(xapi-stdext-pervasives (= :version))
(xapi-stdext-std (= :version))
(xapi-stdext-threads (= :version))
(xapi-stdext-unix (= :version))
(xapi-stdext-zerocheck (= :version))
(xapi-test-utils :with-test)
(xapi-tracing (= :version))
(xapi-tracing-export (= :version))
(xapi-types (= :version))
xenctrl ; for quicktest
xenstore_transport
xmlm
(xml-light2 (= :version))
yojson
(zstd (= :version))
)
)
(package
(name vhd-tool)
(synopsis "Manipulate .vhd files")
(tags ("org.mirage" "org:xapi-project"))
(depends
(alcotest-lwt :with-test)
astring
bigarray-compat
cmdliner
cohttp
cohttp-lwt
conf-libssl
(cstruct (>= "3.0.0"))
(ezxenstore (= :version))
(forkexec (= :version))
io-page
lwt
lwt_ssl
nbd
nbd-unix
ppx_cstruct
ppx_deriving_rpc
re
result
rpclib
ssl
sha
tar
uri
(vhd-format (= :version))
(vhd-format-lwt (= :version))
(xapi-idl (= :version))
(xapi-log (= :version))
(xen-api-client-lwt (= :version))
xenstore
xenstore_transport
)
)
(package
(name vhd-format)
)
(package
(name vhd-format-lwt)
(synopsis "Lwt interface to read/write VHD format data")
(description "A pure OCaml library to read and write
[vhd](http://en.wikipedia.org/wiki/VHD_(file_format)) format data, plus a
simple command-line tool which allows vhd files to be interrogated,
manipulated, format-converted and streamed to and from files and remote
servers.
This package provides an Lwt compatible interface to the library.")
(authors "Jon Ludlam" "Dave Scott")
(maintainers "Dave Scott <[email protected]>")
(tags ("org:mirage" "org:xapi-project"))
(homepage "https://github.com/mirage/ocaml-vhd")
(source (github mirage/ocaml-vhd))
(depends
(ocaml (and (>= "4.02.3") (< "5.0.0")))
(alcotest :with-test)
(alcotest-lwt :with-test)
bigarray-compat
(cstruct (< "6.1.0"))
cstruct-lwt
(fmt :with-test)
(lwt (>= "3.2.0"))
(mirage-block (>= "2.0.1"))
rresult
(vhd-format (= :version))
(io-page (and :with-test (>= "2.4.0")))
)
)
(package
(name varstored-guard)
)
(package
(name uuid)
)
(package
(name stunnel)
)
(package
(name sexpr)
)
(package
(name safe-resources)
)
(package
(name rrd-transport)
(synopsis "Shared-memory protocols for exposing system metrics")
(description "VMs running on a Xen host can use this library to expose performance counters which can be sampled by xapi's metric daemon.")
(authors "John Else")
(depends
(alcotest :with-test)
astring
bigarray-compat
cstruct
crc
(fmt :with-test)
rpclib
yojson
(xapi-idl (= :version))
(xapi-rrd (= :version))
(odoc :with-doc)
)
)
(package
(name pciutil)
)
(package
(name message-switch-lwt)
)
(package
(name message-switch-core)
(synopsis "A simple store-and-forward message switch")
(description "The switch stores messages in queues with well-known names. Clients use a simple HTTP protocol to enqueue and dequeue messages.")
(depends
astring
(cohttp (>= "0.21.1"))
ppx_deriving_rpc
ppx_sexp_conv
rpclib
sexplib
sexplib0
uri
(xapi-log (= :version))
(xapi-stdext-threads (= :version))
(odoc :with-doc)
)
)
(package
(name message-switch-cli)
)
(package
(name message-switch-unix)
(synopsis "A simple store-and-forward message switch")
(description "The switch stores messages in queues with well-known names. Clients use a simple HTTP protocol to enqueue and dequeue messages.")
(depends
base-threads
cohttp
(message-switch-core (= :version))
ppx_deriving_rpc
rpclib
(xapi-stdext-threads (= :version))
)
)
(package
(name message-switch)
)
(package
(name http-lib)
(synopsis "An HTTP required used by xapi")
(description "This library allows xapi to perform varios activities related to the HTTP protocol.")
(depends
(alcotest :with-test)
astring
(base64 (>= "3.1.0"))
fmt
ipaddr
mtime
ppx_deriving_rpc
(qcheck-core :with-test)
rpclib
(safe-resources(= :version))
sha
(stunnel (= :version))
uri
(uuid (= :version))
xapi-backtrace
(xapi-idl (= :version))
(xapi-log (= :version))
(xapi-stdext-date (= :version))
(xapi-stdext-pervasives (= :version))
(xapi-stdext-threads (= :version))
(xapi-tracing (= :version))
(xml-light2 (= :version))
(odoc :with-doc)
)
)
(package
(name gzip)
)
(package
(name forkexec)
(synopsis "Process-spawning library")
(description "Client and server library to spawn processes.")
(depends
astring
base-threads
(fd-send-recv (>= "2.0.0"))
ppx_deriving_rpc
rpclib
(uuid (= :version))
xapi-backtrace
(xapi-log (= :version))
(xapi-stdext-pervasives (= :version))
(xapi-stdext-unix (= :version))
(xapi-tracing (= :version))
)
)
(package
(name ezxenstore)
)
(package
(name cohttp-posix)
)
(package
(name xapi-rrd)
)
(package
(name xapi-inventory)
)
(package
(name xapi-stdext-date)
(synopsis "Xapi's standard library extension, Dates")
(authors "Jonathan Ludlam")
(depends
(clock (= :version))
ptime
)
)
(package
(name xapi-stdext-encodings)
(synopsis "Xapi's standard library extension, Encodings")
(authors "Jonathan Ludlam")
(depends
(ocaml (>= 4.13.0))
(alcotest (and (>= 0.6.0) :with-test))
(odoc :with-doc)
(bechamel :with-test)
(bechamel-notty :with-test)
(notty :with-test)
)
)
(package
(name xapi-stdext-pervasives)
(synopsis "Xapi's standard library extension, Pervasives")
(authors "Jonathan Ludlam")
(depends
(ocaml (>= 4.08))
logs
(odoc :with-doc)
xapi-backtrace
)
)
(package
(name xapi-stdext-std)
(synopsis "Xapi's standard library extension, Stdlib")
(depends
(ocaml (>= 4.08.0))
(alcotest :with-test)
(odoc :with-doc)
)
)
(package
(name xapi-stdext-threads)
(synopsis "Xapi's standard library extension, Threads")
(authors "Jonathan Ludlam")
(depends
base-threads
base-unix
(alcotest :with-test)
(fmt :with-test)
(odoc :with-doc)
(xapi-stdext-pervasives (= :version))
(mtime :with-test)
(xapi-stdext-unix (= :version))
)
)
(package
(name xapi-stdext-unix)
(synopsis "Xapi's standard library extension, Unix")
(authors "Jonathan Ludlam")
(depends
(ocaml (>= 4.12.0))
(alcotest :with-test)
astring
base-unix
(bisect_ppx :with-test)
(clock (and (= :version) :with-test))
(fd-send-recv (>= 2.0.0))
fmt
integers
(mtime (and (>= 2.0.0) :with-test))
(logs :with-test)
(qcheck-core (and (>= 0.21.2) :with-test))
(odoc :with-doc)
xapi-backtrace
unix-errno
(xapi-stdext-pervasives (= :version))
polly
)
)
(package
(name xapi-stdext-zerocheck)
(synopsis "Xapi's standard library extension, Zerocheck")
(authors "Jonathan Ludlam")
(depends
(odoc :with-doc)
)
)