<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:24:23 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-1568] snat can&apos;t work in Openstack rocky + ODL Fluorine SR1</title>
                <link>https://jira.opendaylight.org/browse/NETVIRT-1568</link>
                <project id="10144" key="NETVIRT">netvirt</project>
                    <description>&lt;p&gt;after enable snat by &quot;openstack router set --external-gateway extnet --enable-snat extvr, VM can&apos;t ping external IP no matter I use simulated external network or real&#160; external network.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Openstack rocky + Opendaylight SR1&lt;/p&gt;</environment>
        <key id="31474">NETVIRT-1568</key>
            <summary>snat can&apos;t work in Openstack rocky + ODL Fluorine SR1</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.opendaylight.org/images/icons/priorities/blocker.svg">Highest</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="10000">Done</resolution>
                                        <assignee username="xcheara">Chetan Arakere Gowdru</assignee>
                                    <reporter username="yangyi01">Yi Yang</reporter>
                        <labels>
                            <label>netvirt</label>
                    </labels>
                <created>Thu, 28 Feb 2019 14:40:33 +0000</created>
                <updated>Wed, 6 Mar 2019 06:26:49 +0000</updated>
                            <resolved>Fri, 1 Mar 2019 07:38:49 +0000</resolved>
                                    <version>Fluorine-SR1</version>
                                                    <component>natservice</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="66502" author="yangyi01" created="Thu, 28 Feb 2019 14:42:10 +0000"  >&lt;p&gt;By the way, floating IP can work with simulated external network.&lt;/p&gt;</comment>
                            <comment id="66506" author="xcheara" created="Fri, 1 Mar 2019 05:57:41 +0000"  >&lt;p&gt;Hi Yang,&lt;/p&gt;

&lt;p&gt;Can you provide the following details.&lt;/p&gt;

&lt;p&gt;1) is Controller-based or contrack Based SNAT been configured ??&lt;/p&gt;

&lt;p&gt;2) Please provide following DS dumps from the set-up where is issue been observed and karaf logs&lt;/p&gt;

&lt;p&gt;curl&#160; --silent&#160; -u&#160; -X GET &lt;a href=&quot;http://localhost:8181/restconf/config/odl-nat:external-networks/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/config/odl-nat:external-networks/&lt;/a&gt; |python -m json.tool&lt;/p&gt;

&lt;p&gt;&#160;curl&#160; --silent&#160; -u&#160; -X GET &lt;a href=&quot;http://localhost:8181/restconf/config/odl-nat:ext-routers/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/config/odl-nat:ext-routers/&lt;/a&gt; |python -m json.tool&lt;/p&gt;

&lt;p&gt;curl&#160; --silent&#160; -u&#160; -X GET &lt;span class=&quot;error&quot;&gt;&amp;#91;http://localhost:8181/restconf/config/odl-nat:napt-switches/|python -m json.tool|http://localhost:8181/restconf/config/odl-nat:napt-switches/&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;curl&#160; --silent&#160; -u&#160; -X GET &lt;a href=&quot;http://localhost:8181/restconf/config/odl-nat:intext-ip-port-map/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/config/odl-nat:intext-ip-port-map/&lt;/a&gt; |python -m json.tool&lt;/p&gt;

&lt;p&gt;curl&#160; --silent&#160; -u&#160; -X GET &lt;a href=&quot;http://localhost:8181/restconf/config/odl-nat:snatint-ip-port-map/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/config/odl-nat:snatint-ip-port-map/&lt;/a&gt; |python -m json.tool&lt;/p&gt;

&lt;p&gt;&#160;curl&#160; --silent&#160; -u&#160; -X GET &lt;a href=&quot;http://localhost:8181/restconf/config/odl-nat:floating-ip-port-info/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/config/odl-nat:floating-ip-port-info/&lt;/a&gt; |python -m json.tool&lt;/p&gt;

&lt;p&gt;curl&#160; --silent&#160; -u&#160; -X GET &lt;a href=&quot;http://localhost:8181/restconf/config/odl-nat:floating-ip-info/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/config/odl-nat:floating-ip-info/&lt;/a&gt; |python -m json.tool&lt;/p&gt;

&lt;p&gt;curl&#160; --silent&#160; -u&#160; -X GET &lt;a href=&quot;http://localhost:8181/restconf/config/odl-nat:router-id-name/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/config/odl-nat:router-id-name/&lt;/a&gt; |python -m json.tool&lt;/p&gt;

&lt;p&gt;curl&#160; --silent&#160; -u&#160; -X GET &lt;a href=&quot;http://localhost:8181/restconf/operational/odl-nat:intext-ip-map/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/operational/odl-nat:intext-ip-map/&lt;/a&gt; |python -m json.tool&lt;/p&gt;

