<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:31:28 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-62] Meter Statistics not showing output/logs on OSGI prompt and through REST</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-62</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;Start controller (./run.sh -debug) and mininet (sudo mn --topo single,2 --controller remote,ip=192.168.56.103:6653 --switch ovsk,protocols=OpenFlow13)&lt;br/&gt;
osgi&amp;gt; setLogLevel DECONTROLLER-5&lt;br/&gt;
osgi&amp;gt; addMeter openflow:1&lt;br/&gt;
Push XML(attached) using REST and GET works fine&lt;br/&gt;
&lt;a href=&quot;http://192.168.56.103:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/2/flow/172&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://192.168.56.103:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/2/flow/172&lt;/a&gt;&lt;br/&gt;
osgi&amp;gt; meterConfigStats&lt;br/&gt;
null&lt;br/&gt;
osgi&amp;gt; meterStats&lt;br/&gt;
osgi&amp;gt;&lt;br/&gt;
Below rest returns &quot;404 Not Found&quot;, &quot;No data exists&quot; error&lt;br/&gt;
&lt;a href=&quot;http://192.168.56.103:8080/restconf/operational/opendaylight-inventory:nodes/node/openflow:1/meter/8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://192.168.56.103:8080/restconf/operational/opendaylight-inventory:nodes/node/openflow:1/meter/8&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Controller version used&lt;br/&gt;
commit 4c433343d958b7db6aa3eddde9bd9be45041b07d&lt;br/&gt;
Author: Krishnan Iyer &amp;lt;krishnan.k.iyer@gmail.com&amp;gt;&lt;br/&gt;
Date:   Tue Jan 28 14:53:57 2014 +0530&lt;br/&gt;
    REST Actions testing&lt;br/&gt;
    Signed-off-by: Krishnan Iyer &amp;lt;krishnan.k.iyer@gmail.com&amp;gt;&lt;br/&gt;
    Change-Id: I3b9cad70460a00b51801c246fffcd99ac415f811&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="27330">OPNFLWPLUG-62</key>
            <summary>Meter Statistics not showing output/logs on OSGI prompt and through REST</summary>
                <type id="10100" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10310&amp;avatarType=issuetype">Improvement</type>
                                                <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="10001">Won&apos;t Do</resolution>
                                        <assignee username="sachi.gupta@tcs.com">Sachi Gupta</assignee>
                                    <reporter username="praveen_recker@sify.com">Praveen Darshanam</reporter>
                        <labels>
                    </labels>
                <created>Wed, 29 Jan 2014 11:18:44 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:04 +0000</updated>
                            <resolved>Thu, 6 Feb 2014 08:45:59 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="55347" author="praveen_recker@sify.com" created="Wed, 29 Jan 2014 11:18:44 +0000"  >&lt;p&gt;Attachment f901.xml has been added with description: Meter, Group and Flow Statistics&lt;/p&gt;</comment>
                            <comment id="55334" author="praveen_recker@sify.com" created="Thu, 30 Jan 2014 08:14:21 +0000"  >&lt;p&gt;Used the xml provided at&lt;br/&gt;
&lt;a href=&quot;https://wiki.opendaylight.org/view/OpenDaylight_OpenFlow_Plugin:End_to_End_Meters&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.opendaylight.org/view/OpenDaylight_OpenFlow_Plugin:End_to_End_Meters&lt;/a&gt; &lt;br/&gt;
PUT/GET was working file but meterConfigStats returns null string on OSGI prompt.&lt;/p&gt;

&lt;p&gt;GET request using below link doesn&apos;t return Meter stats instead return some unexpected HTML file&lt;br/&gt;
&lt;a href=&quot;http://192.168.56.103:8080/restconfig/operational/opendaylight-inventory:nodes/node/openflow:1/meter/1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://192.168.56.103:8080/restconfig/operational/opendaylight-inventory:nodes/node/openflow:1/meter/1&lt;/a&gt; &lt;br/&gt;
********&lt;br/&gt;
&amp;lt;!DOCTYPE html&amp;gt;&lt;br/&gt;
&amp;lt;html&amp;gt;&lt;br/&gt;
    &amp;lt;head&amp;gt;&lt;br/&gt;
        &amp;lt;meta charset=&quot;utf-8&quot;&amp;gt;&lt;br/&gt;
            &amp;lt;!-- Bootstrap CSS - 1 --&amp;gt;&lt;br/&gt;
            &amp;lt;link href=&quot;/css/bootstrap.min.css&quot; rel=&quot;stylesheet&quot; media=&quot;screen&quot;&amp;gt;&lt;br/&gt;
                &amp;lt;!-- Login CSS - 2 --&amp;gt;&lt;br/&gt;
                &amp;lt;link rel=&quot;stylesheet/less&quot; type=&quot;text/css&quot; href=&quot;/css/login.less&quot;&amp;gt;&lt;br/&gt;
                    &amp;lt;title&amp;gt;OpenDaylight - Login&amp;lt;/title&amp;gt;&lt;br/&gt;
                    &amp;lt;!-- Bootstrap JS - 1 --&amp;gt;&lt;br/&gt;
                    &amp;lt;script src=&quot;/js/bootstrap.min.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br/&gt;
                    &amp;lt;!-- LESS - 2 --&amp;gt;&lt;br/&gt;
                    &amp;lt;script type=&quot;text/javascript&quot;&amp;gt;&lt;br/&gt;
		less = &lt;/p&gt;
{
			env: &quot;production&quot;
		}
