port_id checking

This pull request fixes an issue in the translation from the abstraction layer to OpenFlow 1.3 that would identify all physical ports and invalid.