<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 21, 2016 at 12:26 PM, Russell Bryant <span dir="ltr"><<a href="mailto:rbryant@redhat.com" target="_blank">rbryant@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span class=""><div style="font-family:arial,helvetica,sans-serif"><span style="font-family:arial,sans-serif">On Thu, Mar 17, 2016 at 1:45 AM, Hong Hui Xiao </span><span dir="ltr" style="font-family:arial,sans-serif"><<a href="mailto:xiaohhui@cn.ibm.com" target="_blank">xiaohhui@cn.ibm.com</a>></span><span style="font-family:arial,sans-serif"> wrote:</span><br></div></span><div class="gmail_extra"><div class="gmail_quote"><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi Russell.<br>
<br>
Since the "ovn-bridge-mapping" will become accessible in OVN Southbound<br>
DB, do you meant that neutron plugin can read those bridge mappings from<br>
the OVN Southbound DB? I didn't think in that way because I thought<br>
networking-ovn will only transact data with OVN Northbound DB.<br></blockquote><div><br></div></span><div><div style="font-family:arial,helvetica,sans-serif">​You're right that networking-ovn currently only uses the OVN northbound DB.  This requirement crosses the line into physical space and needing to know about some physical environment details, so reading from the southbound DB for this info is acceptable.​</div><div style="font-family:arial,helvetica,sans-serif">​<span style="font-family:arial,sans-serif"> </span></div></div><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Also, do you have any link to describe the ongoing work in OVN to sync the<br>
"ovn-bridge-mapping" from hypervisor? </blockquote><div><br></div></span><div><div style="font-family:arial,helvetica,sans-serif">​This patch introduces some new tables to the southbound DB:</div><div style="font-family:arial,helvetica,sans-serif"><br></div><div style="font-family:arial,helvetica,sans-serif"><a href="http://openvswitch.org/pipermail/dev/2016-March/068112.html" target="_blank">http://openvswitch.org/pipermail/dev/2016-March/068112.html</a></div><div style="font-family:arial,helvetica,sans-serif">​<br></div><div style="font-family:arial,helvetica,sans-serif">I was thinking that we would be able to read the physical endpoints table to get what we need, but now I'm thinking it may not fit our use case.</div><div style="font-family:arial,helvetica,sans-serif"><br></div><div style="font-family:arial,helvetica,sans-serif">The alternative would be to just store the bridge mappings as an external_id on the Chassis record in the southbound database.  How quickly is this needed?</div></div></div></div></div></blockquote><div><br></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline">​This is now ready.</div></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline"><br></div></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline">The Chassis table in OVN_Southbound now has</div></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline"><br></div></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline">1) a hostname column</div></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline"><br></div></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline">2) an external_ids column, including an ovn-bridge-mappings key.</div></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline"><br></div></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline">Between those two, I think the Neutron plugin has all of the info it needs.</div></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline"><br></div></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline">Let me know if you think of anything else that is missing.​</div> </div></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><font face="arial black, sans-serif">Russell Bryant</font></div></div></div>
</div></div>