mirror of
https://github.com/Telecominfraproject/wlan-cloud-opensync-controller.git
synced 2025-11-21 12:24:55 +00:00
[WIFI-3358] remove client metric setSessionId in MqttStatsPublisher
This commit is contained in:
committed by
Mike Hansen
parent
5ebecaf88f
commit
949c8cb37f
@@ -1112,13 +1112,6 @@ public class MqttStatsPublisher implements StatsPublisherInterface {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
ClientSession session = clientServiceInterface.getSessionOrNull(customerId, equipmentId, MacAddress.valueOf(cl.getMacAddress()));
|
|
||||||
|
|
||||||
if (session == null) {
|
|
||||||
LOG.info("No session for Client {}, ignore.");
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (cl.hasStats()) {
|
if (cl.hasStats()) {
|
||||||
LOG.debug("Processing ClientReport from AP for client device {}", cl.getMacAddress());
|
LOG.debug("Processing ClientReport from AP for client device {}", cl.getMacAddress());
|
||||||
ServiceMetric smr = new ServiceMetric(customerId, equipmentId, MacAddress.valueOf(cl.getMacAddress()));
|
ServiceMetric smr = new ServiceMetric(customerId, equipmentId, MacAddress.valueOf(cl.getMacAddress()));
|
||||||
@@ -1134,8 +1127,6 @@ public class MqttStatsPublisher implements StatsPublisherInterface {
|
|||||||
// OvsdbDao.configureStats(OvsdbClient)
|
// OvsdbDao.configureStats(OvsdbClient)
|
||||||
cMetrics.setPeriodLengthSec(periodLengthSec);
|
cMetrics.setPeriodLengthSec(periodLengthSec);
|
||||||
cMetrics.setRadioType(OvsdbToWlanCloudTypeMappingUtility.getRadioTypeFromOpensyncStatsRadioBandType(clReport.getBand()));
|
cMetrics.setRadioType(OvsdbToWlanCloudTypeMappingUtility.getRadioTypeFromOpensyncStatsRadioBandType(clReport.getBand()));
|
||||||
cMetrics.setSessionId(session.getDetails().getSessionId());
|
|
||||||
LOG.debug("populateApClientMetrics Session Id {}", session.getDetails().getSessionId());
|
|
||||||
|
|
||||||
if (cl.getStats().hasRssi()) {
|
if (cl.getStats().hasRssi()) {
|
||||||
int rssi = cl.getStats().getRssi();
|
int rssi = cl.getStats().getRssi();
|
||||||
|
|||||||
Reference in New Issue
Block a user