← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1325982] Re: l3_db add/remove_router_interface: interface_info validation is incomplete

 

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

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

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

Title:
  l3_db add/remove_router_interface: interface_info validation is
  incomplete

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

Bug description:
  L3_NAT_db_mixin  add_router_interface() and remove_router_interface() methods check that interface_info is not empty but don't check that it contains any of expected parameters - port_id or subnet_id:
   if not interface_info:
     msg = _("Either subnet_id or port_id must be specified")
     raise n_exc.BadRequest(resource='router', msg=msg)

  Expected parameters should be explicitly checked.

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


References