Zack Williams | caf0566 | 2020-10-09 19:52:40 -0700 | [diff] [blame] | 1 | --- |
| 2 | # example inventory file for pulling from Netbox |
| 3 | |
| 4 | plugin: netbox.netbox.nb_inventory |
| 5 | api_endpoint: "https://10.76.28.11/" |
| 6 | |
| 7 | # token can be created in Netbox at https://10.76.28.11/user/api-tokens/ |
| 8 | token: "abcd1234" |
| 9 | |
| 10 | # wet to true once DNS is working |
| 11 | validate_certs: false |
| 12 | |
| 13 | # build a config context for each host |
| 14 | config_context: true |
| 15 | |
| 16 | # only return hosts with primary IP addresses |
| 17 | device_query_filters: |
| 18 | - has_primary_ip: 'true' |
| 19 | |
| 20 | ## used with the netbox edgeconfig script |
| 21 | ip_prefixes: |
Zack Williams | 2aeb3ef | 2021-06-11 17:10:36 -0700 | [diff] [blame] | 22 | - "10.0.0.0/25" |
| 23 | - "10.0.0.128/25" |
| 24 | - "10.0.1.0/25" |
| 25 | - "10.0.1.128/25" |