Runtime router variable dist_fip_count has been used to keep track of FIPs for DVR routers. This variable is not re-initialized correctly on agent restart and can get stale from other errors which cause problems with namespace and port cleanup. This patch will initialize the ri.dist_fip_count once in process_router for dvr routers only. This method was selected instead of the _router_added or _router_removed path because it is the one central entry point for rotuer add, delete, and update. The object self.agent_gateway_port also needs to be properly handled after an agent restart and this patch will handle that as well. When needed, the system will be read via system calls to determine the state of namespaces and ports since the variables cannot be relied on. System calls will be kept to a minimum to reduce and possible performance hits. Change-Id: Iae5ebf5249f8e16ab57df78e042293ca2855ddf1 Closes-bug: #1367039
Welcome!
You have come across a cloud computing network fabric controller. It has identified itself as "Neutron." It aims to tame your (cloud) networking!
External Resources:
The homepage for Neutron is: http://launchpad.net/neutron. Use this site for asking for help, and filing bugs. Code is available on git.openstack.org at <http://git.openstack.org/cgit/openstack/neutron>.
The latest and most in-depth documentation on how to use Neutron is available at: <http://docs.openstack.org>. This includes:
- Neutron Administrator Guide
-
http://docs.openstack.org/admin-guide-cloud/content/ch_networking.html
- Neutron API Reference:
-
http://docs.openstack.org/api/openstack-network/2.0/content/
- Current Neutron developer documentation is available at:
For help on usage and hacking of Neutron, please send mail to <mailto:openstack-dev@lists.openstack.org>.
For information on how to contribute to Neutron, please see the contents of the CONTRIBUTING.rst file.