<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:47:52 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>[VTN-49] Fails to Set Actions for FlowFilter</title>
                <link>https://jira.opendaylight.org/browse/VTN-49</link>
                <project id="10185" key="VTN">vtn</project>
                    <description>&lt;p&gt;When Flow Filter is created, the Actions for FlowFilterEntry is not getting created. ODC Driver seems to be sending a wrong json request.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26429">VTN-49</key>
            <summary>Fails to Set Actions for FlowFilter</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="gvrangan">Venkatrangan Govindarajan</reporter>
                        <labels>
                    </labels>
                <created>Fri, 14 Nov 2014 00:20:12 +0000</created>
                <updated>Mon, 8 Apr 2019 16:58:29 +0000</updated>
                            <resolved>Mon, 5 Jan 2015 17:48:20 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>ODC Driver</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="52883" author="siva-karthik@hcl.com" created="Wed, 19 Nov 2014 11:51:21 +0000"  >&lt;p&gt;What works in Coodinator side:&lt;br/&gt;
                To create Flowlist and Flowfilter through coordinator,  &lt;/p&gt;

&lt;p&gt;Step 1:&lt;br/&gt;
curl -v --user admin:adminpass -H &apos;content-type: application/json&apos; -H &apos;ipaddr:127.0.0.1&apos; -X POST -d &apos;{&quot;flowlist&quot;: {&quot;fl_name&quot;: &quot;flowlist1&quot;, &quot;ip_version&quot;:&quot;IP&quot;}}&apos; &lt;a href=&quot;http://127.0.0.1:8083/vtn-webapi/flowlists.json&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8083/vtn-webapi/flowlists.json&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Step 2:&lt;br/&gt;
curl -v --user admin:adminpass -H &apos;content-type: application/json&apos; -H &apos;ipaddr:127.0.0.1&apos; -X POST -d &apos;{&quot;flowlistentry&quot;: {&quot;seqnum&quot;: &quot;1&quot;,&quot;macethertype&quot;: &quot;0x8000&quot;,&quot;ipdstaddr&quot;: &quot;10.0.0.3&quot;,&quot;ipdstaddrprefix&quot;: &quot;2&quot;,&quot;ipsrcaddr&quot;: &quot;10.0.0.2&quot;,&quot;ipsrcaddrprefix&quot;: &quot;2&quot;,&quot;ipproto&quot;: &quot;17&quot;,&quot;ipdscp&quot;: &quot;55&quot;,&quot;icmptypenum&quot;:&quot;232&quot;,&quot;icmpcodenum&quot;: &quot;232&quot;}}&apos; &lt;a href=&quot;http://127.0.0.1:8083/vtn-webapi/flowlists/flowlist1/flowlistentries.json&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8083/vtn-webapi/flowlists/flowlist1/flowlistentries.json&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;curl -v --user admin:adminpass -H &apos;content-type: application/json&apos; -H &apos;ipaddr:127.0.0.1&apos; -X POST -d &apos;{&quot;flowlistentry&quot;: {&quot;seqnum&quot;: &quot;2&quot;,&quot;macethertype&quot;: &quot;0x8000&quot;,&quot;ipdstaddr&quot;: &quot;10.0.0.3&quot;,&quot;ipdstaddrprefix&quot;: &quot;2&quot;,&quot;ipsrcaddr&quot;: &quot;10.0.0.2&quot;,&quot;ipsrcaddrprefix&quot;: &quot;2&quot;,&quot;ipproto&quot;: &quot;17&quot;,&quot;ipdscp&quot;: &quot;55&quot;,&quot;icmptypenum&quot;:&quot;232&quot;,&quot;icmpcodenum&quot;: &quot;232&quot;}}&apos; &lt;a href=&quot;http://127.0.0.1:8083/vtn-webapi/flowlists/flowlist1/flowlistentries.json&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8083/vtn-webapi/flowlists/flowlist1/flowlistentries.json&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;  Issue:  Here , create flowlist entry twice with  two different &quot;sequence number&quot;, because there is issue in coordinator where at first time flowlist entry not created in controller.&lt;br/&gt;
Step 3:&lt;br/&gt;
Create FLOWFILTER (ex. VTN FLOWFILTER).&lt;br/&gt;
curl -v --user admin:adminpass -X POST -H &apos;content-type: application/json&apos; -H &apos;ipaddr:127.0.0.1&apos; -d &apos;{&quot;flowfilter&quot; : {&quot;ff_type&quot;: &quot;in&quot;}}&apos; &lt;a href=&quot;http://127.0.0.1:8083/vtn-webapi/vtns/vtn_one/flowfilters.json&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8083/vtn-webapi/vtns/vtn_one/flowfilters.json&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;curl -v --user admin:adminpass -X POST -H &apos;content-type: application/json&apos; -H &apos;ipaddr:127.0.0.1&apos; -d &apos;{&quot;flowfilterentry&quot;: {&quot;seqnum&quot;: &quot;3&quot;, &quot;fl_name&quot;: &quot;flowlist1&quot;, &quot;action_type&quot;: &quot;pass&quot;, &quot;priority&quot;: &quot;2&quot;, &quot;dscp&quot;: &quot;10&quot;}}&apos; &lt;a href=&quot;http://127.0.0.1:8083/vtn-webapi/vtns/vtn_one/flowfilters/in/flowfilterentries.json&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8083/vtn-webapi/vtns/vtn_one/flowfilters/in/flowfilterentries.json&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Steps 4: &lt;br/&gt;
Check Flowlist entries created in VTN Manager side using GET method.&lt;/p&gt;

