nodes/home.downloadhelper: restrict lldp to vlan 42
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-05-01 10:05:24 +02:00
parent 3de85e6717
commit 8a95dfa90a
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 9 additions and 0 deletions

View file

@ -8,3 +8,7 @@
configure system hostname "${node.metadata.get('lldp/hostname', node.name)}" configure system hostname "${node.metadata.get('lldp/hostname', node.name)}"
configure system platform "${node.os}" configure system platform "${node.os}"
% if node.metadata.get('lldp/interfaces', set()):
configure system interface pattern "${','.join(sorted(node.metadata.get('lldp/interfaces')))}"
% endif

View file

@ -29,6 +29,11 @@ nodes['home.downloadhelper'] = {
'backups': { 'backups': {
'exclude_from_backups': True, 'exclude_from_backups': True,
}, },
'lldp': {
'interfaces': {
'enp1s0.42',
},
},
'netdata': { 'netdata': {
'restrict-to': { 'restrict-to': {
'172.19.136.0/22', '172.19.136.0/22',