<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:31:40 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-147] Unable to push flows to OVS via RESTCONF</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-147</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;Since the new Datastore was made default unable to push flows to OVS.&lt;/p&gt;


&lt;p&gt;Start mininet &lt;br/&gt;
sudo mn --controller=remote,ip=192.168.68.1 --topo tree,2 --switch ovsk,protocols=OpenFlow13&lt;/p&gt;

&lt;p&gt;Push flow via RESTConf.   &lt;a href=&quot;http://127.0.0.1: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://127.0.0.1:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/2/flow/124&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;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;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;255&amp;lt;/cookie_mask&amp;gt;&lt;br/&gt;
    &amp;lt;installHw&amp;gt;true&amp;lt;/installHw&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.1.0/24&amp;lt;/ipv4-destination&amp;gt;&lt;br/&gt;
    &amp;lt;/match&amp;gt;&lt;br/&gt;
    &amp;lt;hard-timeout&amp;gt;120&amp;lt;/hard-timeout&amp;gt;&lt;br/&gt;
    &amp;lt;flags&amp;gt;FlowModFlags &lt;span class=&quot;error&quot;&gt;&amp;#91;_cHECKOVERLAP=false, _rESETCOUNTS=false, _nOPKTCOUNTS=false, _nOBYTCOUNTS=false, _sENDFLOWREM=false&amp;#93;&lt;/span&gt;&amp;lt;/flags&amp;gt;&lt;br/&gt;
    &amp;lt;cookie&amp;gt;1&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;/p&gt;

&lt;p&gt;Can see flow via RESTConf&lt;br/&gt;
&lt;a href=&quot;http://127.0.0.1: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://127.0.0.1:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/2/flow/124&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;But when checking out the flows in OVS i&apos;m unable to see the flow&lt;br/&gt;
mininet&amp;gt; dpctl dump-flows -O OpenFlow13&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;
	&lt;ul&gt;
		&lt;li&gt;
		&lt;ul&gt;
			&lt;li&gt;s1 ------------------------------------------------------------------------&lt;br/&gt;
OFPST_FLOW reply (OF1.3) (xid=0x2):&lt;/li&gt;
			&lt;li&gt;s2 ------------------------------------------------------------------------&lt;br/&gt;
OFPST_FLOW reply (OF1.3) (xid=0x2):&lt;/li&gt;
			&lt;li&gt;s3 ------------------------------------------------------------------------&lt;br/&gt;
OFPST_FLOW reply (OF1.3) (xid=0x2):&lt;br/&gt;
mininet&amp;gt;&lt;/li&gt;
		&lt;/ul&gt;
		&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment>&lt;p&gt;Operating System: Mac OS&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="27415">OPNFLWPLUG-147</key>
            <summary>Unable to push flows to OVS via RESTCONF</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="-1">Unassigned</assignee>
                                    <reporter username="christopher.o.shea@ericsson.com">Christopher O&apos;Shea</reporter>
                        <labels>
                    </labels>
                <created>Thu, 1 May 2014 21:35:36 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:10 +0000</updated>
                            <resolved>Thu, 22 May 2014 00:00:35 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="55593" author="christopher.o.shea@ericsson.com" created="Fri, 2 May 2014 00:48:50 +0000"  >&lt;p&gt;Actually that flow is pushed correctly, The flow that fails is &lt;/p&gt;

&lt;p&gt;PUT &lt;a href=&quot;http://127.0.0.1:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/2/flow/128&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/2/flow/128&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;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-mpls-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;128&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;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-destination&amp;gt;&lt;br/&gt;
                &amp;lt;address&amp;gt;ff:ff:ff:ff:ff:ff&amp;lt;/address&amp;gt;&lt;br/&gt;
            &amp;lt;/ethernet-destination&amp;gt;&lt;br/&gt;
            &amp;lt;ethernet-source&amp;gt;&lt;br/&gt;
                &amp;lt;address&amp;gt;00:00:00:00:23:ae&amp;lt;/address&amp;gt;&lt;br/&gt;
            &amp;lt;/ethernet-source&amp;gt;&lt;br/&gt;
        &amp;lt;/ethernet-match&amp;gt;&lt;br/&gt;
        &amp;lt;ipv4-source&amp;gt;10.1.2.0/24&amp;lt;/ipv4-source&amp;gt;&lt;br/&gt;
        &amp;lt;ipv4-destination&amp;gt;20.4.0.0/16&amp;lt;/ipv4-destination&amp;gt;&lt;br/&gt;
        &amp;lt;in-port&amp;gt;0&amp;lt;/in-port&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;flags&amp;gt;FlowModFlags &lt;span class=&quot;error&quot;&gt;&amp;#91;_cHECKOVERLAP=false, _rESETCOUNTS=false, _nOPKTCOUNTS=false, _nOBYTCOUNTS=false, _sENDFLOWREM=false&amp;#93;&lt;/span&gt;&amp;lt;/flags&amp;gt;&lt;br/&gt;
    &amp;lt;cookie&amp;gt;5&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;FooXf5&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;</comment>
                            <comment id="55594" author="kramesha@cisco.com" created="Fri, 2 May 2014 02:32:16 +0000"  >&lt;p&gt;Tried to add a flow via the following url. Works fine.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://localhost:8080/controller/nb/v2/flowprogrammer/default/node/MD_SAL/openflow:1/staticFlow/flow109&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8080/controller/nb/v2/flowprogrammer/default/node/MD_SAL/openflow:1/staticFlow/flow109&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;But update of the flow fails, which is the same as old &lt;a href=&quot;https://jira.opendaylight.org/browse/OPNFLWPLUG-15&quot; title=&quot;Modifying a flow is not applying the changes to the switch&quot; class=&quot;issue-link&quot; data-issue-key=&quot;OPNFLWPLUG-15&quot;&gt;&lt;del&gt;OPNFLWPLUG-15&lt;/del&gt;&lt;/a&gt; (i am working on this one)&lt;/p&gt;</comment>
                            <comment id="55595" author="christopher.o.shea@ericsson.com" created="Tue, 6 May 2014 22:11:18 +0000"  >&lt;p&gt;Only affect XML files with the action &quot;dec-nw-tll&quot;&lt;/p&gt;</comment>
                            <comment id="55596" author="christopher.o.shea@ericsson.com" created="Thu, 22 May 2014 00:00:35 +0000"  >&lt;p&gt;Looks like OVS 2.1.0 and above check thats if the Ethernet type is anything other than MPLS ethernet type. &lt;/p&gt;

&lt;p&gt;Once changed Ethernet Type to 34887 it works.&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>936</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=936]]></customfieldvalue>

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

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