nautobot 2.0.4__py3-none-any.whl → 2.1.0b1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of nautobot might be problematic. Click here for more details.
- nautobot/circuits/navigation.py +0 -25
- nautobot/circuits/templates/circuits/circuit_retrieve.html +0 -9
- nautobot/circuits/templates/circuits/providernetwork_retrieve.html +0 -2
- nautobot/circuits/tests/test_api.py +79 -2
- nautobot/circuits/tests/test_filters.py +1 -0
- nautobot/core/api/serializers.py +15 -5
- nautobot/core/api/views.py +18 -19
- nautobot/core/choices.py +1 -1
- nautobot/core/filters.py +12 -4
- nautobot/core/jobs/__init__.py +125 -3
- nautobot/core/management/commands/generate_test_data.py +6 -1
- nautobot/core/middleware.py +12 -4
- nautobot/core/models/fields.py +12 -2
- nautobot/core/settings.py +9 -8
- nautobot/core/tables.py +26 -31
- nautobot/core/templates/base_django.html +2 -2
- nautobot/core/templates/buttons/export.html +57 -30
- nautobot/core/templates/generic/object_list.html +2 -2
- nautobot/core/templates/generic/object_retrieve.html +8 -1
- nautobot/core/templates/home.html +5 -5
- nautobot/core/templates/inc/created_updated.html +2 -2
- nautobot/core/templates/inc/footer.html +2 -2
- nautobot/core/templates/inc/javascript.html +0 -10
- nautobot/core/templates/inc/media.html +2 -0
- nautobot/core/templates/inc/nav_menu.html +66 -68
- nautobot/core/templates/inc/object_details_advanced_panel.html +19 -0
- nautobot/core/templates/nautobot_config.py.j2 +10 -4
- nautobot/core/templates/panel_table.html +1 -1
- nautobot/core/templates/template.css +89 -0
- nautobot/core/templates/utilities/templatetags/table_config_form.html +1 -0
- nautobot/core/templatetags/buttons.py +7 -2
- nautobot/core/templatetags/helpers.py +9 -9
- nautobot/core/testing/views.py +34 -4
- nautobot/core/tests/integration/test_home.py +1 -43
- nautobot/core/tests/integration/test_navbar.py +10 -64
- nautobot/core/tests/integration/test_plugin_home.py +4 -5
- nautobot/core/tests/integration/test_plugin_navbar.py +20 -16
- nautobot/core/tests/integration/test_theme.py +4 -0
- nautobot/core/tests/test_api.py +14 -66
- nautobot/core/tests/test_filters.py +127 -0
- nautobot/core/tests/test_forms.py +4 -4
- nautobot/core/tests/test_graphql.py +165 -2
- nautobot/core/tests/test_jobs.py +112 -0
- nautobot/core/tests/test_openapi.py +6 -0
- nautobot/core/tests/test_utils.py +23 -20
- nautobot/core/tests/test_views.py +11 -85
- nautobot/core/urls.py +6 -1
- nautobot/core/utils/data.py +5 -1
- nautobot/core/utils/filtering.py +6 -4
- nautobot/core/utils/lookup.py +28 -0
- nautobot/core/utils/requests.py +2 -3
- nautobot/core/views/__init__.py +3 -4
- nautobot/core/views/generic.py +15 -11
- nautobot/core/views/mixins.py +9 -8
- nautobot/core/views/renderers.py +5 -0
- nautobot/core/views/utils.py +23 -24
- nautobot/dcim/api/serializers.py +8 -4
- nautobot/dcim/models/device_components.py +1 -0
- nautobot/dcim/models/devices.py +7 -6
- nautobot/dcim/navigation.py +10 -165
- nautobot/dcim/templates/dcim/location.html +1 -1
- nautobot/dcim/tests/features/locations.feature +143 -0
- nautobot/dcim/tests/test_api.py +8 -1
- nautobot/dcim/tests/test_filters.py +11 -3
- nautobot/dcim/views.py +5 -6
- nautobot/extras/admin.py +1 -1
- nautobot/extras/api/serializers.py +33 -0
- nautobot/extras/api/urls.py +6 -0
- nautobot/extras/api/views.py +45 -6
- nautobot/extras/context_managers.py +34 -8
- nautobot/extras/factory.py +28 -2
- nautobot/extras/filters/__init__.py +52 -0
- nautobot/extras/filters/mixins.py +4 -29
- nautobot/extras/forms/forms.py +43 -0
- nautobot/extras/jobs.py +39 -17
- nautobot/extras/migrations/0100_fileproxy_job_result.py +32 -0
- nautobot/extras/migrations/0101_externalintegration.py +61 -0
- nautobot/extras/migrations/0102_set_null_objectchange_contenttype.py +32 -0
- nautobot/extras/models/__init__.py +2 -0
- nautobot/extras/models/change_logging.py +2 -2
- nautobot/extras/models/customfields.py +2 -2
- nautobot/extras/models/models.py +101 -18
- nautobot/extras/models/relationships.py +13 -8
- nautobot/extras/navigation.py +17 -29
- nautobot/extras/signals.py +80 -59
- nautobot/extras/tables.py +28 -2
- nautobot/extras/templates/extras/externalintegration_retrieve.html +37 -0
- nautobot/extras/templates/extras/inc/jobresult.html +24 -0
- nautobot/extras/templates/extras/jobresult.html +24 -0
- nautobot/extras/templatetags/computed_fields.py +6 -13
- nautobot/extras/templatetags/custom_links.py +19 -12
- nautobot/extras/templatetags/job_buttons.py +34 -19
- nautobot/extras/templatetags/plugins.py +1 -1
- nautobot/extras/test_jobs/file_output.py +16 -0
- nautobot/extras/tests/test_api.py +92 -0
- nautobot/extras/tests/test_context_managers.py +94 -4
- nautobot/extras/tests/test_customfields.py +1 -1
- nautobot/extras/tests/test_filters.py +64 -2
- nautobot/extras/tests/test_jobs.py +75 -22
- nautobot/extras/tests/test_models.py +34 -0
- nautobot/extras/tests/test_relationships.py +2 -2
- nautobot/extras/tests/test_views.py +204 -4
- nautobot/extras/tests/test_webhooks.py +61 -25
- nautobot/extras/urls.py +1 -0
- nautobot/extras/views.py +27 -13
- nautobot/extras/webhooks.py +16 -25
- nautobot/ipam/fields.py +5 -0
- nautobot/ipam/forms.py +16 -0
- nautobot/ipam/models.py +13 -2
- nautobot/ipam/navigation.py +2 -59
- nautobot/ipam/tables.py +1 -1
- nautobot/ipam/templates/ipam/ipaddress.html +0 -9
- nautobot/ipam/templates/ipam/prefix.html +0 -9
- nautobot/ipam/tests/features/prefixes.feature +134 -0
- nautobot/ipam/tests/test_filters.py +5 -10
- nautobot/ipam/tests/test_models.py +7 -0
- nautobot/ipam/tests/test_views.py +8 -1
- nautobot/ipam/views.py +99 -58
- nautobot/project-static/bootstrap-3.4.1-dist/css/bootstrap-theme.css +191 -191
- nautobot/project-static/bootstrap-3.4.1-dist/css/bootstrap-theme.css.map +1 -1
- nautobot/project-static/bootstrap-3.4.1-dist/css/bootstrap-theme.min.css +1 -1
- nautobot/project-static/bootstrap-3.4.1-dist/css/bootstrap-theme.min.css.map +1 -1
- nautobot/project-static/bootstrap-3.4.1-dist/css/bootstrap.css +874 -881
- nautobot/project-static/bootstrap-3.4.1-dist/css/bootstrap.css.map +1 -1
- nautobot/project-static/bootstrap-3.4.1-dist/css/bootstrap.min.css +1 -1
- nautobot/project-static/bootstrap-3.4.1-dist/css/bootstrap.min.css.map +1 -1
- nautobot/project-static/css/base.css +138 -99
- nautobot/project-static/css/dark.css +65 -6
- nautobot/project-static/docs/404.html +45 -17
- nautobot/project-static/docs/apps/index.html +45 -17
- nautobot/project-static/docs/apps/nautobot-apps.html +45 -17
- nautobot/project-static/docs/code-reference/nautobot/apps/__init__.html +45 -17
- nautobot/project-static/docs/code-reference/nautobot/apps/admin.html +45 -17
- nautobot/project-static/docs/code-reference/nautobot/apps/api.html +1598 -1458
- nautobot/project-static/docs/code-reference/nautobot/apps/change_logging.html +229 -152
- nautobot/project-static/docs/code-reference/nautobot/apps/choices.html +46 -18
- nautobot/project-static/docs/code-reference/nautobot/apps/config.html +45 -17
- nautobot/project-static/docs/code-reference/nautobot/apps/datasources.html +45 -17
- nautobot/project-static/docs/code-reference/nautobot/apps/exceptions.html +45 -17
- nautobot/project-static/docs/code-reference/nautobot/apps/factory.html +45 -17
- nautobot/project-static/docs/code-reference/nautobot/apps/filters.html +354 -433
- nautobot/project-static/docs/code-reference/nautobot/apps/forms.html +67 -39
- nautobot/project-static/docs/code-reference/nautobot/apps/graphql.html +45 -17
- nautobot/project-static/docs/code-reference/nautobot/apps/jobs.html +2083 -2234
- nautobot/project-static/docs/code-reference/nautobot/apps/models.html +1389 -1247
- nautobot/project-static/docs/code-reference/nautobot/apps/querysets.html +45 -17
- nautobot/project-static/docs/code-reference/nautobot/apps/secrets.html +45 -17
- nautobot/project-static/docs/code-reference/nautobot/apps/tables.html +129 -111
- nautobot/project-static/docs/code-reference/nautobot/apps/testing.html +3601 -3457
- nautobot/project-static/docs/code-reference/nautobot/apps/ui.html +45 -17
- nautobot/project-static/docs/code-reference/nautobot/apps/urls.html +45 -17
- nautobot/project-static/docs/code-reference/nautobot/apps/utils.html +320 -284
- nautobot/project-static/docs/code-reference/nautobot/apps/views.html +3863 -3801
- nautobot/project-static/docs/development/apps/api/configuration-view.html +45 -17
- nautobot/project-static/docs/development/apps/api/database-backend-config.html +45 -17
- nautobot/project-static/docs/development/apps/api/models/django-admin.html +45 -17
- nautobot/project-static/docs/development/apps/api/models/global-search.html +45 -17
- nautobot/project-static/docs/development/apps/api/models/graphql.html +45 -17
- nautobot/project-static/docs/development/apps/api/models/index.html +45 -17
- nautobot/project-static/docs/development/apps/api/nautobot-app-config.html +45 -17
- nautobot/project-static/docs/development/apps/api/platform-features/custom-validators.html +45 -17
- nautobot/project-static/docs/development/apps/api/platform-features/filter-extensions.html +45 -17
- nautobot/project-static/docs/development/apps/api/platform-features/git-repository-content.html +45 -17
- nautobot/project-static/docs/development/apps/api/platform-features/index.html +45 -17
- nautobot/project-static/docs/development/apps/api/platform-features/jinja2-filters.html +45 -17
- nautobot/project-static/docs/development/apps/api/platform-features/jobs.html +45 -17
- nautobot/project-static/docs/development/apps/api/platform-features/populating-extensibility-features.html +45 -17
- nautobot/project-static/docs/development/apps/api/platform-features/secrets-providers.html +45 -17
- nautobot/project-static/docs/development/apps/api/platform-features/uniquely-identify-objects.html +45 -17
- nautobot/project-static/docs/development/apps/api/prometheus.html +45 -17
- nautobot/project-static/docs/development/apps/api/setup.html +45 -17
- nautobot/project-static/docs/development/apps/api/testing.html +45 -17
- nautobot/project-static/docs/development/apps/api/ui-extensions/banners.html +45 -17
- nautobot/project-static/docs/development/apps/api/ui-extensions/home-page.html +45 -17
- nautobot/project-static/docs/development/apps/api/ui-extensions/index.html +45 -17
- nautobot/project-static/docs/development/apps/api/ui-extensions/navigation.html +45 -17
- nautobot/project-static/docs/development/apps/api/ui-extensions/object-detail-views.html +45 -17
- nautobot/project-static/docs/development/apps/api/ui-extensions/tabs.html +45 -17
- nautobot/project-static/docs/development/apps/api/views/base-template.html +45 -17
- nautobot/project-static/docs/development/apps/api/views/core-view-overrides.html +45 -17
- nautobot/project-static/docs/development/apps/api/views/django-generic-views.html +45 -17
- nautobot/project-static/docs/development/apps/api/views/help-documentation.html +45 -17
- nautobot/project-static/docs/development/apps/api/views/index.html +45 -17
- nautobot/project-static/docs/development/apps/api/views/nautobot-generic-views.html +45 -17
- nautobot/project-static/docs/development/apps/api/views/nautobotuiviewset.html +45 -17
- nautobot/project-static/docs/development/apps/api/views/nautobotuiviewsetrouter.html +45 -17
- nautobot/project-static/docs/development/apps/api/views/notes.html +45 -17
- nautobot/project-static/docs/development/apps/api/views/rest-api.html +45 -17
- nautobot/project-static/docs/development/apps/api/views/urls.html +45 -17
- nautobot/project-static/docs/development/apps/api/views/view-overrides.html +45 -17
- nautobot/project-static/docs/development/apps/index.html +45 -17
- nautobot/project-static/docs/development/apps/migration/code-updates.html +45 -17
- nautobot/project-static/docs/development/apps/migration/dependency-updates.html +45 -17
- nautobot/project-static/docs/development/apps/migration/from-v1.html +45 -17
- nautobot/project-static/docs/development/apps/migration/model-updates/dcim.html +45 -17
- nautobot/project-static/docs/development/apps/migration/model-updates/extras.html +45 -17
- nautobot/project-static/docs/development/apps/migration/model-updates/global.html +45 -17
- nautobot/project-static/docs/development/apps/migration/model-updates/ipam.html +45 -17
- nautobot/project-static/docs/development/apps/porting-from-netbox.html +45 -17
- nautobot/project-static/docs/development/core/application-registry.html +45 -17
- nautobot/project-static/docs/development/core/best-practices.html +45 -17
- nautobot/project-static/docs/development/core/docker-compose-advanced-use-cases.html +45 -17
- nautobot/project-static/docs/development/core/extending-models.html +45 -17
- nautobot/project-static/docs/development/core/generic-views.html +45 -17
- nautobot/project-static/docs/development/core/getting-started.html +45 -17
- nautobot/project-static/docs/development/core/homepage.html +45 -17
- nautobot/project-static/docs/development/core/index.html +45 -17
- nautobot/project-static/docs/development/core/model-features.html +45 -17
- nautobot/project-static/docs/development/core/natural-keys.html +45 -17
- nautobot/project-static/docs/development/core/navigation-menu.html +45 -22
- nautobot/project-static/docs/development/core/react-ui.html +45 -17
- nautobot/project-static/docs/development/core/release-checklist.html +46 -18
- nautobot/project-static/docs/development/core/role-internals.html +45 -17
- nautobot/project-static/docs/development/core/style-guide.html +45 -17
- nautobot/project-static/docs/development/core/templates.html +45 -17
- nautobot/project-static/docs/development/core/testing.html +45 -17
- nautobot/project-static/docs/development/core/user-preferences.html +45 -17
- nautobot/project-static/docs/development/index.html +45 -17
- nautobot/project-static/docs/development/jobs/index.html +281 -235
- nautobot/project-static/docs/development/jobs/migration/from-v1.html +45 -17
- nautobot/project-static/docs/index.html +45 -17
- nautobot/project-static/docs/media/nautobot_application_stack_low_level.png +0 -0
- nautobot/project-static/docs/media/nautobot_application_stack_low_level.txt +1 -0
- nautobot/project-static/docs/objects.inv +0 -0
- nautobot/project-static/docs/release-notes/index.html +48 -20
- nautobot/project-static/docs/release-notes/version-1.0.html +45 -17
- nautobot/project-static/docs/release-notes/version-1.1.html +45 -17
- nautobot/project-static/docs/release-notes/version-1.2.html +45 -17
- nautobot/project-static/docs/release-notes/version-1.3.html +45 -17
- nautobot/project-static/docs/release-notes/version-1.4.html +45 -17
- nautobot/project-static/docs/release-notes/version-1.5.html +45 -17
- nautobot/project-static/docs/release-notes/version-1.6.html +46 -18
- nautobot/project-static/docs/release-notes/version-2.0.html +372 -199
- nautobot/project-static/docs/release-notes/version-2.1.html +5724 -0
- nautobot/project-static/docs/requirements.txt +1 -1
- nautobot/project-static/docs/search/search_index.json +1 -1
- nautobot/project-static/docs/sitemap.xml +247 -237
- nautobot/project-static/docs/sitemap.xml.gz +0 -0
- nautobot/project-static/docs/user-guide/administration/configuration/authentication/ldap.html +45 -17
- nautobot/project-static/docs/user-guide/administration/configuration/authentication/remote.html +45 -17
- nautobot/project-static/docs/user-guide/administration/configuration/authentication/sso.html +45 -17
- nautobot/project-static/docs/user-guide/administration/configuration/index.html +45 -17
- nautobot/project-static/docs/user-guide/administration/configuration/node-configuration.html +45 -17
- nautobot/project-static/docs/user-guide/administration/configuration/optional-settings.html +110 -44
- nautobot/project-static/docs/user-guide/administration/configuration/required-settings.html +45 -17
- nautobot/project-static/docs/user-guide/administration/guides/caching.html +48 -20
- nautobot/project-static/docs/user-guide/administration/guides/celery-queues.html +45 -17
- nautobot/project-static/docs/user-guide/administration/guides/healthcheck.html +45 -17
- nautobot/project-static/docs/user-guide/administration/guides/permissions.html +45 -17
- nautobot/project-static/docs/user-guide/administration/guides/prometheus-metrics.html +45 -17
- nautobot/project-static/docs/user-guide/administration/guides/replicating-nautobot.html +45 -17
- nautobot/project-static/docs/user-guide/administration/guides/s3-django-storage.html +49 -20
- nautobot/project-static/docs/user-guide/administration/installation/app-install.html +45 -17
- nautobot/project-static/docs/user-guide/administration/installation/docker.html +45 -17
- nautobot/project-static/docs/user-guide/administration/installation/external-authentication.html +45 -17
- nautobot/project-static/docs/user-guide/administration/installation/http-server.html +45 -17
- nautobot/project-static/docs/user-guide/administration/installation/index.html +45 -17
- nautobot/project-static/docs/user-guide/administration/installation/install_system.html +45 -17
- nautobot/project-static/docs/user-guide/administration/installation/nautobot.html +45 -17
- nautobot/project-static/docs/user-guide/administration/installation/selinux-troubleshooting.html +45 -17
- nautobot/project-static/docs/user-guide/administration/installation/services.html +45 -17
- nautobot/project-static/docs/user-guide/administration/migration/migrating-from-netbox.html +45 -17
- nautobot/project-static/docs/user-guide/administration/migration/migrating-from-postgresql.html +45 -17
- nautobot/project-static/docs/user-guide/administration/tools/nautobot-server.html +45 -17
- nautobot/project-static/docs/user-guide/administration/tools/nautobot-shell.html +45 -17
- nautobot/project-static/docs/user-guide/administration/upgrading/database-backup.html +45 -17
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/after-you-upgrade.html +45 -17
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/before-you-upgrade.html +45 -17
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/for-developers.html +45 -17
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/index.html +45 -17
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/whats-changed.html +45 -17
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/region-and-site-data-migration-guide.html +45 -17
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/upgrading-from-nautobot-v1.html +45 -17
- nautobot/project-static/docs/user-guide/administration/upgrading/upgrading.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/circuits/circuit.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/circuits/circuittermination.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/circuits/circuittype.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/circuits/provider.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/circuits/providernetwork.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/dcim/cable.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/dcim/consoleport.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/dcim/consoleporttemplate.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/dcim/consoleserverport.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/dcim/consoleserverporttemplate.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/dcim/device.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/dcim/devicebay.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/dcim/devicebaytemplate.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/dcim/deviceredundancygroup.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/dcim/devicetype.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/dcim/frontport.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/dcim/frontporttemplate.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/dcim/interface.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/dcim/interfaceredundancygroup.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/dcim/interfacetemplate.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/dcim/inventoryitem.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/dcim/location.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/dcim/locationtype.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/dcim/manufacturer.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/dcim/platform.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/dcim/powerfeed.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/dcim/poweroutlet.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/dcim/poweroutlettemplate.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/dcim/powerpanel.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/dcim/powerport.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/dcim/powerporttemplate.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rack.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rackgroup.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rackreservation.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rearport.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rearporttemplate.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/dcim/virtualchassis.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/extras/configcontext.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/extras/configcontextschema.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/ipam/ipaddress.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/ipam/namespace.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/ipam/prefix.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/ipam/rir.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/ipam/routetarget.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/ipam/service.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/ipam/vlan.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/ipam/vlangroup.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/ipam/vrf.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/tenancy/tenant.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/tenancy/tenantgroup.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/cluster.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/clustergroup.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/clustertype.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/virtualmachine.html +45 -17
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/vminterface.html +45 -17
- nautobot/project-static/docs/user-guide/feature-guides/custom-fields.html +45 -17
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/creating-devices.html +45 -17
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/creating-location-types-and-locations.html +45 -17
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/index.html +45 -17
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/interfaces.html +45 -17
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/ipam.html +45 -17
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/platforms.html +45 -17
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/search-bar.html +45 -17
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/tenants.html +45 -17
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/vlans-and-vlan-groups.html +45 -17
- nautobot/project-static/docs/user-guide/feature-guides/git-data-source.html +45 -17
- nautobot/project-static/docs/user-guide/feature-guides/graphql.html +45 -17
- nautobot/project-static/docs/user-guide/feature-guides/ip-address-merge-tool.html +45 -17
- nautobot/project-static/docs/user-guide/feature-guides/relationships.html +45 -17
- nautobot/project-static/docs/user-guide/index.html +45 -17
- nautobot/project-static/docs/user-guide/platform-functionality/change-logging.html +111 -17
- nautobot/project-static/docs/user-guide/platform-functionality/computedfield.html +45 -17
- nautobot/project-static/docs/user-guide/platform-functionality/customfield.html +45 -17
- nautobot/project-static/docs/user-guide/platform-functionality/customlink.html +45 -17
- nautobot/project-static/docs/user-guide/platform-functionality/dynamicgroup.html +45 -17
- nautobot/project-static/docs/user-guide/platform-functionality/exporttemplate.html +48 -20
- nautobot/project-static/docs/user-guide/platform-functionality/externalintegration.html +5359 -0
- nautobot/project-static/docs/user-guide/platform-functionality/gitrepository.html +48 -20
- nautobot/project-static/docs/user-guide/platform-functionality/graphql.html +45 -17
- nautobot/project-static/docs/user-guide/platform-functionality/graphqlquery.html +45 -17
- nautobot/project-static/docs/user-guide/platform-functionality/imageattachment.html +45 -17
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/index.html +45 -17
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/job-scheduling-and-approvals.html +45 -17
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/jobbutton.html +45 -17
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/jobhook.html +45 -17
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/models.html +45 -17
- nautobot/project-static/docs/user-guide/platform-functionality/napalm.html +45 -17
- nautobot/project-static/docs/user-guide/platform-functionality/note.html +45 -17
- nautobot/project-static/docs/user-guide/platform-functionality/relationship.html +45 -17
- nautobot/project-static/docs/user-guide/platform-functionality/rest-api/authentication.html +45 -17
- nautobot/project-static/docs/user-guide/platform-functionality/rest-api/filtering.html +114 -45
- nautobot/project-static/docs/user-guide/platform-functionality/rest-api/overview.html +45 -17
- nautobot/project-static/docs/user-guide/platform-functionality/rest-api/ui-related-endpoints.html +45 -17
- nautobot/project-static/docs/user-guide/platform-functionality/role.html +45 -17
- nautobot/project-static/docs/user-guide/platform-functionality/secret.html +45 -17
- nautobot/project-static/docs/user-guide/platform-functionality/status.html +45 -17
- nautobot/project-static/docs/user-guide/platform-functionality/tag.html +45 -17
- nautobot/project-static/docs/user-guide/platform-functionality/template-filters.html +45 -17
- nautobot/project-static/docs/user-guide/platform-functionality/users/objectpermission.html +45 -17
- nautobot/project-static/docs/user-guide/platform-functionality/users/token.html +45 -17
- nautobot/project-static/docs/user-guide/platform-functionality/webhook.html +45 -17
- nautobot/project-static/fonts/UFL.txt +96 -0
- nautobot/project-static/fonts/Ubuntu-Bold.woff2 +0 -0
- nautobot/project-static/fonts/Ubuntu-BoldItalic.woff2 +0 -0
- nautobot/project-static/fonts/Ubuntu-Italic.woff2 +0 -0
- nautobot/project-static/fonts/Ubuntu-Medium.woff2 +0 -0
- nautobot/project-static/fonts/Ubuntu-MediumItalic.woff2 +0 -0
- nautobot/project-static/fonts/Ubuntu-Regular.woff2 +0 -0
- nautobot/project-static/fonts/UbuntuMono-Bold.woff2 +0 -0
- nautobot/project-static/fonts/UbuntuMono-BoldItalic.woff2 +0 -0
- nautobot/project-static/fonts/UbuntuMono-Italic.woff2 +0 -0
- nautobot/project-static/fonts/UbuntuMono-Regular.woff2 +0 -0
- nautobot/project-static/img/dark-theme.png +0 -0
- nautobot/project-static/img/light-theme.png +0 -0
- nautobot/project-static/img/nautobot_chevron.svg +5 -0
- nautobot/project-static/img/nautobot_chevron_header.svg +5 -0
- nautobot/project-static/img/system-theme.png +0 -0
- nautobot/tenancy/navigation.py +0 -13
- nautobot/ui/package-lock.json +2 -2
- nautobot/ui/package.json +1 -1
- nautobot/users/admin.py +44 -0
- nautobot/users/migrations/0007_alter_objectpermission_object_types.py +33 -0
- nautobot/users/models.py +3 -2
- nautobot/virtualization/navigation.py +1 -33
- nautobot/virtualization/tests/test_api.py +1 -1
- nautobot/virtualization/tests/test_filters.py +1 -1
- {nautobot-2.0.4.dist-info → nautobot-2.1.0b1.dist-info}/METADATA +2 -2
- {nautobot-2.0.4.dist-info → nautobot-2.1.0b1.dist-info}/RECORD +405 -786
- CHANGELOG.md +0 -3
- CONTRIBUTING.md +0 -3
- NOTICE +0 -8
- nautobot/docs/apps/index.md +0 -22
- nautobot/docs/apps/nautobot-apps.md +0 -10
- nautobot/docs/assets/app-icons/icon-ChatOps.png +0 -0
- nautobot/docs/assets/app-icons/icon-DataValidationEngine.png +0 -0
- nautobot/docs/assets/app-icons/icon-DeviceLifecycle.png +0 -0
- nautobot/docs/assets/app-icons/icon-DeviceOnboarding.png +0 -0
- nautobot/docs/assets/app-icons/icon-FirewallModels.png +0 -0
- nautobot/docs/assets/app-icons/icon-GoldenConfiguration.png +0 -0
- nautobot/docs/assets/app-icons/icon-NautobotPluginNornir.png +0 -0
- nautobot/docs/assets/app-icons/icon-SSoT.png +0 -0
- nautobot/docs/assets/extra.css +0 -139
- nautobot/docs/assets/favicon.ico +0 -0
- nautobot/docs/assets/nautobot_logo.png +0 -0
- nautobot/docs/assets/nautobot_logo.svg +0 -131
- nautobot/docs/assets/networktocode_bw.png +0 -0
- nautobot/docs/assets/overrides/partials/copyright.html +0 -20
- nautobot/docs/development/apps/api/configuration-view.md +0 -35
- nautobot/docs/development/apps/api/database-backend-config.md +0 -26
- nautobot/docs/development/apps/api/models/django-admin.md +0 -20
- nautobot/docs/development/apps/api/models/global-search.md +0 -11
- nautobot/docs/development/apps/api/models/graphql.md +0 -97
- nautobot/docs/development/apps/api/models/index.md +0 -81
- nautobot/docs/development/apps/api/nautobot-app-config.md +0 -84
- nautobot/docs/development/apps/api/platform-features/custom-validators.md +0 -30
- nautobot/docs/development/apps/api/platform-features/filter-extensions.md +0 -49
- nautobot/docs/development/apps/api/platform-features/git-repository-content.md +0 -62
- nautobot/docs/development/apps/api/platform-features/index.md +0 -1
- nautobot/docs/development/apps/api/platform-features/jinja2-filters.md +0 -28
- nautobot/docs/development/apps/api/platform-features/jobs.md +0 -29
- nautobot/docs/development/apps/api/platform-features/populating-extensibility-features.md +0 -58
- nautobot/docs/development/apps/api/platform-features/secrets-providers.md +0 -64
- nautobot/docs/development/apps/api/platform-features/uniquely-identify-objects.md +0 -63
- nautobot/docs/development/apps/api/prometheus.md +0 -25
- nautobot/docs/development/apps/api/setup.md +0 -132
- nautobot/docs/development/apps/api/testing.md +0 -55
- nautobot/docs/development/apps/api/ui-extensions/banners.md +0 -26
- nautobot/docs/development/apps/api/ui-extensions/home-page.md +0 -9
- nautobot/docs/development/apps/api/ui-extensions/index.md +0 -1
- nautobot/docs/development/apps/api/ui-extensions/navigation.md +0 -15
- nautobot/docs/development/apps/api/ui-extensions/object-detail-views.md +0 -74
- nautobot/docs/development/apps/api/ui-extensions/tabs.md +0 -52
- nautobot/docs/development/apps/api/views/base-template.md +0 -38
- nautobot/docs/development/apps/api/views/core-view-overrides.md +0 -26
- nautobot/docs/development/apps/api/views/django-generic-views.md +0 -23
- nautobot/docs/development/apps/api/views/help-documentation.md +0 -16
- nautobot/docs/development/apps/api/views/index.md +0 -3
- nautobot/docs/development/apps/api/views/nautobot-generic-views.md +0 -35
- nautobot/docs/development/apps/api/views/nautobotuiviewset.md +0 -147
- nautobot/docs/development/apps/api/views/nautobotuiviewsetrouter.md +0 -41
- nautobot/docs/development/apps/api/views/notes.md +0 -25
- nautobot/docs/development/apps/api/views/rest-api.md +0 -64
- nautobot/docs/development/apps/api/views/urls.md +0 -26
- nautobot/docs/development/apps/api/views/view-overrides.md +0 -50
- nautobot/docs/development/apps/index.md +0 -75
- nautobot/docs/development/apps/migration/code-updates.md +0 -160
- nautobot/docs/development/apps/migration/dependency-updates.md +0 -13
- nautobot/docs/development/apps/migration/from-v1.md +0 -56
- nautobot/docs/development/apps/migration/model-updates/dcim.md +0 -285
- nautobot/docs/development/apps/migration/model-updates/extras.md +0 -30
- nautobot/docs/development/apps/migration/model-updates/global.md +0 -5
- nautobot/docs/development/apps/migration/model-updates/ipam.md +0 -22
- nautobot/docs/development/apps/porting-from-netbox.md +0 -23
- nautobot/docs/development/core/application-registry.md +0 -216
- nautobot/docs/development/core/best-practices.md +0 -469
- nautobot/docs/development/core/docker-compose-advanced-use-cases.md +0 -228
- nautobot/docs/development/core/extending-models.md +0 -93
- nautobot/docs/development/core/generic-views.md +0 -65
- nautobot/docs/development/core/getting-started.md +0 -859
- nautobot/docs/development/core/homepage.md +0 -63
- nautobot/docs/development/core/index.md +0 -334
- nautobot/docs/development/core/model-features.md +0 -44
- nautobot/docs/development/core/natural-keys.md +0 -121
- nautobot/docs/development/core/navigation-menu.md +0 -142
- nautobot/docs/development/core/react-ui.md +0 -137
- nautobot/docs/development/core/release-checklist.md +0 -312
- nautobot/docs/development/core/role-internals.md +0 -28
- nautobot/docs/development/core/style-guide.md +0 -200
- nautobot/docs/development/core/templates.md +0 -101
- nautobot/docs/development/core/testing.md +0 -238
- nautobot/docs/development/core/user-preferences.md +0 -11
- nautobot/docs/development/index.md +0 -1
- nautobot/docs/development/jobs/index.md +0 -835
- nautobot/docs/development/jobs/migration/from-v1.md +0 -160
- nautobot/docs/generate_code_reference_pages.py +0 -20
- nautobot/docs/img/edge_dev_circuit_relationship.png +0 -0
- nautobot/docs/img/leaf_dev_no_circuit_relationship.png +0 -0
- nautobot/docs/img/relationship_w_json_filter.png +0 -0
- nautobot/docs/index.md +0 -105
- nautobot/docs/media/admin_ui_run_permission.png +0 -0
- nautobot/docs/media/development/homepage_changelog_panel.png +0 -0
- nautobot/docs/media/development/homepage_dcim_panel.png +0 -0
- nautobot/docs/media/development/index_bug_wf.jpg +0 -0
- nautobot/docs/media/development/index_feature_request_wf.jpg +0 -0
- nautobot/docs/media/development/index_release_cadence.drawio +0 -90
- nautobot/docs/media/development/index_release_cadence.jpg +0 -0
- nautobot/docs/media/installation/nautobot_ui_admin.png +0 -0
- nautobot/docs/media/installation/nautobot_ui_guest.png +0 -0
- nautobot/docs/media/models/dcim_cable_trace.png +0 -0
- nautobot/docs/media/models/dcim_cable_trace_circuit.png +0 -0
- nautobot/docs/media/models/dynamicgroup_filtering_01.png +0 -0
- nautobot/docs/media/models/dynamicgroup_workflow_advanced_1_01.png +0 -0
- nautobot/docs/media/models/dynamicgroup_workflow_advanced_1_02.png +0 -0
- nautobot/docs/media/models/dynamicgroup_workflow_advanced_1_03.png +0 -0
- nautobot/docs/media/models/dynamicgroup_workflow_advanced_1_04.png +0 -0
- nautobot/docs/media/models/dynamicgroup_workflow_advanced_1_05.png +0 -0
- nautobot/docs/media/models/dynamicgroup_workflow_advanced_2_01.png +0 -0
- nautobot/docs/media/models/dynamicgroup_workflow_advanced_2_02.png +0 -0
- nautobot/docs/media/models/dynamicgroup_workflow_advanced_2_03.png +0 -0
- nautobot/docs/media/models/dynamicgroup_workflow_advanced_2_04.png +0 -0
- nautobot/docs/media/models/dynamicgroup_workflow_advanced_2_05.png +0 -0
- nautobot/docs/media/models/dynamicgroup_workflow_advanced_2_06.png +0 -0
- nautobot/docs/media/models/dynamicgroup_workflow_advanced_2_07.png +0 -0
- nautobot/docs/media/models/dynamicgroup_workflow_basic_01.png +0 -0
- nautobot/docs/media/models/dynamicgroup_workflow_basic_02.png +0 -0
- nautobot/docs/media/models/dynamicgroup_workflow_basic_03.png +0 -0
- nautobot/docs/media/models/jobbutton_form.png +0 -0
- nautobot/docs/media/models/site_jobbuttons.png +0 -0
- nautobot/docs/media/nautobot_application_stack_high_level.drawio +0 -1
- nautobot/docs/media/nautobot_application_stack_high_level.png +0 -0
- nautobot/docs/media/nautobot_application_stack_low_level.drawio +0 -1
- nautobot/docs/media/nautobot_application_stack_low_level.png +0 -0
- nautobot/docs/media/nautobot_chatops.gif +0 -0
- nautobot/docs/media/nautobot_config_context.gif +0 -0
- nautobot/docs/media/nautobot_golden_config.gif +0 -0
- nautobot/docs/media/nautobot_graphql.gif +0 -0
- nautobot/docs/media/nautobot_mainpage.gif +0 -0
- nautobot/docs/media/nautobot_prefix_hierarchy.gif +0 -0
- nautobot/docs/media/plugins/plugin_admin_config.png +0 -0
- nautobot/docs/media/plugins/plugin_admin_ui.png +0 -0
- nautobot/docs/media/plugins/plugin_rest_api_endpoint.png +0 -0
- nautobot/docs/media/power_distribution.png +0 -0
- nautobot/docs/media/ss_config_contexts.png +0 -0
- nautobot/docs/media/ss_graphiql.png +0 -0
- nautobot/docs/media/ss_main_page.png +0 -0
- nautobot/docs/media/ss_plugin_chatops.png +0 -0
- nautobot/docs/media/ss_plugin_golden_config.png +0 -0
- nautobot/docs/media/ss_prefix_hierarchy.png +0 -0
- nautobot/docs/media/user-guide/administration/guides/s3-django-storage/user-guide-s3-1.png +0 -0
- nautobot/docs/media/user-guide/administration/guides/s3-django-storage/user-guide-s3-2.png +0 -0
- nautobot/docs/media/user-guide/administration/upgrading/from-v1/ipam/tenant-affinity.png +0 -0
- nautobot/docs/nautobot_logo.png +0 -0
- nautobot/docs/nautobot_logo.svg +0 -131
- nautobot/docs/release-notes/index.md +0 -3
- nautobot/docs/release-notes/version-1.0.md +0 -530
- nautobot/docs/release-notes/version-1.1.md +0 -337
- nautobot/docs/release-notes/version-1.2.md +0 -509
- nautobot/docs/release-notes/version-1.3.md +0 -554
- nautobot/docs/release-notes/version-1.4.md +0 -677
- nautobot/docs/release-notes/version-1.5.md +0 -840
- nautobot/docs/release-notes/version-1.6.md +0 -290
- nautobot/docs/release-notes/version-2.0.md +0 -1359
- nautobot/docs/requirements.txt +0 -12
- nautobot/docs/user-guide/administration/configuration/authentication/ldap.md +0 -286
- nautobot/docs/user-guide/administration/configuration/authentication/remote.md +0 -46
- nautobot/docs/user-guide/administration/configuration/authentication/sso.md +0 -528
- nautobot/docs/user-guide/administration/configuration/index.md +0 -190
- nautobot/docs/user-guide/administration/configuration/node-configuration.md +0 -31
- nautobot/docs/user-guide/administration/configuration/optional-settings.md +0 -1302
- nautobot/docs/user-guide/administration/configuration/required-settings.md +0 -244
- nautobot/docs/user-guide/administration/guides/caching.md +0 -108
- nautobot/docs/user-guide/administration/guides/celery-queues.md +0 -42
- nautobot/docs/user-guide/administration/guides/healthcheck.md +0 -11
- nautobot/docs/user-guide/administration/guides/permissions.md +0 -98
- nautobot/docs/user-guide/administration/guides/prometheus-metrics.md +0 -55
- nautobot/docs/user-guide/administration/guides/replicating-nautobot.md +0 -70
- nautobot/docs/user-guide/administration/guides/s3-django-storage.md +0 -145
- nautobot/docs/user-guide/administration/installation/app-install.md +0 -94
- nautobot/docs/user-guide/administration/installation/docker.md +0 -286
- nautobot/docs/user-guide/administration/installation/external-authentication.md +0 -9
- nautobot/docs/user-guide/administration/installation/http-server.md +0 -279
- nautobot/docs/user-guide/administration/installation/index.md +0 -101
- nautobot/docs/user-guide/administration/installation/install_system.md +0 -493
- nautobot/docs/user-guide/administration/installation/nautobot.md +0 -367
- nautobot/docs/user-guide/administration/installation/selinux-troubleshooting.md +0 -194
- nautobot/docs/user-guide/administration/installation/services.md +0 -340
- nautobot/docs/user-guide/administration/migration/migrating-from-netbox.md +0 -336
- nautobot/docs/user-guide/administration/migration/migrating-from-postgresql.md +0 -122
- nautobot/docs/user-guide/administration/tools/nautobot-server.md +0 -858
- nautobot/docs/user-guide/administration/tools/nautobot-shell.md +0 -263
- nautobot/docs/user-guide/administration/upgrading/database-backup.md +0 -11
- nautobot/docs/user-guide/administration/upgrading/from-v1/ipam/after-you-upgrade.md +0 -55
- nautobot/docs/user-guide/administration/upgrading/from-v1/ipam/before-you-upgrade.md +0 -73
- nautobot/docs/user-guide/administration/upgrading/from-v1/ipam/for-developers.md +0 -211
- nautobot/docs/user-guide/administration/upgrading/from-v1/ipam/index.md +0 -16
- nautobot/docs/user-guide/administration/upgrading/from-v1/ipam/whats-changed.md +0 -157
- nautobot/docs/user-guide/administration/upgrading/from-v1/region-and-site-data-migration-guide.md +0 -153
- nautobot/docs/user-guide/administration/upgrading/from-v1/tables/v2-api-behavior-changes.yaml +0 -82
- nautobot/docs/user-guide/administration/upgrading/from-v1/tables/v2-api-removed-fields.yaml +0 -175
- nautobot/docs/user-guide/administration/upgrading/from-v1/tables/v2-api-renamed-fields.yaml +0 -124
- nautobot/docs/user-guide/administration/upgrading/from-v1/tables/v2-code-location-changes.yaml +0 -241
- nautobot/docs/user-guide/administration/upgrading/from-v1/tables/v2-code-removals.yaml +0 -57
- nautobot/docs/user-guide/administration/upgrading/from-v1/tables/v2-code-renames.yaml +0 -5
- nautobot/docs/user-guide/administration/upgrading/from-v1/tables/v2-database-behavior-changes.yaml +0 -76
- nautobot/docs/user-guide/administration/upgrading/from-v1/tables/v2-database-removed-fields.yaml +0 -202
- nautobot/docs/user-guide/administration/upgrading/from-v1/tables/v2-database-renamed-fields.yaml +0 -343
- nautobot/docs/user-guide/administration/upgrading/from-v1/tables/v2-filters-corrected-fields.yaml +0 -31
- nautobot/docs/user-guide/administration/upgrading/from-v1/tables/v2-filters-enhanced-fields.yaml +0 -244
- nautobot/docs/user-guide/administration/upgrading/from-v1/tables/v2-filters-removed-fields.yaml +0 -595
- nautobot/docs/user-guide/administration/upgrading/from-v1/tables/v2-filters-renamed-fields.yaml +0 -253
- nautobot/docs/user-guide/administration/upgrading/from-v1/tables/v2-logging-renamed-loggers.yaml +0 -23
- nautobot/docs/user-guide/administration/upgrading/from-v1/upgrading-from-nautobot-v1.md +0 -574
- nautobot/docs/user-guide/administration/upgrading/upgrading.md +0 -127
- nautobot/docs/user-guide/core-data-model/circuits/circuit.md +0 -19
- nautobot/docs/user-guide/core-data-model/circuits/circuittermination.md +0 -10
- nautobot/docs/user-guide/core-data-model/circuits/circuittype.md +0 -8
- nautobot/docs/user-guide/core-data-model/circuits/provider.md +0 -5
- nautobot/docs/user-guide/core-data-model/circuits/providernetwork.md +0 -7
- nautobot/docs/user-guide/core-data-model/dcim/cable.md +0 -43
- nautobot/docs/user-guide/core-data-model/dcim/consoleport.md +0 -8
- nautobot/docs/user-guide/core-data-model/dcim/consoleporttemplate.md +0 -6
- nautobot/docs/user-guide/core-data-model/dcim/consoleserverport.md +0 -8
- nautobot/docs/user-guide/core-data-model/dcim/consoleserverporttemplate.md +0 -6
- nautobot/docs/user-guide/core-data-model/dcim/device.md +0 -29
- nautobot/docs/user-guide/core-data-model/dcim/devicebay.md +0 -11
- nautobot/docs/user-guide/core-data-model/dcim/devicebaytemplate.md +0 -6
- nautobot/docs/user-guide/core-data-model/dcim/deviceredundancygroup.md +0 -279
- nautobot/docs/user-guide/core-data-model/dcim/devicetype.md +0 -44
- nautobot/docs/user-guide/core-data-model/dcim/frontport.md +0 -6
- nautobot/docs/user-guide/core-data-model/dcim/frontporttemplate.md +0 -6
- nautobot/docs/user-guide/core-data-model/dcim/interface.md +0 -34
- nautobot/docs/user-guide/core-data-model/dcim/interfaceredundancygroup.md +0 -24
- nautobot/docs/user-guide/core-data-model/dcim/interfacetemplate.md +0 -6
- nautobot/docs/user-guide/core-data-model/dcim/inventoryitem.md +0 -10
- nautobot/docs/user-guide/core-data-model/dcim/location.md +0 -15
- nautobot/docs/user-guide/core-data-model/dcim/locationtype.md +0 -43
- nautobot/docs/user-guide/core-data-model/dcim/manufacturer.md +0 -3
- nautobot/docs/user-guide/core-data-model/dcim/platform.md +0 -19
- nautobot/docs/user-guide/core-data-model/dcim/powerfeed.md +0 -25
- nautobot/docs/user-guide/core-data-model/dcim/poweroutlet.md +0 -14
- nautobot/docs/user-guide/core-data-model/dcim/poweroutlettemplate.md +0 -6
- nautobot/docs/user-guide/core-data-model/dcim/powerpanel.md +0 -12
- nautobot/docs/user-guide/core-data-model/dcim/powerport.md +0 -15
- nautobot/docs/user-guide/core-data-model/dcim/powerporttemplate.md +0 -6
- nautobot/docs/user-guide/core-data-model/dcim/rack.md +0 -41
- nautobot/docs/user-guide/core-data-model/dcim/rackgroup.md +0 -7
- nautobot/docs/user-guide/core-data-model/dcim/rackreservation.md +0 -3
- nautobot/docs/user-guide/core-data-model/dcim/rearport.md +0 -9
- nautobot/docs/user-guide/core-data-model/dcim/rearporttemplate.md +0 -6
- nautobot/docs/user-guide/core-data-model/dcim/virtualchassis.md +0 -8
- nautobot/docs/user-guide/core-data-model/extras/configcontext.md +0 -78
- nautobot/docs/user-guide/core-data-model/extras/configcontextschema.md +0 -73
- nautobot/docs/user-guide/core-data-model/ipam/ipaddress.md +0 -69
- nautobot/docs/user-guide/core-data-model/ipam/media/ipam_namespace_documentation.drawio +0 -1
- nautobot/docs/user-guide/core-data-model/ipam/media/ipam_namespace_documentation.drawio.svg +0 -4
- nautobot/docs/user-guide/core-data-model/ipam/namespace.md +0 -18
- nautobot/docs/user-guide/core-data-model/ipam/prefix.md +0 -65
- nautobot/docs/user-guide/core-data-model/ipam/rir.md +0 -10
- nautobot/docs/user-guide/core-data-model/ipam/routetarget.md +0 -5
- nautobot/docs/user-guide/core-data-model/ipam/service.md +0 -8
- nautobot/docs/user-guide/core-data-model/ipam/vlan.md +0 -17
- nautobot/docs/user-guide/core-data-model/ipam/vlangroup.md +0 -5
- nautobot/docs/user-guide/core-data-model/ipam/vrf.md +0 -15
- nautobot/docs/user-guide/core-data-model/tenancy/tenant.md +0 -20
- nautobot/docs/user-guide/core-data-model/tenancy/tenantgroup.md +0 -5
- nautobot/docs/user-guide/core-data-model/virtualization/cluster.md +0 -5
- nautobot/docs/user-guide/core-data-model/virtualization/clustergroup.md +0 -3
- nautobot/docs/user-guide/core-data-model/virtualization/clustertype.md +0 -3
- nautobot/docs/user-guide/core-data-model/virtualization/virtualmachine.md +0 -17
- nautobot/docs/user-guide/core-data-model/virtualization/vminterface.md +0 -19
- nautobot/docs/user-guide/feature-guides/custom-fields.md +0 -350
- nautobot/docs/user-guide/feature-guides/getting-started/creating-devices.md +0 -130
- nautobot/docs/user-guide/feature-guides/getting-started/creating-location-types-and-locations.md +0 -113
- nautobot/docs/user-guide/feature-guides/getting-started/index.md +0 -29
- nautobot/docs/user-guide/feature-guides/getting-started/interfaces.md +0 -100
- nautobot/docs/user-guide/feature-guides/getting-started/ipam.md +0 -104
- nautobot/docs/user-guide/feature-guides/getting-started/platforms.md +0 -78
- nautobot/docs/user-guide/feature-guides/getting-started/search-bar.md +0 -40
- nautobot/docs/user-guide/feature-guides/getting-started/tenants.md +0 -40
- nautobot/docs/user-guide/feature-guides/getting-started/vlans-and-vlan-groups.md +0 -87
- nautobot/docs/user-guide/feature-guides/git-data-source.md +0 -307
- nautobot/docs/user-guide/feature-guides/graphql.md +0 -342
- nautobot/docs/user-guide/feature-guides/images/custom-fields/custom_field_choices.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/custom-fields/custom_field_detail_grouped.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/custom-fields/custom_field_detail_label.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/custom-fields/custom_field_edit.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/custom-fields/custom_field_select.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/getting-started-nautobot-ui/1-create-location-type.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/getting-started-nautobot-ui/10-add-platform.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/getting-started-nautobot-ui/11-platforms-page.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/getting-started-nautobot-ui/12-add-tenant.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/getting-started-nautobot-ui/13-assign-tenant-to-device.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/getting-started-nautobot-ui/14-assign-tenant-to-device-2.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/getting-started-nautobot-ui/15-create-device-type.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/getting-started-nautobot-ui/16-interface-templates.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/getting-started-nautobot-ui/17-templated-interfaces.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/getting-started-nautobot-ui/18-assign-device-type.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/getting-started-nautobot-ui/19-edit-ints-for-lag.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/getting-started-nautobot-ui/2-create-manufacturer.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/getting-started-nautobot-ui/20-ints-int-lag.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/getting-started-nautobot-ui/21-device-type.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/getting-started-nautobot-ui/22-create-vlans.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/getting-started-nautobot-ui/23-create-vlans-2.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/getting-started-nautobot-ui/24-vlan-main-page.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/getting-started-nautobot-ui/25-add-vlan-to-interface.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/getting-started-nautobot-ui/26-add-vlan-to-interface-2.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/getting-started-nautobot-ui/27-add-rir.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/getting-started-nautobot-ui/3-create-role.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/getting-started-nautobot-ui/30-add-prefix.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/getting-started-nautobot-ui/32-add-ip-addr.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/getting-started-nautobot-ui/33-assign-address.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/getting-started-nautobot-ui/34-assign-address-2.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/getting-started-nautobot-ui/35-assign-address-3.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/getting-started-nautobot-ui/36-verify-address.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/getting-started-nautobot-ui/37-verify-prefix.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/getting-started-nautobot-ui/38-verify-prefix2.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/getting-started-nautobot-ui/39-address-search.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/getting-started-nautobot-ui/4-create-device-type.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/getting-started-nautobot-ui/40-addr-main-page.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/getting-started-nautobot-ui/41-device-search-results.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/getting-started-nautobot-ui/42-address-search-v2.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/getting-started-nautobot-ui/43-get-to-device-main-page.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/getting-started-nautobot-ui/44-add-platform.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/getting-started-nautobot-ui/5-create-device.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/getting-started-nautobot-ui/6-create-location.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/getting-started-nautobot-ui/7-location-type-page.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/getting-started-nautobot-ui/8-location-page.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/git-as-data-source/01-git-data-source.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/git-as-data-source/02-git-data-source.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/git-as-data-source/03-git-data-source.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/git-as-data-source/04-git-data-source.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/git-as-data-source/05-git-data-source.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/git-as-data-source/06-git-data-source.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/git-as-data-source/07-git-data-source.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/git-as-data-source/08-git-data-source.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/git-as-data-source/09-git-data-source.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/git-as-data-source/10-git-data-source.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/git-as-data-source/11-git-data-source.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/git-as-data-source/12-git-data-source.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/git-as-data-source/13-git-data-source.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/git-as-data-source/14-git-data-source.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/git-as-data-source/15-git-data-source.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/git-as-data-source/16-git-data-source.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/git-as-data-source/17-git-data-source.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/git-as-data-source/18-git-data-source.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/graphql/00-graphiql.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/graphql/01-graphiql-explorer.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/graphql/02-graphiql-explorer-device-query.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/graphql/03-graphiql-explorer-device-attributes.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/graphql/04-graphql-query-01.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/graphql/05-graphiql-autocomplete.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/graphql/06-graphql-query-02.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/graphql/07-graphql-query-03.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/graphql/08-graphql-query-04.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/graphql/09-graphql-query-05.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/graphql/10-graphql-swagger.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/graphql/11-graphql-query-06.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/ip-address-merge-tool/ip_merge_button.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/ip-address-merge-tool/merge_button.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/ip-address-merge-tool/merge_view.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/ip-address-merge-tool/no_more_dup_ips.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/ip-address-merge-tool/skip_button.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/ip-address-merge-tool/unselect_ips.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/relationships/01-relationships.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/relationships/02-relationships.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/relationships/03-relationships.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/relationships/04-relationships.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/relationships/05-relationships.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/relationships/06-relationships.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/relationships/07-relationships.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/relationships/08-relationships.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/relationships/09-relationships.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/relationships/10-relationships.png +0 -0
- nautobot/docs/user-guide/feature-guides/images/relationships/11-relationships.png +0 -0
- nautobot/docs/user-guide/feature-guides/ip-address-merge-tool.md +0 -63
- nautobot/docs/user-guide/feature-guides/relationships.md +0 -125
- nautobot/docs/user-guide/index.md +0 -1
- nautobot/docs/user-guide/platform-functionality/change-logging.md +0 -21
- nautobot/docs/user-guide/platform-functionality/computedfield.md +0 -89
- nautobot/docs/user-guide/platform-functionality/customfield.md +0 -123
- nautobot/docs/user-guide/platform-functionality/customlink.md +0 -59
- nautobot/docs/user-guide/platform-functionality/dynamicgroup.md +0 -660
- nautobot/docs/user-guide/platform-functionality/exporttemplate.md +0 -55
- nautobot/docs/user-guide/platform-functionality/gitrepository.md +0 -353
- nautobot/docs/user-guide/platform-functionality/graphql.md +0 -259
- nautobot/docs/user-guide/platform-functionality/graphqlquery.md +0 -28
- nautobot/docs/user-guide/platform-functionality/imageattachment.md +0 -10
- nautobot/docs/user-guide/platform-functionality/jobs/index.md +0 -193
- nautobot/docs/user-guide/platform-functionality/jobs/job-scheduling-and-approvals.md +0 -78
- nautobot/docs/user-guide/platform-functionality/jobs/jobbutton.md +0 -79
- nautobot/docs/user-guide/platform-functionality/jobs/jobhook.md +0 -15
- nautobot/docs/user-guide/platform-functionality/jobs/models.md +0 -65
- nautobot/docs/user-guide/platform-functionality/napalm.md +0 -85
- nautobot/docs/user-guide/platform-functionality/note.md +0 -7
- nautobot/docs/user-guide/platform-functionality/relationship.md +0 -158
- nautobot/docs/user-guide/platform-functionality/rest-api/authentication.md +0 -67
- nautobot/docs/user-guide/platform-functionality/rest-api/filtering.md +0 -142
- nautobot/docs/user-guide/platform-functionality/rest-api/overview.md +0 -1045
- nautobot/docs/user-guide/platform-functionality/rest-api/ui-related-endpoints.md +0 -9
- nautobot/docs/user-guide/platform-functionality/role.md +0 -17
- nautobot/docs/user-guide/platform-functionality/secret.md +0 -136
- nautobot/docs/user-guide/platform-functionality/status.md +0 -92
- nautobot/docs/user-guide/platform-functionality/tag.md +0 -62
- nautobot/docs/user-guide/platform-functionality/template-filters.md +0 -306
- nautobot/docs/user-guide/platform-functionality/users/objectpermission.md +0 -56
- nautobot/docs/user-guide/platform-functionality/users/token.md +0 -21
- nautobot/docs/user-guide/platform-functionality/webhook.md +0 -137
- nautobot/project-static/docs/media/nautobot_application_stack_low_level.drawio +0 -1
- nautobot/project-static/docs/media/nautobot_chatops.gif +0 -0
- nautobot/project-static/docs/media/nautobot_config_context.gif +0 -0
- nautobot/project-static/docs/media/nautobot_golden_config.gif +0 -0
- nautobot/project-static/docs/media/nautobot_graphql.gif +0 -0
- nautobot/project-static/docs/media/nautobot_mainpage.gif +0 -0
- nautobot/project-static/docs/media/nautobot_prefix_hierarchy.gif +0 -0
- nautobot-2.0.4.dist-info/LICENSE.txt +0 -177
- /LICENSE.txt → /nautobot-2.1.0b1.dist-info/LICENSE.txt +0 -0
- {nautobot-2.0.4.dist-info → nautobot-2.1.0b1.dist-info}/WHEEL +0 -0
- {nautobot-2.0.4.dist-info → nautobot-2.1.0b1.dist-info}/entry_points.txt +0 -0
|
@@ -1,1302 +0,0 @@
|
|
|
1
|
-
# Optional Configuration Settings
|
|
2
|
-
|
|
3
|
-
## Administratively Configurable Settings
|
|
4
|
-
|
|
5
|
-
+++ 1.2.0
|
|
6
|
-
|
|
7
|
-
A number of settings can alternatively be configured via the Nautobot Admin UI. To do so, these settings must **not** be defined in your `nautobot_config.py`, as any settings defined there will take precedence over any values defined in the Admin UI. Settings that are currently configurable via the Admin UI include:
|
|
8
|
-
|
|
9
|
-
* [BANNER_BOTTOM](#banner_bottom)
|
|
10
|
-
* [BANNER_LOGIN](#banner_login)
|
|
11
|
-
* [BANNER_TOP](#banner_top)
|
|
12
|
-
* [CHANGELOG_RETENTION](#changelog_retention)
|
|
13
|
-
* [DEPLOYMENT_ID](#deployment_id)
|
|
14
|
-
* [DEVICE_NAME_AS_NATURAL_KEY](#device_name_as_natural_key)
|
|
15
|
-
* [DYNAMIC_GROUPS_MEMBER_CACHE_TIMEOUT](#dynamic_groups_member_cache_timeout)
|
|
16
|
-
* [FEEDBACK_BUTTON_ENABLED](#feedback_button_enabled)
|
|
17
|
-
* [HIDE_RESTRICTED_UI](#hide_restricted_ui)
|
|
18
|
-
* [LOCATION_NAME_AS_NATURAL_KEY](#location_name_as_natural_key)
|
|
19
|
-
* [MAX_PAGE_SIZE](#max_page_size)
|
|
20
|
-
* [NETWORK_DRIVERS](#network_drivers)
|
|
21
|
-
* [PAGINATE_COUNT](#paginate_count)
|
|
22
|
-
* [PER_PAGE_DEFAULTS](#per_page_defaults)
|
|
23
|
-
* [PREFER_IPV4](#prefer_ipv4)
|
|
24
|
-
* [RACK_ELEVATION_DEFAULT_UNIT_HEIGHT](#rack_elevation_default_unit_height)
|
|
25
|
-
* [RACK_ELEVATION_DEFAULT_UNIT_WIDTH](#rack_elevation_default_unit_width)
|
|
26
|
-
* [RELEASE_CHECK_TIMEOUT](#release_check_timeout)
|
|
27
|
-
* [RELEASE_CHECK_URL](#release_check_url)
|
|
28
|
-
* [SUPPORT_MESSAGE](#support_message)
|
|
29
|
-
|
|
30
|
-
## Extra Applications
|
|
31
|
-
|
|
32
|
-
A need may arise to allow the user to register additional settings. These will automatically apply
|
|
33
|
-
based on keynames prefixed with `EXTRA_` assuming the base key (the latter part of the setting name) is
|
|
34
|
-
of type list or tuple.
|
|
35
|
-
|
|
36
|
-
For example, to register additional `INSTALLED_APPS`, you would simply specify this in your custom
|
|
37
|
-
(user) configuration::
|
|
38
|
-
|
|
39
|
-
```python
|
|
40
|
-
EXTRA_INSTALLED_APPS = [
|
|
41
|
-
'foo.bar',
|
|
42
|
-
]
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
This will ensure your default setting's `INSTALLED_APPS` do not have to be modified, and the user
|
|
46
|
-
can specify additional apps with ease. Similarly, additional `MIDDLEWARE` can be added using `EXTRA_MIDDLEWARE`.
|
|
47
|
-
|
|
48
|
-
## ALLOWED_URL_SCHEMES
|
|
49
|
-
|
|
50
|
-
Default: `('file', 'ftp', 'ftps', 'http', 'https', 'irc', 'mailto', 'sftp', 'ssh', 'tel', 'telnet', 'tftp', 'vnc', 'xmpp')`
|
|
51
|
-
|
|
52
|
-
A list of permitted URL schemes referenced when rendering links within Nautobot. Note that only the schemes specified in this list will be accepted: If adding your own, be sure to replicate all of the default values as well (excluding those schemes which are not desirable).
|
|
53
|
-
|
|
54
|
-
---
|
|
55
|
-
|
|
56
|
-
## BANNER_TOP
|
|
57
|
-
|
|
58
|
-
## BANNER_BOTTOM
|
|
59
|
-
|
|
60
|
-
Default: `""` (Empty string)
|
|
61
|
-
|
|
62
|
-
Setting these variables will display custom content in a banner at the top and/or bottom of the page, respectively. HTML is allowed. To replicate the content of the top banner in the bottom banner, set:
|
|
63
|
-
|
|
64
|
-
```python
|
|
65
|
-
BANNER_TOP = 'Your banner text'
|
|
66
|
-
BANNER_BOTTOM = BANNER_TOP
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
+++ 1.2.0
|
|
70
|
-
If you do not set a value for these settings in your `nautobot_config.py`, they can be configured dynamically by an admin user via the Nautobot Admin UI. If you do have a value for either setting in `nautobot_config.py`, it will override any dynamically configured value.
|
|
71
|
-
|
|
72
|
-
---
|
|
73
|
-
|
|
74
|
-
## BANNER_LOGIN
|
|
75
|
-
|
|
76
|
-
Default: `""` (Empty string)
|
|
77
|
-
|
|
78
|
-
This defines custom content to be displayed on the login page above the login form. HTML is allowed.
|
|
79
|
-
|
|
80
|
-
+++ 1.2.0
|
|
81
|
-
If you do not set a value for this setting in your `nautobot_config.py`, it can be configured dynamically by an admin user via the Nautobot Admin UI. If you do have a value for this setting in `nautobot_config.py`, it will override any dynamically configured value.
|
|
82
|
-
|
|
83
|
-
---
|
|
84
|
-
|
|
85
|
-
## BRANDING_FILEPATHS
|
|
86
|
-
|
|
87
|
-
Default:
|
|
88
|
-
|
|
89
|
-
```python
|
|
90
|
-
{
|
|
91
|
-
"logo": os.getenv("NAUTOBOT_BRANDING_FILEPATHS_LOGO", None), # Navbar logo
|
|
92
|
-
"favicon": os.getenv("NAUTOBOT_BRANDING_FILEPATHS_FAVICON", None), # Browser favicon
|
|
93
|
-
"icon_16": os.getenv("NAUTOBOT_BRANDING_FILEPATHS_ICON_16", None), # 16x16px icon
|
|
94
|
-
"icon_32": os.getenv("NAUTOBOT_BRANDING_FILEPATHS_ICON_32", None), # 32x32px icon
|
|
95
|
-
"icon_180": os.getenv("NAUTOBOT_BRANDING_FILEPATHS_ICON_180", None), # 180x180px icon - used for the apple-touch-icon header
|
|
96
|
-
"icon_192": os.getenv("NAUTOBOT_BRANDING_FILEPATHS_ICON_192", None), # 192x192px icon
|
|
97
|
-
"icon_mask": os.getenv("NAUTOBOT_BRANDING_FILEPATHS_ICON_MASK", None), # mono-chrome icon used for the mask-icon header
|
|
98
|
-
}
|
|
99
|
-
```
|
|
100
|
-
|
|
101
|
-
A set of filepaths relative to the [`MEDIA_ROOT`](#media_root) which locate image assets used for custom branding. Each of these assets takes the place of the corresponding stock Nautobot asset. This allows for instance, providing your own navbar logo and favicon.
|
|
102
|
-
|
|
103
|
-
These environment variables may be used to specify the values:
|
|
104
|
-
|
|
105
|
-
* `NAUTOBOT_BRANDING_FILEPATHS_LOGO`
|
|
106
|
-
* `NAUTOBOT_BRANDING_FILEPATHS_FAVICON`
|
|
107
|
-
* `NAUTOBOT_BRANDING_FILEPATHS_ICON_16`
|
|
108
|
-
* `NAUTOBOT_BRANDING_FILEPATHS_ICON_32`
|
|
109
|
-
* `NAUTOBOT_BRANDING_FILEPATHS_ICON_180`
|
|
110
|
-
* `NAUTOBOT_BRANDING_FILEPATHS_ICON_192`
|
|
111
|
-
* `NAUTOBOT_BRANDING_FILEPATHS_ICON_MASK`
|
|
112
|
-
|
|
113
|
-
If a custom image asset is not provided for any of the above options, the stock Nautobot asset is used.
|
|
114
|
-
|
|
115
|
-
---
|
|
116
|
-
|
|
117
|
-
## BRANDING_PREPENDED_FILENAME
|
|
118
|
-
|
|
119
|
-
+++ 1.3.4
|
|
120
|
-
|
|
121
|
-
Default: `"nautobot_"`
|
|
122
|
-
|
|
123
|
-
Environment Variable: `NAUTOBOT_BRANDING_PREPENDED_FILENAME`
|
|
124
|
-
|
|
125
|
-
Defines the prefix of the filename when exporting to CSV/YAML or export templates.
|
|
126
|
-
|
|
127
|
-
---
|
|
128
|
-
|
|
129
|
-
## BRANDING_TITLE
|
|
130
|
-
|
|
131
|
-
Default: `"Nautobot"`
|
|
132
|
-
|
|
133
|
-
Environment Variable: `NAUTOBOT_BRANDING_TITLE`
|
|
134
|
-
|
|
135
|
-
The defines the custom branding title that should be used in place of "Nautobot" within user facing areas of the application like the HTML title of web pages.
|
|
136
|
-
|
|
137
|
-
---
|
|
138
|
-
|
|
139
|
-
## BRANDING_URLS
|
|
140
|
-
|
|
141
|
-
Default:
|
|
142
|
-
|
|
143
|
-
```python
|
|
144
|
-
{
|
|
145
|
-
"code": os.getenv("NAUTOBOT_BRANDING_URLS_CODE", "https://github.com/nautobot/nautobot"), # Code link in the footer
|
|
146
|
-
"docs": os.getenv("NAUTOBOT_BRANDING_URLS_DOCS", "<STATIC_URL>docs/index.html"), # Docs link in the footer
|
|
147
|
-
"help": os.getenv("NAUTOBOT_BRANDING_URLS_HELP", "https://github.com/nautobot/nautobot/wiki"), # Help link in the footer
|
|
148
|
-
}
|
|
149
|
-
```
|
|
150
|
-
|
|
151
|
-
A set of URLs that correspond to helpful links in the right of the footer on every web page.
|
|
152
|
-
|
|
153
|
-
These environment variables may be used to specify the values:
|
|
154
|
-
|
|
155
|
-
* `NAUTOBOT_BRANDING_URLS_CODE`
|
|
156
|
-
* `NAUTOBOT_BRANDING_URLS_DOCS`
|
|
157
|
-
* `NAUTOBOT_BRANDING_URLS_HELP`
|
|
158
|
-
|
|
159
|
-
If a custom URL is not provided for any of the links, the default link within the Nautobot community is used.
|
|
160
|
-
|
|
161
|
-
---
|
|
162
|
-
|
|
163
|
-
## CELERY_BROKER_TRANSPORT_OPTIONS
|
|
164
|
-
|
|
165
|
-
Default: `{}`
|
|
166
|
-
|
|
167
|
-
A dict of additional options passed to the Celery broker transport. This is only required when [configuring Celery to utilize Redis Sentinel](../../administration/guides/caching.md#celery-sentinel-configuration).
|
|
168
|
-
|
|
169
|
-
---
|
|
170
|
-
|
|
171
|
-
## CELERY_BROKER_URL
|
|
172
|
-
|
|
173
|
-
Environment Variable: `NAUTOBOT_CELERY_BROKER_URL`
|
|
174
|
-
|
|
175
|
-
Default: `'redis://localhost:6379/0'`
|
|
176
|
-
|
|
177
|
-
Celery broker URL used to tell workers where queues are located.
|
|
178
|
-
|
|
179
|
-
---
|
|
180
|
-
|
|
181
|
-
## CELERY_TASK_DEFAULT_QUEUE
|
|
182
|
-
|
|
183
|
-
+++ 1.5.0
|
|
184
|
-
|
|
185
|
-
Environment Variable: `NAUTOBOT_CELERY_TASK_DEFAULT_QUEUE`
|
|
186
|
-
|
|
187
|
-
Default: `'default'`
|
|
188
|
-
|
|
189
|
-
The default celery queue name that will be used by workers if no queue is specified in the `nautobot-server celery worker` command. This queue will also be used by celery tasks if no queue is specified when a task is run.
|
|
190
|
-
|
|
191
|
-
---
|
|
192
|
-
|
|
193
|
-
## CELERY_TASK_SOFT_TIME_LIMIT
|
|
194
|
-
|
|
195
|
-
Default: `300` (5 minutes)
|
|
196
|
-
|
|
197
|
-
Environment Variable: `NAUTOBOT_CELERY_TASK_SOFT_TIME_LIMIT`
|
|
198
|
-
|
|
199
|
-
The global Celery task soft timeout (in seconds). Any background task that exceeds this duration will receive a `SoftTimeLimitExceeded` exception and is responsible for handling this exception and performing any necessary cleanup or final operations before ending. See also `CELERY_TASK_TIME_LIMIT` below.
|
|
200
|
-
|
|
201
|
-
---
|
|
202
|
-
|
|
203
|
-
## CELERY_TASK_TIME_LIMIT
|
|
204
|
-
|
|
205
|
-
Default: `600` (10 minutes)
|
|
206
|
-
|
|
207
|
-
Environment Variable: `NAUTOBOT_CELERY_TASK_TIME_LIMIT`
|
|
208
|
-
|
|
209
|
-
The global Celery task hard timeout (in seconds). Any background task that exceeds this duration will be forcibly killed with a `SIGKILL` signal.
|
|
210
|
-
|
|
211
|
-
---
|
|
212
|
-
|
|
213
|
-
## CELERY_WORKER_PROMETHEUS_PORTS
|
|
214
|
-
|
|
215
|
-
+++ 1.5.10
|
|
216
|
-
|
|
217
|
-
Default: `[]` (disabled)
|
|
218
|
-
|
|
219
|
-
Environment Variable: `NAUTOBOT_CELERY_WORKER_PROMETHEUS_PORTS`
|
|
220
|
-
|
|
221
|
-
Ports for Prometheus metric HTTP server running on the celery worker(s).
|
|
222
|
-
|
|
223
|
-
Normally this should be set to a single port, unless you have multiple workers running on a single machine, i.e.
|
|
224
|
-
sharing the same available ports. In that case you need to specify a range of ports greater than or equal to the
|
|
225
|
-
highest amount of workers you are running on a single machine (comma-separated, like "8080,8081,8082"). You can then use
|
|
226
|
-
the `target_limit` parameter to the Prometheus `scrape_config` to ensure you are not getting duplicate metrics in that
|
|
227
|
-
case. Set this to an empty list to disable it.
|
|
228
|
-
|
|
229
|
-
---
|
|
230
|
-
|
|
231
|
-
## CELERY_WORKER_REDIRECT_STDOUTS
|
|
232
|
-
|
|
233
|
-
+++ 2.0.0
|
|
234
|
-
|
|
235
|
-
Environment Variable: `NAUTOBOT_CELERY_WORKER_REDIRECT_STDOUTS`
|
|
236
|
-
|
|
237
|
-
Default: `True`
|
|
238
|
-
|
|
239
|
-
If enabled stdout and stderr of running jobs will be redirected to the task logger.
|
|
240
|
-
|
|
241
|
-
---
|
|
242
|
-
|
|
243
|
-
## CELERY_WORKER_REDIRECT_STDOUTS_LEVEL
|
|
244
|
-
|
|
245
|
-
+++ 2.0.0
|
|
246
|
-
|
|
247
|
-
Environment Variable: `NAUTOBOT_CELERY_WORKER_REDIRECT_STDOUTS_LEVEL`
|
|
248
|
-
|
|
249
|
-
Default: `WARNING`
|
|
250
|
-
|
|
251
|
-
The log level of log messages generated by redirected job stdout and stderr. Can be one of `DEBUG`, `INFO`, `WARNING`, `ERROR`, or `CRITICAL`.
|
|
252
|
-
|
|
253
|
-
---
|
|
254
|
-
|
|
255
|
-
## CHANGELOG_RETENTION
|
|
256
|
-
|
|
257
|
-
Default: `90`
|
|
258
|
-
|
|
259
|
-
The number of days to retain logged changes (object creations, updates, and deletions). Set this to `0` to retain changes in the database indefinitely.
|
|
260
|
-
|
|
261
|
-
!!! warning
|
|
262
|
-
If enabling indefinite changelog retention, it is recommended to periodically delete old entries. Otherwise, the database may eventually exceed capacity.
|
|
263
|
-
|
|
264
|
-
+++ 1.2.0
|
|
265
|
-
If you do not set a value for this setting in your `nautobot_config.py`, it can be configured dynamically by an admin user via the Nautobot Admin UI. If you do have a value for this setting in `nautobot_config.py`, it will override any dynamically configured value.
|
|
266
|
-
|
|
267
|
-
---
|
|
268
|
-
|
|
269
|
-
## CONFIG_CONTEXT_DYNAMIC_GROUPS_ENALBED
|
|
270
|
-
|
|
271
|
-
Default: `False`
|
|
272
|
-
|
|
273
|
-
Environment Variable: `NAUTOBOT_CONFIG_CONTEXT_DYNAMIC_GROUPS_ENABLED`
|
|
274
|
-
|
|
275
|
-
If `True`, it will be possible to apply Config Context objects to Devices and Virtual Machines via Dynamic Group membership. When set to `False` this behavior will not be available.
|
|
276
|
-
|
|
277
|
-
!!! warning
|
|
278
|
-
With a large number of dynamic groups, enabling this could invoke a performance penalty when processing Config Contexts.
|
|
279
|
-
|
|
280
|
-
---
|
|
281
|
-
|
|
282
|
-
## CONTENT_TYPE_CACHE_TIMEOUT
|
|
283
|
-
|
|
284
|
-
+++ 1.6.0
|
|
285
|
-
|
|
286
|
-
Default: `0` (disabled)
|
|
287
|
-
|
|
288
|
-
Environment Variable: `NAUTOBOT_CONTENT_TYPE_CACHE_TIMEOUT`
|
|
289
|
-
|
|
290
|
-
The number of seconds to cache the content type accessible via a object's class property `Object._content_type_cached`. This can save frequent calls to `ContentType.objects.get_for_model(model)`. Set this to `0` to disable caching.
|
|
291
|
-
|
|
292
|
-
---
|
|
293
|
-
|
|
294
|
-
## CORS_ALLOW_ALL_ORIGINS
|
|
295
|
-
|
|
296
|
-
Default: `False`
|
|
297
|
-
|
|
298
|
-
Environment Variable: `NAUTOBOT_CORS_ALLOW_ALL_ORIGINS`
|
|
299
|
-
|
|
300
|
-
If `True`, all origins will be allowed. Other settings restricting allowed origins will be ignored.
|
|
301
|
-
|
|
302
|
-
Setting this to `True` can be dangerous, as it allows any website to make cross-origin requests to yours. Generally you'll want to restrict the list of allowed origins with [`CORS_ALLOWED_ORIGINS`](#cors_allowed_origins) or [`CORS_ALLOWED_ORIGIN_REGEXES`](#cors_allowed_origin_regexes).
|
|
303
|
-
|
|
304
|
-
Previously this setting was called `CORS_ORIGIN_ALLOW_ALL`, which still works as an alias, with the new name taking precedence.
|
|
305
|
-
|
|
306
|
-
---
|
|
307
|
-
|
|
308
|
-
## CORS_ALLOWED_ORIGINS
|
|
309
|
-
|
|
310
|
-
Default: `[]` (Empty list)
|
|
311
|
-
|
|
312
|
-
A list of origins that are authorized to make cross-site HTTP requests.
|
|
313
|
-
|
|
314
|
-
An Origin is defined by [the CORS RFC Section 3.2](https://tools.ietf.org/html/rfc6454#section-3.2) as a URI `scheme + hostname + port`, or one of the special values `'null'` or `'file://'`. Default ports (HTTPS = 443, HTTP = 80) are optional here.
|
|
315
|
-
|
|
316
|
-
The special value `null` is sent by the browser in ["privacy-sensitive contexts"](https://tools.ietf.org/html/rfc6454#section-6), such as when the client is running from a `file://` domain. The special value `file://` is sent accidentally by some versions of Chrome on Android as per this bug.
|
|
317
|
-
|
|
318
|
-
Example:
|
|
319
|
-
|
|
320
|
-
```python
|
|
321
|
-
CORS_ALLOWED_ORIGINS = [
|
|
322
|
-
"https://example.com",
|
|
323
|
-
"https://sub.example.com",
|
|
324
|
-
"http://localhost:8080",
|
|
325
|
-
"http://127.0.0.1:9000"
|
|
326
|
-
]
|
|
327
|
-
```
|
|
328
|
-
|
|
329
|
-
Previously this setting was called `CORS_ORIGIN_WHITELIST`, which still works as an alias, with the new name taking precedence.
|
|
330
|
-
|
|
331
|
-
---
|
|
332
|
-
|
|
333
|
-
## CORS_ALLOWED_ORIGIN_REGEXES
|
|
334
|
-
|
|
335
|
-
Default: `[]`
|
|
336
|
-
|
|
337
|
-
A list of strings representing regexes that match Origins that are authorized to make cross-site HTTP requests. Useful when [`CORS_ALLOWED_ORIGINS`](#cors_allowed_origins) is impractical, such as when you have a large number of subdomains.
|
|
338
|
-
|
|
339
|
-
Example:
|
|
340
|
-
|
|
341
|
-
```python
|
|
342
|
-
CORS_ALLOWED_ORIGIN_REGEXES = [
|
|
343
|
-
r"^https://\w+\.example\.com$",
|
|
344
|
-
]
|
|
345
|
-
```
|
|
346
|
-
|
|
347
|
-
Previously this setting was called `CORS_ORIGIN_REGEX_WHITELIST`, which still works as an alias, with the new name taking precedence.
|
|
348
|
-
|
|
349
|
-
---
|
|
350
|
-
|
|
351
|
-
## DEPLOYMENT_ID
|
|
352
|
-
|
|
353
|
-
+++ 1.6.0
|
|
354
|
-
|
|
355
|
-
Default: a random UUID generated at install time.
|
|
356
|
-
|
|
357
|
-
This setting is used to uniquely but anonymously identify Nautobot deployments when sending installation metrics. This setting is not generally intended to be user-serviceable. See the documentation for the [`send_installation_metrics`](../tools/nautobot-server.md#send_installation_metrics) management command for more details.
|
|
358
|
-
|
|
359
|
-
## DEVICE_NAME_AS_NATURAL_KEY
|
|
360
|
-
|
|
361
|
-
+++ 2.0.0
|
|
362
|
-
|
|
363
|
-
Default: `False`
|
|
364
|
-
|
|
365
|
-
`Device` names are not guaranteed globally-unique by Nautobot but in practice they often are. Set this to `True` to use the device `name` alone as the natural key for `Device` objects. Set this to `False` to use the sequence `(name, tenant, location)` as the natural key instead.
|
|
366
|
-
|
|
367
|
-
## DISABLE_PREFIX_LIST_HIERARCHY
|
|
368
|
-
|
|
369
|
-
Default: `False`
|
|
370
|
-
|
|
371
|
-
This setting disables rendering of the IP prefix hierarchy (parent/child relationships) in the IPAM prefix list view. With large sets of prefixes, users may encounter a performance penalty when trying to load the prefix list view due to the nature of calculating the parent/child relationships. This setting allows users to disable the hierarchy and instead only render a flat list of all prefixes in the table.
|
|
372
|
-
|
|
373
|
-
A later release of Nautobot will address the underlying performance issues, and likely remove this configuration option.
|
|
374
|
-
|
|
375
|
-
---
|
|
376
|
-
|
|
377
|
-
## DYNAMIC_GROUPS_MEMBER_CACHE_TIMEOUT
|
|
378
|
-
|
|
379
|
-
+++ 1.6.0
|
|
380
|
-
|
|
381
|
-
Default: `0` (disabled)
|
|
382
|
-
|
|
383
|
-
The number of seconds to cache the member list of dynamic groups. With large datasets (those in scope of a Dynamic Group and number of Dynamic Groups themselves), users will encounter a performance penalty using or accessing the membership lists. This setting allows users to accept a cached list for common use cases (particularly in the UI) that expires after the configured time. Set this to `0` to disable caching.
|
|
384
|
-
|
|
385
|
-
---
|
|
386
|
-
|
|
387
|
-
## ENFORCE_GLOBAL_UNIQUE
|
|
388
|
-
|
|
389
|
-
Default: `False`
|
|
390
|
-
|
|
391
|
-
Environment Variable: `NAUTOBOT_ENFORCE_GLOBAL_UNIQUE`
|
|
392
|
-
|
|
393
|
-
By default, Nautobot will permit users to create duplicate prefixes and IP addresses in the global table (that is, those which are not assigned to any VRF). This behavior can be disabled by setting `ENFORCE_GLOBAL_UNIQUE` to `True`.
|
|
394
|
-
|
|
395
|
-
---
|
|
396
|
-
|
|
397
|
-
## EXEMPT_VIEW_PERMISSIONS
|
|
398
|
-
|
|
399
|
-
Default: `[]` (Empty list)
|
|
400
|
-
|
|
401
|
-
A list of Nautobot models to exempt from the enforcement of view permissions. Models listed here will be viewable by all users, both authenticated and anonymous.
|
|
402
|
-
|
|
403
|
-
List models in the form `<app>.<model>`. For example:
|
|
404
|
-
|
|
405
|
-
```python
|
|
406
|
-
EXEMPT_VIEW_PERMISSIONS = [
|
|
407
|
-
'dcim.location',
|
|
408
|
-
'dcim.location_type',
|
|
409
|
-
'ipam.prefix',
|
|
410
|
-
]
|
|
411
|
-
```
|
|
412
|
-
|
|
413
|
-
To exempt _all_ models from view permission enforcement, set the following. (Note that `EXEMPT_VIEW_PERMISSIONS` must be an iterable.)
|
|
414
|
-
|
|
415
|
-
```python
|
|
416
|
-
EXEMPT_VIEW_PERMISSIONS = ['*']
|
|
417
|
-
```
|
|
418
|
-
|
|
419
|
-
!!! note
|
|
420
|
-
Using a wildcard will not affect certain potentially sensitive models, such as user permissions. If there is a need to exempt these models, they must be specified individually.
|
|
421
|
-
|
|
422
|
-
---
|
|
423
|
-
|
|
424
|
-
## EXTERNAL_AUTH_DEFAULT_GROUPS
|
|
425
|
-
|
|
426
|
-
Default: `[]` (Empty list)
|
|
427
|
-
|
|
428
|
-
The list of group names to assign a new user account when created using 3rd-party authentication.
|
|
429
|
-
|
|
430
|
-
---
|
|
431
|
-
|
|
432
|
-
## EXTERNAL_AUTH_DEFAULT_PERMISSIONS
|
|
433
|
-
|
|
434
|
-
Default: `{}` (Empty dictionary)
|
|
435
|
-
|
|
436
|
-
A mapping of permissions to assign a new user account when created using SSO authentication. Each key in the dictionary will be the permission name specified as `<app_label>.<action>_<model>`, and the value should be set to the permission [constraints](../guides/permissions.md#constraints), or `None` to allow all objects.
|
|
437
|
-
|
|
438
|
-
### Example Permissions
|
|
439
|
-
|
|
440
|
-
| Permission | Description |
|
|
441
|
-
|---|---|
|
|
442
|
-
| `{'dcim.view_device': {}}` or `{'dcim.view_device': None}` | Users can view all devices |
|
|
443
|
-
| `{'dcim.add_device': {}}` | Users can add devices, see note below |
|
|
444
|
-
| `{'dcim.view_device': {"location__name__in": ["HQ"], "location__location_type__name__in": ["Building"]}}` | Users can view all devices in the HQ Building |
|
|
445
|
-
|
|
446
|
-
!!! warning
|
|
447
|
-
Permissions can be complicated! Be careful when restricting permissions to also add any required prerequisite permissions.
|
|
448
|
-
|
|
449
|
-
For example, when adding Devices the Device Role, Device Type, Location, and Status fields are all required fields in order for the UI to function properly. Users will also need view permissions for those fields or the corresponding field selections in the UI will be unavailable and potentially prevent objects from being able to be created or edited.
|
|
450
|
-
|
|
451
|
-
The following example gives a user a reasonable amount of access to add devices to a single location (Building HQ in this case):
|
|
452
|
-
|
|
453
|
-
```python
|
|
454
|
-
{
|
|
455
|
-
'dcim.add_device': {"location__name__in": ["HQ"], "location__location_type__name__in": ["Building"]},
|
|
456
|
-
'dcim.view_device': {"location__name__in": ["HQ"], "location__location_type__name__in": ["Building"]},
|
|
457
|
-
'dcim.view_devicerole': None,
|
|
458
|
-
'dcim.view_devicetype': None,
|
|
459
|
-
'extras.view_status': None,
|
|
460
|
-
'dcim.view_location': {"name__in": ["HQ"], "location_type__name__in": ["Building"]},
|
|
461
|
-
'dcim.view_manufacturer': None,
|
|
462
|
-
'dcim.view_region': None,
|
|
463
|
-
'dcim.view_rack': None,
|
|
464
|
-
'dcim.view_rackgroup': None,
|
|
465
|
-
'dcim.view_platform': None,
|
|
466
|
-
'virtualization.view_cluster': None,
|
|
467
|
-
'virtualization.view_clustergroup': None,
|
|
468
|
-
'tenancy.view_tenant': None,
|
|
469
|
-
'tenancy.view_tenantgroup': None,
|
|
470
|
-
}
|
|
471
|
-
```
|
|
472
|
-
|
|
473
|
-
Please see [the object permissions page](../guides/permissions.md) for more information.
|
|
474
|
-
|
|
475
|
-
---
|
|
476
|
-
|
|
477
|
-
### FEEDBACK_BUTTON_ENABLED
|
|
478
|
-
|
|
479
|
-
+++ 2.0.0
|
|
480
|
-
|
|
481
|
-
Default: `True`
|
|
482
|
-
|
|
483
|
-
If set to `True`, a "Submit Feedback" button is added to the New UI sidebar secondary menu, which is used to collect user feedback.
|
|
484
|
-
|
|
485
|
-
---
|
|
486
|
-
|
|
487
|
-
## GIT_ROOT
|
|
488
|
-
|
|
489
|
-
Default: `os.path.join(NAUTOBOT_ROOT, "git")`
|
|
490
|
-
|
|
491
|
-
Environment Variable: `NAUTOBOT_GIT_ROOT`
|
|
492
|
-
|
|
493
|
-
The file path to a directory where cloned [Git repositories](../../platform-functionality/gitrepository.md) will be located.
|
|
494
|
-
|
|
495
|
-
The value of this variable can also be customized by setting the environment variable `NAUTOBOT_GIT_ROOT` to a directory path of your choosing.
|
|
496
|
-
|
|
497
|
-
---
|
|
498
|
-
|
|
499
|
-
## GRAPHQL_COMPUTED_FIELD_PREFIX
|
|
500
|
-
|
|
501
|
-
Default: `"cpf"`
|
|
502
|
-
|
|
503
|
-
By default, all computed fields in GraphQL will be prefixed with `cf`. A computed field named `my_field` will appear in GraphQL as `cpf_my_field` by default. It's possible to change or remove the prefix by setting the value of `GRAPHQL_COMPUTED_FIELD_PREFIX`.
|
|
504
|
-
|
|
505
|
-
---
|
|
506
|
-
|
|
507
|
-
## GRAPHQL_CUSTOM_FIELD_PREFIX
|
|
508
|
-
|
|
509
|
-
Default: `"cf"`
|
|
510
|
-
|
|
511
|
-
By default, all custom fields in GraphQL will be prefixed with `cf`. A custom field named `my_field` will appear in GraphQL as `cf_my_field` by default. It's possible to change or remove the prefix by setting the value of `GRAPHQL_CUSTOM_FIELD_PREFIX`.
|
|
512
|
-
|
|
513
|
-
---
|
|
514
|
-
|
|
515
|
-
## GRAPHQL_RELATIONSHIP_PREFIX
|
|
516
|
-
|
|
517
|
-
Default: `"rel"`
|
|
518
|
-
|
|
519
|
-
By default, all relationship associations in GraphQL will be prefixed with `rel`. A relationship named `my_relationship` will appear in GraphQL as `rel_my_relationship` by default. It's possible to change or remove the prefix by setting the value of `GRAPHQL_RELATIONSHIP_PREFIX`.
|
|
520
|
-
|
|
521
|
-
---
|
|
522
|
-
|
|
523
|
-
## HIDE_RESTRICTED_UI
|
|
524
|
-
|
|
525
|
-
Default: `False`
|
|
526
|
-
|
|
527
|
-
When set to `True`, users with limited permissions will only be able to see items in the UI they have access to.
|
|
528
|
-
|
|
529
|
-
+++ 1.2.0
|
|
530
|
-
If you do not set a value for this setting in your `nautobot_config.py`, it can be configured dynamically by an admin user via the Nautobot Admin UI. If you do have a value for this setting in `nautobot_config.py`, it will override any dynamically configured value.
|
|
531
|
-
|
|
532
|
-
+++ 1.3.10
|
|
533
|
-
When this setting is set to `True`, logged out users will be redirected to the login page when navigating to the Nautobot home page.
|
|
534
|
-
|
|
535
|
-
---
|
|
536
|
-
|
|
537
|
-
## HTTP_PROXIES
|
|
538
|
-
|
|
539
|
-
Default: `None` (Disabled)
|
|
540
|
-
|
|
541
|
-
A dictionary of HTTP proxies to use for outbound requests originating from Nautobot (e.g. when sending webhook requests). Proxies should be specified by schema (HTTP and HTTPS) as per the [Python requests library documentation](https://2.python-requests.org/en/master/user/advanced/). For example:
|
|
542
|
-
|
|
543
|
-
```python
|
|
544
|
-
HTTP_PROXIES = {
|
|
545
|
-
'http': 'http://10.10.1.10:3128',
|
|
546
|
-
'https': 'http://10.10.1.10:1080',
|
|
547
|
-
}
|
|
548
|
-
```
|
|
549
|
-
|
|
550
|
-
!!! note
|
|
551
|
-
When using Git repositories within Nautobot the Python library `GitPython` needs extra proxy configuration:
|
|
552
|
-
|
|
553
|
-
```bash
|
|
554
|
-
git config --global http.proxy http://192.0.2.1:3128
|
|
555
|
-
git config --global https.proxy http://192.0.2.1:3128
|
|
556
|
-
```
|
|
557
|
-
|
|
558
|
-
---
|
|
559
|
-
|
|
560
|
-
## INSTALLATION_METRICS_ENABLED
|
|
561
|
-
|
|
562
|
-
+++ 1.6.0
|
|
563
|
-
|
|
564
|
-
Default: `True` for existing Nautobot deployments, user-specified when running `nautobot-server init` for a new deployment.
|
|
565
|
-
|
|
566
|
-
Environment Variable: `NAUTOBOT_INSTALLATION_METRICS_ENABLED`
|
|
567
|
-
|
|
568
|
-
When set to `True`, Nautobot will send anonymized installation metrics to the Nautobot maintainers when running the [`post_upgrade`](../tools/nautobot-server.md#post_upgrade) or [`send_installation_metrics`](../tools/nautobot-server.md#send_installation_metrics) management commands. See the documentation for the [`send_installation_metrics`](../tools/nautobot-server.md#send_installation_metrics) management command for more details.
|
|
569
|
-
|
|
570
|
-
## JOBS_ROOT
|
|
571
|
-
|
|
572
|
-
Default: `os.path.join(NAUTOBOT_ROOT, "jobs")`
|
|
573
|
-
|
|
574
|
-
Environment Variable: `NAUTOBOT_JOBS_ROOT`
|
|
575
|
-
|
|
576
|
-
The file path to a directory where [Jobs](../../platform-functionality/jobs/index.md) can be discovered.
|
|
577
|
-
|
|
578
|
-
!!! caution
|
|
579
|
-
This directory **must** contain an `__init__.py` file.
|
|
580
|
-
|
|
581
|
-
---
|
|
582
|
-
|
|
583
|
-
## LOCATION_NAME_AS_NATURAL_KEY
|
|
584
|
-
|
|
585
|
-
+++ 2.0.0
|
|
586
|
-
|
|
587
|
-
Default: `False`
|
|
588
|
-
|
|
589
|
-
`Location` names are not guaranteed globally-unique by Nautobot but in practice they often are. Set this to `True` to use the location `name` alone as the natural key for `Location` objects. Set this to `False` to use the sequence `(name, parent__name, parent__parent__name, ...)` as the natural key instead.
|
|
590
|
-
|
|
591
|
-
---
|
|
592
|
-
|
|
593
|
-
## LOG_DEPRECATION_WARNINGS
|
|
594
|
-
|
|
595
|
-
--- 1.5.3
|
|
596
|
-
This setting was moved to [environment variable only](#nautobot_log_deprecation_warnings) as it conflicts with app startup due to import-time order.
|
|
597
|
-
|
|
598
|
-
---
|
|
599
|
-
|
|
600
|
-
## MAINTENANCE_MODE
|
|
601
|
-
|
|
602
|
-
Default: `False`
|
|
603
|
-
|
|
604
|
-
Environment Variable: `NAUTOBOT_MAINTENANCE_MODE`
|
|
605
|
-
|
|
606
|
-
Setting this to `True` will display a "maintenance mode" banner at the top of every page. Additionally, Nautobot will no longer update a user's "last active" time upon login. This is to allow new logins when the database is in a read-only state. Recording of login times will resume when maintenance mode is disabled.
|
|
607
|
-
|
|
608
|
-
!!! note
|
|
609
|
-
The default [`SESSION_ENGINE`](#session_engine) configuration will store sessions in the database, this obviously will not work when `MAINTENANCE_MODE` is `True` and the database is in a read-only state for maintenance. Consider setting `SESSION_ENGINE` to `django.contrib.sessions.backends.cache` when enabling `MAINTENANCE_MODE`.
|
|
610
|
-
|
|
611
|
-
!!! note
|
|
612
|
-
The Docker container normally attempts to run migrations on startup; however, if the database is in a read-only state the Docker container will fail to start. Setting the environment variable [`NAUTOBOT_DOCKER_SKIP_INIT`](../installation/docker.md#nautobot_docker_skip_init) to `true` will prevent the migrations from occurring.
|
|
613
|
-
|
|
614
|
-
!!! note
|
|
615
|
-
If you are using `django-auth-ldap` for LDAP authentication, `django-auth-ldap` by default will try to update a user object on every log in. If the database is in a read-only state `django-auth-ldap` will fail. You will also need to set `AUTH_LDAP_ALWAYS_UPDATE_USER=False` and `AUTH_LDAP_NO_NEW_USERS=True` to avoid this, please see the [`django-auth-ldap` documentation](https://django-auth-ldap.readthedocs.io/en/stable/reference.html) for more information.
|
|
616
|
-
|
|
617
|
-
---
|
|
618
|
-
|
|
619
|
-
## MAX_PAGE_SIZE
|
|
620
|
-
|
|
621
|
-
Default: `1000`
|
|
622
|
-
|
|
623
|
-
A web user or API consumer can request an arbitrary number of objects by appending the "limit" parameter to the URL (e.g. `?limit=1000`). This parameter defines the maximum acceptable limit. Setting this to `0` or `None` will allow a client to retrieve _all_ matching objects at once with no limit by specifying `?limit=0`.
|
|
624
|
-
|
|
625
|
-
+++ 1.2.0
|
|
626
|
-
If you do not set a value for this setting in your `nautobot_config.py`, it can be configured dynamically by an admin user via the Nautobot Admin UI. If you do have a value for this setting in `nautobot_config.py`, it will override any dynamically configured value.
|
|
627
|
-
|
|
628
|
-
---
|
|
629
|
-
|
|
630
|
-
## METRICS_ENABLED
|
|
631
|
-
|
|
632
|
-
Default: `False`
|
|
633
|
-
|
|
634
|
-
Environment Variable: `NAUTOBOT_METRICS_ENABLED`
|
|
635
|
-
|
|
636
|
-
Toggle the availability Prometheus-compatible metrics at `/metrics`. See the [Prometheus Metrics](../guides/prometheus-metrics.md) documentation for more details.
|
|
637
|
-
|
|
638
|
-
---
|
|
639
|
-
|
|
640
|
-
## NAPALM_USERNAME
|
|
641
|
-
|
|
642
|
-
## NAPALM_PASSWORD
|
|
643
|
-
|
|
644
|
-
Default: `""` (Empty string)
|
|
645
|
-
|
|
646
|
-
Environment Variables: `NAUTOBOT_NAPALM_USERNAME` and `NAUTOBOT_NAPALM_PASSWORD`
|
|
647
|
-
|
|
648
|
-
Nautobot will use these credentials when authenticating to remote devices via the [NAPALM library](https://napalm.readthedocs.io), if installed. Both parameters are optional.
|
|
649
|
-
|
|
650
|
-
!!! note
|
|
651
|
-
If SSH public key authentication has been set up on the remote device(s) for the system account under which Nautobot runs, these parameters are not needed.
|
|
652
|
-
|
|
653
|
-
!!! note
|
|
654
|
-
If a given device has an appropriately populated [secrets group](../../platform-functionality/secret.md#secretsgroup) assigned to it, the [secrets]((../../platform-functionality/secrets.md) defined in that group will take precedence over these default values.
|
|
655
|
-
|
|
656
|
-
---
|
|
657
|
-
|
|
658
|
-
## NAPALM_ARGS
|
|
659
|
-
|
|
660
|
-
Default: `{}` (Empty dictionary)
|
|
661
|
-
|
|
662
|
-
A dictionary of optional arguments to pass to NAPALM when instantiating a network driver. See the NAPALM documentation for a [complete list of optional arguments](https://napalm.readthedocs.io/en/latest/support/#optional-arguments). An example:
|
|
663
|
-
|
|
664
|
-
```python
|
|
665
|
-
NAPALM_ARGS = {
|
|
666
|
-
'api_key': '472071a93b60a1bd1fafb401d9f8ef41',
|
|
667
|
-
'port': 2222,
|
|
668
|
-
}
|
|
669
|
-
```
|
|
670
|
-
|
|
671
|
-
Some platforms (e.g. Cisco IOS) require an enable password to be passed in addition to the normal password. If desired, you can use the configured `NAPALM_PASSWORD` as the value for this argument:
|
|
672
|
-
|
|
673
|
-
```python
|
|
674
|
-
NAPALM_USERNAME = 'username'
|
|
675
|
-
NAPALM_PASSWORD = 'MySecretPassword'
|
|
676
|
-
NAPALM_ARGS = {
|
|
677
|
-
'secret': NAPALM_PASSWORD, # ios and nxos_ssh
|
|
678
|
-
'enable_password': NAPALM_PASSWORD, # eos
|
|
679
|
-
# Include any additional args here
|
|
680
|
-
}
|
|
681
|
-
```
|
|
682
|
-
|
|
683
|
-
!!! note
|
|
684
|
-
If a given device has an appropriately populated [secrets group](../../platform-functionality/secret.md#secrets-groups) assigned to it, a [secret](../../platform-functionality/secret.md) defined in that group can override the `NAPALM_ARGS["secret"]` or `NAPALM_ARGS["enable_password"]` default value defined here.
|
|
685
|
-
|
|
686
|
-
---
|
|
687
|
-
|
|
688
|
-
## NAPALM_TIMEOUT
|
|
689
|
-
|
|
690
|
-
Default: `30`
|
|
691
|
-
|
|
692
|
-
Environment Variable: `NAUTOBOT_NAPALM_TIMEOUT`
|
|
693
|
-
|
|
694
|
-
The amount of time (in seconds) to wait for NAPALM to connect to a device.
|
|
695
|
-
|
|
696
|
-
---
|
|
697
|
-
|
|
698
|
-
## NETWORK_DRIVERS
|
|
699
|
-
|
|
700
|
-
+++ 1.6.0
|
|
701
|
-
|
|
702
|
-
Default: `{}` (Empty dictionary)
|
|
703
|
-
|
|
704
|
-
An optional dictionary to extend or override the default `Platform.network_driver` translations provided by [netutils](https://netutils.readthedocs.io/en/latest/user/lib_use_cases_lib_mapper/). For example, to add support for a custom `Platform.network_driver` value of `"my_network_driver"` for Netmiko and PyATS drivers:
|
|
705
|
-
|
|
706
|
-
```python
|
|
707
|
-
NETWORK_DRIVERS = {
|
|
708
|
-
"netmiko": {"my_network_driver": "cisco_ios"},
|
|
709
|
-
"pyats": {"my_network_driver": "iosxe"},
|
|
710
|
-
}
|
|
711
|
-
```
|
|
712
|
-
|
|
713
|
-
The default top-level keys are `ansible`, `hier_config`, `napalm`, `netmiko`, `netutils_parser`, `ntc_templates`, `pyats`, `pyntc`, and `scrapli`, but you can also add additional keys if you have an alternative network driver that you want your Nautobot instance to include.
|
|
714
|
-
|
|
715
|
-
!!! tip
|
|
716
|
-
If you do not set a value for this setting in your `nautobot_config.py`, it can be configured dynamically by an admin user via the Nautobot Admin UI. If you do have a value for this setting in `nautobot_config.py`, it will override any dynamically configured value.
|
|
717
|
-
|
|
718
|
-
---
|
|
719
|
-
|
|
720
|
-
## PAGINATE_COUNT
|
|
721
|
-
|
|
722
|
-
Default: `50`
|
|
723
|
-
|
|
724
|
-
The default maximum number of objects to display per page within each list of objects. Applies to both the UI and the REST API.
|
|
725
|
-
|
|
726
|
-
+++ 1.2.0
|
|
727
|
-
If you do not set a value for this setting in your `nautobot_config.py`, it can be configured dynamically by an admin user via the Nautobot Admin UI. If you do have a value for this setting in `nautobot_config.py`, it will override any dynamically configured value.
|
|
728
|
-
|
|
729
|
-
---
|
|
730
|
-
|
|
731
|
-
## PER_PAGE_DEFAULTS
|
|
732
|
-
|
|
733
|
-
Default: `[25, 50, 100, 250, 500, 1000]`
|
|
734
|
-
|
|
735
|
-
The options displayed in the web interface dropdown to limit the number of objects per page. For proper user experience, this list should include the [`PAGINATE_COUNT`](#paginate_count) and [`MAX_PAGE_SIZE`](#max_page_size) values as options.
|
|
736
|
-
|
|
737
|
-
---
|
|
738
|
-
|
|
739
|
-
## PLUGINS
|
|
740
|
-
|
|
741
|
-
Default: `[]` (Empty list)
|
|
742
|
-
|
|
743
|
-
A list of installed [Nautobot plugins](../../../apps/index.md) to enable. Plugins will not take effect unless they are listed here.
|
|
744
|
-
|
|
745
|
-
!!! warning
|
|
746
|
-
Plugins extend Nautobot by allowing external code to run with the same access and privileges as Nautobot itself. Only install plugins from trusted sources. The Nautobot maintainers make absolutely no guarantees about the integrity or security of your installation with plugins enabled.
|
|
747
|
-
|
|
748
|
-
---
|
|
749
|
-
|
|
750
|
-
## PLUGINS_CONFIG
|
|
751
|
-
|
|
752
|
-
Default: `{}` (Empty dictionary)
|
|
753
|
-
|
|
754
|
-
This parameter holds configuration settings for individual Nautobot plugins. It is defined as a dictionary, with each key using the name of an installed plugin. The specific parameters supported are unique to each plugin: Reference the plugin's documentation to determine the supported parameters. An example configuration is shown below:
|
|
755
|
-
|
|
756
|
-
```python
|
|
757
|
-
PLUGINS_CONFIG = {
|
|
758
|
-
'plugin1': {
|
|
759
|
-
'foo': 123,
|
|
760
|
-
'bar': True
|
|
761
|
-
},
|
|
762
|
-
'plugin2': {
|
|
763
|
-
'foo': 456,
|
|
764
|
-
},
|
|
765
|
-
}
|
|
766
|
-
```
|
|
767
|
-
|
|
768
|
-
Note that a plugin must be listed in `PLUGINS` for its configuration to take effect.
|
|
769
|
-
|
|
770
|
-
---
|
|
771
|
-
|
|
772
|
-
## PREFER_IPV4
|
|
773
|
-
|
|
774
|
-
Default: `False`
|
|
775
|
-
|
|
776
|
-
When determining the primary IP address for a device, IPv6 is preferred over IPv4 by default. Set this to True to prefer IPv4 instead.
|
|
777
|
-
|
|
778
|
-
+++ 1.2.0
|
|
779
|
-
If you do not set a value for this setting in your `nautobot_config.py`, it can be configured dynamically by an admin user via the Nautobot Admin UI. If you do have a value for this setting in `nautobot_config.py`, it will override any dynamically configured value.
|
|
780
|
-
|
|
781
|
-
---
|
|
782
|
-
|
|
783
|
-
## RACK_ELEVATION_DEFAULT_UNIT_HEIGHT
|
|
784
|
-
|
|
785
|
-
Default: `22`
|
|
786
|
-
|
|
787
|
-
Default height (in pixels) of a unit within a rack elevation. For best results, this should be approximately one tenth of `RACK_ELEVATION_DEFAULT_UNIT_WIDTH`.
|
|
788
|
-
|
|
789
|
-
+++ 1.2.0
|
|
790
|
-
If you do not set a value for this setting in your `nautobot_config.py`, it can be configured dynamically by an admin user via the Nautobot Admin UI. If you do have a value for this setting in `nautobot_config.py`, it will override any dynamically configured value.
|
|
791
|
-
|
|
792
|
-
---
|
|
793
|
-
|
|
794
|
-
## RACK_ELEVATION_DEFAULT_UNIT_WIDTH
|
|
795
|
-
|
|
796
|
-
Default: `220`
|
|
797
|
-
|
|
798
|
-
Default width (in pixels) of a unit within a rack elevation.
|
|
799
|
-
|
|
800
|
-
+++ 1.2.0
|
|
801
|
-
If you do not set a value for this setting in your `nautobot_config.py`, it can be configured dynamically by an admin user via the Nautobot Admin UI. If you do have a value for this setting in `nautobot_config.py`, it will override any dynamically configured value.
|
|
802
|
-
|
|
803
|
-
---
|
|
804
|
-
|
|
805
|
-
## REDIS_LOCK_TIMEOUT
|
|
806
|
-
|
|
807
|
-
Default: `600`
|
|
808
|
-
|
|
809
|
-
Environment Variable: `NAUTOBOT_REDIS_LOCK_TIMEOUT`
|
|
810
|
-
|
|
811
|
-
Maximum duration of a Redis lock created when calling `/api/ipam/prefixes/{id}/available-prefixes/` or `/api/ipam/prefixes/{id}/available-ips/` to avoid inadvertently allocating the same prefix or IP to multiple simultaneous callers. Default is set to 600 seconds (10 minutes) to be longer than any theoretical API call time. This is to prevent a deadlock scenario where the server did not gracefully exit the `with` block when acquiring the Redis lock.
|
|
812
|
-
|
|
813
|
-
---
|
|
814
|
-
|
|
815
|
-
## RELEASE_CHECK_TIMEOUT
|
|
816
|
-
|
|
817
|
-
Default: `86400` (24 hours)
|
|
818
|
-
|
|
819
|
-
The number of seconds to retain the latest version that is fetched from the GitHub API before automatically invalidating it and fetching it from the API again.
|
|
820
|
-
|
|
821
|
-
!!! warning
|
|
822
|
-
This must be set to at least one hour (`3600` seconds). Setting it to a value lower than this is an error.
|
|
823
|
-
|
|
824
|
-
+++ 1.2.0
|
|
825
|
-
If you do not set a value for this setting in your `nautobot_config.py`, it can be configured dynamically by an admin user via the Nautobot Admin UI. If you do have a value for this setting in `nautobot_config.py`, it will override any dynamically configured value.
|
|
826
|
-
|
|
827
|
-
---
|
|
828
|
-
|
|
829
|
-
## RELEASE_CHECK_URL
|
|
830
|
-
|
|
831
|
-
Default: `None` (disabled)
|
|
832
|
-
|
|
833
|
-
This parameter defines the URL of the repository that will be checked periodically for new Nautobot releases. When a new release is detected, a message will be displayed to administrative users on the home page. This can be set to the official repository (`'https://api.github.com/repos/nautobot/nautobot/releases'`) or a custom fork. Set this to `None` to disable automatic update checks.
|
|
834
|
-
|
|
835
|
-
!!! note
|
|
836
|
-
The URL provided **must** be compatible with the [GitHub REST API](https://docs.github.com/en/rest).
|
|
837
|
-
|
|
838
|
-
+++ 1.2.0
|
|
839
|
-
If you do not set a value for this setting in your `nautobot_config.py`, it can be configured dynamically by an admin user via the Nautobot Admin UI. If you do have a value for this setting in `nautobot_config.py`, it will override any dynamically configured value.
|
|
840
|
-
|
|
841
|
-
---
|
|
842
|
-
|
|
843
|
-
## SANITIZER_PATTERNS
|
|
844
|
-
|
|
845
|
-
+++ 1.3.4
|
|
846
|
-
|
|
847
|
-
Default:
|
|
848
|
-
|
|
849
|
-
```python
|
|
850
|
-
[
|
|
851
|
-
(re.compile(r"(https?://)?\S+\s*@", re.IGNORECASE), r"\1{replacement}@"),
|
|
852
|
-
(re.compile(r"(username|password|passwd|pwd)((?:\s+is.?|:)?\s+)\S+", re.IGNORECASE), r"\1\2{replacement}"),
|
|
853
|
-
]
|
|
854
|
-
```
|
|
855
|
-
|
|
856
|
-
List of (regular expression, replacement pattern) tuples used by the `nautobot.core.utils.logging.sanitize()` function. As of Nautobot 1.3.4 this function is used primarily for sanitization of Job log entries, but it may be used in other scopes in the future.
|
|
857
|
-
|
|
858
|
-
---
|
|
859
|
-
|
|
860
|
-
## STORAGE_BACKEND
|
|
861
|
-
|
|
862
|
-
Default: `None` (local storage)
|
|
863
|
-
|
|
864
|
-
The backend storage engine for handling uploaded files (e.g. image attachments). Nautobot supports integration with the [`django-storages`](https://django-storages.readthedocs.io/en/stable/) package, which provides backends for several popular file storage services. If not configured, local filesystem storage will be used.
|
|
865
|
-
|
|
866
|
-
An example of using django-storages with AWS S3 buckets, visit the [django-storages with S3](../guides/s3-django-storage.md) user-guide.
|
|
867
|
-
|
|
868
|
-
The configuration parameters for the specified storage backend are defined under the [`STORAGE_CONFIG`](#storage_config) setting.
|
|
869
|
-
|
|
870
|
-
---
|
|
871
|
-
|
|
872
|
-
## STORAGE_CONFIG
|
|
873
|
-
|
|
874
|
-
Default: `{}` (Empty dictionary)
|
|
875
|
-
|
|
876
|
-
A dictionary of configuration parameters for the storage backend configured as [`STORAGE_BACKEND`](#storage_backend). The specific parameters to be used here are specific to each backend; see the [`django-storages` documentation](https://django-storages.readthedocs.io/en/stable/) for more detail.
|
|
877
|
-
|
|
878
|
-
If [`STORAGE_BACKEND`](#storage_backend) is not defined, this setting will be ignored.
|
|
879
|
-
|
|
880
|
-
---
|
|
881
|
-
|
|
882
|
-
## STRICT_FILTERING
|
|
883
|
-
|
|
884
|
-
+++ 1.4.0
|
|
885
|
-
|
|
886
|
-
Default: `True`
|
|
887
|
-
|
|
888
|
-
Environment Variable: `NAUTOBOT_STRICT_FILTERING`
|
|
889
|
-
|
|
890
|
-
If set to `True` (default), UI and REST API filtering of object lists will fail if an unknown/unrecognized filter parameter is provided as a URL parameter. (For example, `/dcim/devices/?ice_cream_flavor=chocolate` or `/api/dcim/locations/?ice_cream_flavor=chocolate`). UI list (table) views will report an error message in this case and display no filtered objects; REST API list endpoints will return a 400 Bad Request response with an explanatory error message.
|
|
891
|
-
|
|
892
|
-
If set to `False`, unknown/unrecognized filter parameters will be discarded and ignored, although Nautobot will log a warning message.
|
|
893
|
-
|
|
894
|
-
!!! warning
|
|
895
|
-
Setting this to `False` can result in unexpected filtering results in the case of user error, for example `/dcim/devices/?has_primry_ip=false` (note the typo `primry`) will result in a list of all devices, rather than the intended list of only devices that lack a primary IP address. In the case of Jobs or external automation making use of such a filter, this could have wide-ranging consequences.
|
|
896
|
-
|
|
897
|
-
---
|
|
898
|
-
|
|
899
|
-
## SUPPORT_MESSAGE
|
|
900
|
-
|
|
901
|
-
+++ 1.6.4
|
|
902
|
-
|
|
903
|
-
+++ 2.0.2
|
|
904
|
-
|
|
905
|
-
Default: `""`
|
|
906
|
-
|
|
907
|
-
A message to include on error pages (status code 403, 404, 500, etc.) when an error occurs. You can configure this to direct users to the appropriate contact(s) within your organization that provide support for Nautobot. Markdown formatting is supported within this message (raw HTML is not).
|
|
908
|
-
|
|
909
|
-
If unset, the default message that will appear is `If further assistance is required, please join the #nautobot channel on [Network to Code's Slack community](https://slack.networktocode.com) and post your question.`
|
|
910
|
-
|
|
911
|
-
!!! tip
|
|
912
|
-
If you do not set a value for this setting in your `nautobot_config.py`, it can be configured dynamically by an admin user via the Nautobot Admin UI. If you do have a value for this setting in `nautobot_config.py`, it will override any dynamically configured value.
|
|
913
|
-
|
|
914
|
-
---
|
|
915
|
-
|
|
916
|
-
## TEST_FACTORY_SEED
|
|
917
|
-
|
|
918
|
-
+++ 1.5.0
|
|
919
|
-
|
|
920
|
-
Default: `None`
|
|
921
|
-
|
|
922
|
-
Environment Variable: `NAUTOBOT_TEST_FACTORY_SEED`
|
|
923
|
-
|
|
924
|
-
When [`TEST_USE_FACTORIES`](#test_use_factories) is set to `True`, this configuration provides a fixed seed string for the pseudo-random generator used to populate test data into the database, providing for reproducible randomness across consecutive test runs. If unset, a random seed will be used each time.
|
|
925
|
-
|
|
926
|
-
---
|
|
927
|
-
|
|
928
|
-
## TEST_USE_FACTORIES
|
|
929
|
-
|
|
930
|
-
+++ 1.5.0
|
|
931
|
-
|
|
932
|
-
Default: `False`
|
|
933
|
-
|
|
934
|
-
Environment Variable: `NAUTOBOT_TEST_USE_FACTORIES`
|
|
935
|
-
|
|
936
|
-
If set to `True`, the Nautobot test runner will call `nautobot-server generate_test_data ...` before executing any test cases, pre-populating the test database with various pseudo-random instances of many of Nautobot's data models.
|
|
937
|
-
|
|
938
|
-
!!! warning
|
|
939
|
-
This functionality requires the installation of the [`factory-boy`](https://pypi.org/project/factory-boy/) Python package, which is present in Nautobot's own development environment, but is _not_ an inherent dependency of the Nautobot package when installed otherwise, such as into a plugin's development environment.
|
|
940
|
-
|
|
941
|
-
!!! info
|
|
942
|
-
Setting this to `True` is a requirement for all Nautobot core tests as of 1.5.0, and it is set accordingly in `nautobot/core/tests/nautobot_config.py`, but defaults to `False` otherwise so as to remain backwards-compatible with plugins that also may use the Nautobot test runner in their own test environments, but have not yet updated their tests to account for the presence of this test data.
|
|
943
|
-
|
|
944
|
-
Because this test data can obviate the need to manually construct complex test data, and the random factor can improve test robustness, plugin developers are encouraged to set this to `True` in their configuration, ensure that their development environments include the `factory-boy` Python package as a test dependency, and update their tests as needed.
|
|
945
|
-
|
|
946
|
-
---
|
|
947
|
-
|
|
948
|
-
## TEST_PERFORMANCE_BASELINE_FILE
|
|
949
|
-
|
|
950
|
-
+++ 1.5.0
|
|
951
|
-
|
|
952
|
-
Default: `nautobot/core/tests/performance_baselines.yml`
|
|
953
|
-
|
|
954
|
-
Environment Variable: `TEST_PERFORMANCE_BASELINE_FILE`
|
|
955
|
-
|
|
956
|
-
[`TEST_PERFORMANCE_BASELINE_FILE`](#test_performance_baseline_file) is set to a certain file path, this file path should point to a .yml file that conforms to the following format:
|
|
957
|
-
|
|
958
|
-
```yaml
|
|
959
|
-
tests:
|
|
960
|
-
- name: >-
|
|
961
|
-
test_run_job_with_sensitive_variables_and_requires_approval
|
|
962
|
-
(nautobot.extras.tests.test_views.JobTestCase)
|
|
963
|
-
execution_time: 4.799533
|
|
964
|
-
- name: test_run_missing_schedule (nautobot.extras.tests.test_views.JobTestCase)
|
|
965
|
-
execution_time: 4.367563
|
|
966
|
-
- name: test_run_now_missing_args (nautobot.extras.tests.test_views.JobTestCase)
|
|
967
|
-
execution_time: 4.363194
|
|
968
|
-
- name: >-
|
|
969
|
-
test_create_object_with_constrained_permission
|
|
970
|
-
(nautobot.extras.tests.test_views.GraphQLQueriesTestCase)
|
|
971
|
-
execution_time: 3.474244
|
|
972
|
-
- name: >-
|
|
973
|
-
test_run_now_constrained_permissions
|
|
974
|
-
(nautobot.extras.tests.test_views.JobTestCase)
|
|
975
|
-
execution_time: 2.727531
|
|
976
|
-
...
|
|
977
|
-
```
|
|
978
|
-
|
|
979
|
-
and store the performance baselines with the `name` of the test and the baseline `execution_time`. This file should provide the baseline times that all performance-related tests are running against.
|
|
980
|
-
|
|
981
|
-
---
|
|
982
|
-
|
|
983
|
-
## UI_RACK_VIEW_TRUNCATE_FUNCTION
|
|
984
|
-
|
|
985
|
-
+++ 1.4.0
|
|
986
|
-
|
|
987
|
-
Default:
|
|
988
|
-
|
|
989
|
-
```py
|
|
990
|
-
def UI_RACK_VIEW_TRUNCATE_FUNCTION(device_display_name):
|
|
991
|
-
return str(device_display_name).split(".")[0]
|
|
992
|
-
```
|
|
993
|
-
|
|
994
|
-
This setting function is used to perform the rack elevation truncation feature. This provides a way to tailor the truncation behavior to best suit the needs of the installation.
|
|
995
|
-
|
|
996
|
-
The function must take only one argument: the device display name, as a string, attempting to be rendered on the rack elevation.
|
|
997
|
-
|
|
998
|
-
The function must return only one argument: a string of the truncated device display name.
|
|
999
|
-
|
|
1000
|
-
## Environment-Variable-Only Settings
|
|
1001
|
-
|
|
1002
|
-
!!! warning
|
|
1003
|
-
The following settings are **only** configurable as environment variables, and not via `nautobot_config.py` or similar.
|
|
1004
|
-
|
|
1005
|
-
---
|
|
1006
|
-
|
|
1007
|
-
### GIT_SSL_NO_VERIFY
|
|
1008
|
-
|
|
1009
|
-
Default: Unset
|
|
1010
|
-
|
|
1011
|
-
If you are using a self-signed git repository, you will need to set the environment variable `GIT_SSL_NO_VERIFY="1"`
|
|
1012
|
-
in order for the repository to sync.
|
|
1013
|
-
|
|
1014
|
-
!!! warning
|
|
1015
|
-
This _must_ be specified as an environment variable. Setting it in `nautobot_config.py` will not have the desired effect.
|
|
1016
|
-
|
|
1017
|
-
---
|
|
1018
|
-
|
|
1019
|
-
## NAUTOBOT_LOG_DEPRECATION_WARNINGS
|
|
1020
|
-
|
|
1021
|
-
+++ 1.5.2
|
|
1022
|
-
|
|
1023
|
-
+/- 1.5.3
|
|
1024
|
-
This was previously available as a config file setting but changed to environment-variable only. Also `DEBUG = True` will no longer work to log deprecation warnings.
|
|
1025
|
-
|
|
1026
|
-
Default: `False`
|
|
1027
|
-
|
|
1028
|
-
This can be set to `True` to allow deprecation warnings raised by Nautobot to (additionally) be logged as `WARNING` level log messages. (Deprecation warnings are normally silent in Python, but can be enabled globally by [various means](https://docs.python.org/3/library/warnings.html) such as setting the `PYTHONWARNINGS` environment variable. However, doing so can be rather noisy, as it will also include warnings from within Django about various code in various package dependencies of Nautobot's, etc. This configuration setting allows a more targeted enablement of only warnings from within Nautobot itself, which can be useful when vetting various Nautobot apps (plugins) for future-proofness against upcoming changes to Nautobot.)
|
|
1029
|
-
|
|
1030
|
-
!!! caution
|
|
1031
|
-
In Nautobot 2.0, deprecation warnings will be logged by default; a future release of Nautobot 1.5.x will also enable default logging of deprecation warnings.
|
|
1032
|
-
|
|
1033
|
-
---
|
|
1034
|
-
|
|
1035
|
-
### NAUTOBOT_ROOT
|
|
1036
|
-
|
|
1037
|
-
Default: `~/.nautobot/`
|
|
1038
|
-
|
|
1039
|
-
The filesystem path to use to store Nautobot files (Jobs, uploaded images, Git repositories, etc.).
|
|
1040
|
-
|
|
1041
|
-
This setting is used internally in the core settings to provide default locations for [features that require file storage](index.md#file-storage), and the [default location of the `nautobot_config.py`](index.md#specifying-your-configuration).
|
|
1042
|
-
|
|
1043
|
-
!!! warning
|
|
1044
|
-
Do not override `NAUTOBOT_ROOT` in your `nautobot_config.py`. It will not work as expected. If you need to customize this setting, please always set the `NAUTOBOT_ROOT` environment variable.
|
|
1045
|
-
|
|
1046
|
-
## Django Configuration Settings
|
|
1047
|
-
|
|
1048
|
-
While the [official Django documentation](https://docs.djangoproject.com/en/stable/ref/settings/) documents all Django settings, the below is provided where either the setting is common in Nautobot deployments and/or there is a supported `NAUTOBOT_*` environment variable.
|
|
1049
|
-
|
|
1050
|
-
### ADMINS
|
|
1051
|
-
|
|
1052
|
-
Default: `[]` (Empty list)
|
|
1053
|
-
|
|
1054
|
-
Nautobot will email details about critical errors to the administrators listed here. This should be a list of (name, email) tuples. For example:
|
|
1055
|
-
|
|
1056
|
-
```python
|
|
1057
|
-
ADMINS = [
|
|
1058
|
-
['Hank Hill', 'hhill@example.com'],
|
|
1059
|
-
['Dale Gribble', 'dgribble@example.com'],
|
|
1060
|
-
]
|
|
1061
|
-
```
|
|
1062
|
-
|
|
1063
|
-
Please see the [official Django documentation on `ADMINS`](https://docs.djangoproject.com/en/stable/ref/settings/#admins) for more information.
|
|
1064
|
-
|
|
1065
|
-
---
|
|
1066
|
-
|
|
1067
|
-
### CSRF_TRUSTED_ORIGINS
|
|
1068
|
-
|
|
1069
|
-
Default: `[]`
|
|
1070
|
-
|
|
1071
|
-
A list of hosts (fully-qualified domain names (FQDNs) or subdomains) that are considered trusted origins for cross-site secure requests such as HTTPS POST.
|
|
1072
|
-
|
|
1073
|
-
For more information, please see the [official Django documentation on `CSRF_TRUSTED_ORIGINS`](https://docs.djangoproject.com/en/stable/ref/settings/#csrf-trusted-origins) and more generally the [official Django documentation on CSRF protection](https://docs.djangoproject.com/en/stable/ref/csrf/#how-it-works)
|
|
1074
|
-
|
|
1075
|
-
---
|
|
1076
|
-
|
|
1077
|
-
### Date and Time Formatting
|
|
1078
|
-
|
|
1079
|
-
You may define custom formatting for date and times. For detailed instructions on writing format strings, please see [the Django documentation](https://docs.djangoproject.com/en/stable/ref/templates/builtins/#date). Default formats are listed below.
|
|
1080
|
-
|
|
1081
|
-
```python
|
|
1082
|
-
DATE_FORMAT = 'N j, Y' # June 26, 2016
|
|
1083
|
-
SHORT_DATE_FORMAT = 'Y-m-d' # 2016-06-26
|
|
1084
|
-
TIME_FORMAT = 'g:i a' # 1:23 p.m.
|
|
1085
|
-
DATETIME_FORMAT = 'N j, Y g:i a' # June 26, 2016 1:23 p.m.
|
|
1086
|
-
SHORT_DATETIME_FORMAT = 'Y-m-d H:i' # 2016-06-26 13:23
|
|
1087
|
-
```
|
|
1088
|
-
|
|
1089
|
-
Environment Variables:
|
|
1090
|
-
|
|
1091
|
-
* `NAUTOBOT_DATE_FORMAT`
|
|
1092
|
-
* `NAUTOBOT_SHORT_DATE_FORMAT`
|
|
1093
|
-
* `NAUTOBOT_TIME_FORMAT`
|
|
1094
|
-
* `NAUTOBOT_SHORT_TIME_FORMAT`
|
|
1095
|
-
* `NAUTOBOT_DATETIME_FORMAT`
|
|
1096
|
-
* `NAUTOBOT_SHORT_DATETIME_FORMAT`
|
|
1097
|
-
|
|
1098
|
-
---
|
|
1099
|
-
|
|
1100
|
-
### DEBUG
|
|
1101
|
-
|
|
1102
|
-
Default: `False`
|
|
1103
|
-
|
|
1104
|
-
Environment Variable: `NAUTOBOT_DEBUG`
|
|
1105
|
-
|
|
1106
|
-
This setting enables debugging. Debugging should be enabled only during development or troubleshooting. Note that only
|
|
1107
|
-
clients which access Nautobot from a recognized [internal IP address](#internal_ips) will see debugging tools in the user interface.
|
|
1108
|
-
|
|
1109
|
-
!!! warning
|
|
1110
|
-
Never enable debugging on a production system, as it can expose sensitive data to unauthenticated users and impose a
|
|
1111
|
-
substantial performance penalty.
|
|
1112
|
-
|
|
1113
|
-
Please see the [official Django documentation on `DEBUG`](https://docs.djangoproject.com/en/stable/ref/settings/#debug) for more information.
|
|
1114
|
-
|
|
1115
|
-
---
|
|
1116
|
-
|
|
1117
|
-
### FORCE_SCRIPT_NAME
|
|
1118
|
-
|
|
1119
|
-
Default: `None`
|
|
1120
|
-
|
|
1121
|
-
If not `None`, this will be used as the value of the `SCRIPT_NAME` environment variable in any HTTP request. This setting can be used to override the server-provided value of `SCRIPT_NAME`, which is most commonly used for hosting Nautobot in a subdirectory (e.g. _example.com/nautobot/_).
|
|
1122
|
-
|
|
1123
|
-
!!! important
|
|
1124
|
-
To host Nautobot under a subdirectory you must set this value to match the same prefix configured on your HTTP server. For example, if you configure NGINX to serve Nautobot at `/nautobot/`, you must set `FORCE_SCRIPT_NAME = "/nautobot/"`.
|
|
1125
|
-
|
|
1126
|
-
Please see the [official Django documentation on `FORCE_SCRIPT_NAME`](https://docs.djangoproject.com/en/stable/ref/settings/#force-script-name) for more information.
|
|
1127
|
-
|
|
1128
|
-
---
|
|
1129
|
-
|
|
1130
|
-
### INTERNAL_IPS
|
|
1131
|
-
|
|
1132
|
-
Default: `('127.0.0.1', '::1')`
|
|
1133
|
-
|
|
1134
|
-
A list of IP addresses recognized as internal to the system, used to control the display of debugging output. For
|
|
1135
|
-
example, the [Django debugging toolbar](https://django-debug-toolbar.readthedocs.io/), if installed,
|
|
1136
|
-
will be viewable only when a client is accessing Nautobot from one of the listed IP
|
|
1137
|
-
addresses (and [`DEBUG`](#debug) is true).
|
|
1138
|
-
|
|
1139
|
-
---
|
|
1140
|
-
|
|
1141
|
-
### LOGGING
|
|
1142
|
-
|
|
1143
|
-
Default:
|
|
1144
|
-
|
|
1145
|
-
```python
|
|
1146
|
-
{
|
|
1147
|
-
"version": 1,
|
|
1148
|
-
"disable_existing_loggers": False,
|
|
1149
|
-
"formatters": {
|
|
1150
|
-
"normal": {
|
|
1151
|
-
"format": "%(asctime)s.%(msecs)03d %(levelname)-7s %(name)s :\n %(message)s",
|
|
1152
|
-
"datefmt": "%H:%M:%S",
|
|
1153
|
-
},
|
|
1154
|
-
"verbose": {
|
|
1155
|
-
"format": "%(asctime)s.%(msecs)03d %(levelname)-7s %(name)-20s %(filename)-15s %(funcName)30s() :\n %(message)s",
|
|
1156
|
-
"datefmt": "%H:%M:%S",
|
|
1157
|
-
},
|
|
1158
|
-
},
|
|
1159
|
-
"handlers": {
|
|
1160
|
-
"normal_console": {
|
|
1161
|
-
"level": "INFO",
|
|
1162
|
-
"class": "logging.StreamHandler",
|
|
1163
|
-
"formatter": "normal",
|
|
1164
|
-
},
|
|
1165
|
-
"verbose_console": {
|
|
1166
|
-
"level": "DEBUG",
|
|
1167
|
-
"class": "logging.StreamHandler",
|
|
1168
|
-
"formatter": "verbose",
|
|
1169
|
-
},
|
|
1170
|
-
},
|
|
1171
|
-
"loggers": {
|
|
1172
|
-
"django": {"handlers": ["normal_console"], "level": "INFO"},
|
|
1173
|
-
"nautobot": {
|
|
1174
|
-
"handlers": ["verbose_console" if DEBUG else "normal_console"],
|
|
1175
|
-
"level": LOG_LEVEL,
|
|
1176
|
-
},
|
|
1177
|
-
},
|
|
1178
|
-
}
|
|
1179
|
-
```
|
|
1180
|
-
|
|
1181
|
-
+/- 1.4.10
|
|
1182
|
-
While running unit or integration tests via `nautobot-server test ...`, LOGGING will be set to `{}` instead of the above defaults, as verbose logging to the console is typically not desirable while running tests.
|
|
1183
|
-
|
|
1184
|
-
+/- 2.0.0
|
|
1185
|
-
Unit/integration test logging was modified to send all nautobot logs to a `NullHandler` to prevent logs falling through to the last resort logger and being output to stderr.
|
|
1186
|
-
|
|
1187
|
-
This translates to:
|
|
1188
|
-
|
|
1189
|
-
* all messages from Django and from Nautobot of INFO severity or higher will be logged to the console.
|
|
1190
|
-
* if [`DEBUG`](#debug) is True, Nautobot DEBUG messages will also be logged, and all Nautobot messages will be logged with a more verbose format including the filename and function name that originated each log message.
|
|
1191
|
-
|
|
1192
|
-
The above default log formatters split each log message across two lines of output for greater readability, which is useful for local observation and troubleshooting, but you may find it impractical to use in production environments that expect one line per log message. Fortunately, the Django framework on which Nautobot runs allows for extensive customization of logging format and destination. Please consult the [Django logging documentation](https://docs.djangoproject.com/en/stable/topics/logging/) for more information on configuring this setting.
|
|
1193
|
-
|
|
1194
|
-
Below is an example configuration extension which will additionally write all INFO and higher messages to a local file:
|
|
1195
|
-
|
|
1196
|
-
```python
|
|
1197
|
-
LOGGING["handlers"]["file"] = {
|
|
1198
|
-
"level": "INFO",
|
|
1199
|
-
"class": "logging.FileHandler",
|
|
1200
|
-
"filename": "/var/log/nautobot.log",
|
|
1201
|
-
"formatter": "normal",
|
|
1202
|
-
}
|
|
1203
|
-
LOGGING["loggers"]["django"]["handlers"] += ["file"]
|
|
1204
|
-
LOGGING["loggers"]["nautobot"]["handlers"] += ["file"]
|
|
1205
|
-
```
|
|
1206
|
-
|
|
1207
|
-
Additional examples are available in the [`/examples/logging`](https://github.com/nautobot/nautobot/tree/develop/examples/logging) directory in the Nautobot repository.
|
|
1208
|
-
|
|
1209
|
-
#### Available Loggers
|
|
1210
|
-
|
|
1211
|
-
* `django.*` - Generic Django operations (HTTP requests/responses, etc.)
|
|
1212
|
-
* `nautobot.<app>.<module>` - Generic form for model- or module-specific log messages
|
|
1213
|
-
* `nautobot.auth.*` - Authentication events
|
|
1214
|
-
* `nautobot.extras.jobs.*` - Job execution (`* = JobClassName`)
|
|
1215
|
-
* `nautobot.core.graphql.*` - [GraphQL](../../platform-functionality/graphql.md) initialization and operation.
|
|
1216
|
-
* `nautobot.extras.plugins.*` - Plugin loading and activity
|
|
1217
|
-
* `nautobot.core.views.generic.*` - Generic views which handle business logic for the web UI
|
|
1218
|
-
|
|
1219
|
-
---
|
|
1220
|
-
|
|
1221
|
-
### MEDIA_ROOT
|
|
1222
|
-
|
|
1223
|
-
Default: `os.path.join(NAUTOBOT_ROOT, "media")`
|
|
1224
|
-
|
|
1225
|
-
The file path to the location where media files (such as [image attachments](../../platform-functionality/imageattachment.md)) are stored.
|
|
1226
|
-
|
|
1227
|
-
Please see the [official Django documentation on `MEDIA_ROOT`](https://docs.djangoproject.com/en/stable/ref/settings/#media-root) for more information.
|
|
1228
|
-
|
|
1229
|
-
---
|
|
1230
|
-
|
|
1231
|
-
### SESSION_EXPIRE_AT_BROWSER_CLOSE
|
|
1232
|
-
|
|
1233
|
-
Default: `False`
|
|
1234
|
-
|
|
1235
|
-
Environment Variable: `NAUTOBOT_SESSION_EXPIRE_AT_BROWSER_CLOSE`
|
|
1236
|
-
|
|
1237
|
-
If this is set to True, Nautobot will use browser-length cookies - cookies that expire as soon as the user closes their browser.
|
|
1238
|
-
|
|
1239
|
-
By default, `SESSION_EXPIRE_AT_BROWSER_CLOSE` is set to False, which means session cookies will be stored in users’ browsers for as long as [`SESSION_COOKIE_AGE`](#session_cookie_age).
|
|
1240
|
-
|
|
1241
|
-
Please see the [official Django documentation on `SESSION_EXPIRE_AT_BROWSER_CLOSE`](https://docs.djangoproject.com/en/stable/ref/settings/#session-expire-at-browser-close) for more information.
|
|
1242
|
-
|
|
1243
|
-
---
|
|
1244
|
-
|
|
1245
|
-
### SESSION_COOKIE_AGE
|
|
1246
|
-
|
|
1247
|
-
Default: `1209600` (2 weeks, in seconds)
|
|
1248
|
-
|
|
1249
|
-
Environment Variable: `NAUTOBOT_SESSION_COOKIE_AGE`
|
|
1250
|
-
|
|
1251
|
-
The age of session cookies, in seconds.
|
|
1252
|
-
|
|
1253
|
-
Please see the [official Django documentation on `SESSION_COOKIE_AGE`](https://docs.djangoproject.com/en/stable/ref/settings/#session-cookie-age) for more information.
|
|
1254
|
-
|
|
1255
|
-
---
|
|
1256
|
-
|
|
1257
|
-
### SESSION_ENGINE
|
|
1258
|
-
|
|
1259
|
-
Default: `'django.contrib.sessions.backends.db'`
|
|
1260
|
-
|
|
1261
|
-
Controls where Nautobot stores session data.
|
|
1262
|
-
|
|
1263
|
-
To use cache-based sessions, set this to `'django.contrib.sessions.backends.cache'`.
|
|
1264
|
-
To use file-based sessions, set this to `'django.contrib.sessions.backends.file'`.
|
|
1265
|
-
|
|
1266
|
-
See the official Django documentation on [Configuring the session](https://docs.djangoproject.com/en/stable/topics/http/sessions/#configuring-sessions) engine for more details.
|
|
1267
|
-
|
|
1268
|
-
---
|
|
1269
|
-
|
|
1270
|
-
### SESSION_FILE_PATH
|
|
1271
|
-
|
|
1272
|
-
Default: `None`
|
|
1273
|
-
|
|
1274
|
-
Environment Variable: `NAUTOBOT_SESSION_FILE_PATH`
|
|
1275
|
-
|
|
1276
|
-
HTTP session data is used to track authenticated users when they access Nautobot. By default, Nautobot stores session data in its database. However, this inhibits authentication to a standby instance of Nautobot without write access to the database. Alternatively, a local file path may be specified here and Nautobot will store session data as files instead of using the database. Note that the Nautobot system user must have read and write permissions to this path.
|
|
1277
|
-
|
|
1278
|
-
When the default value (`None`) is used, Nautobot will use the standard temporary directory for the system.
|
|
1279
|
-
|
|
1280
|
-
If you set this value, you must also enable file-based sessions as explained above using [`SESSION_ENGINE`](#session_engine).
|
|
1281
|
-
|
|
1282
|
-
---
|
|
1283
|
-
|
|
1284
|
-
### STATIC_ROOT
|
|
1285
|
-
|
|
1286
|
-
Default: `os.path.join(NAUTOBOT_ROOT, "static")`
|
|
1287
|
-
|
|
1288
|
-
The location where static files (such as CSS, JavaScript, fonts, or images) used to serve the web interface will be staged by the `nautobot-server collectstatic` command.
|
|
1289
|
-
|
|
1290
|
-
Please see the [official Django documentation on `STATIC_ROOT`](https://docs.djangoproject.com/en/stable/ref/settings/#std:setting-STATIC_ROOT) for more information.
|
|
1291
|
-
|
|
1292
|
-
---
|
|
1293
|
-
|
|
1294
|
-
### TIME_ZONE
|
|
1295
|
-
|
|
1296
|
-
Default: `"UTC"`
|
|
1297
|
-
|
|
1298
|
-
Environment Variable: `NAUTOBOT_TIME_ZONE`
|
|
1299
|
-
|
|
1300
|
-
The time zone Nautobot will use when dealing with dates and times. It is recommended to use UTC time unless you have a specific need to use a local time zone. Please see the [list of available time zones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
|
|
1301
|
-
|
|
1302
|
-
Please see the [official Django documentation on `TIME_ZONE`](https://docs.djangoproject.com/en/stable/ref/settings/#time-zone) for more information.
|