Add LLDP auto cabling
This commit is contained in:
parent
0ef0e1c698
commit
1b9bf46762
3 changed files with 154 additions and 4 deletions
|
@ -33,6 +33,8 @@ if config.get('rack_location'):
|
|||
|
||||
NETWORK_IGNORE_INTERFACES = None
|
||||
NETWORK_IGNORE_IPS = None
|
||||
NETWORK_LLDP = None
|
||||
if config.get('network'):
|
||||
NETWORK_IGNORE_INTERFACES = config['network'].get('ignore_interfaces')
|
||||
NETWORK_IGNORE_IPS = config['network'].get('ignore_ips')
|
||||
NETWORK_LLDP = config['network'].get('lldp') is True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue