netbox-community / netbox

The premier source of truth powering network automation. Open source under Apache 2. Try NetBox Cloud free: https://netboxlabs.com/free-netbox-cloud/
http://netboxlabs.com/oss/netbox/
Apache License 2.0
15.77k stars 2.54k forks source link

context-data.md containg invalid identifiers #17284

Open Domoninic opened 2 weeks ago

Domoninic commented 2 weeks ago

Change Type

Correction

Area

Features

Proposed Changes

The file context-data.md contains invalid identifiers "ntp-servers" and "syslog-servers". If these are used in Config contexts and rendered in Config Data they cause an errors, e.g. : "jinja2.exceptions.UndefinedError: 'syslog' is undefined" This means the samples cannot be used as is to learn about Context data and Config templates. Identifiers should be valid Python Names (i.e not "-" )

Domoninic commented 2 weeks ago

If this is assigned to me I can do a have a PR ready to submit to correct the identifiers.