[OPNFLWPLUG-90] Plugin internal stats - add more, make stats accessible through the config subsystem Created: 20/Mar/14  Updated: 27/Sep/21  Due: 04/Jul/14  Resolved: 08/Jul/14

Status: Resolved
Project: OpenFlowPlugin
Component/s: General
Affects Version/s: None
Fix Version/s: None

Type: Improvement
Reporter: Abhijit Kumbhare Assignee: Vaclav Demcak
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Mac OS
Platform: PC


Issue Links:
Blocks
is blocked by OPNFLWPLUG-89 Migrate the OF Plugin onto the Config... Verified

 Description   

From the backlog list: https://wiki.opendaylight.org/view/OpenDaylight_OpenFlow_Plugin:Backlog



 Comments   
Comment by Michal Rehak [ 16/May/14 ]

First proposal (without configSubsystem and JMX):

Statistics on way switch -> controller:
= from switch queue stats: by pushing message to queueKeeper (ConnectionConductor)

  • after translating in queue:
    = IN+OUT counts for success (done)
    = IN counts for failure
    = before publishing to MD-SAL stats

Statistics in way controller -> switch:
= rpc invoked -> submit task to pool (enqueue): from MD-SAL queue stats

  • convert + submit to OFJava (ConnectionAdapter via MesssageDispatchService):
  • notification hook..
    = onSuccess stats
    = onFailure stats

There are 7 places to cover by stats (1 of them is already done).

Comment by Michal Rehak [ 16/May/14 ]

Supported stats:

/** message from switch, enqueued for processing */
FROM_SWITCH_ENQUEUED,
/** message from switch translated successfully - source */
FROM_SWITCH_TRANSLATE_IN_SUCCESS,
/** message from switch translated successfully - target */
FROM_SWITCH_TRANSLATE_OUT_SUCCESS,
/** message from switch where translation failed - source */
FROM_SWITCH_TRANSLATE_SRC_FAILURE,
/** message from switch finally published into MD-SAL */
FROM_SWITCH_PUBLISHED_SUCCESS,
/** message from switch - publishing into MD-SAL failed */
FROM_SWITCH_PUBLISHED_FAILURE,

/** message from MD-SAL to switch via RPC enqueued */
TO_SWITCH_ENQUEUED_SUCCESS,
/** message from MD-SAL to switch via RPC NOT enqueued */
TO_SWITCH_ENQUEUED_FAILED,
/** message from MD-SAL to switch - sent to OFJava successfully */
TO_SWITCH_SUBMITTED_SUCCESS,
/** message from MD-SAL to switch - sent to OFJava but failed*/
TO_SWITCH_SUBMITTED_FAILURE

Comment by Vaclav Demcak [ 04/Jul/14 ]

https://git.opendaylight.org/gerrit/#/c/8666/

Comment by Michal Rehak [ 04/Jul/14 ]

merged

please do not forget to solve TODOs (init method in OpenflowPluginProvider + create interface for this provider).

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