&lt;p&gt;;&lt;br/&gt;
	&amp;lt;/script&amp;gt;&lt;br/&gt;
                    &amp;lt;script src=&quot;/js/less-1.3.3.min.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br/&gt;
                &amp;lt;/head&amp;gt;&lt;br/&gt;
                &amp;lt;body&amp;gt;&lt;br/&gt;
                    &amp;lt;form action=&quot;j_security_check&quot; id=&quot;form&quot; method=&quot;post&quot;&amp;gt;&lt;br/&gt;
                        &amp;lt;div class=&quot;container&quot;&amp;gt;&lt;br/&gt;
                            &amp;lt;div class=&quot;content&quot;&amp;gt;&lt;br/&gt;
                                &amp;lt;div class=&quot;login-form&quot;&amp;gt;&lt;br/&gt;
                                    &amp;lt;div id=&quot;logo&quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br/&gt;
                                    &amp;lt;fieldset&amp;gt;&lt;br/&gt;
                                        &amp;lt;div class=&quot;control-group&quot;&amp;gt;&lt;br/&gt;
                                            &amp;lt;input type=&quot;text&quot; name=&quot;j_username&quot; placeholder=&quot;Username&quot;&amp;gt;&lt;br/&gt;
                                            &amp;lt;/div&amp;gt;&lt;br/&gt;
                                            &amp;lt;div class=&quot;control-group&quot;&amp;gt;&lt;br/&gt;
                                                &amp;lt;input type=&quot;password&quot; name=&quot;j_password&quot; placeholder=&quot;Password&quot;&amp;gt;&lt;br/&gt;
                                                &amp;lt;/div&amp;gt;&lt;br/&gt;
                                                &amp;lt;button class=&quot;btn btn-primary&quot; type=&quot;submit&quot; value=&quot;Log In&quot; &amp;gt;&lt;br/&gt;
                                                    &amp;lt;div class=&quot;icon-login&quot;&amp;gt;&amp;lt;/div&amp;gt; Log In&lt;br/&gt;
                                                &amp;lt;/button&amp;gt;&lt;br/&gt;
                                            &amp;lt;/fieldset&amp;gt;&lt;br/&gt;
                                        &amp;lt;/div&amp;gt;&lt;br/&gt;
                                    &amp;lt;/div&amp;gt;&lt;br/&gt;
                                &amp;lt;/div&amp;gt;&lt;br/&gt;
                            &amp;lt;/form&amp;gt;&lt;br/&gt;
                        &amp;lt;/body&amp;gt;&lt;br/&gt;
                    &amp;lt;/html&amp;gt;&lt;br/&gt;
********&lt;/p&gt;</comment>
                            <comment id="55335" author="praveen_recker@sify.com" created="Thu, 30 Jan 2014 08:41:29 +0000"  >&lt;p&gt;Mininet details&lt;/p&gt;

&lt;p&gt;mininet@mininet-vm104:~$ sudo ovs-ofctl -O OpenFlow13 dump-desc s1&lt;br/&gt;
OFPST_DESC reply (OF1.3) (xid=0x2):&lt;br/&gt;
Manufacturer: Nicira, Inc.&lt;br/&gt;
Hardware: Open vSwitch&lt;br/&gt;
Software: 2.0.0&lt;br/&gt;
Serial Num: None&lt;br/&gt;
DP Description: None&lt;br/&gt;
mininet@mininet-vm104:~$&lt;/p&gt;

