Config Context Profiles
Profiles can be used to organize configuration contexts and to enforce a desired structure for their data. The later is achieved by defining a JSON schema to which all config context with this profile assigned must comply.
For example, the following schema defines two keys, size and priority, of which the former is required:
{
"properties": {
"size": {
"type": "integer"
},
"priority": {
"type": "string",
"enum": ["high", "medium", "low"],
"default": "medium"
}
},
"required": [
"size"
]
}Fields
Name
A unique human-friendly name.
Schema
The JSON schema to be enforced for all assigned config contexts (optional).
Configuration Contexts
Context data is made available to devices and/or virtual machines based on their relationships to other objects in NetBox. For example, context data can be a...
Configuration Templates
Configuration templates can be used to render device configurations from context data. Templates are written in the Jinja2 language and can be associated wit...