<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:21:16 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>[NETVIRT-318] name of addStatelessIngressAclTableMissFlow and  addStatelessEgressAclTableMissFlow is not correct</title>
                <link>https://jira.opendaylight.org/browse/NETVIRT-318</link>
                <project id="10144" key="NETVIRT">netvirt</project>
                    <description>&lt;p&gt;in addStatelessEgressAclTableMissFlow function, the table name is INGRESS_ACL_TABLE,  and in addStatelessIngressAclTableMissFlow function, the table name is EGRESS_ACL_TABLE.&lt;/p&gt;

&lt;p&gt;private void addStatelessIngressAclTableMissFlow(BigInteger dpId) {&lt;br/&gt;
        List&amp;lt;MatchInfo&amp;gt; synMatches = new ArrayList&amp;lt;&amp;gt;();&lt;br/&gt;
        synMatches.add(new MatchInfo(MatchFieldType.eth_type,&lt;br/&gt;
                new long[] &lt;/p&gt;
{ NwConstants.ETHTYPE_IPV4 }));&lt;br/&gt;
        synMatches.add(new MatchInfo(MatchFieldType.ip_proto,&lt;br/&gt;
                new long[] { IPProtocols.TCP.intValue() }));&lt;br/&gt;
&lt;br/&gt;
        synMatches.add(new MatchInfo(MatchFieldType.tcp_flags, new long[] { AclConstants.TCP_FLAG_SYN }));&lt;br/&gt;
&lt;br/&gt;
        List&amp;lt;ActionInfo&amp;gt; dropActionsInfos = new ArrayList&amp;lt;&amp;gt;();&lt;br/&gt;
        dropActionsInfos.add(new ActionInfo(ActionType.drop_action, new String[] {}));&lt;br/&gt;
        List&amp;lt;InstructionInfo&amp;gt; synInstructions = new ArrayList&amp;lt;&amp;gt;();&lt;br/&gt;
        synInstructions.add(new InstructionInfo(InstructionType.apply_actions, dropActionsInfos));&lt;br/&gt;
&lt;br/&gt;
        FlowEntity synFlowEntity = MDSALUtil.buildFlowEntity(dpId, NwConstants.EGRESS_ACL_TABLE,&lt;br/&gt;
                &quot;SYN-&quot; + getTableMissFlowId(NwConstants.EGRESS_ACL_TABLE),&lt;br/&gt;
                AclConstants.PROTO_MATCH_SYN_DROP_PRIORITY, &quot;Ingress Syn ACL Table Block&quot;, 0, 0,&lt;br/&gt;
                AclConstants.COOKIE_ACL_BASE, synMatches, synInstructions);&lt;br/&gt;
        mdsalManager.installFlow(synFlowEntity);&lt;br/&gt;
&lt;br/&gt;
        synMatches = new ArrayList&amp;lt;&amp;gt;();&lt;br/&gt;
        synMatches.add(new MatchInfo(MatchFieldType.eth_type,&lt;br/&gt;
                new long[] { NwConstants.ETHTYPE_IPV4 }
&lt;p&gt;));&lt;br/&gt;
        synMatches.add(new MatchInfo(MatchFieldType.ip_proto,&lt;br/&gt;
                new long[] &lt;/p&gt;
{ IPProtocols.TCP.intValue() }));&lt;br/&gt;
        synMatches.add(new MatchInfo(MatchFieldType.tcp_flags, new long[] { AclConstants.TCP_FLAG_SYN_ACK }));&lt;br/&gt;
&lt;br/&gt;
        List&amp;lt;InstructionInfo&amp;gt; allowAllInstructions = new ArrayList&amp;lt;&amp;gt;();&lt;br/&gt;
        allowAllInstructions.add(&lt;br/&gt;
            new InstructionInfo(InstructionType.goto_table,&lt;br/&gt;
                    new long[] { NwConstants.EGRESS_ACL_FILTER_TABLE }));&lt;br/&gt;
&lt;br/&gt;
        FlowEntity synAckFlowEntity = MDSALUtil.buildFlowEntity(dpId, NwConstants.EGRESS_ACL_TABLE,&lt;br/&gt;
                &quot;SYN-ACK-ALLOW-&quot; + getTableMissFlowId(NwConstants.EGRESS_ACL_TABLE),&lt;br/&gt;
                AclConstants.PROTO_MATCH_SYN_ACK_ALLOW_PRIORITY, &quot;Ingress Syn Ack ACL Table Allow&quot;, 0, 0,&lt;br/&gt;
                AclConstants.COOKIE_ACL_BASE, synMatches, allowAllInstructions);&lt;br/&gt;
        mdsalManager.installFlow(synAckFlowEntity);&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
        List&amp;lt;MatchInfo&amp;gt; mkMatches = new ArrayList&amp;lt;&amp;gt;();&lt;br/&gt;
        FlowEntity flowEntity = MDSALUtil.buildFlowEntity(dpId, NwConstants.EGRESS_ACL_TABLE,&lt;br/&gt;
                getTableMissFlowId(NwConstants.EGRESS_ACL_TABLE), 0, &quot;Ingress Stateless ACL Table Miss Flow&quot;,&lt;br/&gt;
                0, 0, AclConstants.COOKIE_ACL_BASE, mkMatches, allowAllInstructions);&lt;br/&gt;
        mdsalManager.installFlow(flowEntity);&lt;br/&gt;
&lt;br/&gt;
        short dispatcherTableId =  NwConstants.EGRESS_LPORT_DISPATCHER_TABLE;&lt;br/&gt;
&lt;br/&gt;
        List&amp;lt;ActionInfo&amp;gt; actionsInfos = new ArrayList&amp;lt;&amp;gt;();&lt;br/&gt;
        List&amp;lt;InstructionInfo&amp;gt; instructions = new ArrayList&amp;lt;&amp;gt;();&lt;br/&gt;
        actionsInfos.add(new ActionInfo(ActionType.nx_resubmit, new String[] {Short.toString(dispatcherTableId)}));&lt;br/&gt;
        instructions.add(new InstructionInfo(InstructionType.apply_actions, actionsInfos));&lt;br/&gt;
&lt;br/&gt;
        FlowEntity nextTblFlowEntity = MDSALUtil.buildFlowEntity(dpId, NwConstants.EGRESS_ACL_FILTER_TABLE,&lt;br/&gt;
                getTableMissFlowId(NwConstants.EGRESS_ACL_FILTER_TABLE), 0,&lt;br/&gt;
                &quot;Ingress Stateless Next ACL Table Miss Flow&quot;, 0, 0, AclConstants.COOKIE_ACL_BASE,&lt;br/&gt;
                mkMatches, instructions);&lt;br/&gt;
        mdsalManager.installFlow(nextTblFlowEntity);&lt;br/&gt;
&lt;br/&gt;
        LOG.debug(&quot;Added Stateless Ingress ACL Table Miss Flows for dpn {}.&quot;, dpId);&lt;br/&gt;
    }&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