&lt;p&gt;curl&#160; --silent&#160; -u&#160; -X GET &lt;a href=&quot;http://localhost:8181/restconf/operational/odl-nat:external-ips-counter/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/operational/odl-nat:external-ips-counter/&lt;/a&gt; |python -m json.tool&lt;/p&gt;

&lt;p&gt;curl&#160; --silent&#160; -u&#160; -X GET &lt;a href=&quot;http://localhost:8181/restconf/operational/odl-nat:floating-ip-info/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/operational/odl-nat:floating-ip-info/&lt;/a&gt; |python -m json.tool&lt;/p&gt;</comment>
                            <comment id="66508" author="yangyi01" created="Fri, 1 Mar 2019 06:28:36 +0000"  >&lt;p&gt;I saw the blow error info, maybe it is helpful to you.&lt;/p&gt;

&lt;p&gt;2019-02-28T06:06:47,391 | ERROR | org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.natservice.rev160111.napt.switches.RouterToNaptSwitch_AsyncDataTreeChangeListenerBase-DataTreeChangeHandler-0 | SnatCentralizedSwitchChangeListener | 345 - org.opendaylight.netvirt.natservice-impl - 0.7.1 | Future (eventually) failed: Error handling SNAT centralized switch update&lt;br/&gt;
java.lang.NullPointerException: null&lt;br/&gt;
 at org.opendaylight.netvirt.natservice.ha.SnatCentralizedSwitchChangeListener.lambda$update$1(SnatCentralizedSwitchChangeListener.java:105) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;?:?&amp;#93;&lt;/span&gt;&lt;br/&gt;
 at org.opendaylight.genius.infra.ManagedNewTransactionRunnerImpl.callWithNewReadWriteTransactionAndSubmit(ManagedNewTransactionRunnerImpl.java:106) &lt;span class=&quot;error&quot;&gt;&amp;#91;256:org.opendaylight.genius.mdsalutil-api:0.5.1&amp;#93;&lt;/span&gt;&lt;br/&gt;
 at org.opendaylight.netvirt.natservice.ha.SnatCentralizedSwitchChangeListener.update(SnatCentralizedSwitchChangeListener.java:98) &lt;span class=&quot;error&quot;&gt;&amp;#91;345:org.opendaylight.netvirt.natservice-impl:0.7.1&amp;#93;&lt;/span&gt;&lt;br/&gt;
 at org.opendaylight.netvirt.natservice.ha.SnatCentralizedSwitchChangeListener.update(SnatCentralizedSwitchChangeListener.java:43) &lt;span class=&quot;error&quot;&gt;&amp;#91;345:org.opendaylight.netvirt.natservice-impl:0.7.1&amp;#93;&lt;/span&gt;&lt;br/&gt;
 at org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase$DataTreeChangeHandler.run(AsyncDataTreeChangeListenerBase.java:176) &lt;span class=&quot;error&quot;&gt;&amp;#91;256:org.opendaylight.genius.mdsalutil-api:0.5.1&amp;#93;&lt;/span&gt;&lt;br/&gt;
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) &lt;span class=&quot;error&quot;&gt;&amp;#91;?:?&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) &lt;span class=&quot;error&quot;&gt;&amp;#91;?:?&amp;#93;&lt;/span&gt;&lt;br/&gt;
 at java.lang.Thread.run(Thread.java:748) &lt;span class=&quot;error&quot;&gt;&amp;#91;?:?&amp;#93;&lt;/span&gt;&lt;/p&gt;</comment>
                            <comment id="66509" author="yangyi01" created="Fri, 1 Mar 2019 07:07:36 +0000"  >&lt;p&gt;It is controller-based NAT.&lt;/p&gt;

&lt;p&gt;vagrant@odl:~/opendaylight-0.9.1$ cat etc/opendaylight/datastore/initial/config/netvirt-natservice-config.xml&lt;br/&gt;
&amp;lt;natservice-config xmlns=&quot;urn:opendaylight:netvirt:natservice:config&quot;&amp;gt;&lt;br/&gt;
 &amp;lt;nat-mode&amp;gt;controller&amp;lt;/nat-mode&amp;gt;&lt;br/&gt;
 &amp;lt;snat-punt-timeout&amp;gt;5&amp;lt;/snat-punt-timeout&amp;gt;&lt;br/&gt;
