-
Bug
-
Resolution: Done
-
None
-
unspecified
-
None
-
Operating System: All
Platform: All
-
5244
-
Normal
Connect 200 openflow nodes .
openflow:2 records are not present in tsdr:list [ which is top 1000 records]
opendaylight-user@root>tsdr:list FLOWSTATS | grep openflow:2
opendaylight-user@root>
openflow:2 records is present in HBase table using query scan 'FLOWSTATS',
{FILTER =>"(RowFilter(=,'regexstring:openflow:2')) AND (RowFilter(=,'regexstring:openflow:2'))"}:
[NID=openflow:2][DC=FLOWSTATS column=c1:raw, timestamp=1454489829356, value=864
][MN=PacketCount][RK=Node:ope
nflow:2,Table:0,Flow:#UF$TABL
E*0-282][TS=1454489829356]
[NID=openflow:2][DC=FLOWSTATS column=c1:raw, timestamp=1454489955263, value=912
][MN=PacketCount][RK=Node:ope
nflow:2,Table:0,Flow:#UF$TABL
E*0-282][TS=1454489955263]
[NID=openflow:2][DC=FLOWSTATS column=c1:raw, timestamp=1454490095678, value=970
][MN=PacketCount][RK=Node:ope
nflow:2,Table:0,Flow:#UF$TABL
E*0-282][TS=1454490095678]
[NID=openflow:2][DC=FLOWSTATS column=c1:raw, timestamp=1454490220987, value=1020
][MN=PacketCount][RK=Node:ope
nflow:2,Table:0,Flow:#UF$TABL
E*0-282][TS=1454490220987]
[NID=openflow:2][DC=FLOWSTATS column=c1:raw, timestamp=1454490347397, value=1070
][MN=PacketCount][RK=Node:ope
nflow:2,Table:0,Flow:#UF$TABL
E*0-282][TS=1454490347397]
Query returns 0 values
[ WARN ] {
"metricRecords": [],
"recordCount": 0
}
[ WARN ] {}
Query returns output for openflow:102 which is present in tsdr:list
opendaylight-user@root>tsdr:list FLOWSTATS | grep openflow:102
[NID=openflow:102][DC=FLOWSTATS][MN=ByteCount]RK=Node:openflow:102,Table:0,Flow:#UF$TABLE*0-93[TS=1454487809960][0]
[NID=openflow:102][DC=FLOWSTATS][MN=ByteCount]RK=Node:openflow:102,Table:0,Flow:#UF$TABLE*0-93[TS=1454487920020][0]
[NID=openflow:102][DC=FLOWSTATS][MN=ByteCount]RK=Node:openflow:102,Table:0,Flow:#UF$TABLE*0-93[TS=1454488061334][0]
[NID=openflow:102][DC=FLOWSTATS][MN=ByteCount]RK=Node:openflow:102,Table:0,Flow:#UF$TABLE*0-93[TS=1454488186115][0]
[NID=openflow:102][DC=FLOWSTATS][MN=ByteCount]RK=Node:openflow:102,Table:0,Flow:#UF$TABLE*0-93[TS=1454488295676][0]
[NID=openflow:102][DC=FLOWSTATS][MN=ByteCount]RK=Node:openflow:102,Table:0,Flow:#UF$TABLE*0-93[TS=1454488436026][0]
[NID=openflow:102][DC=FLOWSTATS][MN=ByteCount]RK=Node:openflow:102,Table:0,Flow:#UF$TABLE*0-93[TS=1454488560916][0]
[NID=openflow:102][DC=FLOWSTATS][MN=ByteCount]RK=Node:openflow:102,Table:0,Flow:#UF$TABLE*0-93[TS=1454488685684][0]
[NID=openflow:102][DC=FLOWSTATS][MN=ByteCount]RK=Node:openflow:102,Table:0,Flow:#UF$TABLE*0-93[TS=1454488811623][0]
[NID=openflow:102][DC=FLOWSTATS][MN=ByteCount]RK=Node:openflow:102,Table:0,Flow:#UF$TABLE*0-93[TS=1454488937212][0]
[NID=openflow:102][DC=FLOWSTATS][MN=ByteCount]RK=Node:openflow:102,Table:0,Flow:#UF$TABLE*0-93[TS=1454489078098][0]
[NID=openflow:102][DC=FLOWSTATS][MN=ByteCount]RK=Node:openflow:102,Table:0,Flow:#UF$TABLE*0-93[TS=1454489187799][0]
[NID=openflow:102][DC=FLOWSTATS][MN=ByteCount]RK=Node:openflow:102,Table:0,Flow:#UF$TABLE*0-93[TS=1454489329182][0]
[NID=openflow:102][DC=FLOWSTATS][MN=ByteCount]RK=Node:openflow:102,Table:0,Flow:#UF$TABLE*0-93[TS=1454489469966][0]
[NID=openflow:102][DC=FLOWSTATS][MN=ByteCount]RK=Node:openflow:102,Table:0,Flow:#UF$TABLE*0-93[TS=1454489595061][0]
[NID=openflow:102][DC=FLOWSTATS][MN=ByteCount]RK=Node:openflow:102,Table:0,Flow:#UF$TABLE*0-93[TS=1454489751937][0]
[NID=openflow:102][DC=FLOWSTATS][MN=ByteCount]RK=Node:openflow:102,Table:0,Flow:#UF$TABLE*0-93[TS=1454489861357][0]
[NID=openflow:102][DC=FLOWSTATS][MN=ByteCount]RK=Node:openflow:102,Table:0,Flow:#UF$TABLE*0-93[TS=1454490002550][0]
[NID=openflow:102][DC=FLOWSTATS][MN=ByteCount]RK=Node:openflow:102,Table:0,Flow:#UF$TABLE*0-93[TS=1454490127392][0]
[NID=openflow:102][DC=FLOWSTATS][MN=ByteCount]RK=Node:openflow:102,Table:0,Flow:#UF$TABLE*0-93[TS=1454490268255][0]
[NID=openflow:102][DC=FLOWSTATS][MN=ByteCount]RK=Node:openflow:102,Table:0,Flow:#UF$TABLE*0-94[TS=1454487683556][0]
[NID=openflow:102][DC=FLOWSTATS][MN=ByteCount]RK=Node:openflow:102,Table:0,Flow:#UF$TABLE*0-95[TS=1454487683556][0]
[NID=openflow:102][DC=FLOWSTATS][MN=ByteCount]RK=Node:openflow:102,Table:0,Flow:#UF$TABLE*0-96[TS=1454487683556][0]
[NID=openflow:102][DC=FLOWSTATS][MN=ByteCount][RK=Node:openflow:102,Table:0,Flow:#
<output truncated>
${resp}= RequestsLibrary.Get Request session /tsdr/metrics/query?tsdrkey="[NID=openflow:102][DC=FLOWSTATS][MN=][RK=]"&from=${from}&until=${until} headers=${HEADERS_QUERY}
${resp1}= RequestsLibrary.Get Request session /tsdr/nbi/render?target="[NID=openflow:102][DC=FLOWSTATS][MN=][RK=]"&from=0&until=now&maxDataPoints=1000 headers=${HEADERS_QUERY}
{
"metricName": "PacketCount",
"metricValue": 406,
"timeStamp": "Wed Feb 03 14:30:33 IST 2016",
"nodeID": "openflow:102",
"tsdrDataCategory": "FLOWSTATS",
"recordKeys": [
,
,
{ "keyName": "Flow", "keyValue": "#UF$TABLE*0-984" } ]
},
{
"metricName": "PacketCount",
"metricValue": 406,
"timeStamp": "Wed Feb 03 14:32:38 IST 2016",
"nodeID": "openflow:102",
"tsdrDataCategory": "FLOWSTATS",
"recordKeys": [
,
,
{ "keyName": "Flow", "keyValue": "#UF$TABLE*0-984" } ]
},
{
"metricName": "PacketCount",
"metricValue": 406,
"timeStamp": "Wed Feb 03 14:34:43 IST 2016",
"nodeID": "openflow:102",
"tsdrDataCategory": "FLOWSTATS",
"recordKeys": [
,
,
{ "keyName": "Flow", "keyValue": "#UF$TABLE*0-984" } ]
}
],
"recordCount": 206
}
[ WARN ] [
]