&lt;p&gt;curl --user &quot;admin&quot;:&quot;admin&quot; -H &quot;Accept: application/json&quot; -H &quot;Content-type: application/json&quot; -X GET  &lt;a href=&quot;http://10.106.138.190:8080/controller/nb/v2/vtn/default/flowconditions&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://10.106.138.190:8080/controller/nb/v2/vtn/default/flowconditions&lt;/a&gt;&lt;br/&gt;
OUTPUT:&lt;br/&gt;
{&quot;flowcondition&quot;:[&lt;/p&gt;
{&quot;name&quot;:&quot;flowlist1&quot;}
&lt;p&gt;]}&lt;br/&gt;
curl --user &quot;admin&quot;:&quot;admin&quot; -H &quot;Accept: application/json&quot; -H &quot;Content-type: application/json&quot; -X GET  &lt;a href=&quot;http://10.106.138.190:8080/controller/nb/v2/vtn/default/flowconditions/flowlist1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://10.106.138.190:8080/controller/nb/v2/vtn/default/flowconditions/flowlist1&lt;/a&gt;&lt;br/&gt;
OUTPUT:&lt;br/&gt;
{&quot;name&quot;:&quot;flowlist1&quot;,&quot;match&quot;:[&lt;/p&gt;
{&quot;index&quot;:1}
&lt;p&gt;]} &lt;/p&gt;

&lt;p&gt;  Issue:  From coordinator for flowlist entries only &quot;name&quot; is created, other attributes &quot; seqnum&quot;, &quot; macethertype&quot; , &quot; ipdstaddr&quot; , &quot; ipproto &quot;, &quot; ipdscp &quot;, &quot; icmptypenum &quot;, &quot; icmptypenum &quot; are not created in Manager.&lt;/p&gt;

&lt;p&gt;Step  5:&lt;br/&gt;
Check Flowfilter in VTN Manager side Using GET method:&lt;/p&gt;

