hardware/cmdb.py: expose generate for load_cmdb