[OPNFLWPLUG-672] Li Migration: New RPC for user-driven statistics collecting Created: 11/Apr/16 Updated: 27/Sep/21 Resolved: 21/Jul/16 |
|
| Status: | Resolved |
| Project: | OpenFlowPlugin |
| Component/s: | General |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Jozef Bacigal | Assignee: | Tomas Slusny |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Issue Links: |
|
||||||||||||
| External issue ID: | 5692 | ||||||||||||
| Description |
|
Purpose:
|
| Comments |
| Comment by Abhijit Kumbhare [ 11/Apr/16 ] |
|
Reference to original bug: |
| Comment by Abhijit Kumbhare [ 09/May/16 ] |
|
Hideyuki - can you confirm if this can be done by M4 after the switching the default? |
| Comment by Hideyuki Tai [ 10/May/16 ] |
|
(In reply to Abhijit Kumbhare from comment #3) Hi Abhijit, VTN project is ok about that. |
| Comment by Tomas Slusny [ 13/May/16 ] |
|
GERRIT: |
| Comment by Shigeru Yasuda [ 20/May/16 ] |
|
Hi, I found a bug that causes NPE if store-stats is null in RPC input. If null is returned by input.isStoreStats(), it must be treated as false because definition of store-stats contains "default false;" statement; I pushed a patch that will fix that bug. |
| Comment by Tomas Slusny [ 20/May/16 ] |
|
(In reply to Shigeru Yasuda from comment #6) Can I ask, how to reproduce this bug? I was trying to reproduce it, but I am not able to get null in there. |
| Comment by Shigeru Yasuda [ 20/May/16 ] |
|
(In reply to Tomas Slusny from comment #7) This bug can be easily reproduced if you write Java code that calls direct stats RPC. I think this bug cannot be reproduced if you invoke RPC via RESTCONF because RESTCONF will complete missing fields that have default value. |