I was tired of getting a DCUID and trying to figure out the model name or vice versa, so I added some argument parsing to /opt/rtcds/userapps/release/sys/common/guardian/cdslib.py
Example usage after aliasing cdslib='python /opt/rtcds/userapps/release/sys/common/guardian/cdslib.py':
thomas.shaffer@zotws8:~$ cdslib -h
usage: cdslib.py [-h] [-p] [model]
positional arguments:
model Give the model name or dcuid # and it will return the
compliment.
optional arguments:
-h, --help show this help message and exit
-p, --printmodels Print the total list of the all models and their dcuids.
thomas.shaffer@zotws8:~$ cdslib 117
h1calcs
thomas.shaffer@zotws8:~$ cdslib h1calcs
117