Bug 22967 - VLAN-Konfiguration über UCR
VLAN-Konfiguration über UCR
Status: RESOLVED DUPLICATE of bug 26058
Product: UCS
Classification: Unclassified
Component: Network
UNSTABLE
All Linux
: P5 enhancement (vote)
: ---
Assigned To: Bugzilla Mailingliste
:
Depends on: 10451
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-05 17:05 CEST by Jan Christoph Ebersbach
Modified: 2012-07-18 07:07 CEST (History)
3 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:
ebersbach: Patch_Available+


Attachments
VLAN-Support für UCR-Module interfaces.py (465 bytes, patch)
2011-07-06 17:53 CEST, Jan Christoph Ebersbach
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Christoph Ebersbach univentionstaff 2011-07-05 17:05:14 CEST
Wenn die VLAN-Pakete für UCS im Maintained-Bereich bereitgestellt werden, wäre es natürlich auch schön, wenn die VLAN-Konfiguration ebenfalls per UCR durchgeführt werden könnte. Im einfachsten Fall sollte das Setzen einer UCR-Variablen der Form interfaces/IF/vlanid=XXXX ausreichen.

+++ This bug was initially created as a clone of Bug #10451 +++

Wir sollten das Paket "vlan" bauen.
Comment 1 Jan Christoph Ebersbach univentionstaff 2011-07-06 17:53:14 CEST
Created attachment 3388 [details]
VLAN-Support für UCR-Module interfaces.py

Ich habe festgestellt, dass irgendwo in der UCS 2.3er Serie das Template für /etc/network/interfaces überarbeitet wurde und schon mit VLANs umgehen kann.

Übrig bleibt damit nur das Patchen von /etc/univention/templates/modules/interfaces.py. Der angehängt Patch bringt Unterstütztung für VLANs, in dem der Administrator einfach das Format für VLAN-Interfaces (ethX.VLANID) als Interface vergibt. Anschließend wird das benötigte Kernelmodul 8021q geladen und versucht das VLAN anzulegen.

Virtuelle Interfaces auf VLANs werden ebenfalls unterstützt, also ethX.VLANID:VirtuellesInterface bzw. als UCR-Variable muss der Doppelpunkt durch einen Unterstrich ersetzt werden.
Comment 2 Jan Christoph Ebersbach univentionstaff 2011-07-07 08:51:24 CEST
Dem Patch fehlt momentan jegliche Fehlerbehandlung, z.B. wenn das Kernelmodul 8021q, oder das vlan-Paket nicht vorhanden sind, wird es zu häßlichen Fehlermeldungen kommen.
Comment 3 Stefan Gohmann univentionstaff 2012-07-18 07:07:08 CEST
Das sollte mit Bug #26058 gelöst werden.

*** This bug has been marked as a duplicate of bug 26058 ***