&lt;p&gt;curl --user &quot;admin&quot;:&quot;admin&quot; -H &quot;Accept: application/json&quot; -H &quot;Content-type: application/json&quot; -X GET  &lt;a href=&quot;http://10.106.138.190:8080/controller/nb/v2/vtn/default/vtns/vtn_one/flowfilters&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://10.106.138.190:8080/controller/nb/v2/vtn/default/vtns/vtn_one/flowfilters&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;OUTPUT:&lt;br/&gt;
{&quot;flowfilter&quot;:&lt;span class=&quot;error&quot;&gt;&amp;#91;{&amp;quot;index&amp;quot;:3,&amp;quot;condition&amp;quot;:&amp;quot;flowlist1&amp;quot;,&amp;quot;filterType&amp;quot;:{&amp;quot;pass&amp;quot;:{}}}&amp;#93;&lt;/span&gt;}&lt;/p&gt;

&lt;p&gt;Issue: From coordinator for flowfilter entry &#8220;seqnum&#8221; and  &#8220;fl_name&#8221; alone created, due to some issue in current code attributes like &#8220;action_type&#8221;, &#8220;priority&#8221;, &#8220;dscp&#8221;, &#8220;macdstaddr&#8221;, &#8220;macsrcaddr&#8221; are not listed in Manager. &lt;/p&gt;

&lt;p&gt;The above is Flowfilter steps for VTN Flowfilter, same issue is reproducible for VBRFLOWFILTER, VBRIFFlowFilter, VTERMIFFLowFilter.&lt;/p&gt;

&lt;p&gt;Work around using VTN MANAGER:&lt;br/&gt;
               Create Flowlist entries using VTN Manager and check using GET method&lt;br/&gt;
Step 6:&lt;br/&gt;
Check Flowlist in VTN Manager using  PUT and GET Method.&lt;br/&gt;
curl -v -X PUT  -H &apos;content-type: application/json&apos; --user &apos;admin:admin&apos;  -d &apos;{&quot;name&quot;: &quot;flowlist1&quot;,&quot;match&quot;: [{&quot;index&quot;:23,&quot;inetMatch&quot;: {&quot;inet4&quot;: &lt;/p&gt;
{&quot;src&quot;: &quot;10.0.0.1&quot;,&quot;dst&quot;: &quot;10.0.0.4&quot;}
&lt;p&gt;}}]}&apos; &lt;a href=&quot;http://127.0.0.1:8080/controller/nb/v2/vtn/default/flowconditions/flowlist1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8080/controller/nb/v2/vtn/default/flowconditions/flowlist1&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;curl -v -X GET -H &apos;content-type: application/json&apos; --user &apos;admin:admin&apos; &lt;a href=&quot;http://127.0.0.1:8080/controller/nb/v2/vtn/default/flowconditions/flowlist1/23&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8080/controller/nb/v2/vtn/default/flowconditions/flowlist1/23&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;OUTPUT:&lt;br/&gt;
{&quot;ethernet&quot;:&lt;/p&gt;
{&quot;type&quot;:2048}
&lt;p&gt;,&quot;inetMatch&quot;:{&quot;inet4&quot;:{&quot;src&quot;:&quot;10.0.0.1&quot;,&quot;dst&quot;:&quot;10.0.0.4&quot;}},&quot;index&quot;:23}&lt;/p&gt;

&lt;p&gt;Step7:&lt;br/&gt;
                Create Flowfilter entries using VTN Manger and check using  PUT and GET method.&lt;br/&gt;
curl -v -X PUT -H &apos;content-type: application/json&apos; --user &apos;admin:admin&apos;  -d &apos;{ &quot;index&quot;: 3, &quot;condition&quot;: &quot;flowlist1&quot;, &quot;filterType&quot;: { &quot;pass&quot;: { } }, &quot;actions&quot;: [ { &quot;vlanpcp&quot;: &lt;/p&gt;
{ &quot;priority&quot;: 2 }
&lt;p&gt; } ] }&apos;  &lt;a href=&quot;http://127.0.0.1:8080/controller/nb/v2/vtn/default/vtns/vtn_one/flowfilters/1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8080/controller/nb/v2/vtn/default/vtns/vtn_one/flowfilters/1&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;curl --user &quot;admin&quot;:&quot;admin&quot; -H &quot;Accept: application/json&quot; -H &quot;Content-type: application/json&quot; -X GET  &lt;a href=&quot;http://10.106.138.190:8080/controller/nb/v2/vtn/default/vtns/vtn_one/flowfilters&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://10.106.138.190:8080/controller/nb/v2/vtn/default/vtns/vtn_one/flowfilters&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;OUTPUT:&lt;br/&gt;
{&quot;flowfilter&quot;:[{&quot;index&quot;:3,&quot;condition&quot;:&quot;flowlist1&quot;,&quot;filterType&quot;:{&quot;pass&quot;:{}},&quot;actions&quot;:&lt;span class=&quot;error&quot;&gt;&amp;#91;{&amp;quot;dscp&amp;quot;:{&amp;quot;dscp&amp;quot;:10}},{&amp;quot;vlanpcp&amp;quot;:{&amp;quot;priority&amp;quot;:2}}&amp;#93;&lt;/span&gt;}]}&lt;/p&gt;

&lt;p&gt;Please follow the above flowfilter steps to create VBRIFFLOWFILTER, VBRFLOWFILTER and VTERMIFFLOWFILTER in Vtn Manager by modifying according to the keytype attirbutes&lt;/p&gt;</comment>
                            <comment id="52884" author="balakrishnan" created="Fri, 26 Dec 2014 06:37:36 +0000"  >&lt;p&gt;This Bug is fixed in this patch&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/13367/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/13367/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="52885" author="hideyuki.tai@necam.com" created="Mon, 5 Jan 2015 17:48:20 +0000"  >&lt;p&gt;The patch for this bug was also merged into the stable/helium branch of the vtn.git.&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/13868/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/13868/&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>2387</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=2387]]></customfieldvalue>

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

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