&lt;p&gt;mininet@mininet-vm104:~$ sudo ovs-ofctl -O OpenFlow13 show s1&lt;br/&gt;
OFPT_FEATURES_REPLY (OF1.3) (xid=0x2): dpid:0000000000000001&lt;br/&gt;
n_tables:254, n_buffers:256&lt;br/&gt;
capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS&lt;br/&gt;
OFPT_GET_CONFIG_REPLY (OF1.3) (xid=0x4): frags=normal miss_send_len=0&lt;/p&gt;

&lt;p&gt;mininet@mininet-vm104:~$ sudo ovs-ofctl -V&lt;br/&gt;
ovs-ofctl (Open vSwitch) 2.0.0&lt;br/&gt;
Compiled Jan 21 2014 22:37:51&lt;br/&gt;
OpenFlow versions 0x1:0x4&lt;br/&gt;
mininet@mininet-vm104:~$&lt;/p&gt;</comment>
                            <comment id="55336" author="sachi.gupta@tcs.com" created="Fri, 31 Jan 2014 09:49:17 +0000"  >&lt;p&gt;Hi Praveen,&lt;/p&gt;

&lt;p&gt;I am able to replicate the same problem.&lt;/p&gt;

&lt;p&gt;Observation 1: GET request using below link doesn&apos;t return Meter stats instead return some unexpected HTML file&lt;br/&gt;
&lt;a href=&quot;http://192.168.56.103:8080/restconfig/operational/opendaylight-inventory:nodes/node/openflow:1/meter/1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://192.168.56.103:8080/restconfig/operational/opendaylight-inventory:nodes/node/openflow:1/meter/1&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;Observation 2: The meterConfigStats return null value on osgi prompt.&lt;/p&gt;


&lt;p&gt;Will investigate and debug the issue to fix it.&lt;/p&gt;</comment>
                            <comment id="55337" author="vishnoianil@gmail.com" created="Fri, 31 Jan 2014 09:58:54 +0000"  >&lt;p&gt;Hi Sachi/Praveen,&lt;/p&gt;

&lt;p&gt;Can you please try to recreate this scenario with CPqD switch? I think Openvswitch 2.0.0 don&apos;t have support for Meter Multipart request/reply messages. So if you test with CPqD switch and it works fine then i think we can confirm it.&lt;/p&gt;

&lt;p&gt;Thanks&lt;br/&gt;
Anil&lt;/p&gt;</comment>
                            <comment id="55338" author="sachi.gupta@tcs.com" created="Fri, 31 Jan 2014 11:06:08 +0000"  >&lt;p&gt;Hi Avishnoi,&lt;/p&gt;

&lt;p&gt;Please find the comments inline:&lt;/p&gt;

&lt;p&gt;1. Have run the controller using openflowplugin1.3 using &lt;a href=&quot;https://wiki.opendaylight.org/view/OpenDaylight_OpenFlow_Plugin::Build_Instructions&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.opendaylight.org/view/OpenDaylight_OpenFlow_Plugin::Build_Instructions&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;2. Have installed mininet 2.1.0 with openvswitch 2.0.0 and openflow1.3 using &lt;a href=&quot;https://wiki.opendaylight.org/view/OpenDaylight_OpenFlow_Plugin::Test_Environment&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.opendaylight.org/view/OpenDaylight_OpenFlow_Plugin::Test_Environment&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;3. Started controller and mininet (sudo mn --topo single,2 --controller remote,ip=192.168.56.103:6653 --switch ovsk,protocols=OpenFlow13)&lt;/p&gt;

&lt;p&gt;4. Used the xml provided at &lt;a href=&quot;https://wiki.opendaylight.org/view/OpenDaylight_OpenFlow_Plugin:End_to_End_Meters&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.opendaylight.org/view/OpenDaylight_OpenFlow_Plugin:End_to_End_Meters&lt;/a&gt; &lt;br/&gt;
PUT/GET was working file but meterConfigStats returns null string on OSGI prompt.&lt;/p&gt;

&lt;p&gt;5. GET request using below link doesn&apos;t return Meter stats instead return some unexpected HTML file&lt;br/&gt;
&lt;a href=&quot;http://192.168.56.103:8080/restconfig/operational/opendaylight-inventory:nodes/node/openflow:1/meter/1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://192.168.56.103:8080/restconfig/operational/opendaylight-inventory:nodes/node/openflow:1/meter/1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="55339" author="sachi.gupta@tcs.com" created="Mon, 3 Feb 2014 10:11:38 +0000"  >&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;Please find the below comments:&lt;/p&gt;

