Revert "bundles/systemd-networkd: fix vlan support for bridges and bonds"
All checks were successful
bundlewrap/pipeline/head This commit looks good

This reverts commit 02146a81d6.
This commit is contained in:
Franzi 2021-04-10 13:34:49 +02:00
parent ef84b3f889
commit 8b2771cd63
Signed by: kunsi
GPG key ID: 12E3D2136B818350
3 changed files with 0 additions and 10 deletions

View file

@ -3,7 +3,3 @@ Name=${' '.join(sorted(match))}
[Network] [Network]
Bond=${bond} Bond=${bond}
% for vlan in sorted(vlans):
VLAN=${bond}.${vlan}
% endfor

View file

@ -4,7 +4,3 @@ Name=${' '.join(sorted(match))}
[Network] [Network]
Bridge=${bridge} Bridge=${bridge}
BindCarrier=${' '.join(sorted(match))} BindCarrier=${' '.join(sorted(match))}
% for vlan in sorted(vlans):
VLAN=${bridge}.${vlan}
% endfor

View file

@ -98,7 +98,6 @@ for bond, config in node.metadata.get('systemd-networkd/bonds', {}).items():
'context': { 'context': {
'bond': bond, 'bond': bond,
'match': config['match'], 'match': config['match'],
'vlans': node.metadata.get(f'interfaces/{bond}/vlans', set()),
}, },
'needed_by': { 'needed_by': {
'svc_systemd:systemd-networkd', 'svc_systemd:systemd-networkd',
@ -128,7 +127,6 @@ for brname, config in node.metadata.get('systemd-networkd/bridges', {}).items():
'context': { 'context': {
'bridge': brname, 'bridge': brname,
'match': config['match'], 'match': config['match'],
'vlans': node.metadata.get(f'interfaces/{brname}/vlans', set()),
}, },
'needed_by': { 'needed_by': {
'svc_systemd:systemd-networkd', 'svc_systemd:systemd-networkd',