← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

L3_NAT_db_mixin  add_router_interface() and remove_router_interface() methods are 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.

** Affects: neutron
     Importance: Low
         Status: New

-- 
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):
  New

Bug description:
  L3_NAT_db_mixin  add_router_interface() and remove_router_interface() methods are 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


Follow ups

References