private void addStatelessEgressAclTableMissFlow(BigInteger dpId) {&lt;br/&gt;
        List&amp;lt;InstructionInfo&amp;gt; allowAllInstructions = new ArrayList&amp;lt;&amp;gt;();&lt;br/&gt;
        allowAllInstructions.add(&lt;br/&gt;
                new InstructionInfo(InstructionType.goto_table, new long[] { NwConstants.INGRESS_ACL_FILTER_TABLE }));&lt;br/&gt;
&lt;br/&gt;
        List&amp;lt;MatchInfo&amp;gt; synMatches = new ArrayList&amp;lt;&amp;gt;();&lt;br/&gt;
        synMatches.add(new MatchInfo(MatchFieldType.eth_type,&lt;br/&gt;
                new long[] { NwConstants.ETHTYPE_IPV4 }));&lt;br/&gt;
        synMatches.add(new MatchInfo(MatchFieldType.ip_proto,&lt;br/&gt;
                new long[] { IPProtocols.TCP.intValue() }
&lt;p&gt;));&lt;br/&gt;
        synMatches.add(new MatchInfo(MatchFieldType.tcp_flags, new long[] &lt;/p&gt;
{ AclConstants.TCP_FLAG_SYN }
&lt;p&gt;));&lt;/p&gt;

&lt;p&gt;        List&amp;lt;ActionInfo&amp;gt; synActionsInfos = new ArrayList&amp;lt;&amp;gt;();&lt;br/&gt;
        synActionsInfos.add(new ActionInfo(ActionType.drop_action, new String[] {}));&lt;br/&gt;
        List&amp;lt;InstructionInfo&amp;gt; synInstructions = new ArrayList&amp;lt;&amp;gt;();&lt;br/&gt;
        synInstructions.add(new InstructionInfo(InstructionType.apply_actions, synActionsInfos));&lt;/p&gt;

&lt;p&gt;        FlowEntity synFlowEntity = MDSALUtil.buildFlowEntity(dpId, NwConstants.INGRESS_ACL_TABLE,&lt;br/&gt;
                &quot;SYN-&quot; + getTableMissFlowId(NwConstants.INGRESS_ACL_TABLE),&lt;br/&gt;
                AclConstants.PROTO_MATCH_SYN_DROP_PRIORITY, &quot;Egress Syn ACL Table Block&quot;, 0, 0,&lt;br/&gt;
                AclConstants.COOKIE_ACL_BASE, synMatches, synInstructions);&lt;br/&gt;
        mdsalManager.installFlow(synFlowEntity);&lt;/p&gt;

&lt;p&gt;        synMatches = new ArrayList&amp;lt;&amp;gt;();&lt;br/&gt;
        synMatches.add(new MatchInfo(MatchFieldType.eth_type,&lt;br/&gt;
                new long[] &lt;/p&gt;
{ NwConstants.ETHTYPE_IPV4 }
&lt;p&gt;));&lt;br/&gt;
        synMatches.add(new MatchInfo(MatchFieldType.ip_proto,&lt;br/&gt;
                new long[] &lt;/p&gt;
{ IPProtocols.TCP.intValue() }
&lt;p&gt;));&lt;br/&gt;
        synMatches.add(new MatchInfo(MatchFieldType.tcp_flags, new long[] &lt;/p&gt;
{ AclConstants.TCP_FLAG_SYN_ACK }
&lt;p&gt;));&lt;/p&gt;

&lt;p&gt;        FlowEntity synAckFlowEntity = MDSALUtil.buildFlowEntity(dpId, NwConstants.INGRESS_ACL_TABLE,&lt;br/&gt;
                &quot;SYN-ACK-ALLOW-&quot; + getTableMissFlowId(NwConstants.INGRESS_ACL_TABLE),&lt;br/&gt;
                AclConstants.PROTO_MATCH_SYN_ACK_ALLOW_PRIORITY, &quot;Egress Syn Ack ACL Table Allow&quot;, 0, 0,&lt;br/&gt;
                AclConstants.COOKIE_ACL_BASE, synMatches, allowAllInstructions);&lt;br/&gt;
        mdsalManager.installFlow(synAckFlowEntity);&lt;/p&gt;

&lt;p&gt;        List&amp;lt;MatchInfo&amp;gt; mkMatches = new ArrayList&amp;lt;&amp;gt;();&lt;br/&gt;
        FlowEntity flowEntity = MDSALUtil.buildFlowEntity(dpId, NwConstants.INGRESS_ACL_TABLE,&lt;br/&gt;
                getTableMissFlowId(NwConstants.INGRESS_ACL_TABLE), 0, &quot;Egress Stateless ACL Table Miss Flow&quot;, 0, 0,&lt;br/&gt;
                AclConstants.COOKIE_ACL_BASE, mkMatches, allowAllInstructions);&lt;br/&gt;
        mdsalManager.installFlow(flowEntity);&lt;/p&gt;

&lt;p&gt;        short dispatcherTableId = NwConstants.LPORT_DISPATCHER_TABLE;&lt;/p&gt;

&lt;p&gt;        List&amp;lt;ActionInfo&amp;gt; actionsInfos = new ArrayList&amp;lt;&amp;gt;();&lt;br/&gt;
        List&amp;lt;InstructionInfo&amp;gt; dispatcherInstructions = new ArrayList&amp;lt;&amp;gt;();&lt;br/&gt;
        actionsInfos.add(new ActionInfo(ActionType.nx_resubmit, new String[] &lt;/p&gt;
{Short.toString(dispatcherTableId)}
&lt;p&gt;));&lt;br/&gt;
        dispatcherInstructions.add(new InstructionInfo(InstructionType.apply_actions, actionsInfos));&lt;/p&gt;

&lt;p&gt;        FlowEntity nextTblFlowEntity = MDSALUtil.buildFlowEntity(dpId, NwConstants.INGRESS_ACL_FILTER_TABLE,&lt;br/&gt;
                getTableMissFlowId(NwConstants.INGRESS_ACL_FILTER_TABLE), 0,&lt;br/&gt;
                &quot;Egress Stateless Next ACL Table Miss Flow&quot;, 0, 0, AclConstants.COOKIE_ACL_BASE, mkMatches,&lt;br/&gt;
                dispatcherInstructions);&lt;br/&gt;
        mdsalManager.installFlow(nextTblFlowEntity);&lt;/p&gt;

&lt;p&gt;        LOG.debug(&quot;Added Stateless Egress ACL Table Miss Flows for dpn {}&quot;, dpId);&lt;br/&gt;
    }&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="20239">NETVIRT-318</key>
            <summary>name of addStatelessIngressAclTableMissFlow and  addStatelessEgressAclTableMissFlow is not correct</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <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="10001">Won&apos;t Do</resolution>
                                        <assignee username="wang.qianyu@zte.com.cn">wangqianyu</assignee>
                                    <reporter username="wang.qianyu@zte.com.cn">wangqianyu</reporter>
                        <labels>
                    </labels>
                <created>Mon, 5 Dec 2016 00:54:28 +0000</created>
                <updated>Fri, 9 Mar 2018 18:21:32 +0000</updated>
                            <resolved>Fri, 9 Mar 2018 17:58:26 +0000</resolved>
                                    <version>Boron</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="36853" author="shague@redhat.com" created="Tue, 6 Dec 2016 15:00:02 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/48965/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/48965/&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>7291</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=7291]]></customfieldvalue>

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

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