commit | d5a8f0105bf8ea4cad728f76ac8d01a9eed4481c | [log] [tgz] |
---|---|---|
author | Aneesha Pailla <apailla@calient.net> | Wed May 04 11:45:17 2016 -0700 |
committer | Gerrit Code Review <gerrit@onlab.us> | Wed May 04 22:37:16 2016 +0000 |
tree | 3e3bbcbd393acb2446b53837be0ab9aa8b740380 | |
parent | 43702bf481d0ae02ff78264997394817f19337c5 [diff] |
Bug fix for ONOS-4491 Change-Id: I5088b3ec219fd2b44e74c9cbba70cbfb7addad84
diff --git a/core/net/src/main/java/org/onosproject/net/device/impl/DeviceManager.java b/core/net/src/main/java/org/onosproject/net/device/impl/DeviceManager.java index 504882b..1931e8c 100644 --- a/core/net/src/main/java/org/onosproject/net/device/impl/DeviceManager.java +++ b/core/net/src/main/java/org/onosproject/net/device/impl/DeviceManager.java
@@ -371,7 +371,8 @@ List<PortDescription> descs = ports.stream().map( port -> (!(Device.Type.ROADM.equals(device.type()) || - (Device.Type.OTN.equals(device.type())))) ? + (Device.Type.OTN.equals(device.type())) || + (Device.Type.FIBER_SWITCH.equals(device.type())))) ? new DefaultPortDescription(port.number(), false, port.type(), port.portSpeed()) : OpticalPortOperator.descriptionOf(port, false)