<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@SimSun";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.pl-smi
{mso-style-name:pl-smi;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>Hi Michal,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'> Thanks for the detailed explanation. The ODL_LOCAL_IP helped define interfaces as we needed. <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>Thanks<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>Badri<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><a name="_____replyseparator"></a><b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> Michał Skalski [mailto:michal@skalski.org] <br><b>Sent:</b> Friday, July 31, 2015 2:41 AM<br><b>To:</b> Venkataraghavan, C<br><b>Cc:</b> Sabapathy, Ravi; vishal.thapar@ericsson.com; Viswanatha, Badrinath; openstack@lists.openstack.org; <ovsdb-dev@lists.opendaylight.org><br><b>Subject:</b> Re: [ovsdb-dev] DevStack-opendaylight on a multi-node setup<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><div><div><div><p class=MsoNormal style='margin-bottom:12.0pt'>Hi,<o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>The local_ip attribute inside ovs configuration indicate the endpoint of vxlan tunnel on specific node. As you can see here [1] value of this attribute is save inside <span class=pl-smi>$ODL_LOCAL_IP which is by default equal to HOST_IP: [2]. So when you define HOST_IP it will be used as a vxlan endpoint which cause that tunnel traffic will go through interface with this IP address assigned. You can overwrite this by explicit defining ODL_LOCAL_IP in your local.conf.</span><br><span class=pl-smi>Here is an example of mine local.conf file: [3]</span><br><br><span class=pl-smi>[1] </span><a href="https://github.com/openstack/networking-odl/blob/master/devstack/plugin.sh#L341">https://github.com/openstack/networking-odl/blob/master/devstack/plugin.sh#L341</a><br>[2]<span class=pl-smi> <a href="https://github.com/openstack/networking-odl/blob/master/devstack/plugin.sh#L333">https://github.com/openstack/networking-odl/blob/master/devstack/plugin.sh#L333</a></span><br><span class=pl-smi>[3]<a href="https://gist.github.com/michalskalski/b6f12b318e279ebf3deb">https://gist.github.com/michalskalski/b6f12b318e279ebf3deb</a></span><o:p></o:p></p></div><p class=MsoNormal><span class=pl-smi>Regards,</span><o:p></o:p></p></div><p class=MsoNormal><span class=pl-smi>Michal</span><o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>2015-07-30 20:37 GMT+02:00 <<a href="mailto:C_Venkataraghavan@dell.com" target="_blank">C_Venkataraghavan@dell.com</a>>:<o:p></o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:#1F497D'>Resending Ravi’s mail with watermark removed.</span><o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:#1F497D'>H</span>i Vishal,<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:#1F497D'> (Resending the mail by removing “Internal use” tag)</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> We forgot to mention a detail in our multi-node setup i.e., the overlay used is<b><span style='color:red'> VxLan (Q_ML2_TENANT_NETWORK_TYPE=vxlan) </span></b>. When I checked about ODL_PROVIDER_MAPPINGS, it works only with VLAN type of tenant network. <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> How do we attach a physical interface for a vxlan type of tenant network?<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Regards,<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Ravi<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:#1F497D'> </span><o:p></o:p></p><p>-----Original Message-----<br>From: <a href="mailto:ovsdb-dev-bounces@lists.opendaylight.org" target="_blank">ovsdb-dev-bounces@lists.opendaylight.org</a> [<a href="mailto:ovsdb-dev-bounces@lists.opendaylight.org" target="_blank">mailto:ovsdb-dev-bounces@lists.opendaylight.org</a>] On Behalf Of Vishal Thapar<br>Sent: Thursday, July 30, 2015 1:54 AM<br>To: Viswanatha, Badrinath; <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>; <a href="mailto:ovsdb-dev@lists.opendaylight.org" target="_blank">ovsdb-dev@lists.opendaylight.org</a><br>Cc: Venkataraghavan, C<br>Subject: Re: [ovsdb-dev] DevStack-opendaylight on a multi-node setup<br><br>Hi Badri,<br><br>Try this: `ODL_PROVIDER_MAPPINGS=physnet1:eth1`<br><br>Regards,<br>Vishal.<br><br><br>From: <a href="mailto:ovsdb-dev-bounces@lists.opendaylight.org" target="_blank">ovsdb-dev-bounces@lists.opendaylight.org</a> [<a href="mailto:ovsdb-dev-bounces@lists.opendaylight.org" target="_blank">mailto:ovsdb-dev-bounces@lists.opendaylight.org</a>] On Behalf Of <a href="mailto:Badrinath_Viswanatha@Dell.com" target="_blank">Badrinath_Viswanatha@Dell.com</a><br>Sent: 29 July 2015 11:29<br>To: <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>; <a href="mailto:ovsdb-dev@lists.opendaylight.org" target="_blank">ovsdb-dev@lists.opendaylight.org</a><br>Cc: <a href="mailto:C_Venkataraghavan@DELL.com" target="_blank">C_Venkataraghavan@DELL.com</a><br>Subject: [ovsdb-dev] DevStack-opendaylight on a multi-node setup<br><br><br>Hi All,<br> We are trying to setup a multi-node devstack setup with opendaylight ML2 plugin. <br><br>The local.conf, we use with devstack does not have an option to specify the tenant physical interfaces. It only has options for specifying the management IP address ( and by extension the eth0 ) and the external network ( eth2 ). <br><br>Can you please help<br>1) How to specify tenant network ( VM data network) to be setup only on eth1 of the compute nodes. ?<br>2) If possible, share the local.conf, that you might have used with your devstack on a similar topology, specifying the physical interfaces. <br><br>Thanks<br>Badri<br><br>_______________________________________________<br>ovsdb-dev mailing list<br><a href="mailto:ovsdb-dev@lists.opendaylight.org" target="_blank">ovsdb-dev@lists.opendaylight.org</a><br><a href="https://lists.opendaylight.org/mailman/listinfo/ovsdb-dev" target="_blank">https://lists.opendaylight.org/mailman/listinfo/ovsdb-dev</a><o:p></o:p></p></div></div></div></div><p class=MsoNormal style='margin-bottom:12.0pt'><br>_______________________________________________<br>ovsdb-dev mailing list<br><a href="mailto:ovsdb-dev@lists.opendaylight.org">ovsdb-dev@lists.opendaylight.org</a><br><a href="https://lists.opendaylight.org/mailman/listinfo/ovsdb-dev" target="_blank">https://lists.opendaylight.org/mailman/listinfo/ovsdb-dev</a><o:p></o:p></p></blockquote></div><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>