case OTN: opsw = (OpenFlowOpticalSwitch) sw; List<OFPortDesc> ports = opsw.getPorts(); LOG.debug("SW ID {} , ETH- ODU CLT Ports {}", opsw.getId(), ports); opsw.getPortTypes().forEach(type -> { List<? extends OFObject> portsOf = opsw.getPortsOf(type); LOG.debug("Ports Of{}", portsOf); portsOf.forEach( case FIBER_SWITCH: opsw = (OpenFlowOpticalSwitch) sw; opsw.getPortTypes().forEach(type -> { opsw.getPortsOf(type).forEach( op -> { portDescs.add(buildPortDescription((OFCalientPortDescStatsEntry) op));