&amp;lt;/natservice-config&amp;gt;&lt;br/&gt;
vagrant@odl:~/opendaylight-0.9.1$&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;stack@control:~/devstack$ ./vm_ssh vm1&lt;br/&gt;
qdhcp-0b9de268-2dd3-493a-91e2-f8fc71035313&lt;br/&gt;
10.15.1.3&lt;br/&gt;
Warning: Permanently added &apos;10.15.1.3&apos; (RSA) to the list of known hosts.&lt;br/&gt;
cirros@10.15.1.3&apos;s password:&lt;br/&gt;
$ ping 192.168.100.1&lt;br/&gt;
PING 192.168.100.1 (192.168.100.1): 56 data bytes&lt;br/&gt;
^C&lt;br/&gt;
&amp;#8212; 192.168.100.1 ping statistics &amp;#8212;&lt;br/&gt;
14 packets transmitted, 0 packets received, 100% packet loss&lt;br/&gt;
$&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;192.168.100.1 is gateway of my external network, it is simulated as ODL csit setup, floating IP can work.&lt;/p&gt;

&lt;p&gt;stack@control:~/devstack$ curl --silent -u admin:admin -X GET &lt;a href=&quot;http://192.168.0.5:8181/restconf/config/odl-nat:external-networks/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://192.168.0.5:8181/restconf/config/odl-nat:external-networks/&lt;/a&gt; |python -m json.tool&lt;br/&gt;
{&lt;br/&gt;
 &quot;external-networks&quot;: {&lt;br/&gt;
 &quot;networks&quot;: [&lt;/p&gt;
 {
 &quot;id&quot;: &quot;031f4894-2437-42d4-b380-c575fc854b03&quot;,
 &quot;provider-network-type&quot;: &quot;FLAT&quot;,
 &quot;router-ids&quot;: [
 &quot;fdbae3de-7bc7-4a7d-acf5-911bec787487&quot;
 ],
 &quot;vpnid&quot;: &quot;031f4894-2437-42d4-b380-c575fc854b03&quot;
 }
&lt;p&gt; ]&lt;br/&gt;
 }&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;stack@control:~/devstack$ curl --silent -u admin:admin -X GET &lt;a href=&quot;http://192.168.0.5:8181/restconf/config/odl-nat:ext-routers/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://192.168.0.5:8181/restconf/config/odl-nat:ext-routers/&lt;/a&gt; |python -m json.tool&lt;br/&gt;
{&lt;br/&gt;
 &quot;ext-routers&quot;: {&lt;br/&gt;
 &quot;routers&quot;: [&lt;br/&gt;
 {&lt;br/&gt;
 &quot;enable-snat&quot;: true,&lt;br/&gt;
 &quot;ext_gw_mac_address&quot;: &quot;fa:16:3e:73:81:72&quot;,&lt;br/&gt;
 &quot;external-ips&quot;: [&lt;/p&gt;
 {
 &quot;ip-address&quot;: &quot;192.168.100.200&quot;,
 &quot;subnet-id&quot;: &quot;eb23897f-3d21-4beb-9bf0-9c6da6a9ebbf&quot;
 }
&lt;p&gt; ],&lt;br/&gt;
 &quot;network-id&quot;: &quot;031f4894-2437-42d4-b380-c575fc854b03&quot;,&lt;br/&gt;
 &quot;router-name&quot;: &quot;fdbae3de-7bc7-4a7d-acf5-911bec787487&quot;,&lt;br/&gt;
 &quot;subnet-ids&quot;: [&lt;br/&gt;
 &quot;2e7b7e8c-8c82-456b-a8e5-d71d23121260&quot;,&lt;br/&gt;
 &quot;b7d4023a-bd4e-460e-9afe-30e16b79d842&quot;&lt;br/&gt;
 ]&lt;br/&gt;
 }&lt;br/&gt;
 ]&lt;br/&gt;
 }&lt;br/&gt;
}&lt;br/&gt;
stack@control:~/devstack$ curl --silent -u admin:admin -X GET &lt;a href=&quot;http://192.168.0.5:8181/restconf/config/odl-nat:napt-switches/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://192.168.0.5:8181/restconf/config/odl-nat:napt-switches/&lt;/a&gt; |python -m json.tool&lt;br/&gt;
{&lt;br/&gt;
 &quot;napt-switches&quot;: {&lt;br/&gt;
 &quot;router-to-napt-switch&quot;: [&lt;br/&gt;
 &lt;/p&gt;
{
 &quot;primary-switch-id&quot;: 0,
 &quot;router-name&quot;: &quot;be9057dd-01d2-4f66-96cb-f1dc6dc39e18&quot;
 }
&lt;p&gt;,&lt;br/&gt;
 &lt;/p&gt;
{
 &quot;primary-switch-id&quot;: 0,
 &quot;router-name&quot;: &quot;7027fad7-ee0d-4c5f-9001-f7d3645a1d52&quot;
 }
&lt;p&gt;,&lt;br/&gt;
 &lt;/p&gt;
{
 &quot;primary-switch-id&quot;: 0,
 &quot;router-name&quot;: &quot;6532d936-74bd-4be5-adc7-e029ed1916cd&quot;
 }
&lt;p&gt;,&lt;br/&gt;
 &lt;/p&gt;
{
 &quot;primary-switch-id&quot;: 0,
 &quot;router-name&quot;: &quot;7f632150-be8c-4e30-ae7d-fa5753fbf8fe&quot;
 }
&lt;p&gt;,&lt;/p&gt;
 {
 &quot;primary-switch-id&quot;: 128449969988000,
 &quot;router-name&quot;: &quot;fdbae3de-7bc7-4a7d-acf5-911bec787487&quot;
 }
&lt;p&gt; ]&lt;br/&gt;
 }&lt;br/&gt;
}&lt;br/&gt;
stack@control:~/devstack$ curl --silent -u admin:admin -X GET &lt;a href=&quot;http://192.168.0.5:8181/restconf/config/odl-nat:intext-ip-port-map/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://192.168.0.5:8181/restconf/config/odl-nat:intext-ip-port-map/&lt;/a&gt; |python -m json.tool&lt;br/&gt;
{&lt;br/&gt;
 &quot;intext-ip-port-map&quot;: {&lt;br/&gt;
 &quot;ip-port-mapping&quot;: [&lt;br/&gt;
 {&lt;br/&gt;
 &quot;intext-ip-protocol-type&quot;: [&lt;/p&gt;
 {
 &quot;protocol&quot;: &quot;UDP&quot;
 }
&lt;p&gt; ],&lt;br/&gt;
 &quot;router-id&quot;: 103063&lt;br/&gt;
 }&lt;br/&gt;
 ]&lt;br/&gt;
 }&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;stack@control:~/devstack$ curl --silent -u admin:admin -X GET &lt;a href=&quot;http://192.168.0.5:8181/restconf/config/odl-nat:snatint-ip-port-map/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://192.168.0.5:8181/restconf/config/odl-nat:snatint-ip-port-map/&lt;/a&gt; |python -m json.tool&lt;br/&gt;
{&lt;br/&gt;
 &quot;snatint-ip-port-map&quot;: {&lt;br/&gt;
 &quot;intip-port-map&quot;: [&lt;br/&gt;
 {&lt;br/&gt;
 &quot;ip-port&quot;: [&lt;br/&gt;
 {&lt;br/&gt;
 &quot;int-ip-proto-type&quot;: [&lt;/p&gt;
 {
 &quot;protocol&quot;: &quot;UDP&quot;
 }
&lt;p&gt; ],&lt;br/&gt;
 &quot;internal-ip&quot;: &quot;10.15.1.2&quot;&lt;br/&gt;
 }&lt;br/&gt;
 ],&lt;br/&gt;
 &quot;router-id&quot;: 103063&lt;br/&gt;
 }&lt;br/&gt;
 ]&lt;br/&gt;
 }&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;stack@control:~/devstack$ curl --silent -u admin:admin -X GET &lt;a href=&quot;http://192.168.0.5:8181/restconf/config/odl-nat:floating-ip-port-info/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://192.168.0.5:8181/restconf/config/odl-nat:floating-ip-port-info/&lt;/a&gt; |python -m json.tool&lt;br/&gt;
{&lt;br/&gt;
 &quot;floating-ip-port-info&quot;: {&lt;br/&gt;
 &quot;floating-ip-id-to-port-mapping&quot;: [&lt;/p&gt;
 {
 &quot;floating-ip-deleted&quot;: true,
 &quot;floating-ip-id&quot;: &quot;a521a38e-e923-41dd-a92d-fc780f97cc12&quot;,
 &quot;floating-ip-port-id&quot;: &quot;144e61be-e70b-4e64-9aab-3e72a141e52a&quot;,
 &quot;floating-ip-port-mac-address&quot;: &quot;fa:16:3e:8a:72:4c&quot;,
 &quot;floating-ip-port-subnet-id&quot;: &quot;d5af3578-c1fa-423b-a680-a8cc80e1ac32&quot;
 }
&lt;p&gt; ]&lt;br/&gt;
 }&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;stack@control:~/devstack$ curl --silent -u admin:admin -X GET &lt;a href=&quot;http://192.168.0.5:8181/restconf/config/odl-nat:floating-ip-info/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://192.168.0.5:8181/restconf/config/odl-nat:floating-ip-info/&lt;/a&gt; |python -m json.tool&lt;br/&gt;
{&lt;br/&gt;
 &quot;floating-ip-info&quot;: {}&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;stack@control:~/devstack$ curl --silent -u admin:admin -X GET &lt;a href=&quot;http://192.168.0.5:8181/restconf/config/odl-nat:router-id-name/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://192.168.0.5:8181/restconf/config/odl-nat:router-id-name/&lt;/a&gt; |python -m json.tool&lt;br/&gt;
{&lt;br/&gt;
 &quot;router-id-name&quot;: {&lt;br/&gt;
 &quot;routerIds&quot;: [&lt;br/&gt;
 &lt;/p&gt;
{
 &quot;router-id&quot;: 103052,
 &quot;router-name&quot;: &quot;be9057dd-01d2-4f66-96cb-f1dc6dc39e18&quot;
 }
&lt;p&gt;,&lt;br/&gt;
 &lt;/p&gt;
{
 &quot;router-id&quot;: 103003,
 &quot;router-name&quot;: &quot;902624c0-aaf5-4656-bf63-6258de0fd70c&quot;
 }
&lt;p&gt;,&lt;br/&gt;
 &lt;/p&gt;
{
 &quot;router-id&quot;: 103022,
 &quot;router-name&quot;: &quot;7027fad7-ee0d-4c5f-9001-f7d3645a1d52&quot;
 }
&lt;p&gt;,&lt;br/&gt;
 &lt;/p&gt;
{
 &quot;router-id&quot;: 103037,
 &quot;router-name&quot;: &quot;7f632150-be8c-4e30-ae7d-fa5753fbf8fe&quot;
 }
&lt;p&gt;,&lt;br/&gt;
 &lt;/p&gt;
{
 &quot;router-id&quot;: 103063,
 &quot;router-name&quot;: &quot;fdbae3de-7bc7-4a7d-acf5-911bec787487&quot;
 }
&lt;p&gt;,&lt;/p&gt;
 {
 &quot;router-id&quot;: 103010,
 &quot;router-name&quot;: &quot;6532d936-74bd-4be5-adc7-e029ed1916cd&quot;
 }
&lt;p&gt; ]&lt;br/&gt;
 }&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;stack@control:~/devstack$ curl --silent -u admin:admin -X GET &lt;a href=&quot;http://192.168.0.5:8181/restconf/operational/odl-nat:intext-ip-map/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://192.168.0.5:8181/restconf/operational/odl-nat:intext-ip-map/&lt;/a&gt; |python -m json.tool&lt;br/&gt;
{&lt;br/&gt;
 &quot;intext-ip-map&quot;: {&lt;br/&gt;
 &quot;ip-mapping&quot;: [&lt;br/&gt;
 {&lt;br/&gt;
 &quot;ip-map&quot;: [&lt;br/&gt;
 &lt;/p&gt;
{
 &quot;external-ip&quot;: &quot;192.168.100.200/32&quot;,
 &quot;internal-ip&quot;: &quot;10.16.2.0/24&quot;,
 &quot;label&quot;: 103068
 }
&lt;p&gt;,&lt;/p&gt;
 {
 &quot;external-ip&quot;: &quot;192.168.100.200/32&quot;,
 &quot;internal-ip&quot;: &quot;10.15.1.0/24&quot;,
 &quot;label&quot;: 103068
 }
&lt;p&gt; ],&lt;br/&gt;
 &quot;segment-id&quot;: 103063&lt;br/&gt;
 }&lt;br/&gt;
 ]&lt;br/&gt;
 }&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;stack@control:~/devstack$ curl --silent -u admin:admin -X GET &lt;a href=&quot;http://192.168.0.5:8181/restconf/operational/odl-nat:external-ips-counter/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://192.168.0.5:8181/restconf/operational/odl-nat:external-ips-counter/&lt;/a&gt; |python -m json.tool&lt;br/&gt;
{&lt;br/&gt;
 &quot;external-ips-counter&quot;: {&lt;br/&gt;
 &quot;external-counters&quot;: [&lt;br/&gt;
 {&lt;br/&gt;
 &quot;external-ip-counter&quot;: [&lt;/p&gt;
 {
 &quot;counter&quot;: 2,
 &quot;external-ip&quot;: &quot;192.168.100.200/32&quot;
 }
&lt;p&gt; ],&lt;br/&gt;
 &quot;segment-id&quot;: 103063&lt;br/&gt;
 },&lt;br/&gt;
 {&lt;br/&gt;
 &quot;external-ip-counter&quot;: [&lt;/p&gt;
 {
 &quot;counter&quot;: 0,
 &quot;external-ip&quot;: &quot;192.168.100.209/32&quot;
 }
&lt;p&gt; ],&lt;br/&gt;
 &quot;segment-id&quot;: 103010&lt;br/&gt;
 },&lt;br/&gt;
 {&lt;br/&gt;
 &quot;external-ip-counter&quot;: [&lt;/p&gt;
 {
 &quot;counter&quot;: 0,
 &quot;external-ip&quot;: &quot;192.168.100.207/32&quot;
 }
&lt;p&gt; ],&lt;br/&gt;
 &quot;segment-id&quot;: 103052&lt;br/&gt;
 },&lt;br/&gt;
 {&lt;br/&gt;
 &quot;external-ip-counter&quot;: [&lt;/p&gt;
 {
 &quot;counter&quot;: 0,
 &quot;external-ip&quot;: &quot;192.168.100.200/32&quot;
 }
&lt;p&gt; ],&lt;br/&gt;
 &quot;segment-id&quot;: 103037&lt;br/&gt;
 },&lt;br/&gt;
 {&lt;br/&gt;
 &quot;external-ip-counter&quot;: [&lt;/p&gt;
 {
 &quot;counter&quot;: 0,
 &quot;external-ip&quot;: &quot;192.168.100.200/32&quot;
 }
&lt;p&gt; ],&lt;br/&gt;
 &quot;segment-id&quot;: 103022&lt;br/&gt;
 }&lt;br/&gt;
 ]&lt;br/&gt;
 }&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;stack@control:~/devstack$ curl --silent -u admin:admin -X GET &lt;a href=&quot;http://192.168.0.5:8181/restconf/operational/odl-nat:floating-ip-info/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://192.168.0.5:8181/restconf/operational/odl-nat:floating-ip-info/&lt;/a&gt; |python -m json.tool&lt;br/&gt;
{&lt;br/&gt;
 &quot;floating-ip-info&quot;: {&lt;br/&gt;
 &quot;router-ports&quot;: [&lt;br/&gt;
 {&lt;br/&gt;
 &quot;external-network-id&quot;: &quot;1b7f57dc-12cb-413a-b444-05253e46e23f&quot;,&lt;br/&gt;
 &quot;ports&quot;: [&lt;/p&gt;
 {
 &quot;port-name&quot;: &quot;e956fef4-4bd7-42a9-87b5-b5a996b895cc&quot;
 }
&lt;p&gt; ],&lt;br/&gt;
 &quot;router-id&quot;: &quot;7027fad7-ee0d-4c5f-9001-f7d3645a1d52&quot;&lt;br/&gt;
 },&lt;br/&gt;
 {&lt;br/&gt;
 &quot;external-network-id&quot;: &quot;945b9f26-178e-4456-af02-c7cb5a2b316e&quot;,&lt;br/&gt;
 &quot;ports&quot;: [&lt;/p&gt;
 {
 &quot;port-name&quot;: &quot;50c56cba-7cc8-4b49-ae16-1620630d7ea8&quot;
 }
&lt;p&gt; ],&lt;br/&gt;
 &quot;router-id&quot;: &quot;7f632150-be8c-4e30-ae7d-fa5753fbf8fe&quot;&lt;br/&gt;
 }&lt;br/&gt;
 ]&lt;br/&gt;
 }&lt;br/&gt;
}&lt;/p&gt;</comment>
                            <comment id="66510" author="xcheara" created="Fri, 1 Mar 2019 07:21:01 +0000"  >&lt;p&gt;Contoller Based SNAT doesn&apos;t support ICMP currently. Only TCP and UDP is supported. Since I see ping to external-gw, ICMP packets will be dropped by the following flow.&lt;/p&gt;

&lt;p&gt;Ex:&#160;&lt;/p&gt;

&lt;p&gt;TCP:cookie=0x81286c5, duration=914.453s, table=46, n_packets=1, n_bytes=74, priority=5,tcp,metadata=0x30d78/0xfffffe actions=CONTROLLER:65535,learn(table=46,hard_timeout=5,priority=7,cookie=0x81286c5,eth_type=0x800,nw_proto=6,NXM_OF_IP_SRC[],NXM_OF_IP_DST[],NXM_OF_TCP_SRC[],NXM_OF_TCP_DST[],OXM_OF_METADATA&lt;span class=&quot;error&quot;&gt;&amp;#91;1..23&amp;#93;&lt;/span&gt;)&lt;/p&gt;

&lt;p&gt;ICMP:&lt;/p&gt;

&lt;p&gt;&lt;b&gt;cookie=0x8000008, duration=914.453s, table=46, n_packets=6, n_bytes=588, priority=0,icmp,metadata=0x30d78/0xfffffe actions=drop&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;UDP:&lt;/p&gt;

&lt;p&gt;cookie=0x81286c5, duration=914.453s, table=46, n_packets=1, n_bytes=59, priority=5,udp,metadata=0x30d78/0xfffffe actions=CONTROLLER:65535,learn(table=46,hard_timeout=5,priority=7,cookie=0x81286c5,eth_type=0x800,nw_proto=17,NXM_OF_IP_SRC[],NXM_OF_IP_DST[],NXM_OF_UDP_SRC[],NXM_OF_UDP_DST[],OXM_OF_METADATA&lt;span class=&quot;error&quot;&gt;&amp;#91;1..23&amp;#93;&lt;/span&gt;)&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;You can configure SNAT in conntrack mode for ICMP SNAT translation&lt;/p&gt;

&lt;p&gt;Ref:&#160;&lt;a href=&quot;https://docs.opendaylight.org/en/stable-carbon/submodules/netvirt/docs/specs/conntrack-based-snat.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.opendaylight.org/en/stable-carbon/submodules/netvirt/docs/specs/conntrack-based-snat.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="66511" author="yangyi01" created="Fri, 1 Mar 2019 07:36:40 +0000"  >&lt;p&gt;Got it, http works, thank you so much. I&apos;ll check if ping is ok for conntrack-based nat.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;$ curl &lt;a href=&quot;http://192.168.100.1:8888/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://192.168.100.1:8888/&lt;/a&gt;&lt;br/&gt;
&amp;lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01//EN&quot; &quot;http://www.w3.org/TR/html4/strict.dtd&quot;&amp;gt;&lt;br/&gt;
&amp;lt;html&amp;gt;&lt;br/&gt;
&amp;lt;head&amp;gt;&lt;br/&gt;
&amp;lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot;&amp;gt;&lt;br/&gt;
&amp;lt;title&amp;gt;Directory listing for /&amp;lt;/title&amp;gt;&lt;br/&gt;
&amp;lt;/head&amp;gt;&lt;br/&gt;
&amp;lt;body&amp;gt;&lt;br/&gt;
&amp;lt;h1&amp;gt;Directory listing for /&amp;lt;/h1&amp;gt;&lt;br/&gt;
&amp;lt;hr&amp;gt;&lt;br/&gt;
&amp;lt;ul&amp;gt;&lt;br/&gt;
&amp;lt;li&amp;gt;&amp;lt;a href=&quot;.bash_history&quot;&amp;gt;.bash_history&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br/&gt;
&amp;lt;li&amp;gt;&amp;lt;a href=&quot;.bash_logout&quot;&amp;gt;.bash_logout&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br/&gt;
&amp;lt;li&amp;gt;&amp;lt;a href=&quot;.bashrc&quot;&amp;gt;.bashrc&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br/&gt;
&amp;lt;li&amp;gt;&amp;lt;a href=&quot;.cache/&quot;&amp;gt;.cache/&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br/&gt;
&amp;lt;li&amp;gt;&amp;lt;a href=&quot;.novaclient/&quot;&amp;gt;.novaclient/&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br/&gt;
&amp;lt;li&amp;gt;&amp;lt;a href=&quot;.profile&quot;&amp;gt;.profile&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br/&gt;
&amp;lt;li&amp;gt;&amp;lt;a href=&quot;.ssh/&quot;&amp;gt;.ssh/&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br/&gt;
&amp;lt;li&amp;gt;&amp;lt;a href=&quot;.viminfo&quot;&amp;gt;.viminfo&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br/&gt;
&amp;lt;li&amp;gt;&amp;lt;a href=&quot;devstack.tar.bz2&quot;&amp;gt;devstack.tar.bz2&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br/&gt;
&amp;lt;li&amp;gt;&amp;lt;a href=&quot;neutron.tar.bz2&quot;&amp;gt;neutron.tar.bz2&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br/&gt;
&amp;lt;li&amp;gt;&amp;lt;a href=&quot;nova.tar.bz2&quot;&amp;gt;nova.tar.bz2&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br/&gt;
&amp;lt;/ul&amp;gt;&lt;br/&gt;
&amp;lt;hr&amp;gt;&lt;br/&gt;
&amp;lt;/body&amp;gt;&lt;br/&gt;
&amp;lt;/html&amp;gt;&lt;br/&gt;
$&lt;/p&gt;</comment>
                            <comment id="66516" author="yangyi01" created="Mon, 4 Mar 2019 02:54:27 +0000"  >&lt;p&gt;Hi, Chetan&lt;/p&gt;

&lt;p&gt;After I changed to conntrack, snat can&apos;t work, ssh, http and ping 192.168.100.1 all don&apos;t work, so I propose this bug should be reopened.&lt;/p&gt;</comment>
                            <comment id="66517" author="yangyi01" created="Mon, 4 Mar 2019 02:56:13 +0000"  >&lt;p&gt;$ ping 192.168.100.1&lt;br/&gt;
PING 192.168.100.1 (192.168.100.1): 56 data bytes&lt;br/&gt;
^C&lt;br/&gt;
&amp;#8212; 192.168.100.1 ping statistics &amp;#8212;&lt;br/&gt;
5 packets transmitted, 0 packets received, 100% packet loss&lt;br/&gt;
$ ssh yangyi@192.168.100.1&lt;br/&gt;
^C&lt;br/&gt;
$ wget &lt;a href=&quot;http://192.168.100.1:8888/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://192.168.100.1:8888/&lt;/a&gt;&lt;br/&gt;
Connecting to 192.168.100.1:8888 (192.168.100.1:8888)&lt;br/&gt;
^C&lt;br/&gt;
$&lt;/p&gt;</comment>
                            <comment id="66518" author="yangyi01" created="Mon, 4 Mar 2019 06:51:13 +0000"  >&lt;p&gt;After I used conntrack, the below rests are wrong:&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;stack@control:~/devstack$ curl --silent -u admin:admin -X GET &lt;a href=&quot;http://192.168.0.5:8181/restconf/operational/odl-nat:intext-ip-map/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://192.168.0.5:8181/restconf/operational/odl-nat:intext-ip-map/&lt;/a&gt; |python -m json.tool&lt;br/&gt;
{&lt;br/&gt;
 &quot;errors&quot;: {&lt;br/&gt;
 &quot;error&quot;: [&lt;/p&gt;
 {
 &quot;error-message&quot;: &quot;Request could not be completed because the relevant data model content does not exist &quot;,
 &quot;error-tag&quot;: &quot;data-missing&quot;,
 &quot;error-type&quot;: &quot;application&quot;
 }
&lt;p&gt; ]&lt;br/&gt;
 }&lt;br/&gt;
}&lt;br/&gt;
stack@control:~/devstack$ curl --silent -u admin:admin -X GET &lt;a href=&quot;http://192.168.0.5:8181/restconf/operational/odl-nat:external-ips-counter/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://192.168.0.5:8181/restconf/operational/odl-nat:external-ips-counter/&lt;/a&gt; |python -m json.tool&lt;br/&gt;
{&lt;br/&gt;
 &quot;errors&quot;: {&lt;br/&gt;
 &quot;error&quot;: [&lt;/p&gt;
 {
 &quot;error-message&quot;: &quot;Request could not be completed because the relevant data model content does not exist &quot;,
 &quot;error-tag&quot;: &quot;data-missing&quot;,
 &quot;error-type&quot;: &quot;application&quot;
 }
&lt;p&gt; ]&lt;br/&gt;
 }&lt;br/&gt;
}&lt;br/&gt;
stack@control:~/devstack$ curl --silent -u admin:admin -X GET &lt;a href=&quot;http://192.168.0.5:8181/restconf/config/odl-nat:intext-ip-port-map/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://192.168.0.5:8181/restconf/config/odl-nat:intext-ip-port-map/&lt;/a&gt; |python -m json.tool&lt;br/&gt;
{&lt;br/&gt;
 &quot;errors&quot;: {&lt;br/&gt;
 &quot;error&quot;: [&lt;/p&gt;
 {
 &quot;error-message&quot;: &quot;Request could not be completed because the relevant data model content does not exist &quot;,
 &quot;error-tag&quot;: &quot;data-missing&quot;,
 &quot;error-type&quot;: &quot;application&quot;
 }
&lt;p&gt; ]&lt;br/&gt;
 }&lt;br/&gt;
}&lt;br/&gt;
stack@control:~/devstack$&lt;/p&gt;</comment>
                            <comment id="66523" author="yangyi01" created="Wed, 6 Mar 2019 06:26:49 +0000"  >&lt;p&gt;I saw the below error karaf log, are they really errors?&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;2019-03-06T03:42:32,784 | ERROR | DataTreeEventCallbackRegistrar-Timeouter-0 | NeutronPortChangeListener | 346 - org.opendaylight.netvirt.neutronvpn-impl - 0.7.2 | GwPort 79ef4012-5eef-40f3-95d3-95085f2543a6 added without Router&lt;br/&gt;
2019-03-06T03:42:34,317 | ERROR | DataTreeEventCallbackRegistrar-Timeouter-0 | NeutronPortChangeListener | 346 - org.opendaylight.netvirt.neutronvpn-impl - 0.7.2 | GwPort 0ce62d79-0ba7-47bd-a569-cdcaf6d75384 added without Router&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_10202" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Priority</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10313"><![CDATA[Highest]]></customfieldvalue>

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

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