neutron/neutron
Ihar Hrachyshka a984f9554c Calculate MTU on every network fetch instead of on create
Today, existing networks may not reflect MTU configured for
neutron-server, if they were created when neutron-server was using
different MTU setup for its infrastructure, or when it was using bad
default values for network MTUs (specifically, before Mitaka, all networks
were getting MTU = 0 by default, disabling both advertisement and data
path MTU size enforcement).

This patch stops persisting MTU in the database on network create and
instead calculate it on every network resource fetch.

DocImpact Now changes to MTU configuration options immediately affect
          existing network MTUs, not just new networks.

UpgradeImpact Existing networks with invalid MTU persisted in database
              may change their MTU values to reflect configuration.

Change-Id: Iee4f5037bf10b73ba98464143b183aacb59c22f2
Closes-Bug: #1556182
2016-07-20 13:26:50 +02:00
..
agent Merge "Replace device owners hard coded strings to neutron_lib constants" 2016-07-14 22:13:53 +00:00
api Pecan: Define plugin crud methods in base class 2016-07-15 11:49:54 -05:00
callbacks Add two more callbacks registry events 2016-06-28 11:41:52 -07:00
cmd Refactoring config options for dhcp agent 2016-07-06 17:24:23 +00:00
common Calculate MTU on every network fetch instead of on create 2016-07-20 13:26:50 +02:00
conf Merge "Refactoring config options for dhcp agent" 2016-07-12 01:18:11 +00:00
core_extensions Respond negatively to tenant detachment of enforced QoS policies 2016-05-16 21:54:15 +00:00
db Calculate MTU on every network fetch instead of on create 2016-07-20 13:26:50 +02:00
debug Replace device owners hard coded strings to neutron_lib constants 2016-07-12 04:11:35 -04:00
extensions Merge "Incorporate tweaks to subport validator" 2016-07-14 02:36:52 +00:00
hacking Add a hacking rule for string interpolation at logging 2016-07-11 22:54:56 +00:00
ipam Remove IP availability range recalculation logic 2016-06-22 09:21:42 -07:00
locale Imported Translations from Zanata 2016-07-17 08:11:06 +00:00
notifiers When deleting floating IP catch PortNotFound 2016-07-06 11:14:07 +00:00
objects Merge "Allow unique keys to be used with get_object" 2016-07-12 16:31:01 +00:00
pecan_wsgi Pecan: Define plugin crud methods in base class 2016-07-15 11:49:54 -05:00
plugins Calculate MTU on every network fetch instead of on create 2016-07-20 13:26:50 +02:00
quota Remove the deprecated config "quota_items" 2016-06-24 14:45:39 +00:00
scheduler DHCP Agent scheduling with segments 2016-06-23 17:34:25 -05:00
server Revert "Revert "Remove threading before process forking"" 2016-06-02 21:26:08 +00:00
services Merge "Fill in trunk_details on port resource" 2016-07-19 12:40:27 +00:00
tests Calculate MTU on every network fetch instead of on create 2016-07-20 13:26:50 +02:00
__init__.py Hacking rule to check i18n usage 2016-03-30 21:28:37 -04:00
_i18n.py Move i18n to _i18n, as per oslo_i18n guidelines 2015-12-01 19:29:10 -07:00
auth.py Consume ConfigurableMiddleware from oslo_middleware 2015-10-08 17:59:43 +00:00
context.py New engine facade from oslo_db: Step 1 2016-05-04 11:19:15 +03:00
manager.py Pecan: bind attribute map to controllers 2016-05-26 06:13:53 +00:00
neutron_plugin_base_v2.py Revert "Revert "Remove threading before process forking"" 2016-06-02 21:26:08 +00:00
opts.py Refactoring config options for dhcp agent 2016-07-06 17:24:23 +00:00
policy.py Use constants from neutron-lib 2016-04-23 21:23:56 -04:00
service.py Revert "Revert "Remove threading before process forking"" 2016-06-02 21:26:08 +00:00
version.py
worker.py Remove notification for process event 2016-06-28 11:49:31 -07:00
wsgi.py Revert "Revert "Remove threading before process forking"" 2016-06-02 21:26:08 +00:00