From 8a2381183146417dadc90b7a8bbd1e3c2a056a45 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Thu, 5 Mar 2020 13:48:16 -0500 Subject: [PATCH] Add missing model doc pages --- docs/additional-features/context-data.md | 6 +----- docs/models/extras/configcontext.md | 5 +++++ docs/models/ipam/role.md | 3 +++ 3 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 docs/models/extras/configcontext.md create mode 100644 docs/models/ipam/role.md diff --git a/docs/additional-features/context-data.md b/docs/additional-features/context-data.md index 465b4d2dc..62d5d63f1 100644 --- a/docs/additional-features/context-data.md +++ b/docs/additional-features/context-data.md @@ -1,5 +1 @@ -# Contextual Configuration Data - -Sometimes it is desirable to associate arbitrary data with a group of devices to aid in their configuration. For example, you might want to associate a set of syslog servers for all devices at a particular site. Context data enables the association of arbitrary data to devices and virtual machines grouped by region, site, role, platform, and/or tenant. Context data is arranged hierarchically, so that data with a higher weight can be entered to override more general lower-weight data. Multiple instances of data are automatically merged by NetBox to present a single dictionary for each object. - -Devices and Virtual Machines may also have a local config context defined. This local context will always overwrite the rendered config context objects for the Device/VM. This is useful in situations were the device requires a one-off value different from the rest of the environment. +{!docs/models/extras/configcontext.md!} \ No newline at end of file diff --git a/docs/models/extras/configcontext.md b/docs/models/extras/configcontext.md new file mode 100644 index 000000000..380e631d8 --- /dev/null +++ b/docs/models/extras/configcontext.md @@ -0,0 +1,5 @@ +# Configuration Contexts + +Sometimes it is desirable to associate arbitrary data with a group of devices to aid in their configuration. For example, you might want to associate a set of syslog servers for all devices at a particular site. Context data enables the association of arbitrary data to devices and virtual machines grouped by region, site, role, platform, and/or tenant. Context data is arranged hierarchically, so that data with a higher weight can be entered to override more general lower-weight data. Multiple instances of data are automatically merged by NetBox to present a single dictionary for each object. + +Devices and Virtual Machines may also have a local config context defined. This local context will always overwrite the rendered config context objects for the Device/VM. This is useful in situations were the device requires a one-off value different from the rest of the environment. diff --git a/docs/models/ipam/role.md b/docs/models/ipam/role.md new file mode 100644 index 000000000..8623e5282 --- /dev/null +++ b/docs/models/ipam/role.md @@ -0,0 +1,3 @@ +# Prefix/VLAN Roles + +A role indicates the function of a prefix or VLAN. For example, you might define Data, Voice, and Security roles. Generally, a prefix will be assigned the same functional role as the VLAN to which it is assigned (if any).