Remove PortInfo and combine it into SwitchInfo.
We won't provide any service for the other java module.
So remove the related functions.