nodes/home.downloadhelper: restrict lldp to vlan 42
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
3de85e6717
commit
8a95dfa90a
2 changed files with 9 additions and 0 deletions
|
@ -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
|
||||||
|
|
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue