Incomplete statistics comes for Tunnel ports from ovs:
"bytes_received": "-1",
"bytes_sent": "-1",
"duration": "65373",
"packets_received": "-1",
"packets_received_drop": "-1",
"packets_received_error": "-1",
"packets_received_on_tunnel": "0",
"packets_sent": "-1",
"packets_sent_on_tunnel": "0",
"port_id": "23",
"tenant_id": "
3ecca858-98cd-4923-9011-
e8c750f7b9a8",
"uuid": "
9e94558d-9dbf-4a82-88df-
b99d8fe056fa"
Change-Id: I116020f735bc341864b3fd80ee6d866deac155f8
Signed-off-by: Naveen Kumar Verma <naveen.kumar.verma@ericsson.com>
continue;
}
} else {
- LOG.trace("PortUuid is not found for portname {}. Skipping IFM counters publish for this port.",
+ LOG.trace("PortUuid is not present for portname {}. Skipping IFM counters publish for this port.",
portName.get());
continue;
}
+ } else {
+ LOG.trace("Port {} not found in PortName Cache.", portNameInCache);
+ continue;
}
Counter counter = getCounter(CounterConstants.IFM_PORT_COUNTER_OFPORT_DURATION, dpid, port, portUuid,null);