← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1552614] [NEW] Add enable_dhcp filter in get_network_info rpc

 

Public bug reported:

As code in 
https://github.com/openstack/neutron/blob/master/neutron/api/rpc/handlers/dhcp_rpc.py#L163

the rpc get_active_network called by dhcp-agent to fetch network info,
and subnet which enable_dhcp = False is not needed.

It would better add 'enable_dhcp=True' into filter and recheck in dhcp
agent would not need.

https://github.com/openstack/neutron/blob/master/neutron/agent/linux/dhcp.py#L344

** Affects: neutron
     Importance: Undecided
     Assignee: yaowei (yaowei)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => yaowei (yaowei)

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

Title:
  Add enable_dhcp filter in get_network_info rpc

Status in neutron:
  New

Bug description:
  As code in 
  https://github.com/openstack/neutron/blob/master/neutron/api/rpc/handlers/dhcp_rpc.py#L163

  the rpc get_active_network called by dhcp-agent to fetch network info,
  and subnet which enable_dhcp = False is not needed.

  It would better add 'enable_dhcp=True' into filter and recheck in dhcp
  agent would not need.

  https://github.com/openstack/neutron/blob/master/neutron/agent/linux/dhcp.py#L344

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


Follow ups