<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:35: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>[OVSDB-160] ovsdb netvirt needs help in getting mac for a given ip in br-ex</title>
                <link>https://jira.opendaylight.org/browse/OVSDB-160</link>
                <project id="10158" key="OVSDB">ovsdb</project>
                    <description>&lt;p&gt;in ovsdb net-virt, neutron will provide an ip as the next-hop default gateway&lt;br/&gt;
for connections beyond br-ex.&lt;/p&gt;

&lt;p&gt;Since ovsdb has no real arp, it needs a service in can subscribe so that the&lt;br/&gt;
mac address associated to the gateway ip address is available.&lt;/p&gt;

&lt;p&gt;Today, that mac is hard coded via the config param &apos;ovsdb.l3gateway.mac&apos;, provided in custom.properties file.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="21852">OVSDB-160</key>
            <summary>ovsdb netvirt needs help in getting mac for a given ip in br-ex</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="Avishnoi">Anil Vishnoi</assignee>
                                    <reporter username="flavio@flaviof.com">Flavio Fernandes</reporter>
                        <labels>
                    </labels>
                <created>Tue, 26 May 2015 18:58:24 +0000</created>
                <updated>Sun, 11 Oct 2015 16:02:31 +0000</updated>
                            <resolved>Sun, 11 Oct 2015 16:02:31 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>openstack.net-virt</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="40823" author="flavio@flaviof.com" created="Wed, 27 May 2015 18:48:34 +0000"  >
&lt;p&gt;&amp;gt; Flavio,&lt;br/&gt;
&amp;gt; Is the issue here lack of service to get gateway ip from custom.properties?&lt;br/&gt;
&amp;gt; How do you see it implemented? Are there similar services that I can look as template?&lt;/p&gt;


&lt;p&gt;I think it is mostly a missing functionality. In openstack, the mac of the external gateway is never provided via neutron. That&lt;br/&gt;
makes sense, since it assumes the sdn controller has an ip stack that could derive the mac from the ip.&lt;/p&gt;

&lt;p&gt;My rough idea is that the net-virt code in ovsdb would subscribe to something in odl, that could to the arp and notify back should&lt;br/&gt;
the mac that is associated with the given ip changes. I imagine it would be something similar to the ping tutorial &lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;, but with focus on the&lt;br/&gt;
mac. Maybe by looking at /proc/net/arp file.&lt;/p&gt;

&lt;p&gt;&#8212; flavio&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/7249/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/7249/&lt;/a&gt;&lt;br/&gt;
     &lt;a href=&quot;https://wiki.opendaylight.org/view/Ping_2.0_-_Discover_and_Model_Plugin&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.opendaylight.org/view/Ping_2.0_-_Discover_and_Model_Plugin&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="40824" author="flavio@flaviof.com" created="Fri, 19 Jun 2015 13:58:14 +0000"  >&lt;p&gt;just a ref on something that we can copy/leverage for this:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;09:19:54&amp;#93;&lt;/span&gt;  &amp;lt;alagalah&amp;gt;	flaviof: Have a look at the OfOverlay Renderer, specifically the EndpointManager class... there is an ArpTasker, essentially we use packet in packet out&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;09:22:26&amp;#93;&lt;/span&gt;  &amp;lt;alagalah&amp;gt;	flaviof: Yeah so when you make a subnet tied to an external network with floatingIP range say 50-100 with gateway 253, which is say a Cisco router on the LAN, it arps for 253 using packet out/in and then removes the packet in flows after it gets the ARP and caches it&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;09:22:37&amp;#93;&lt;/span&gt;  &amp;lt;alagalah&amp;gt;	flaviof: Have a look at ArpTasker in EndpointManager class&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;09:23:09&amp;#93;&lt;/span&gt;  &amp;lt;flaviof&amp;gt;	alagalah: cool!&lt;/p&gt;</comment>
                            <comment id="40825" author="vishnoianil@gmail.com" created="Mon, 13 Jul 2015 20:00:19 +0000"  >&lt;p&gt;Log snippet:&lt;br/&gt;
2015-07-13 02:31:32,034 | INFO  | ntDispatcherImpl | NeutronL3Adapter                 | 268 - org.opendaylight.ovsdb.openstack.net-virt - 1.1.1.SNAPSHOT | Trigger MAC resolution for gateway ip 192.168.202.1 on Node Uri &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=ovsdb://uuid/4575bb26-b73b-4e0a-a62a-9b3ff06e19af/bridge/br-ex&amp;#93;&lt;/span&gt;&lt;br/&gt;
2015-07-13 02:31:32,034 | INFO  | ntDispatcherImpl | GatewayMacResolverService        | 269 - org.opendaylight.ovsdb.openstack.net-virt-providers - 1.1.1.SNAPSHOT | Trigger Mac resolution for gateway 192.168.202.1, using source ip 192.168.202.133 and mac FA:16:3E:B2:27:83&lt;br/&gt;
2015-07-13 02:31:33,040 | INFO  | pool-44-thread-2 | NeutronL3Adapter                 | 268 - org.opendaylight.ovsdb.openstack.net-virt - 1.1.1.SNAPSHOT | Resolved MAC address for gateway IP 192.168.202.1 is 52:54:00:5b:ba:a6&lt;/p&gt;</comment>
                            <comment id="40826" author="flavio@flaviof.com" created="Wed, 12 Aug 2015 14:18:39 +0000"  >&lt;p&gt;gerrit stable/lithium: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/24276/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/24276/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;gerrit master: ?!?&lt;/p&gt;</comment>
                            <comment id="40827" author="vishnoianil@gmail.com" created="Wed, 12 Aug 2015 14:38:49 +0000"  >&lt;p&gt;master : &lt;a href=&quot;https://git.opendaylight.org/gerrit/25205&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/25205&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="40828" author="shague@redhat.com" created="Sun, 11 Oct 2015 16:02:31 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/25205/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/25205/&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/24276&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/24276&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>3378</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=3378]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10305"><![CDATA[Improvement]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10327"><![CDATA[Lithium-1]]></customfieldvalue>

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

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