test-openflowd: Allow specifying port type on --ports option.