MTU should be a set on the VLAN, and able to override on the interface
Bug #1508056 reported by
Blake Rouse
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Blake Rouse |
Bug Description
Currently in MAAS 1.9 you set the MTU on the interface itself. This requires a lot of work to go change it on every interface connected to a fabric. The MTU is normally specific to the VLAN, so it should be a property on the VLAN. So when an interface is on that VLAN it gets that MTU value.
The user will still be able to override this value by setting a different MTU value on the interface.
Related branches
lp:~blake-rouse/maas/fix-1508056
- Mike Pontillo (community): Approve
- Andres Rodriguez (community): Approve
-
Diff: 846 lines (+636/-15)13 files modifiedsrc/maasserver/api/interfaces.py (+5/-0)
src/maasserver/api/nodes.py (+1/-0)
src/maasserver/api/tests/test_interfaces.py (+1/-0)
src/maasserver/forms_vlan.py (+5/-0)
src/maasserver/migrations/0190_add_mtu_to_vlan_model.py (+547/-0)
src/maasserver/models/interface.py (+9/-0)
src/maasserver/models/tests/test_filesystemgroup.py (+3/-2)
src/maasserver/models/tests/test_interface.py (+16/-0)
src/maasserver/models/vlan.py (+11/-0)
src/maasserver/preseed_network.py (+2/-1)
src/maasserver/tests/test_forms_vlan.py (+33/-11)
src/maasserver/tests/test_preseed_network.py (+2/-1)
src/maasserver/websockets/handlers/tests/test_vlan.py (+1/-0)
Changed in maas: | |
milestone: | none → 1.9.0 |
tags: | added: ui |
summary: |
- MTU should be a setting on the Fabric not on the interface + MTU should be a sets on the VLAN |
description: | updated |
tags: | added: networking |
tags: | removed: ui |
summary: |
- MTU should be a sets on the VLAN + MTU should be a set on the VLAN, and able to override on the interface |
Changed in maas: | |
status: | Triaged → In Progress |
assignee: | nobody → Blake Rouse (blake-rouse) |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
MTU actually needs to be set everywhere. Setting it on the switch without setting it on the interface won't help you.