← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1348479] Re: _extend_extra_router_dict does not handle boolean correctly

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

** Changed in: neutron
    Milestone: None => juno-3

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1348479

Title:
  _extend_extra_router_dict does not handle boolean correctly

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  Method:

  https://github.com/openstack/neutron/blob/master/neutron/db/l3_attrs_db.py#L50

  is used to add extension attributes to the router object during the
  handling of the API response. When attributes are unspecified, the
  router is extended with default values.

  In the case of boolean attributes things don't work as they should,
  because a default value as True takes over on the right side of the
  boolean expression on:

  https://github.com/openstack/neutron/blob/master/neutron/db/l3_attrs_db.py#L56

  The end user so is led to believe that the server did not honor the
  request, when effectively it did.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1348479/+subscriptions


References