<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:52:08 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>[CONTROLLER-84] Failure to get flow known to be in table</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-84</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;This is against:&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/3314/10&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/3314/10&lt;/a&gt; (controller side)&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/3451/2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/3451/2&lt;/a&gt; (openflowplugin side)&lt;/p&gt;

&lt;p&gt;Build the controller&lt;br/&gt;
Build openflowplugin using -nsu&lt;/p&gt;

&lt;p&gt;Run distribution/base/target/../run.sh -debug&lt;/p&gt;

&lt;p&gt;Connect a mininet-2.1.0-of1.3 switch&lt;/p&gt;

&lt;p&gt;From the OSGI console run&lt;/p&gt;

&lt;p&gt;addMDFlow openflow:1 f1&lt;/p&gt;

&lt;p&gt;Confirm this results in a flow on the switch:&lt;/p&gt;

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

&lt;p&gt;With POSTMAN&lt;/p&gt;

&lt;p&gt;GET: &lt;a href=&quot;http://192.168.195.157:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/2/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://192.168.195.157:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/2/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Accept: application/xml&lt;/p&gt;

&lt;p&gt;You should get back:&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;table &lt;br/&gt;
    xmlns=&quot;urn:opendaylight:flow:inventory&quot;&amp;gt;&lt;br/&gt;
    &amp;lt;flow&amp;gt;&lt;br/&gt;
        &amp;lt;strict&amp;gt;false&amp;lt;/strict&amp;gt;&lt;br/&gt;
        &amp;lt;instructions&amp;gt;&lt;br/&gt;
            &amp;lt;instruction&amp;gt;&lt;br/&gt;
                &amp;lt;apply-actions&amp;gt;&lt;br/&gt;
                    &amp;lt;action&amp;gt;&lt;br/&gt;
                        &amp;lt;dec-nw-ttl/&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;table_id&amp;gt;2&amp;lt;/table_id&amp;gt;&lt;br/&gt;
        &amp;lt;id&amp;gt;124&amp;lt;/id&amp;gt;&lt;br/&gt;
        &amp;lt;cookie_mask&amp;gt;10&amp;lt;/cookie_mask&amp;gt;&lt;br/&gt;
        &amp;lt;out_port&amp;gt;10&amp;lt;/out_port&amp;gt;&lt;br/&gt;
        &amp;lt;installHw&amp;gt;false&amp;lt;/installHw&amp;gt;&lt;br/&gt;
        &amp;lt;out_group&amp;gt;2&amp;lt;/out_group&amp;gt;&lt;br/&gt;
        &amp;lt;match&amp;gt;&lt;br/&gt;
            &amp;lt;ethernet-match&amp;gt;&lt;br/&gt;
                &amp;lt;ethernet-type&amp;gt;&lt;br/&gt;
                    &amp;lt;type&amp;gt;2048&amp;lt;/type&amp;gt;&lt;br/&gt;
                &amp;lt;/ethernet-type&amp;gt;&lt;br/&gt;
            &amp;lt;/ethernet-match&amp;gt;&lt;br/&gt;
            &amp;lt;ipv4-destination&amp;gt;10.0.0.1/24&amp;lt;/ipv4-destination&amp;gt;&lt;br/&gt;
        &amp;lt;/match&amp;gt;&lt;br/&gt;
        &amp;lt;hard-timeout&amp;gt;12&amp;lt;/hard-timeout&amp;gt;&lt;br/&gt;
        &amp;lt;cookie&amp;gt;10&amp;lt;/cookie&amp;gt;&lt;br/&gt;
        &amp;lt;idle-timeout&amp;gt;34&amp;lt;/idle-timeout&amp;gt;&lt;br/&gt;
        &amp;lt;flow-name&amp;gt;FooXf1&amp;lt;/flow-name&amp;gt;&lt;br/&gt;
        &amp;lt;priority&amp;gt;2&amp;lt;/priority&amp;gt;&lt;br/&gt;
        &amp;lt;barrier&amp;gt;false&amp;lt;/barrier&amp;gt;&lt;br/&gt;
    &amp;lt;/flow&amp;gt;&lt;br/&gt;
&amp;lt;/table&amp;gt;&lt;/p&gt;

&lt;p&gt;But when you try to address the flow directly with:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://192.168.195.157:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/2/flow/124&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://192.168.195.157:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/2/flow/124&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You will get a 404 &quot;No data exists&quot;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Mac OS&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="24638">CONTROLLER-84</key>
            <summary>Failure to get flow known to be in table</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="10000">Done</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="hagbard">Ed Warnicke</reporter>
                        <labels>
                    </labels>
                <created>Mon, 9 Dec 2013 09:26:36 +0000</created>
                <updated>Tue, 25 Jul 2023 08:22:54 +0000</updated>
                            <resolved>Wed, 11 Dec 2013 12:47:25 +0000</resolved>
                                                                    <component>restconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                        <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>215</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=215]]></customfieldvalue>

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

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