CLI: use the unified ports API

Signed-off-by: Guillermo Ontanon <guillermo@midokura.jp>
Merge pull request #53 from gontanon/new_port_types

CLI: use the unified ports API