commit | ae61e9c05cd5f32350759da0645ada3013f11746 | [log] [tgz] |
---|---|---|
author | Shad Ansari <shad@opennetworking.org> | Sat May 05 00:37:26 2018 +0000 |
committer | Shad Ansari <shad@opennetworking.org> | Sat May 05 00:37:26 2018 +0000 |
tree | 56d386f7a348dbecded975fcef840c2727c16054 | |
parent | 803900aee9c8257f410a1a04a34db6466303b0be [diff] |
VOL-764: OpenOLT - Temp hack for PON OLT openflow port numbering Change-Id: I06822d7a0e07d50888762be4dd762f5f49c6a34a
diff --git a/voltha/adapters/openolt/openolt_device.py b/voltha/adapters/openolt/openolt_device.py index c8d24f6..0c37427 100644 --- a/voltha/adapters/openolt/openolt_device.py +++ b/voltha/adapters/openolt/openolt_device.py
@@ -454,7 +454,7 @@ elif intf_type is Port.PON_OLT: # Interface Ids (reported by device) are zero-based indexed # OpenFlow port numbering is one-based. - return intf_id + 1 + return intf_id + 65 # FIXME else: raise Exception('Invalid port type')