diff options
author | Ian Pilcher <arequipeno@gmail.com> | 2016-02-03 16:06:56 -0600 |
---|---|---|
committer | Ben Nemec <bnemec@redhat.com> | 2016-02-15 17:55:56 +0000 |
commit | 047294481fc4a2161e8ef637ad3a2706b85bce26 (patch) | |
tree | ed527cae1be6c3ee32e61a4cb1c1b5b94333a82a /os_net_config/impl_eni.py | |
parent | f00d545041b75b5d3e215bf435689e933dbb4f62 (diff) |
Allow setting MTU to 1500
There are times when it is desirable to set the MTU of an
"interface" to 1500 -- when the external network and the storage
network are different VLANs on the same physical interface, for
example.
Change-Id: Ic5ea6ad05118fd57c26c898a460c19969de4109d
Closes-Bug: #1539821
Diffstat (limited to 'os_net_config/impl_eni.py')
-rw-r--r-- | os_net_config/impl_eni.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os_net_config/impl_eni.py b/os_net_config/impl_eni.py index 68d91ef..ae60099 100644 --- a/os_net_config/impl_eni.py +++ b/os_net_config/impl_eni.py @@ -130,7 +130,7 @@ class ENINetConfig(os_net_config.NetConfig): data += "auto %s\n" % interface.name data += _iface data += address_data - if interface.mtu != 1500: + if interface.mtu: data += " mtu %i\n" % interface.mtu if interface.hwaddr: |