<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:32:35 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-475] Flows created with actions set to &quot;Group-IDs&quot; are not working</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-475</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;Hi&lt;/p&gt;

&lt;p&gt;I tested today with the below mentioned topology, having a broadcast flow whose actions were set to broadcast group ID. When I tried to ping from host h1 to h2, ARP request packet is sent out to only one port and not to all ports. This seems to be a bug and I request your inputs.&lt;/p&gt;


&lt;p&gt;mininet&amp;gt; net&lt;br/&gt;
h1 h1-eth0:s1-eth1 h1-eth1:s1-eth2&lt;br/&gt;
h2 h2-eth0:s1-eth3&lt;br/&gt;
h3 h3-eth0:s1-eth4&lt;br/&gt;
s1 lo:  s1-eth1:h1-eth0 s1-eth2:h1-eth1 s1-eth3:h2-eth0 s1-eth4:h3-eth0&lt;br/&gt;
c0&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;mininet@opendaylight test&amp;#93;&lt;/span&gt;\&amp;gt;sudo ovs-ofctl dump-groups s1 -O OpenFlow13&lt;br/&gt;
OFPST_GROUP_DESC reply (OF1.3) (xid=0x2):&lt;br/&gt;
group_id=32399,type=all,bucket=weight:0,actions=output:3,output:4&lt;br/&gt;
group_id=28326,type=select,bucket=weight:0,actions=output:1,output:2&lt;/p&gt;

&lt;p&gt;mininet@opendaylight test]\&amp;gt;sudo ovs-ofctl dump-flows s1 -O OpenFlow13&lt;br/&gt;
OFPST_FLOW reply (OF1.3) (xid=0x2):&lt;br/&gt;
cookie=0x0, duration=4310.355s, table=0, n_packets=2790, n_bytes=117180, dl_dst=ff:ff:ff:ff:ff:ff actions=group:32399&lt;br/&gt;
cookie=0x3000000000000008, duration=4496.507s, table=0, n_packets=308, n_bytes=38192, priority=5,dl_dst=01:80:c2:00:00:02,dl_type=0x8809 actions=CONTROLLER:65535&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;mininet@opendaylight test&amp;#93;&lt;/span&gt;\&amp;gt;sudo tcpdump -i s1-eth4&lt;br/&gt;
tcpdump: WARNING: s1-eth4: no IPv4 address assigned&lt;br/&gt;
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode&lt;br/&gt;
listening on s1-eth4, link-type EN10MB (Ethernet), capture size 65535 bytes&lt;br/&gt;
01:17:27.237038 ARP, Request who-has 10.1.1.2 tell rtr-pet-01.force10networks.com, length 28&lt;br/&gt;
01:17:28.238832 ARP, Request who-has 10.1.1.2 tell rtr-pet-01.force10networks.com, length 28&lt;br/&gt;
01:17:29.240828 ARP, Request who-has 10.1.1.2 tell rtr-pet-01.force10networks.com, length 28&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;mininet@opendaylight test&amp;#93;&lt;/span&gt;\&amp;gt;sudo tcpdump -i s1-eth3&lt;br/&gt;
tcpdump: WARNING: s1-eth3: no IPv4 address assigned&lt;br/&gt;
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode&lt;br/&gt;
listening on s1-eth3, link-type EN10MB (Ethernet), capture size 65535 bytes&lt;br/&gt;
01:17:16.334564 LLDP, length 49: openflow:1&lt;br/&gt;
01:17:21.334410 LLDP, length 49: openflow:1&lt;/p&gt;

&lt;p&gt;Thanks and Regards&lt;br/&gt;
R. Kavitha&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="27743">OPNFLWPLUG-475</key>
            <summary>Flows created with actions set to &quot;Group-IDs&quot; are not working</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</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="10000">Done</resolution>
                                        <assignee username="kavitha_ramalingham@dell.com">Kavitha Ramalingam</assignee>
                                    <reporter username="kavitha_ramalingham@dell.com">Kavitha Ramalingam</reporter>
                        <labels>
                    </labels>
                <created>Mon, 1 Jun 2015 12:36:24 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:33 +0000</updated>
                            <resolved>Mon, 22 Aug 2016 08:02:49 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                                                                <comments>
                            <comment id="56950" author="abhijit2511" created="Wed, 3 Jun 2015 17:45:15 +0000"  >&lt;p&gt;You have:&lt;/p&gt;

