<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 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* 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;}
span.hoenzb
{mso-style-name:hoenzb;}
span.EmailStyle18
{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">Thanks Nader for the extra effort and I am glad you made progress here.<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"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Milton<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"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Nader Lahouti [mailto:nader.lahouti@gmail.com]
<br>
<b>Sent:</b> Thursday, July 03, 2014 3:59 PM<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions)<br>
<b>Subject:</b> Re: [openstack-dev] [neutron][oslo.messaging]<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Thanks a lot Doug and Alexei for your prompt response. <o:p></o:p></p>
<div>
<p class="MsoNormal">I used what Doug suggested and worked.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks again for the help.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Nader.<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Thu, Jul 3, 2014 at 12:04 PM, Doug Hellmann <<a href="mailto:doug.hellmann@dreamhost.com" target="_blank">doug.hellmann@dreamhost.com</a>> wrote:<o:p></o:p></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">On Thu, Jul 3, 2014 at 1:58 PM, Alexei Kornienko<br>
<<a href="mailto:alexei.kornienko@gmail.com">alexei.kornienko@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> You can use oslo.messaging._drivers.impl_rabbit instead of impl_kombu<br>
> It was renamed and slightly change but I think it will work as you expect.<o:p></o:p></p>
</div>
<p class="MsoNormal">You should not depend on using any API defined in that module. The<br>
_drivers package is a private package inside oslo.messaging, and<br>
shouldn't be used directly. Use the public, documented, API instead to<br>
ensure that future changes to the internal implementation details of<br>
oslo.messaging do not break your code.<br>
<span style="color:#888888"><br>
<span class="hoenzb">Doug</span></span><o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><br>
><br>
> Regards,<br>
> Alexei Kornienko<br>
><br>
><br>
> On 07/03/2014 08:47 PM, Nader Lahouti wrote:<br>
><br>
> Hi All and Ihar,<br>
><br>
> As part of blueprint oslo-messaging the neutron/openstack/common/rpc tree is<br>
> removed. I was using impl_kombu module to process notification from keystone<br>
> with this following code sample:<br>
> ...<br>
> from neutron.openstack.common.rpc import impl_kombu<br>
> try:<br>
> conf = impl_kombu.cfg.CONF<br>
> topicname = self._topic_name<br>
> exchange = self._exchange_name<br>
> connection = impl_kombu.Connection(conf)<br>
> connection.declare_topic_consumer(topic,<br>
> self.callback,<br>
> topic, exchange)<br>
> connection.consume()<br>
> except Exception:<br>
> connection.close()<br>
><br>
><br>
> Can you please let me what needs to be done to replace the above code and<br>
> make it work with current neutron code?<br>
><br>
><br>
> Thanks in advance,<br>
> Nader.<br>
><br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> OpenStack-dev mailing list<br>
> <a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> OpenStack-dev mailing list<br>
> <a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
><br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>