<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:31:56 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-237] Set default switch configuration for packet-in to send the whole packet to controller</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-237</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;For more robust discovery as well as OpenFlow operation (the controller apps likely depend on receiving whole unbuffered packets via packet-in) it makes sense to explicitly configure the switch to send the full unbuffered packets to the controller. This will make the controller operation more predictable &amp;amp; not dependent on the switch defaults. From the spec:&lt;/p&gt;

&lt;p&gt;From 6.1.2 Asynchronous:&lt;/p&gt;

&lt;p&gt;&quot;If the packet is buffered, the number of bytes of the original packet to include in the packet-in can be configured. By default, it is 128 bytes. For packet-in generated by an output action in a flow entries or group bucket, it can be specified individually in the output action itself (see 7.2.5), for other packet-in it can be configured in the switch configuration (see 7.3.2).&quot;&lt;/p&gt;

&lt;p&gt;From 7.3.2 Switch Configuration:&lt;/p&gt;

&lt;p&gt;/* Switch configuration. */&lt;br/&gt;
struct ofp_switch_config {&lt;br/&gt;
    struct ofp_header header;&lt;br/&gt;
    uint16_t flags;&lt;br/&gt;
    uint16_t miss_send_len;&lt;br/&gt;
/* Bitmap of OFPC_* flags. */&lt;br/&gt;
/* Max bytes of packet that datapath&lt;br/&gt;
   should send to the controller. See&lt;br/&gt;
   ofp_controller_max_len for valid values.&lt;br/&gt;
   */&lt;br/&gt;
};&lt;/p&gt;

&lt;p&gt;&quot;The miss_send_len field defines the number of bytes of each packet sent to the controller by the OpenFlow pipeline when not using an output action to the OFPP_CONTROLLER logical port, for example sending packets with invalid TTL if this message reason is enabled. If this field equals 0, the switch must send zero bytes of the packet in the ofp_packet_in message. If the value is set to OFPCML_NO_BUFFER the complete packet must be included in the message, and should not be buffered.&quot;&lt;/p&gt;

&lt;p&gt;So the action:&lt;br/&gt;
Make sure the default switch configuration for packet-in miss_send_len is OFPCML_NO_BUFFER&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Mac OS&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="27505">OPNFLWPLUG-237</key>
            <summary>Set default switch configuration for packet-in to send the whole packet to controller</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="mbobak@cisco.com">Martin Bobak</assignee>
                                    <reporter username="abhijit2511">Abhijit Kumbhare</reporter>
                        <labels>
                    </labels>
                <created>Wed, 13 Aug 2014 21:01:45 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:17 +0000</updated>
                            <resolved>Fri, 22 Aug 2014 06:15:11 +0000</resolved>
                                                                    <component>General</component>
                        <due>Fri, 22 Aug 2014 00:00:00 +0000</due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="55993" author="abhijit2511" created="Wed, 13 Aug 2014 21:07:33 +0000"  >&lt;p&gt;Michal - please reassign as needed.&lt;/p&gt;</comment>
                            <comment id="55994" author="mbobak@cisco.com" created="Thu, 21 Aug 2014 07:12:12 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/10102/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/10102/&lt;/a&gt;&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>1545</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=1545]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10365"><![CDATA[Helium-M5]]></customfieldvalue>

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

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