Update README.md/netbox_agent.yaml.example

This commit is contained in:
Thomas Davis 2020-02-03 20:11:48 -08:00
commit ae4e4e9a09
2 changed files with 33 additions and 0 deletions

View file

@ -8,6 +8,22 @@ network:
# enable auto-cabling
lldp: true
#
# You can use these to change the roles.
#
#device:
# chassis_role: "Server Chassis"
# blade_role: "Blade"
# server_role: "Server"
# tags: server, blade, ,just a comma,delimited,list
#
# Use this to set the tenant
#
#tenant:
# driver: "file:/tmp/tenant"
# regex: "(.*)"
datacenter_location:
driver: "cmd:cat /etc/qualification | tr [a-z] [A-Z]"
regex: "DATACENTER: (?P<datacenter>[A-Za-z0-9]+)"