| --- |
| # example inventory file for pulling from Netbox |
| |
| plugin: netbox.netbox.nb_inventory |
| api_endpoint: "https://10.76.28.11/" |
| |
| # token can be created in Netbox at https://10.76.28.11/user/api-tokens/ |
| token: "abcd1234" |
| |
| # wet to true once DNS is working |
| validate_certs: false |
| |
| # build a config context for each host |
| config_context: true |
| |
| # only return hosts with primary IP addresses |
| device_query_filters: |
| - has_primary_ip: 'true' |
| |
| ## used with the netbox edgeconfig script |
| ip_prefixes: |
| - "10.0.0.0/25" |
| - "10.0.0.128/25" |
| - "10.0.1.0/25" |
| - "10.0.1.128/25" |