Add device port retrieval functions with test overrides to the model.
Draw device ports.