ITDT support for RoS

The IBM Tape Diagnostic Tool (ITDT) Standard Edition provides convenient command-line support for the tape library RoS functions. ITDT is a cross-platform, device-driver-independent utility that can be obtained at no charge from IBM Fix Central.

For detailed ITDT documentation, refer to the IBM Tape Device Drivers and Diagnostic Tool User's Guide.

Example RoS command with ITDT

./itdt -f /dev/IBMchanger1 ros GET /v1/library

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 627
  [
    {
      "name": "AvengersMansion",
      "status": "online",
      "totalCapacity": 2134,
      "licensedCapacity": 1246,
      "totalCartridges": 251,
      "assignedCartridges": 251,
      "firmware": "1.7.0.0-B00",
      "sn": "13FA010",
      "time": "2020-03-18T03:13:12-0700",
      "location": null,
      "address": null,
      "city": null,
      "state": null,
      "country": null,
      "contact": null,
      "telephone": null,
      "secondaryTelephone": null,
      "secureCommunications": "disabled",
      "autoEjectCleaningCartridges": "enabled",
      "elasticCapacity": "doNotUse",
      "activeAccessors": "dualActive",
      "vioStatus": "enabled",
      "nmaDetection": "enabled",
      "capacityUtilThresh": 99.0,
      "dualAccessorUtilThresh": 98.0
     }
  ]

Exit with code: 0
[root@mosca ITDT]#