Bug #3350
closedDisabling and enabling VLAN leaves VLAN interface missing
0%
Description
If you disable an interface that's a VLAN, it deletes the VLAN, and re-enabling that interface doesn't add the VLAN interface back.
For example, to replicate:
Interfaces>assign, VLANs, add a VLAN. Back to assignments tab, assign it as OPT1.
Go to Interfaces>OPT1, enable the interface, put a static IPv4 IP on it, save and apply.
Go back to Interfaces>OPT1 and disable the interface. Note the VLAN interface is deleted at this point.
Re-enable OPT1 and the VLAN interface will still be gone.
When disabling a VLAN interface, it shouldn't ever delete the underlying VLAN interface, it should only remove the IP config from it. VLAN interfaces should only be deleted when they're deleted under Interfaces>assign, VLANs tab.
Updated by Renato Botelho over 9 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset 5bc623536d8bb3b93e68a1b1535c9de582721a09.
Updated by Renato Botelho over 9 years ago
Applied in changeset f70a140fe18cb80012e53f82c268788fbcae5436.
Updated by Ermal Luçi about 9 years ago
It would be better to revert this commit now that interface_cofnigure does the right job at detecting if an interface needs to be created or not!
This breaks the case when the parent of a vlan is changed!
@Renato,
please review the above comments.
Updated by Renato Botelho about 9 years ago
I reverted it, will leave it as feedback waiting a confirmation from Chris
Updated by Chris Buechler about 9 years ago
- Status changed from Feedback to New
- Target version changed from 2.1.1 to 2.2
- % Done changed from 100 to 0
Updated by Ermal Luçi about 9 years ago
- Status changed from New to Feedback
This should be fixed already by me since long now.
Updated by Trond Vindenes over 8 years ago
I can confirm that this is resolved. I followed the procedure given in the description to replicate the issue, the vlan interface isn't being deleted now.
Updated by Renato Botelho over 8 years ago
- Status changed from Feedback to Resolved