Appendix A. Sample Implementations

This appendix tells where to find sample code for an LCP or a DCP, and describes how to make and test the OpenVault source code.

A.1. LCP Sample Code

The sample code in the directories under ovsrc/clients/lcp might give you an idea of how to code an LCP for a new removable media library (ovsrc depends on where you installed the OpenVault developer's kit).

Source code outside the ovsrc/clients/lcp hierarchy is not really important to you, because the SCSI framework, underlying communication and authentication layer, ALI parser, and ALI/R generator are all integrated into the developer's framework.

A.1.1. Odetics ATL 2640

Working source code for the Odetics ATL 2640 autochanger is in the following directory:

ovsrc/clients/lcp/ATL2640

A.1.2. EXABYTE SCSI Media Changers

Working source code for the EXABYTE 210, 220, 440, and 480 is in the following directory:

ovsrc/clients/lcp/EXABYTE-210

A.2. DCP Sample Code

The sample code in the directories under ovsrc/clients/dcp might give you an idea of how to code a DCP for a new removable media library.

Source code outside the ovsrc/clients/dcp hierarchy is not really important to you, because the SCSI framework, underlying communication and authentication layer, ADI parser, and ADI/R generator are all provided by the developer's framework.

A.2.1. DLT 2000

Working source code for the Quantum DLT 2000 drive is in the following directory:

ovsrc/clients/dcp/DLT2000

A.2.2. EXABYTE 8505XL

Working source code for the EXABYTE 8505 XL drive is in the following directory:

ovsrc/clients/dcp/EXB-8505XL