&lt;p&gt;On the flow:&lt;br/&gt;
actions=group:32399&lt;/p&gt;

&lt;p&gt;and on the group:&lt;/p&gt;

&lt;p&gt;group_id=32399,type=all,bucket=weight:0,actions=output:3,output:4&lt;/p&gt;

&lt;p&gt;So the controller has programmed the flow with the group - so may be a switch issue or a misconfig?&lt;/p&gt;</comment>
                            <comment id="56951" author="abhijit2511" created="Fri, 5 Jun 2015 16:50:47 +0000"  >&lt;p&gt;Moving it to normal (pending a reply) - so that it does not show up in queries.&lt;/p&gt;</comment>
                            <comment id="56952" author="jgloncak" created="Wed, 10 Jun 2015 10:51:12 +0000"  >&lt;p&gt;Can you provide input files (xml or json) for config switch to obtain output as you specified.&lt;/p&gt;</comment>
                            <comment id="56953" author="jgloncak" created="Fri, 12 Jun 2015 08:07:09 +0000"  >&lt;p&gt;With this command:&lt;br/&gt;
sudo ovs-ofctl add-group s1 group_id=32399,type=all,bucket=weight:0,output:3,output:4 -O OpenFlow13&lt;/p&gt;

&lt;p&gt;I wasn&apos;t able to add group because of this error:&lt;br/&gt;
ovs-ofctl: Only select groups can have bucket weights.&lt;/p&gt;

&lt;p&gt;How was you able to add group with id 32399 ant type all?&lt;/p&gt;</comment>
                            <comment id="56954" author="jgloncak" created="Fri, 12 Jun 2015 08:44:56 +0000"  >&lt;p&gt;Commands to put data on OVS switch to have state as discribed (only group_id=32399 doesn&apos;t have type all (as described earlier))&lt;/p&gt;

&lt;p&gt;add group&lt;br/&gt;
==========&lt;br/&gt;
sudo ovs-ofctl add-group s1 group_id=32399,type=select,bucket=weight:0,output:3,output:4 -O OpenFlow13&lt;br/&gt;
sudo ovs-ofctl add-group s1 group_id=28326,type=select,bucket=weight:0,output:1,output:2 -O OpenFlow13&lt;/p&gt;

&lt;p&gt;add flow&lt;br/&gt;
=========&lt;br/&gt;
sudo ovs-ofctl add-flow s1 table=0,dl_dst=ff:ff:ff:ff:ff:ff,cookie=0x0,action=group:32399 -O OpenFlow13&lt;br/&gt;
sudo ovs-ofctl add-flow s1 table=0,dl_dst=01:80:c2:00:00:02,dl_type=0x8809,cookie=0x3000000000000008,priority=5,action=CONTROLLER:65535 -O OpenFlow13&lt;/p&gt;

&lt;p&gt;list flows&lt;br/&gt;
===========&lt;br/&gt;
sudo ovs-ofctl dump-flows s1 -O OpenFlow13&lt;/p&gt;

