Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍길동
/
onos
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Thomas Vachuska
2014-10-29 17:31:02 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
98eda53b6b2f0a437600a8fffc216d336708545b
98eda53b
1 parent
1e426e9e
Added back the MBPS divisor for port speeds.
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
providers/openflow/device/src/main/java/org/onlab/onos/provider/of/device/impl/OpenFlowDeviceProvider.java
providers/openflow/device/src/main/java/org/onlab/onos/provider/of/device/impl/OpenFlowDeviceProvider.java
View file @
98eda53
...
...
@@ -283,7 +283,7 @@ public class OpenFlowDeviceProvider extends AbstractProvider implements DevicePr
for
(
OFPortFeatures
feat
:
port
.
getCurr
())
{
portSpeed
=
PortSpeed
.
max
(
portSpeed
,
feat
.
getPortSpeed
());
}
return
portSpeed
.
getSpeedBps
();
return
portSpeed
.
getSpeedBps
()
/
MBPS
;
}
}
...
...
Please
register
or
login
to post a comment