<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:33:01 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[OPNFLWPLUG-644] Audit data collection for various events of OpenFlow plugin.</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-644</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;In a real prod environment its imperative to extract an audit trail of connection and disconnection events. Other events might also be important.&lt;/p&gt;

&lt;p&gt;Some options to consider are&lt;/p&gt;

&lt;p&gt;1. Have a keyword in the logs to identify its a connection event.&lt;br/&gt;
2. Put JMX metrics for this events (keeping a history will be difficult here)&lt;br/&gt;
3. Store these events in Datastore - this might be an overkill, and there are other better systems than our in-mem datastore for this purpose.&lt;/p&gt;

&lt;p&gt;For now option 1 seems to be a low hanging fruit, for now.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="27912">OPNFLWPLUG-644</key>
            <summary>Audit data collection for various events of OpenFlow plugin.</summary>
                <type id="10100" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="Somashekhar">Somashekhar Javalagi</assignee>
                                    <reporter username="kramesha@cisco.com">Kamal Rameshan</reporter>
                        <labels>
                            <label>neon-release</label>
                    </labels>
                <created>Thu, 17 Mar 2016 19:36:18 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:45 +0000</updated>
                            <resolved>Fri, 12 Jul 2019 06:19:51 +0000</resolved>
                                                    <fixVersion>Neon</fixVersion>
                    <fixVersion>Sodium</fixVersion>
                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="57692" author="jozef.bacigal@pantheon.tech" created="Tue, 20 Jun 2017 09:22:48 +0000"  >&lt;p&gt;Connection and disconnections statistics is possible to get through SessionStatistics (karaf console command show-session-stats). In all logs on the DEBUG level is used alwas the same pattern to identify device as &quot;Device:&apos;device name&apos;&quot;. Session statistics or MessageSpy, can be enhanced. But need to know what information are needed. MessageSpy is also available in karaf console and in LOG by using DEBUG.&lt;/p&gt;</comment>
                            <comment id="60427" author="vishnoianil@gmail.com" created="Tue, 12 Dec 2017 09:35:56 +0000"  >&lt;p&gt;This story is a good enhancement for the plugin, but it requires&#160;more grooming on what can&#160;be improved here and how to expose these statistics data.&lt;/p&gt;</comment>
                            <comment id="64927" author="vishnoianil@gmail.com" created="Mon, 10 Sep 2018 15:58:27 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=Arunprakash&quot; class=&quot;user-hover&quot; rel=&quot;Arunprakash&quot;&gt;Arunprakash&lt;/a&gt; Can you please update the ticket with the details?&lt;/p&gt;</comment>
                            <comment id="64933" author="somashekhar" created="Tue, 11 Sep 2018 08:58:38 +0000"  >&lt;ol&gt;
	&lt;li&gt;Planning to define&#160;logger with a specified name (Ex: OfEventLogger)&#160;for openflowplugin, so that&#160;we can use this logger to log openflowplugin important events.&lt;/li&gt;
	&lt;li&gt;We can develop a script&#160;which will modify karaf log configuration file(etc/org.ops4j.pax.logging.cfg) for configuring logger and appender for this.&lt;/li&gt;
	&lt;li&gt;This script should make sure that these event logs are written into a separate file (ex: data\events\openflow), so that main events can be referred here.&lt;/li&gt;
	&lt;li&gt;These main events can&#160;be following:&lt;br/&gt;
(1) Openflow device connection/disconnection&lt;br/&gt;
(2) OF Resync Start/Finish&lt;br/&gt;
(3) Flow Count&#160;after Reconciliation&lt;br/&gt;
(4) Node connector addition/deletion&lt;br/&gt;
(5) Master Role Acquisition, etc&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="65388" author="somashekhar" created="Tue, 23 Oct 2018 04:33:11 +0000"  >&lt;p&gt;Main events of openflowplugin can be logged using a separate common logger, which will be using log4j logging framework. This can be configured as a log appender in etc/org.ops4j.pax.logging file, through which we can redirect main openflowplugin event logs to a separate file. This can be helpful in debugging the problems with different phases of device connection to the SDN controller. The log appender can be configured as below in&#160;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/attachment/15018/15018_log_configuration.txt&quot; title=&quot;log_configuration.txt attached to OPNFLWPLUG-644&quot;&gt;log_configuration.txt&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.opendaylight.org/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="15018" name="log_configuration.txt" size="880" author="Somashekhar" created="Tue, 23 Oct 2018 04:32:20 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5551</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=5551]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10305"><![CDATA[Improvement]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i032fb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>