API & CLI for HW models

Another piece of Foreman integration.