No description
Ivan Schaller
21bc3f638a
All checks were successful
check code / check-code (push) Successful in 31s
Reviewed-on: #13 |
||
---|---|---|
.gitea/workflows | ||
.github | ||
dev | ||
src/octodns_netbox_dns | ||
tests | ||
.editorconfig | ||
.gitignore | ||
.tool-versions | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
justfile | ||
lefthook.yml | ||
LICENSE | ||
MANIFEST.in | ||
pyproject.toml | ||
README.md | ||
renovate.json |
netbox-plugin-dns source for octodns
config
providers:
config:
class: octodns_netbox_dns.NetBoxDNSSource
# Netbox url
# [mandatory, default=null]
url: "https://some-url"
# Netbox API token
# [mandatory, default=null]
token: env/NETBOX_API_KEY
# View of the zone. Can be either a string -> the view name
# "null" -> to only query zones without a view
# false -> to ignore views
# [optional, default=false]
view: false
# When records sourced from multiple providers, allows provider
# to replace entries coming from the previous one.
# Implementation matches YamlProvider's 'populate_should_replace'
# [optional, default=false]
replace_duplicates: false
# Make CNAME, MX and SRV records absolute if they are missing the trailing "."
# [optional, default=false]
make_absolute: false
install
via pip
pip install octodns-netbox-dns
via pip + git
pip install octodns-netbox-dns@git+https://github.com/olofvndrhr/octodns-netbox-dns.git@main
via pip + requirements.txt
add the following line to your requirements file
octodns-netbox-dns@git+https://github.com/olofvndrhr/octodns-netbox-dns.git@main