<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:21: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>[NETVIRT-480] non-NAPT bridge is also sending package out to external GW</title>
                <link>https://jira.opendaylight.org/browse/NETVIRT-480</link>
                <project id="10144" key="NETVIRT">netvirt</project>
                    <description>&lt;p&gt;distribution-karaf-0.6.0-20170208.220244-3708.zip&lt;/p&gt;

&lt;p&gt;I set up a two-nodes env via devstack:&lt;/p&gt;

&lt;p&gt;node1:&lt;br/&gt;
odl@odl31:/opt/stack/opendaylight$ sudo ovs-vsctl show&lt;br/&gt;
1849da19-afae-48db-b5d4-2a63e7b86d0b&lt;br/&gt;
    Manager &quot;ptcp:6641:127.0.0.1&quot;&lt;br/&gt;
        is_connected: true&lt;br/&gt;
    Manager &quot;tcp:192.168.254.31:6640&quot;&lt;br/&gt;
        is_connected: true&lt;br/&gt;
    Bridge br-int&lt;br/&gt;
        Controller &quot;tcp:192.168.254.31:6653&quot;&lt;br/&gt;
            is_connected: true&lt;br/&gt;
        fail_mode: secure&lt;br/&gt;
        Port &quot;enp0s9&quot;&lt;br/&gt;
            Interface &quot;enp0s9&quot;&lt;br/&gt;
        Port &quot;tun70d00fe1b8c&quot;&lt;br/&gt;
            Interface &quot;tun70d00fe1b8c&quot;&lt;br/&gt;
                type: vxlan&lt;br/&gt;
                options: &lt;/p&gt;
{key=flow, local_ip=&quot;192.168.254.31&quot;, remote_ip=&quot;192.168.254.32&quot;}
&lt;p&gt;        Port br-int&lt;br/&gt;
            Interface br-int&lt;br/&gt;
                type: internal&lt;br/&gt;
        Port &quot;tap70897536-9b&quot;&lt;br/&gt;
            Interface &quot;tap70897536-9b&quot;&lt;br/&gt;
                type: internal&lt;br/&gt;
        Port &quot;tap81e28235-bd&quot;&lt;br/&gt;
            Interface &quot;tap81e28235-bd&quot;&lt;br/&gt;
    ovs_version: &quot;2.6.0&quot;&lt;/p&gt;

&lt;p&gt;node1&apos;s datapath ID:&lt;br/&gt;
odl@odl31:/opt/stack/opendaylight$ sudo ovs-ofctl -Oopenflow13  show br-int | grep dpid | awk -F&quot;:&quot; -e &apos;&lt;/p&gt;
{print &quot;ibase=16; &quot;toupper($3)}&apos; | bc&lt;br/&gt;
185439651770720&lt;br/&gt;
&lt;br/&gt;
node2:&lt;br/&gt;
odl@odl32:~$ sudo ovs-vsctl show&lt;br/&gt;
cbf6ad51-36d8-4d8d-abdf-869e7e2310c2&lt;br/&gt;
    Manager &quot;tcp:192.168.254.31:6640&quot;&lt;br/&gt;
        is_connected: true&lt;br/&gt;
    Bridge br-int&lt;br/&gt;
        Controller &quot;tcp:192.168.254.31:6653&quot;&lt;br/&gt;
            is_connected: true&lt;br/&gt;
        fail_mode: secure&lt;br/&gt;
        Port &quot;enp0s9&quot;&lt;br/&gt;
            Interface &quot;enp0s9&quot;&lt;br/&gt;
        Port &quot;tun50d944cb5fe&quot;&lt;br/&gt;
            Interface &quot;tun50d944cb5fe&quot;&lt;br/&gt;
                type: vxlan&lt;br/&gt;
                options: {key=flow, local_ip=&quot;192.168.254.32&quot;, remote_ip=&quot;192.168.254.31&quot;}&lt;br/&gt;
        Port &quot;tapa13d9ce7-68&quot;&lt;br/&gt;
            Interface &quot;tapa13d9ce7-68&quot;&lt;br/&gt;
        Port br-int&lt;br/&gt;
            Interface br-int&lt;br/&gt;
                type: internal&lt;br/&gt;
    ovs_version: &quot;2.6.0&quot;&lt;br/&gt;
&lt;br/&gt;
node2&apos;s datapathid:&lt;br/&gt;
odl@odl32:~$  sudo ovs-ofctl -Oopenflow13  show br-int | grep dpid | awk -F&quot;:&quot; -e &apos;{print &quot;ibase=16; &quot;toupper($3)}
&lt;p&gt;&apos; | bc&lt;br/&gt;
255404308847466&lt;/p&gt;

&lt;p&gt;and get my NPAT bridge is on node2:&lt;br/&gt;
odl@odl31:~$ curl -s -u admin:admin -X GET &lt;a href=&quot;http://localhost:8181/restconf/config/odl-nat:napt-switches/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/config/odl-nat:napt-switches/&lt;/a&gt; | python -mjson.tool&lt;br/&gt;
{&lt;br/&gt;
    &quot;napt-switches&quot;: {&lt;br/&gt;
        &quot;router-to-napt-switch&quot;: [&lt;/p&gt;
            {
                &quot;primary-switch-id&quot;: 255404308847466,
                &quot;router-name&quot;: &quot;f6c84bd6-9f25-4992-b72d-e194f77e6857&quot;
            }
&lt;p&gt;        ]&lt;br/&gt;
    }&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;I login my nova VM on node1 (without FIP bound), and try to using SNAT feature:&lt;/p&gt;

&lt;p&gt;I found the VM&apos;s traffic is going through node1&apos;s enp0s9 nic, not through node2 which&lt;br/&gt;
is NAPT bridge node. If I disable the node1&apos;s enp0s9 by &quot;ifconfig enp0s9 down&quot;, the traffic is blocked.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: Other&lt;/p&gt;</environment>
        <key id="20401">NETVIRT-480</key>
            <summary>non-NAPT bridge is also sending package out to external GW</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="10003">Cannot Reproduce</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="gong_ys2013@yahoo.com">yong sheng gong</reporter>
                        <labels>
                    </labels>
                <created>Thu, 16 Feb 2017 12:15:40 +0000</created>
                <updated>Thu, 5 Apr 2018 23:32:13 +0000</updated>
                            <resolved>Thu, 5 Apr 2018 23:32:13 +0000</resolved>
                                    <version>Carbon</version>
                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="37222" author="vinh.nguyen@hcl.com" created="Thu, 13 Jul 2017 22:43:42 +0000"  >&lt;p&gt;Hi Yong,&lt;/p&gt;

&lt;p&gt;Could you please attach flow dumps for odl31 and odl32. I would like to check if the SNAP flows installed properly for each switch&lt;/p&gt;

&lt;p&gt;Thanks, Vinh&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>7810</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=7810]]></customfieldvalue>

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

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