[TSDR-6] MetricsDetaill misleading information for all metrics data. Created: 01/Jun/15  Updated: 22/Jun/15  Resolved: 22/Jun/15

Status: Verified
Project: tsdr
Component/s: General
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Vasanthan Balasubramaniyan Assignee: Sharon Aicler
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 3465

 Description   

Environment:
Build# 2064 (Integration Build)
Switch Ovs 2.3.1/cPqd switch
Topology:
====
ovs-switch
sudo mn --topo tree,3 --switch ovsk,protocols=OpenFlow13 --controller remote,ip=10.16.148.23
CPqd
sudo mn --topo tree,3 --switch user,protocols=OpenFlow13 --controller remote,ip=10.16.148.23

Problem:
Metrics details misleading with information

1.PortStats
opendaylight-user@root>tsdr:list PortStats | head
TimeStamp = 06/01/2015 15:44:42|MetricName = CollisionCount|MetricValue = 0|MetricCategory = PortStats|MetricDetails =

{ 'Node':'Nodes','InterfaceName':'openflow:1'}

Node: should be "openflow:1" & InterfaceName should be "openflow:1:<InterfacName>

2.FlowTableStats
opendaylight-user@root>tsdr:list FlowTableStats | head
TimeStamp = 06/01/2015 15:44:42|MetricName = ActiveFlows|MetricValue = 4|MetricCategory = FlowTableStats|MetricDetails =

{ 'Node':'Nodes','Table':'openflow:1'}

Node: should be "openflow:1" & Table should be "openflow:1:<TableNumber>

3.FlowStats:
opendaylight-user@root>tsdr:list FlowStats | head
TimeStamp = 06/01/2015 15:44:42|MetricName = ByteCount|MetricValue = 668|MetricCategory = FlowStats|MetricDetails =

{ 'Node':'Nodes','Table':'openflow:1','Flow':'FlowCapableNode'}

Node: should be "openflow:1",Table should be "openflow:1:<TableNumber>,"Flow" needs to FlowName or ID.

4.FlowGroupStats

>tsdr:list FlowGroupStats
TimeStamp = 06/01/2015 13:57:23|MetricName = RefCount|MetricValue = 1.0|MetricCategory = FLOWGROUPSTATS|MetricDetails =

{ 'Node':'Nodes','GroupName':'openflow:1','BucketID':'FlowCapableNode'}

Node: should be "openflow:1",GroupName should be "openflow:1:<GroupID>, BucketID needs to be "output or group details"



 Comments   
Comment by Vasanthan Balasubramaniyan [ 22/Jun/15 ]

Tested on RC2 build: distribution-karaf-0.3.0-Lithium-RC2.zip

PortStats:
========
opendaylight-user@root>tsdr:list PortStats
TimeStamp = 06/22/2015 11:43:08|MetricName = TransmittedPackets|MetricValue = 55.0|MetricCategory = PORTSTATS|MetricDetails =

{ 'Node':'openflow:1','InterfaceName':'openflow:1:2'}

TimeStamp = 06/22/2015 11:43:08|MetricName = TransmittedBytes|MetricValue = 4645.0|MetricCategory = PORTSTATS|MetricDetails =

{ 'Node':'openflow:1','InterfaceName':'openflow:1:2'}

FlowStats
=======
opendaylight-user@root>tsdr:list FlowStats | head
TimeStamp = 06/22/2015 11:43:53|MetricName = ByteCount|MetricValue = 5270.0|MetricCategory = FLOWSTATS|MetricDetails =

{ 'Node':'openflow:1','Table':'0','Flow':'#UF$TABLE*0-1'}

TimeStamp = 06/22/2015 11:43:53|MetricName = ByteCount|MetricValue = 560.0|MetricCategory = FLOWSTATS|MetricDetails =

{ 'Node':'openflow:1','Table':'0','Flow':'#UF$TABLE*0-12'}

FlowTableStats:
=============
opendaylight-user@root>tsdr:list FlowTableStats | head
TimeStamp = 06/22/2015 11:44:23|MetricName = ActiveFlows|MetricValue = 0.0|MetricCategory = FLOWTABLESTATS|MetricDetails =

{ 'Node':'openflow:1','Table':'39'}

TimeStamp = 06/22/2015 11:44:23|MetricName = PacketMatch|MetricValue = 0.0|MetricCategory = FLOWTABLESTATS|MetricDetails =

{ 'Node':'openflow:1','Table':'39'}

QueueStats:
=========
TimeStamp = 06/22/2015 11:47:23|MetricName = TransmissionErrors|MetricValue = 0.0|MetricCategory = QUEUESTATS|MetricDetails =

{ 'Node':'openflow:2','InterfaceName':'openflow:2:3','QueueName':'0'}

TimeStamp = 06/22/2015 11:47:23|MetricName = TransmittedPackets|MetricValue = 0.0|MetricCategory = QUEUESTATS|MetricDetails =

{ 'Node':'openflow:2','InterfaceName':'openflow:2:3','QueueName':'2'}

TimeStamp = 06/22/2015 11:47:23|MetricName = TransmittedBytes|MetricValue = 450.0|MetricCategory = QUEUESTATS|MetricDetails =

{ 'Node':'openflow:2','InterfaceName':'openflow:2:3','QueueName':'0'}

This defect fixed and closing this.

Note: FlowGroup & FlowMeter has tracked on 3466.

Generated at Wed Feb 07 20:46:07 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.