&lt;p&gt;Have tried to add meter by three different ways:&lt;/p&gt;

&lt;p&gt;1. Added meter through osgi prompt:&lt;br/&gt;
   osgi&amp;gt; addMeter openflow:1&lt;/p&gt;

&lt;p&gt;   The output is as:&lt;br/&gt;
   1.1 On osgi prompt run meterConfigStats command which returned null&lt;br/&gt;
   1.2 On mininet no meter stats are received : sudo dpctl tcp:127.0.0.1:6680 meter-config&lt;br/&gt;
   1.3 Through restconf GET &lt;a href=&quot;http://localhost:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/meter/12&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/meter/12&lt;/a&gt; - Meter is shown&lt;/p&gt;

&lt;p&gt;2. Added meter through restconf:&lt;br/&gt;
   PUT &lt;a href=&quot;http://127.0.0.1:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/meter/12&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/meter/12&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;   REQUEST BODY:&lt;/p&gt;

&lt;p&gt;   &amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&amp;gt;&lt;br/&gt;
    &amp;lt;meter xmlns=&quot;urn:opendaylight:flow:inventory&quot;&amp;gt;&lt;br/&gt;
    &amp;lt;container-name&amp;gt;abcd&amp;lt;/container-name&amp;gt;&lt;br/&gt;
    &amp;lt;flags&amp;gt;meter-burst&amp;lt;/flags&amp;gt;&lt;br/&gt;
    &amp;lt;meter-band-headers&amp;gt;&lt;br/&gt;
        &amp;lt;meter-band-header&amp;gt;&lt;br/&gt;
            &amp;lt;band-burst-size&amp;gt;444&amp;lt;/band-burst-size&amp;gt;&lt;br/&gt;
            &amp;lt;band-id&amp;gt;0&amp;lt;/band-id&amp;gt;&lt;br/&gt;
            &amp;lt;band-rate&amp;gt;234&amp;lt;/band-rate&amp;gt;&lt;br/&gt;
            &amp;lt;dscp-remark-burst-size&amp;gt;5&amp;lt;/dscp-remark-burst-size&amp;gt;&lt;br/&gt;
            &amp;lt;dscp-remark-rate&amp;gt;12&amp;lt;/dscp-remark-rate&amp;gt;&lt;br/&gt;
            &amp;lt;perc_level&amp;gt;1&amp;lt;/perc_level&amp;gt;&lt;br/&gt;
            &amp;lt;meter-band-types&amp;gt;&lt;br/&gt;
                &amp;lt;flags&amp;gt;ofpmbt-dscp-remark&amp;lt;/flags&amp;gt;&lt;br/&gt;
            &amp;lt;/meter-band-types&amp;gt;&lt;br/&gt;
        &amp;lt;/meter-band-header&amp;gt;&lt;br/&gt;
    &amp;lt;/meter-band-headers&amp;gt;&lt;br/&gt;
    &amp;lt;meter-id&amp;gt;1&amp;lt;/meter-id&amp;gt;&lt;br/&gt;
    &amp;lt;meter-name&amp;gt;Foo&amp;lt;/meter-name&amp;gt;&lt;br/&gt;
   &amp;lt;/meter&amp;gt;&lt;/p&gt;


&lt;p&gt;   The output is as:&lt;br/&gt;
   2.1 On osgi prompt run meterConfigStats command which returned null&lt;br/&gt;
   2.2 On mininet no meter stats are received : sudo dpctl tcp:127.0.0.1:6680 meter-config&lt;br/&gt;
   2.3 Through restconf GET &lt;a href=&quot;http://localhost:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/meter/12&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/meter/12&lt;/a&gt; - Meter is shown&lt;/p&gt;

&lt;p&gt;3. Added meter through switch:&lt;br/&gt;
   dpctl tcp:127.0.0.1 meter-mod cmd=add,meter=1 drop:rate=50 &lt;/p&gt;

