<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:31:30 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-75] No Flowmod sent when trying to delete all the flows in a table</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-75</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;Sending a delete message to the controller via REST to wildcard delete all the flows in a specific table does not result in a flow mod message being sent from the controller to the switch. I used tcpdump to cap packets leaving the controller with a source/destination port of 6653 to verify whether or not the flow mod was ever being sent.&lt;/p&gt;

&lt;p&gt;Steps to reproduce:&lt;/p&gt;

&lt;p&gt;1. add flow to switch&lt;br/&gt;
&lt;a href=&quot;http://192.168.0.1:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:5/table/0/flow/2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://192.168.0.1:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:5/table/0/flow/2&lt;/a&gt;&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;flow xmlns=&quot;urn:opendaylight:flow:inventory&quot;&amp;gt;&lt;br/&gt;
	&amp;lt;priority&amp;gt;5000&amp;lt;/priority&amp;gt;&lt;br/&gt;
	&amp;lt;match&amp;gt;&lt;br/&gt;
		&amp;lt;in-port&amp;gt;31&amp;lt;/in-port&amp;gt;&lt;br/&gt;
		&amp;lt;protocol-match-fields&amp;gt;&lt;br/&gt;
			&amp;lt;mpls-label&amp;gt;1234&amp;lt;/mpls-label&amp;gt;&lt;br/&gt;
		&amp;lt;/protocol-match-fields&amp;gt;&lt;br/&gt;
	&amp;lt;/match&amp;gt;&lt;br/&gt;
	&amp;lt;id&amp;gt;2&amp;lt;/id&amp;gt;&lt;br/&gt;
	&amp;lt;table_id&amp;gt;0&amp;lt;/table_id&amp;gt;&lt;br/&gt;
	&amp;lt;idle-timeout&amp;gt;0&amp;lt;/idle-timeout&amp;gt;&lt;br/&gt;
	&amp;lt;hard-timeout&amp;gt;0&amp;lt;/hard-timeout&amp;gt;&lt;br/&gt;
	&amp;lt;instructions&amp;gt;&lt;br/&gt;
		&amp;lt;instruction&amp;gt;&lt;br/&gt;
		&amp;lt;order&amp;gt;0&amp;lt;/order&amp;gt;&lt;br/&gt;
		&amp;lt;apply-actions&amp;gt;&lt;br/&gt;
			&amp;lt;action&amp;gt;&lt;br/&gt;
				&amp;lt;order&amp;gt;0&amp;lt;/order&amp;gt;&lt;br/&gt;
				&amp;lt;pop-mpls-action&amp;gt;&lt;br/&gt;
					&amp;lt;ethernet-type&amp;gt;2048&amp;lt;/ethernet-type&amp;gt;&lt;br/&gt;
				&amp;lt;/pop-mpls-action&amp;gt;&lt;br/&gt;
			&amp;lt;/action&amp;gt;&lt;br/&gt;
			&amp;lt;action&amp;gt;&lt;br/&gt;
				&amp;lt;order&amp;gt;1&amp;lt;/order&amp;gt;&lt;br/&gt;
				&amp;lt;output-action&amp;gt;&lt;br/&gt;
					&amp;lt;output-node-connector&amp;gt;12&amp;lt;/output-node-connector&amp;gt;&lt;br/&gt;
					&amp;lt;max-length&amp;gt;60&amp;lt;/max-length&amp;gt;&lt;br/&gt;
				&amp;lt;/output-action&amp;gt;&lt;br/&gt;
			&amp;lt;/action&amp;gt;&lt;br/&gt;
		&amp;lt;/apply-actions&amp;gt;&lt;br/&gt;
		&amp;lt;/instruction&amp;gt;&lt;br/&gt;
	&amp;lt;/instructions&amp;gt;&lt;br/&gt;
&amp;lt;/flow&amp;gt;&lt;/p&gt;

&lt;p&gt;2. verify flow was installed on switch&lt;/p&gt;

&lt;p&gt;ovs-ofctl --protocols OpenFlow13 dump-flows s1&lt;br/&gt;
OFPST_FLOW reply (OF1.3) (xid=0x2):&lt;br/&gt;
 cookie=0x0, duration=3.934s, table=0, n_packets=0, n_bytes=0, send_flow_rem priority=5000,in_port=31 actions=pop_mpls:0x0800,output:12&lt;/p&gt;

&lt;p&gt;3. send delete, specifying table only&lt;br/&gt;
curl --user &quot;admin&quot;:&quot;admin&quot; -H &quot;Content-Type: application/xml&quot; -X DELETE &lt;a href=&quot;http://192.168.0.1:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:5/table/0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://192.168.0.1:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:5/table/0&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Actual results:&lt;br/&gt;
Flow is still present on the switch&lt;/p&gt;

&lt;p&gt;ovs-ofctl --protocols OpenFlow13 dump-flows s1&lt;br/&gt;
OFPST_FLOW reply (OF1.3) (xid=0x2):&lt;br/&gt;
 cookie=0x0, duration=162.522s, table=0, n_packets=0, n_bytes=0, send_flow_rem priority=5000,in_port=31 actions=pop_mpls:0x0800,output:12&lt;/p&gt;

&lt;p&gt;Expected results:&lt;br/&gt;
Flow mod should be sent and all flows in the specified tablet should be deleted&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="27343">OPNFLWPLUG-75</key>
            <summary>No Flowmod sent when trying to delete all the flows in a table</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="vdemcak@cisco.com">Vaclav Demcak</assignee>
                                    <reporter username="david.splittberger@netronome.com">David Splittberger</reporter>
                        <labels>
                    </labels>
                <created>Mon, 3 Mar 2014 22:44:54 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:05 +0000</updated>
                            <resolved>Fri, 2 May 2014 14:30:07 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="55401" author="david.splittberger@netronome.com" created="Mon, 3 Mar 2014 22:54:54 +0000"  >&lt;p&gt;I get some output on the controller when I issue the table delete command:&lt;/p&gt;

&lt;p&gt;2014-03-03 17:39:52.668 EST &lt;span class=&quot;error&quot;&gt;&amp;#91;http-bio-8080-exec-3&amp;#93;&lt;/span&gt; INFO  o.o.c.sal.restconf.impl.BrokerFacade - Delete Configuration via Restconf: /(urn:opendaylight:inventory?revision=2013-08-19)nodes/(urn:opendaylight:inventory?revision=2013-08-19)node[&lt;/p&gt;
{(urn:opendaylight:inventory?revision=2013-08-19)id=openflow:5}
&lt;p&gt;]/(urn:opendaylight:flow:inventory?revision=2013-08-19)table[&lt;/p&gt;
{(urn:opendaylight:flow:inventory?revision=2013-08-19)id=0}
&lt;p&gt;]&lt;/p&gt;

&lt;p&gt;And if I try to delete individual flows via /restconf/config/opendaylight-inventory:nodes/node/openflow:5/table/0/flow/2 then the flow gets deleted fine.&lt;/p&gt;</comment>
                            <comment id="55402" author="abhijit2511" created="Mon, 14 Apr 2014 15:38:42 +0000"  >&lt;p&gt;New data store will solve this. Vaclav would be the contact for this.&lt;/p&gt;</comment>
                            <comment id="55403" author="vdemcak@cisco.com" created="Fri, 2 May 2014 14:30:07 +0000"  >&lt;p&gt;New tree-based data store is made as default and I haven&apos;t seen described behavior anymore.&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>475</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=475]]></customfieldvalue>

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

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