rack awareness

This commit is contained in:
Solvik Blum 2019-08-05 11:54:06 +02:00
commit acbb767e22
No known key found for this signature in database
GPG key ID: CC12B3DC262B6C47
7 changed files with 129 additions and 50 deletions

View file

@ -9,4 +9,12 @@ datacenter_location:
# 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: "(.*)"