<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>So that is the right URL for the statuses call. As I understand the issue the statuses call is correctly changing the operating status to DISABLED correct?<br>
</p>
<p><br>
</p>
<p>The problem is when you do an operationg on a loadbalancer and admin_state_up = False. In that case the body returned for those operationgs (POST, PUT, GET) should show operating status as DISABLED, and it is not. This is a bug, and I believe it would
be quite simple to fix. You won't need to call the statuses method as that is just the method that is called when the /statuses resource is called. The create_loadbalancer, get_loadbalancer, get_loadbalancers, and update_loadbalancer methods will just need
to change the operating_status to DISABLED if admin_state_up is False. Should be a very simple change actually.<br>
</p>
<p><br>
</p>
<p>Let me know if I am articulating the problem correctly.<br>
</p>
<p><br>
</p>
<p>Thanks,<br>
</p>
<p>Brandon<br>
</p>
<div style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Madhusudhan Kandadai <madhusudhan.openstack@gmail.com><br>
<b>Sent:</b> Tuesday, April 28, 2015 3:23 PM<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions)<br>
<b>Subject:</b> Re: [openstack-dev] Neutron Lbaas v2 not showing operating_status as inactive</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>
<div>
<div>Hi Anand,<br>
<br>
</div>
There is an api which calls 'statuses' method.. I could see the status 'DISABLED' in: GET /lbaas/loadbalancers/loadbalancer_id/statuses.
<br>
<br>
Maybe we need to correct the doc to reflect the right URL to avoid confusion. If that is the right API call, I shall update the bug and mark it as fixed.
<br>
<br>
</div>
Regards,<br>
</div>
Madhu<br>
<div>
<div><br>
<br>
</div>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Apr 28, 2015 at 12:28 PM, Anand shanmugam <span dir="ltr">
<<a href="mailto:anand1712@outlook.com" target="_blank">anand1712@outlook.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div>
<div dir="ltr">Hi ,
<div><br>
</div>
<div>I am working on the bug <a href="https://bugs.launchpad.net/neutron/+bug/1449286" target="_blank" style="font-size:12pt">https://bugs.launchpad.net/neutron/+bug/1449286</a></div>
<div><br>
</div>
<div>In this bug the admin_state_up is made to false when creating a lbaas v2 loadbalancer.The operating_state should become DISABLED for the created loadbalancer but it is showing as online.</div>
<div><br>
</div>
<div>I can see that there is a method "statuses" which takes care of disabling the opensrting_status ( <a href="https://github.com/openstack/neutron-lbaas/blob/master/neutron_lbaas/services/loadbalancer/plugin.py#L971" target="_blank" style="font-size:12pt">https://github.com/openstack/neutron-lbaas/blob/master/neutron_lbaas/services/loadbalancer/plugin.py#L971</a>)
but I cannot find the method which will call this 'satuses' method.</div>
<div><br>
</div>
<div>I feel this statuses method is not called at all when creating or updating a loadbalancer.Could someone please help me if there is any other api to call this method?</div>
<div><br>
</div>
<div>Regards,</div>
<div>Anand S</div>
</div>
</div>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">
OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</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>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</body>
</html>