Make the MTU attribute not nullable
Bug #1842261 reported by
zhanghao
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
zhanghao |
Bug Description
mtu attribute is nullable in the network, address all such TODOs
# TODO(ihrachys) remove in Queens+ when mtu is not nullable
then,we can also use reader context instead of writer context in some methods.
Changed in neutron: | |
assignee: | nobody → zhanghao (zhanghao2) |
Changed in neutron: | |
status: | New → In Progress |
Changed in neutron: | |
importance: | Undecided → Medium |
tags: | added: mtu |
Changed in neutron: | |
assignee: | zhanghao (zhanghao2) → LIU Yulong (dragon889) |
Changed in neutron: | |
assignee: | LIU Yulong (dragon889) → zhanghao (zhanghao2) |
To post a comment you must log in.
Reviewed: https:/ /review. opendev. org/679399 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=68625686a40 b3eb75502c8116f 23d2297e288ca1
Committed: https:/
Submitter: Zuul
Branch: master
commit 68625686a40b3eb 75502c8116f23d2 297e288ca1
Author: zhanghao <email address hidden>
Date: Sat Oct 26 16:57:27 2019 -0400
Make the MTU attribute not nullable
This patch sets the MTU attribute to non-nullable, the code
that get the MTU and update the network in some methods can
be removed. If the MTU is empty before the pike version, it
is set to the default value of 1500.
Change-Id: Id4d738dde7fa4b 7caccabad0aac54 2b82b4d7af1
Closes-Bug: #1842261