<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:52:12 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-106] Only the first programmed flow in a Table reported in the operational store for the Table</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-106</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;Steps to reproduce:&lt;/p&gt;

&lt;p&gt;1. Connect mininet with a single OF switch to the controller, e.g.:&lt;br/&gt;
&apos; sudo mn --topo single,3  --controller &apos;remote,ip=192.168.4.1:6633&apos; --switch ovsk,protocols=OpenFlow13&apos;&lt;/p&gt;

&lt;p&gt;2. Program multiple flows in Table 0 through restconf, e.g.:&lt;br/&gt;
HTTP PUT to &apos;http://192.168.4.1:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/0/flow/126&apos;with XML data:&lt;br/&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 &lt;br/&gt;
    xmlns=&quot;urn:opendaylight:flow:inventory&quot;&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;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;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;0&amp;lt;/table_id&amp;gt;&lt;br/&gt;
    &amp;lt;id&amp;gt;126&amp;lt;/id&amp;gt;&lt;br/&gt;
    &amp;lt;cookie_mask&amp;gt;255&amp;lt;/cookie_mask&amp;gt;&lt;br/&gt;
    &amp;lt;out_port&amp;gt;0&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;ipv4-destination&amp;gt;10.2.3.4/24&amp;lt;/ipv4-destination&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;/match&amp;gt;&lt;br/&gt;
    &amp;lt;hard-timeout&amp;gt;0&amp;lt;/hard-timeout&amp;gt;&lt;br/&gt;
    &amp;lt;flags/&amp;gt;&lt;br/&gt;
    &amp;lt;cookie&amp;gt;11&amp;lt;/cookie&amp;gt;&lt;br/&gt;
    &amp;lt;idle-timeout&amp;gt;0&amp;lt;/idle-timeout&amp;gt;&lt;br/&gt;
    &amp;lt;flow-name&amp;gt;FooXf2&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;/p&gt;

&lt;p&gt;3. Similarly, program flow 125 in Table 0 by issuing HTTP PUT to &apos;&apos;http://192.168.4.1:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/0/flow/125&apos; (and corresponding changes to flow id in the XML payload)&lt;/p&gt;

&lt;p&gt;4. Verify that flows are present in the switch in mininet:&lt;br/&gt;
&apos;sudo ovs-ofctl -O OpenFlow13 dump-flows s1&apos;&lt;/p&gt;

&lt;p&gt;5. verify that flows are present in the RESTCONG config space:&lt;br/&gt;
issue HTTP GET to &apos;http://192.168.4.1:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/0&apos; - both flows are showing&lt;/p&gt;

&lt;p&gt;6. Try to retrieve the operational state for Table 0 by issuing HTTP GET to &apos;&apos;http://192.168.4.1:8080/restconf/operational/opendaylight-inventory:nodes/node/openflow:1/table/0&apos; - only the first programmed flow will show. &lt;/p&gt;

&lt;p&gt;Before issuing Step 6, wait for the stats collection cycle to complete.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Mac OS&lt;br/&gt;
Platform: Macintosh&lt;/p&gt;</environment>
        <key id="24660">CONTROLLER-106</key>
            <summary>Only the first programmed flow in a Table reported in the operational store for the 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="10003">Cannot Reproduce</resolution>
                                        <assignee username="jmedved@cisco.com">Jan Medved</assignee>
                                    <reporter username="jmedved@cisco.com">Jan Medved</reporter>
                        <labels>
                    </labels>
                <created>Sat, 28 Dec 2013 04:35:46 +0000</created>
                <updated>Tue, 25 Jul 2023 08:22:57 +0000</updated>
                            <resolved>Mon, 4 May 2015 23:54:41 +0000</resolved>
                                                                    <component>adsal</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="47500" author="sachi.gupta@tcs.com" created="Wed, 15 Jan 2014 12:11:49 +0000"  >&lt;p&gt;Hi Jan Medved,&lt;/p&gt;

&lt;p&gt;In step 2: To program multiple flows through restconf using the above mentioned URL, I am getting internal server error 500.&lt;/p&gt;

&lt;p&gt;Can you please elaborate which module you are using for this rest call. For eg( ForwardingRulesManager have different set of rest calls)&lt;/p&gt;

&lt;p&gt;Also, please specify your mininet, and opendaylight controller versions being used to replicate this bug.&lt;/p&gt;


&lt;p&gt;Thanks&lt;/p&gt;</comment>
                            <comment id="47501" author="sachi.gupta@tcs.com" created="Mon, 20 Jan 2014 09:29:59 +0000"  >&lt;p&gt;Hi Jan Medved,&lt;/p&gt;

&lt;p&gt;I am able to replicate this bug with openflowplugin and mininet version2.0 (with ofsoftswitch 1.3 integration).&lt;/p&gt;

&lt;p&gt;Will investigate further and update.&lt;/p&gt;</comment>
                            <comment id="47502" author="mirehak@cisco.com" created="Thu, 6 Mar 2014 13:14:03 +0000"  >&lt;p&gt;Now it works on both: ovs and cpqd. Tested with 3 flows in the same table. All 3 flows found on device, in config context, in operational context.&lt;/p&gt;</comment>
                            <comment id="47503" author="carolsand@gmail.com" created="Mon, 4 May 2015 23:54:41 +0000"  >&lt;p&gt;This bug is part of the project to Move all ADSAL associated component bugs to ADSAL&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>263</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=263]]></customfieldvalue>

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

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