&lt;p&gt;list groups&lt;br/&gt;
===========&lt;br/&gt;
sudo ovs-ofctl dump-groups s1 -O OpenFlow13&lt;/p&gt;</comment>
                            <comment id="56955" author="kavitha_ramalingham@dell.com" created="Mon, 22 Jun 2015 04:34:47 +0000"  >&lt;p&gt;(In reply to Abhijit Kumbhare from comment #1)&lt;br/&gt;
&amp;gt; You have:&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; On the flow:&lt;br/&gt;
&amp;gt; actions=group:32399&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; and on the group:&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; group_id=32399,type=all,bucket=weight:0,actions=output:3,output:4&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; So the controller has programmed the flow with the group - so may be a&lt;br/&gt;
&amp;gt; switch issue or a misconfig?&lt;/p&gt;

&lt;p&gt;Hi Abhijit,&lt;br/&gt;
   I&apos;m sorry for the late reply, as i was on sick leave. We have created a group of type &quot;all&quot; with the egress ports set to port3 and port4. The expectation here is that any flow that uses this group has to egress the traffic on both the ports. In my previous update you can see that tcpdump o/p shows that ARP-Request traffic goes out of port4 and not thro&apos; port3. &lt;/p&gt;

&lt;p&gt;You could also refer to the flow entry which checks if destination MAC is  broadcast MAC then it uses this group ID as the action. So, both the flows and group creations look perfect.&lt;/p&gt;

&lt;p&gt;Thanks and Regards&lt;br/&gt;
R. Kavitha&lt;/p&gt;</comment>
                            <comment id="56956" author="kavitha_ramalingham@dell.com" created="Mon, 22 Jun 2015 04:58:57 +0000"  >&lt;p&gt;(In reply to Jozef Gloncak from comment #4)&lt;br/&gt;
&amp;gt; With this command:&lt;br/&gt;
&amp;gt; sudo ovs-ofctl add-group s1&lt;br/&gt;
&amp;gt; group_id=32399,type=all,bucket=weight:0,output:3,output:4 -O OpenFlow13&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; I wasn&apos;t able to add group because of this error:&lt;br/&gt;
&amp;gt; ovs-ofctl: Only select groups can have bucket weights.&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; How was you able to add group with id 32399 ant type all?&lt;/p&gt;

&lt;p&gt;Hi&lt;br/&gt;
  I created this group using group add API, which automatically sets the weight. &lt;/p&gt;

&lt;p&gt;Thanks and regards&lt;br/&gt;
R. Kavitha&lt;/p&gt;</comment>
                            <comment id="56957" author="shuva.jyoti.kar.87@gmail.com" created="Wed, 5 Aug 2015 14:50:34 +0000"  >&lt;p&gt;Hi Kavitha, is the issue still open ?&lt;/p&gt;</comment>
                            <comment id="56958" author="kavitha_ramalingham@dell.com" created="Thu, 6 Aug 2015 04:13:11 +0000"  >&lt;p&gt;(In reply to Shuva Jyoti Kar from comment #8)&lt;br/&gt;
&amp;gt; Hi Kavitha, is the issue still open ?&lt;/p&gt;

&lt;p&gt;Yes Shuva&lt;/p&gt;</comment>
                            <comment id="56959" author="shuva.jyoti.kar.87@gmail.com" created="Thu, 6 Aug 2015 05:17:30 +0000"  >&lt;p&gt;Hi Kavitha, thanks a lot. A couple of questions: &lt;/p&gt;

&lt;p&gt;1. Does the behaviour of which port the traffic goes out in case of group-all change with controller/switch reboots or is the behaviour consistent&lt;/p&gt;

&lt;p&gt;2. Does the behaiour change if we have more number of ports? All i mean is is the behaviour always forwarding traffic to one port only?&lt;/p&gt;

&lt;p&gt;3. Have you (if at all)had the chance to check the behaviour with other of switches like cpqd?&lt;/p&gt;</comment>
                            <comment id="56960" author="shuva.jyoti.kar.87@gmail.com" created="Thu, 6 Aug 2015 11:07:34 +0000"  >&lt;p&gt;Also Kavitha, could you please share the script to create the topology that you are testing with&lt;/p&gt;</comment>
                            <comment id="56967" author="kavitha_ramalingham@dell.com" created="Mon, 10 Aug 2015 07:39:16 +0000"  >&lt;p&gt;Attachment l1.py has been added with description: Topology script&lt;/p&gt;</comment>
                            <comment id="56961" author="kavitha_ramalingham@dell.com" created="Mon, 10 Aug 2015 07:40:33 +0000"  >&lt;p&gt;1. Install &quot;lacp&quot; feature&lt;br/&gt;
2. Start the script &quot;l1.py&quot;. This script creates a topology with 1 switch connected to 2 hosts h1 and h2. Host h1 has 2 links connected to switch s1. &lt;br/&gt;
3. In the xterm of h1, Create a file bonding.conf under /etc/modprobe.d/ directory and add the following contents under the bonding.conf file.&lt;/p&gt;

&lt;p&gt;alias bond0 bonding&lt;br/&gt;
options bonding mode=4   &lt;/p&gt;

&lt;p&gt;After saving the Config, execute the following command on host H1&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;modprobe bonding&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;4. Start h1.sh from the host h1 terminal. This takes care of enabling LAG between host h1 and switch s1. I have attached screenshot of the groups that are created on the controller. &lt;br/&gt;
5. Add 2 flows - with 1 flow, setting in_port to one of the LAG port 1 and actions set to 2 groups. Add second flow with the second LAG port 2 and actions set to 2 groups.&lt;/p&gt;</comment>
                            <comment id="56968" author="kavitha_ramalingham@dell.com" created="Mon, 10 Aug 2015 07:41:37 +0000"  >&lt;p&gt;Attachment h1.sh has been added with description: LAG Script&lt;/p&gt;</comment>
                            <comment id="56969" author="kavitha_ramalingham@dell.com" created="Mon, 10 Aug 2015 07:42:24 +0000"  >&lt;p&gt;Attachment &lt;a href=&quot;https://jira.opendaylight.org/browse/OPNFLWPLUG-475&quot; title=&quot;Flows created with actions set to &amp;quot;Group-IDs&amp;quot; are not working&quot; class=&quot;issue-link&quot; data-issue-key=&quot;OPNFLWPLUG-475&quot;&gt;&lt;del&gt;OPNFLWPLUG-475&lt;/del&gt;&lt;/a&gt; LACP.png has been added with description: Screen Shot of Groups.&lt;/p&gt;</comment>
                            <comment id="56962" author="abhijit2511" created="Tue, 10 Nov 2015 19:38:51 +0000"  >&lt;p&gt;Shuva are you working on this or is Kavitha working on this?&lt;/p&gt;</comment>
                            <comment id="56963" author="shuva.jyoti.kar.87@gmail.com" created="Wed, 11 Nov 2015 06:40:16 +0000"  >&lt;p&gt;No Abhijit, i am not working on this, we did find flows pointing to groups working on cpqd.&lt;/p&gt;</comment>
                            <comment id="56964" author="miroslav.macko" created="Fri, 19 Aug 2016 13:48:13 +0000"  >&lt;p&gt;Hi Shuva,&lt;/p&gt;

&lt;p&gt;Do you mean that it is working on cpqd and it is not working on ovs?&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Miro&lt;/p&gt;</comment>
                            <comment id="56965" author="shuva.jyoti.kar.87@gmail.com" created="Sat, 20 Aug 2016 17:47:19 +0000"  >&lt;p&gt;Its working both on cpqd as well as Ovs2.5, so i believe we can close this&lt;/p&gt;</comment>
                            <comment id="56966" author="miroslav.macko" created="Mon, 22 Aug 2016 08:02:49 +0000"  >&lt;p&gt;It should work. Reopen if there are some issues. &lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Miro&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="13983" name="Bug 3515 LACP.png" size="214191" author="kavitha_ramalingham@dell.com" created="Mon, 10 Aug 2015 07:42:24 +0000"/>
                            <attachment id="13982" name="h1.sh" size="751" author="kavitha_ramalingham@dell.com" created="Mon, 10 Aug 2015 07:41:37 +0000"/>
                            <attachment id="13981" name="l1.py" size="1038" author="kavitha_ramalingham@dell.com" created="Mon, 10 Aug 2015 07:39:16 +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>3515</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=3515]]></customfieldvalue>

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

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