<div dir="ltr"><div class="gmail_default" 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><div class="gmail_extra"><div class="gmail_quote"><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><div><div class="gmail_default" 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 class="gmail_default" style="font-family:arial,helvetica,sans-serif">​<span style="font-family:arial,sans-serif"> </span></div></div><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><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">​This patch introduces some new tables to the southbound DB:</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><a href="http://openvswitch.org/pipermail/dev/2016-March/068112.html">http://openvswitch.org/pipermail/dev/2016-March/068112.html</a></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">​<br></div><div class="gmail_default" 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 class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" 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 class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">-- </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Russell Bryant</div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline">​</div> </div></div>
</div></div>