<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:20:32 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>[NETVIRT-38] match field in Broad cast flow need add inport</title>
                <link>https://jira.opendaylight.org/browse/NETVIRT-38</link>
                <project id="10144" key="NETVIRT">netvirt</project>
                    <description>&lt;p&gt;Broad cast flow is like below&lt;br/&gt;
cookie=0x0, duration=3357.036s, table=110, n_packets=45, n_bytes=6050, priority=16383,reg0=0x1,tun_id=0x64,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:1,output:3,output:4,output:7&lt;/p&gt;

&lt;p&gt;if the broadcast packet is come from port 1, it will also broadcast to port 1 &lt;/p&gt;

&lt;p&gt;this may cause the VIM which linked to port1 thinks that the network have a loop.&lt;/p&gt;

&lt;p&gt;so, i think it should add an in_port in match field, and output port list shoud exclude the inport&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="19959">NETVIRT-38</key>
            <summary>match field in Broad cast flow need add inport</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="10001">Won&apos;t Do</resolution>
                                        <assignee username="wang.qianyu@zte.com.cn">wangqianyu</assignee>
                                    <reporter username="wang.qianyu@zte.com.cn">wangqianyu</reporter>
                        <labels>
                    </labels>
                <created>Wed, 29 Jun 2016 07:35:21 +0000</created>
                <updated>Fri, 9 Mar 2018 18:21:30 +0000</updated>
                            <resolved>Fri, 4 Nov 2016 20:09:23 +0000</resolved>
                                    <version>Beryllium</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="36206" author="shague@redhat.com" created="Thu, 7 Jul 2016 11:48:54 +0000"  >&lt;p&gt;Was this found as an issue or just a theory? Openflow dictates packets can not be sent out the received port unless the output action includes INPORT explictly. So adding the inport to the output list should ignore that port.&lt;/p&gt;</comment>
                            <comment id="36207" author="wang.qianyu@zte.com.cn" created="Fri, 8 Jul 2016 03:12:49 +0000"  >&lt;p&gt;(In reply to Sam Hague from comment #1)&lt;br/&gt;
&amp;gt; Was this found as an issue or just a theory? Openflow dictates packets can&lt;br/&gt;
&amp;gt; not be sent out the received port unless the output action includes INPORT&lt;br/&gt;
&amp;gt; explictly. So adding the inport to the output list should ignore that port.&lt;/p&gt;

&lt;p&gt;this problem is exist in theory, and i will prove it by catching packet in real scene.&lt;/p&gt;

&lt;p&gt;in openflow1.3.3, the specifiction that packets can not be sent out the received port unless the output action includes INPORT can be found in section 5.6.1. the content is talk about group, not about action list. while in netvirt, the broadcast is implemented by action list.&lt;/p&gt;</comment>
                            <comment id="36208" author="shague@redhat.com" created="Fri, 8 Jul 2016 13:42:26 +0000"  >&lt;p&gt;(In reply to wangqianyu from comment #2)&lt;br/&gt;
&amp;gt; (In reply to Sam Hague from comment #1)&lt;br/&gt;
&amp;gt; &amp;gt; Was this found as an issue or just a theory? Openflow dictates packets can&lt;br/&gt;
&amp;gt; &amp;gt; not be sent out the received port unless the output action includes INPORT&lt;br/&gt;
&amp;gt; &amp;gt; explictly. So adding the inport to the output list should ignore that port.&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; this problem is exist in theory, and i will prove it by catching packet in&lt;br/&gt;
&amp;gt; real scene.&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; in openflow1.3.3, the specifiction that packets can not be sent out the&lt;br/&gt;
&amp;gt; received port unless the output action includes INPORT can be found in&lt;br/&gt;
&amp;gt; section 5.6.1. the content is talk about group, not about action list. while&lt;br/&gt;
&amp;gt; in netvirt, the broadcast is implemented by action list.&lt;/p&gt;

&lt;p&gt;The group section is just a single example and clarification for groups that need to send out the ingress port and there must be an additional bucket with IN_PORT set. There are other sections is the spec indicating that IN_PORT is used with actions. Section B.6.3 is a good explanation on using it with an action list.&lt;/p&gt;

&lt;p&gt;We use this same idea in other places like the vlan flood&apos;s. We simply add the ports to the list of outputs and OVS ensures the packets will not be sent out the received port - even if it was included in the output actions since IN_PORT was not explicitly included. We also use IN_PORT with ARP replies and SFC/NSH flows.&lt;/p&gt;

&lt;p&gt;If you do find a switch sending out the ingress port without have IN_PORT on the flow, then that is a violation of the spec.&lt;/p&gt;</comment>
                            <comment id="36209" author="wang.qianyu@zte.com.cn" created="Mon, 11 Jul 2016 01:54:17 +0000"  >&lt;p&gt;(In reply to Sam Hague from comment #3)&lt;br/&gt;
&amp;gt; (In reply to wangqianyu from comment #2)&lt;br/&gt;
&amp;gt; &amp;gt; (In reply to Sam Hague from comment #1)&lt;br/&gt;
&amp;gt; &amp;gt; &amp;gt; Was this found as an issue or just a theory? Openflow dictates packets can&lt;br/&gt;
&amp;gt; &amp;gt; &amp;gt; not be sent out the received port unless the output action includes INPORT&lt;br/&gt;
&amp;gt; &amp;gt; &amp;gt; explictly. So adding the inport to the output list should ignore that port.&lt;br/&gt;
&amp;gt; &amp;gt; &lt;br/&gt;
&amp;gt; &amp;gt; this problem is exist in theory, and i will prove it by catching packet in&lt;br/&gt;
&amp;gt; &amp;gt; real scene.&lt;br/&gt;
&amp;gt; &amp;gt; &lt;br/&gt;
&amp;gt; &amp;gt; in openflow1.3.3, the specifiction that packets can not be sent out the&lt;br/&gt;
&amp;gt; &amp;gt; received port unless the output action includes INPORT can be found in&lt;br/&gt;
&amp;gt; &amp;gt; section 5.6.1. the content is talk about group, not about action list. while&lt;br/&gt;
&amp;gt; &amp;gt; in netvirt, the broadcast is implemented by action list.&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; The group section is just a single example and clarification for groups that&lt;br/&gt;
&amp;gt; need to send out the ingress port and there must be an additional bucket&lt;br/&gt;
&amp;gt; with IN_PORT set. There are other sections is the spec indicating that&lt;br/&gt;
&amp;gt; IN_PORT is used with actions. Section B.6.3 is a good explanation on using&lt;br/&gt;
&amp;gt; it with an action list.&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; We use this same idea in other places like the vlan flood&apos;s. We simply add&lt;br/&gt;
&amp;gt; the ports to the list of outputs and OVS ensures the packets will not be&lt;br/&gt;
&amp;gt; sent out the received port - even if it was included in the output actions&lt;br/&gt;
&amp;gt; since IN_PORT was not explicitly included. We also use IN_PORT with ARP&lt;br/&gt;
&amp;gt; replies and SFC/NSH flows.&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; If you do find a switch sending out the ingress port without have IN_PORT on&lt;br/&gt;
&amp;gt; the flow, then that is a violation of the spec.&lt;/p&gt;

&lt;p&gt;In openflow spec, there is statement that IN_PORT can be used only as an output port, but there is no explicit statement that openflow switch will drop the packet if output port is same with input port.&lt;/p&gt;

&lt;p&gt;OVS ensures the packets will not be sent out the received port, so there are some limitations when OVS used as tor switch. &lt;/p&gt;

&lt;p&gt;I think, just for explicit, we should exclude the in port in output port list&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </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>6123</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=6123]]></customfieldvalue>

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

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

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