2988a8bd6a
* rework network part by ignoring devices and ip from config file * update config file * associate slave device to bond device with Netbox LAG * update README * make sure every interface attribute is ok * some fixes after test * tox * add ipmi feature * fix bug in LAG * ipmi class * update README * network update * delete print * update README
24 lines
No EOL
581 B
Text
24 lines
No EOL
581 B
Text
netbox:
|
|
url: 'http://netbox.internal.company.com'
|
|
token: supersecrettoken
|
|
|
|
network:
|
|
ignore_interfaces: "(dummy.*|docker.*)"
|
|
ignore_ips: (127\.0\.0\..*)
|
|
|
|
datacenter_location:
|
|
driver: "cmd:cat /etc/qualification | tr [a-z] [A-Z]"
|
|
regex: "DATACENTER: (?P<datacenter>[A-Za-z0-9]+)"
|
|
# driver: 'cmd:lldpctl'
|
|
# regex: 'SysName: .*\.([A-Za-z0-9]+)'
|
|
#
|
|
# driver: "file:/tmp/datacenter"
|
|
# regex: "(.*)"
|
|
|
|
rack_location:
|
|
# driver: 'cmd:lldpctl'
|
|
# match SysName: sw-dist-a1.dc42
|
|
# regex: 'SysName:[ ]+[A-Za-z]+-[A-Za-z]+-([A-Za-z0-9]+)'
|
|
#
|
|
# driver: "file:/tmp/datacenter"
|
|
# regex: "(.*)" |