Update README.md/netbox_agent.yaml.example
This commit is contained in:
parent
96a87c6835
commit
ae4e4e9a09
2 changed files with 33 additions and 0 deletions
17
README.md
17
README.md
|
|
@ -53,6 +53,23 @@ network:
|
||||||
# enable auto-cabling
|
# enable auto-cabling
|
||||||
lldp: true
|
lldp: true
|
||||||
|
|
||||||
|
#
|
||||||
|
# You can use these to change the Netbox roles.
|
||||||
|
# These are the defaults.
|
||||||
|
#
|
||||||
|
#device:
|
||||||
|
# chassis_role: "Server Chassis"
|
||||||
|
# blade_role: "Blade"
|
||||||
|
# server_role: "Server"
|
||||||
|
# tags: server, blade, ,just a comma,delimited,list
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# Can use this to set the tenant
|
||||||
|
#
|
||||||
|
#tenant:
|
||||||
|
# driver: "file:/tmp/tenant"
|
||||||
|
# regex: "(.*)"
|
||||||
|

|
||||||
datacenter_location:
|
datacenter_location:
|
||||||
driver: "cmd:cat /etc/qualification | tr [a-z] [A-Z]"
|
driver: "cmd:cat /etc/qualification | tr [a-z] [A-Z]"
|
||||||
regex: "DATACENTER: (?P<datacenter>[A-Za-z0-9]+)"
|
regex: "DATACENTER: (?P<datacenter>[A-Za-z0-9]+)"
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,22 @@ network:
|
||||||
# enable auto-cabling
|
# enable auto-cabling
|
||||||
lldp: true
|
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:
|
datacenter_location:
|
||||||
driver: "cmd:cat /etc/qualification | tr [a-z] [A-Z]"
|
driver: "cmd:cat /etc/qualification | tr [a-z] [A-Z]"
|
||||||
regex: "DATACENTER: (?P<datacenter>[A-Za-z0-9]+)"
|
regex: "DATACENTER: (?P<datacenter>[A-Za-z0-9]+)"
|
||||||
|
|
|
||||||
Loading…
Add table
editor.link_modal.header
Reference in a new issue