blob: efff6ecf62f3a9b7a3a0966647309622d150d2e0 [file] [log] [blame]
Zack Williamscaf05662020-10-09 19:52:40 -07001---
2# example inventory file for pulling from Netbox
3
4plugin: netbox.netbox.nb_inventory
Wei-Yu Chenfc59b682021-09-13 13:54:16 +08005api_endpoint: "https://netbox.infra.onlab.us/"
Zack Williamscaf05662020-10-09 19:52:40 -07006
Wei-Yu Chenfc59b682021-09-13 13:54:16 +08007# token can be created in Netbox at https://netbox.infra.onlab.us/user/api-tokens/
8token: "REPLACE_YOUR_TOKEN_HERE"
Zack Williamscaf05662020-10-09 19:52:40 -07009
10# wet to true once DNS is working
11validate_certs: false
12
13# build a config context for each host
14config_context: true
15
16# only return hosts with primary IP addresses
17device_query_filters:
18 - has_primary_ip: 'true'
19
Wei-Yu Chenfc59b682021-09-13 13:54:16 +080020## use as the key to retrieve data from netbox
21tenant_name: "example"