mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-15 09:21:06 +02:00
Introduce a new API for PiInterpreter to map logical port number to a long port number and deprecate the old one. The reason we need to translate logical port number to a long type is that the mapped number will become negative when translating port number to an unsigned integer with MSB (e.g., 0xFFFFFFFD) and the low level driver or translator is expecting to get a positive number. Change-Id: I751e69461b0cf97280f12fd98ca2b15b83cbe84f