&lt;p&gt;   The output is as:&lt;br/&gt;
   3.1 On osgi prompt run meterConfigStats command which returned meterStats&lt;br/&gt;
   osgi&amp;gt;meterConfigStats&lt;br/&gt;
   NodeMeterConfigStats [_meterConfigStats=MeterConfigStats [_barrier=null,   _containerName=null, _flags=null, _meterBandHeaders=MeterBandHeaders [_meterBandHeader=[MeterBandHeader [_bandBurstSize=0, _bandId=BandId &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=0&amp;#93;&lt;/span&gt;, _bandRate=50, _meterBandTypes=MeterBandTypes [_flags=MeterBandType &lt;span class=&quot;error&quot;&gt;&amp;#91;_ofpmbtDrop=true, _ofpmbtDscpRemark=false, _ofpmbtExperimenter=false&amp;#93;&lt;/span&gt;, augmentation=[]], _key=MeterBandHeaderKey [_bandId=BandId &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=0&amp;#93;&lt;/span&gt;], _bandType=Drop [_dropBurstSize=0, _dropRate=50, augmentation=[]], augmentation=[]]], augmentation=[]], _meterId=MeterId &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=1&amp;#93;&lt;/span&gt;, _meterName=null, augmentation=[]]]osgi&amp;gt; &lt;/p&gt;

&lt;p&gt;   3.2 On mininet meter stats are received : &lt;br/&gt;
   root@mininet-vm:/home/mininet# sudo dpctl tcp:127.0.0.1:6680 meter-config&lt;br/&gt;
   SENDING:&lt;br/&gt;
   stat_req{type=&quot;mconf&quot;, flags=&quot;0x0&quot;&lt;/p&gt;
{meter_id= ffffffff&quot;}
&lt;p&gt;   RECEIVED:&lt;br/&gt;
   stat_repl{type=&quot;mconf&quot;, flags=&quot;0x0&quot;, stats=[{meter= 1&quot;&quot;, flags=&quot;1&quot;, bands=[&lt;/p&gt;
{type = drop, rate=&quot;50&quot;, burst_size=&quot;0&quot;}
&lt;p&gt;]}]}&lt;/p&gt;

&lt;p&gt;   3.3 Through restconf GET &lt;a href=&quot;http://localhost:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/meter/1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/meter/1&lt;/a&gt; returns &quot;404 NOT FOUND&quot;&lt;/p&gt;

&lt;p&gt;It seems the issue is in adding the meter to the switch through controller(Either via osgi prompt or through RestConf)&lt;/p&gt;</comment>
                            <comment id="55340" author="sachi.gupta@tcs.com" created="Mon, 3 Feb 2014 11:21:45 +0000"  >&lt;p&gt;Hi Avishnoi/Praveen,&lt;/p&gt;

&lt;p&gt;I recreated the scenario with CPqD Switch:&lt;/p&gt;

&lt;p&gt;1. Run the Controller with openflowplugin 1.3&lt;/p&gt;

&lt;p&gt;2. Setup and start the CPqD switch&lt;br/&gt;
   sudo udatapath/ofdatapath --datapath-id=000000000004 --interfaces=eth7 ptcp:6680 &amp;amp;&lt;br/&gt;
   secchan/ofprotocol tcp:127.0.0.1:6680 tcp:192.168.56.1:6633&lt;/p&gt;

&lt;p&gt;3. The switch(MD_SAL|openflow:4/CPqD switch) is connected to the controller&lt;/p&gt;

&lt;p&gt;4. Run the command addMeter openflow:4 on osgi prompt&lt;/p&gt;

&lt;p&gt;5. The meter get added to the CPqD switch&lt;br/&gt;
   root@mininet-vm:/home/mininet# sudo dpctl tcp:127.0.0.1:6680 meter-config&lt;br/&gt;
   SENDING:&lt;br/&gt;
   stat_req{type=&quot;mconf&quot;, flags=&quot;0x0&quot;&lt;/p&gt;
{meter_id= ffffffff&quot;}
&lt;p&gt;   RECEIVED:&lt;br/&gt;
   stat_repl{type=&quot;mconf&quot;, flags=&quot;0x0&quot;, stats=[{meter= c&quot;&quot;, flags=&quot;4&quot;, bands=[&lt;/p&gt;
{type = dscp_remark, rate=&quot;12&quot;, burst_size=&quot;5&quot;, prec_level=&quot;1&quot;}
&lt;p&gt;]}]}&lt;/p&gt;

&lt;p&gt;6. Run the command meterConfigStats on osgi prompt and output is received&lt;br/&gt;
   NodeMeterConfigStats [_meterConfigStats=MeterConfigStats [_barrier=null, _containerName=null, _flags=null, _meterBandHeaders=MeterBandHeaders [_meterBandHeader=[MeterBandHeader [_bandBurstSize=5, _bandId=BandId &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=0&amp;#93;&lt;/span&gt;, _bandRate=12, _meterBandTypes=MeterBandTypes [_flags=MeterBandType &lt;span class=&quot;error&quot;&gt;&amp;#91;_ofpmbtDrop=false, _ofpmbtDscpRemark=true, _ofpmbtExperimenter=false&amp;#93;&lt;/span&gt;, augmentation=[]], _key=MeterBandHeaderKey [_bandId=BandId &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=0&amp;#93;&lt;/span&gt;], _bandType=DscpRemark [_dscpRemarkBurstSize=5, _dscpRemarkRate=12, _percLevel=null, augmentation=[]], augmentation=[]]], augmentation=[]], _meterId=MeterId &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=12&amp;#93;&lt;/span&gt;, _meterName=null, augmentation=[]]]osgi&amp;gt; &lt;/p&gt;

&lt;p&gt;7. Used the Rest URLs to get the meter data - The URLs retain with correct information.&lt;/p&gt;

&lt;p&gt;GET &lt;a href=&quot;http://127.0.0.1:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:4/meter/12&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:4/meter/12&lt;/a&gt;&lt;br/&gt;
GET &lt;a href=&quot;http://127.0.0.1:8080/restconf/operational/opendaylight-inventory:nodes/node/openflow:4/meter/12&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8080/restconf/operational/opendaylight-inventory:nodes/node/openflow:4/meter/12&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So, It seems that Meter Multipart request/reply messages works fine with CPqD switch whereas OpenvSwitch 2.0.0 doesnot have support for Meter Multipart request/reply messages.&lt;/p&gt;


&lt;p&gt;Please confirm to close the bug.&lt;/p&gt;</comment>
                            <comment id="55341" author="praveen_recker@sify.com" created="Tue, 4 Feb 2014 06:33:21 +0000"  >&lt;p&gt;Hi Sachi,&lt;/p&gt;

&lt;p&gt;I see the same issue on Open vSwitch 2.1.0, this is not specific to OVS 2.0.0.&lt;/p&gt;

&lt;p&gt;Best Regards,&lt;br/&gt;
Praveen Darshanam&lt;/p&gt;</comment>
                            <comment id="55342" author="sachi.gupta@tcs.com" created="Tue, 4 Feb 2014 06:40:56 +0000"  >&lt;p&gt;Hi Praveen,&lt;/p&gt;

&lt;p&gt;I have replicated and tested the scenario with CPqD switch and it is working fine.&lt;/p&gt;

&lt;p&gt;It seems that the controller functionality is working fine, but the issue is with switch(whether it is OpenvSwitch - 2.0.0/OpenvSwitch - 2.1.0)&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Sachi&lt;/p&gt;</comment>
                            <comment id="55343" author="praveen_recker@sify.com" created="Tue, 4 Feb 2014 07:52:40 +0000"  >&lt;p&gt;Are we going to CLOSE the bug or change product and assign to other folks.&lt;br/&gt;
We were working with OVSK so the bug will remain as is and can&apos;t test Meter/Group statistics.&lt;/p&gt;</comment>
                            <comment id="55344" author="sachi.gupta@tcs.com" created="Tue, 4 Feb 2014 10:18:35 +0000"  >&lt;p&gt;Hi Praveen/ Avishnoi,&lt;/p&gt;

&lt;p&gt;The OpenDayLight controller functionality is working fine for meter/group statistics in CPqD switch &lt;/p&gt;

&lt;p&gt;Since OpenvSwitch-2.0.0/OpenvSwitch-2.1.0, any other, does not support meter/group statistics so it confirms that implementation needs to be enhanced in OpenvSwitch for meter/group&lt;/p&gt;

&lt;p&gt;So it seems, it is for OpenvSwitch not for OpenDaylight controller.&lt;/p&gt;</comment>
                            <comment id="55345" author="vishnoianil@gmail.com" created="Tue, 4 Feb 2014 11:09:33 +0000"  >&lt;p&gt;Agree, Its OVS issue and not Controller. I think we can close this bug.&lt;/p&gt;

&lt;p&gt;THanks&lt;br/&gt;
Anil&lt;/p&gt;</comment>
                            <comment id="55346" author="sachi.gupta@tcs.com" created="Thu, 6 Feb 2014 08:45:59 +0000"  >&lt;p&gt;Hi Avishnoi/Praveen,&lt;/p&gt;

&lt;p&gt;The bug is an OVS issue and not the controller, since the meter multipart request/reply messages are working fine with CPqD switch but not for OVS.&lt;/p&gt;

&lt;p&gt;So, I am closing it.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="13854" name="f901.xml" size="1140" author="praveen_recker@sify.com" created="Wed, 29 Jan 2014 11:18:44 +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>386</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=386]]></customfieldvalue>

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

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