```python @action('machine.issue-mdi') @require(task_state='on', interp_state='idle') def issue_mdi(cmd): """Issue an MDI command.""" print "Issuing MDI:", cmd ```