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,858 +0,0 @@
|
|
|
1
|
-
# The Nautobot Server Command
|
|
2
|
-
|
|
3
|
-
Nautobot includes a command-line (CLI) management utility called `nautobot-server`, that is used as a single entrypoint for common administrative tasks.
|
|
4
|
-
|
|
5
|
-
## Background
|
|
6
|
-
|
|
7
|
-
For those familiar with Django applications, this CLI utility works exactly as a project's `manage.py` script would, except that it comes bundled with the Nautobot code and therefore it gets automatically installed in the `bin` directory of your application environment.
|
|
8
|
-
|
|
9
|
-
!!! important
|
|
10
|
-
Since Nautobot is a Django application, there are a number of built-in management commands that will not be covered in this document. Please see the [official Django documentation on management commands](https://docs.djangoproject.com/en/stable/ref/django-admin/#available-commands) for more information.
|
|
11
|
-
|
|
12
|
-
!!! important
|
|
13
|
-
Django does not recognize `nautobot-server`. Anywhere `python manage.py` is mentioned, it is safe to replace with `nautobot-server`.
|
|
14
|
-
|
|
15
|
-
## Getting Help
|
|
16
|
-
|
|
17
|
-
To see all available management commands as the Nautobot user:
|
|
18
|
-
|
|
19
|
-
```no-highlight
|
|
20
|
-
nautobot-server help
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
All management commands have a `-h/--help` flag to list all available arguments for that command, for example:
|
|
24
|
-
|
|
25
|
-
```no-highlight
|
|
26
|
-
nautobot-server migrate --help
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
## Available Commands
|
|
30
|
-
|
|
31
|
-
### `audit_dynamic_groups`
|
|
32
|
-
|
|
33
|
-
`nautobot-server audit_dynamic_groups`
|
|
34
|
-
|
|
35
|
-
After upgrading your Nautobot instance from v1.x to v2.x, breaking changes made to model filter fields will, in some cases, invalidate existing `DynamicGroup` instances' filter data. `nautobot-server audit_dynamic_groups` is a helper command to assist you in cleaning up `DynamicGroup` filter data by spotting invalid filters and outputting them to the command line interface.
|
|
36
|
-
|
|
37
|
-
```no-highlight
|
|
38
|
-
nautobot-server audit_dynamic_groups
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
Example output:
|
|
42
|
-
|
|
43
|
-
If you have invalid filters in your `DynamicGroup` instances, the following output should be expected:
|
|
44
|
-
|
|
45
|
-
```no-highlight
|
|
46
|
-
>>> Auditing existing DynamicGroup data for invalid filters ...
|
|
47
|
-
|
|
48
|
-
DynamicGroup instance with name `Test DP` and content type `dcim | rack` has an invalid filter `site`
|
|
49
|
-
DynamicGroup instance with name `Test DP` and content type `dcim | rack` has an invalid filter `length`
|
|
50
|
-
DynamicGroup instance with name `Test DP` and content type `dcim | rack` has an invalid filter `region`
|
|
51
|
-
DynamicGroup instance with name `Test DP 1` and content type `ipam | IP address` has an invalid filter `site`
|
|
52
|
-
DynamicGroup instance with name `Test DP 1` and content type `ipam | IP address` has an invalid filter `length`
|
|
53
|
-
DynamicGroup instance with name `Test DP 2` and content type `dcim | device` has an invalid filter `site`
|
|
54
|
-
DynamicGroup instance with name `Test DP 2` and content type `dcim | device` has an invalid filter `region`
|
|
55
|
-
DynamicGroup instance with name `Test DP 3` and content type `dcim | device redundancy group` has an invalid filter `site`
|
|
56
|
-
DynamicGroup instance with name `Test DP 3` and content type `dcim | device redundancy group` has an invalid filter `length`
|
|
57
|
-
DynamicGroup instance with name `Test DP 3` and content type `dcim | device redundancy group` has an invalid filter `region`
|
|
58
|
-
DynamicGroup instance with name `Test DP 4` and content type `example_plugin | another example model` has an invalid filter `site`
|
|
59
|
-
|
|
60
|
-
>>> Please fix the broken filters stated above according to the documentation available at:
|
|
61
|
-
https://docs.nautobot.com/projects/core/en/stable/user-guide/administration/upgrading/from-v1/upgrading-from-nautobot-v1/#ui-graphql-and-rest-api-filter-changes
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
If your filter data is valid, you should see a success message at the end of the output:
|
|
65
|
-
|
|
66
|
-
```no-highlight
|
|
67
|
-
>>> Auditing existing DynamicGroup data for invalid filters ...
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
>>> All DynamicGroup filters are validated successfully!
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
### `audit_graphql_queries`
|
|
74
|
-
|
|
75
|
-
`nautobot-server audit_graphql_queries`
|
|
76
|
-
|
|
77
|
-
After upgrading your Nautobot instance from v1.x to v2.x, breaking changes made to model filter fields will, in some cases, invalidate existing `GraphQLQuery` instances' query data. `nautobot-server audit_graphql_queries` is a helper command to assist you in cleaning up `GraphQLQuery` query data by spotting invalid query filters and outputting them to the command line interface.
|
|
78
|
-
|
|
79
|
-
```no-highlight
|
|
80
|
-
nautobot-server audit_graphql_queries
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
Example output:
|
|
84
|
-
|
|
85
|
-
If you have invalid query data in your `GraphQLQuery` instances, the following output should be expected:
|
|
86
|
-
|
|
87
|
-
```no-highlight
|
|
88
|
-
>>> Auditing existing GraphQLQuery data for invalid queries ...
|
|
89
|
-
|
|
90
|
-
>>> The following GraphQLQuery instances have invalid query data:
|
|
91
|
-
|
|
92
|
-
GraphQLQuery with name `Wrong Query` has invalid query data: [{'message': 'Unknown argument "site" on field "racks" of type "Query".', 'locations': [{'line': 2, 'column': 19}]}]
|
|
93
|
-
GraphQLQuery with name `Wrong Query 1` has invalid query data: [{'message': 'Unknown argument "site" on field "device" of type "Query".', 'locations': [{'line': 2, 'column': 14}]}]
|
|
94
|
-
GraphQLQuery with name `Wrong Query 2` has invalid query data: [{'message': "{'location': ['Select a valid choice. Location 01 is not one of the available choices.']}", 'locations': [{'line': 5, 'column': 8}], 'path': ['devices']}]
|
|
95
|
-
|
|
96
|
-
>>> Please fix the outdated query data stated above according to the documentation available at:
|
|
97
|
-
https://docs.nautobot.com/projects/core/en/stable/user-guide/administration/upgrading/from-v1/upgrading-from-nautobot-v1/#ui-graphql-and-rest-api-filter-changes
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
If your query data is valid, you should see a success message at the end of the output:
|
|
101
|
-
|
|
102
|
-
```no-highlight
|
|
103
|
-
>>> Auditing existing GraphQLQuery data for invalid queries ...
|
|
104
|
-
|
|
105
|
-
>>> All GraphQLQuery queries are validated successfully!
|
|
106
|
-
```
|
|
107
|
-
|
|
108
|
-
### `build_ui`
|
|
109
|
-
|
|
110
|
-
`nautobot-server build_ui`
|
|
111
|
-
|
|
112
|
-
Build or rebuild the UI for the Nautobot server environment and installed Nautobot Apps.
|
|
113
|
-
|
|
114
|
-
Here are some commonly used flags:
|
|
115
|
-
|
|
116
|
-
1. `--npm-install` - Install UI packages.
|
|
117
|
-
2. `--no-render-apps` - Do not render Nautobot App imports.
|
|
118
|
-
3. `--no-npm-build` - Do not compile UI.
|
|
119
|
-
|
|
120
|
-
### `celery`
|
|
121
|
-
|
|
122
|
-
`nautobot-server celery`
|
|
123
|
-
|
|
124
|
-
Celery command entrypoint which serves as a thin wrapper to the `celery` command that includes the Nautobot Celery application context. This allows us to execute Celery commands without having to worry about the chicken-and-egg problem with bootstrapping the Django settings.
|
|
125
|
-
|
|
126
|
-
Most commonly you will be using this command to start the Celery worker process:
|
|
127
|
-
|
|
128
|
-
```no-highlight
|
|
129
|
-
nautobot-server celery worker --loglevel INFO --pidfile $(pwd)/nautobot-celery.pid -n worker1
|
|
130
|
-
```
|
|
131
|
-
|
|
132
|
-
Output:
|
|
133
|
-
|
|
134
|
-
```no-highlight
|
|
135
|
-
celery@worker1 v5.1.1 (sun-harmonics)
|
|
136
|
-
|
|
137
|
-
[config]
|
|
138
|
-
.> app: nautobot:0x10c357eb0
|
|
139
|
-
.> transport: redis://localhost:6379/0
|
|
140
|
-
.> results: redis://localhost:6379/0
|
|
141
|
-
.> concurrency: 8 (prefork)
|
|
142
|
-
.> task events: OFF (enable -E to monitor tasks in this worker)
|
|
143
|
-
|
|
144
|
-
[queues]
|
|
145
|
-
.> celery exchange=celery(direct) key=celery
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
[tasks]
|
|
149
|
-
. nautobot.core.tasks.get_releases
|
|
150
|
-
. nautobot.extras.datasources.git.pull_git_repository_and_refresh_data
|
|
151
|
-
. nautobot.extras.jobs.run_job
|
|
152
|
-
. nautobot.extras.tasks.delete_custom_field_data
|
|
153
|
-
. nautobot.extras.tasks.process_webhook
|
|
154
|
-
. nautobot.extras.tasks.provision_field
|
|
155
|
-
. nautobot.extras.tasks.update_custom_field_choice_data
|
|
156
|
-
|
|
157
|
-
[2021-07-01 21:32:40,680: INFO/MainProcess] Connected to redis://localhost:6379/0
|
|
158
|
-
[2021-07-01 21:32:40,690: INFO/MainProcess] mingle: searching for neighbors
|
|
159
|
-
[2021-07-01 21:32:41,713: INFO/MainProcess] mingle: all alone
|
|
160
|
-
[2021-07-01 21:32:41,730: INFO/MainProcess] celery@worker1 ready.
|
|
161
|
-
```
|
|
162
|
-
|
|
163
|
-
!!! note
|
|
164
|
-
The internals of this command are built into Celery. Please see the [official Celery workers guide](https://docs.celeryq.dev/en/stable/userguide/workers.html) for more information.
|
|
165
|
-
|
|
166
|
-
### `collectstatic`
|
|
167
|
-
|
|
168
|
-
`nautobot-server collectstatic`
|
|
169
|
-
|
|
170
|
-
Collect static files into [`STATIC_ROOT`](../configuration/optional-settings.md#static_root).
|
|
171
|
-
|
|
172
|
-
```no-highlight
|
|
173
|
-
nautobot-server collectstatic
|
|
174
|
-
```
|
|
175
|
-
|
|
176
|
-
Output:
|
|
177
|
-
|
|
178
|
-
```no-highlight
|
|
179
|
-
965 static files copied to '/opt/nautobot/static'.
|
|
180
|
-
```
|
|
181
|
-
|
|
182
|
-
!!! note
|
|
183
|
-
This is a built-in Django command. Please see the [official documentation on `collectstatic`](https://docs.djangoproject.com/en/stable/ref/django-admin/#collectstatic) for more information.
|
|
184
|
-
|
|
185
|
-
### `createsuperuser`
|
|
186
|
-
|
|
187
|
-
`nautobot-server createsuperuser`
|
|
188
|
-
|
|
189
|
-
Creates a superuser account that has all permissions.
|
|
190
|
-
|
|
191
|
-
```no-highlight
|
|
192
|
-
nautobot-server createsuperuser
|
|
193
|
-
```
|
|
194
|
-
|
|
195
|
-
This provides the following output:
|
|
196
|
-
|
|
197
|
-
```no-highlight
|
|
198
|
-
Username (leave blank to use 'jathan'): example
|
|
199
|
-
Email address: example@localhost
|
|
200
|
-
Password:
|
|
201
|
-
Password (again):
|
|
202
|
-
Superuser created successfully.
|
|
203
|
-
```
|
|
204
|
-
|
|
205
|
-
!!! note
|
|
206
|
-
This is a built-in Django command. Please see the [official documentation on `createsuperuser`](https://docs.djangoproject.com/en/stable/ref/django-admin/#createsuperuser) for more information.
|
|
207
|
-
|
|
208
|
-
### `dbshell`
|
|
209
|
-
|
|
210
|
-
`nautobot-server dbshell`
|
|
211
|
-
|
|
212
|
-
A shell for your database. This can be very useful in troubleshooting raw database issues.
|
|
213
|
-
|
|
214
|
-
!!! danger
|
|
215
|
-
This is an advanced feature that gives you direct access to run raw SQL queries. Use this very cautiously as you can cause irreparable damage to your Nautobot installation.
|
|
216
|
-
|
|
217
|
-
```no-highlight
|
|
218
|
-
nautobot-server dbshell
|
|
219
|
-
```
|
|
220
|
-
|
|
221
|
-
Output:
|
|
222
|
-
|
|
223
|
-
```no-highlight
|
|
224
|
-
psql (12.6 (Ubuntu 12.6-0ubuntu0.20.04.1))
|
|
225
|
-
SSL connection (protocol: TLSv1.3, cipher: TLS_AES_256_GCM_SHA384, bits: 256, compression: off)
|
|
226
|
-
Type "help" for help.
|
|
227
|
-
|
|
228
|
-
nautobot=> \conninfo
|
|
229
|
-
You are connected to database "nautobot" as user "nautobot" on host "localhost" (address "::1") at port "5432".
|
|
230
|
-
SSL connection (protocol: TLSv1.3, cipher: TLS_AES_256_GCM_SHA384, bits: 256, compression: off)
|
|
231
|
-
nautobot=> \q
|
|
232
|
-
```
|
|
233
|
-
|
|
234
|
-
!!! note
|
|
235
|
-
This is a built-in Django command. Please see the [official documentation on `dbshell`](https://docs.djangoproject.com/en/stable/ref/django-admin/#dbshell) for more information.
|
|
236
|
-
|
|
237
|
-
### `dumpdata`
|
|
238
|
-
|
|
239
|
-
+/- 1.3.0
|
|
240
|
-
- `extras.job` should now be included in the dump (removed `--exclude extras.job` from the example usage)
|
|
241
|
-
- `django_rq` should now be excluded from the dump (added `--exclude django_rq` to the example usage)
|
|
242
|
-
|
|
243
|
-
+/- 1.5.23
|
|
244
|
-
- We do not recommend at this time using `--natural-primary` as this can result in inconsistent or incorrect data for data models that use GenericForeignKeys, such as `Cable`, `Note`, `ObjectChange`, and `Tag`.
|
|
245
|
-
- We also do not recommend at this time using `--natural-foreign` as it can potentially result in errors if any data models incorrectly implement their `natural_key()` and/or `get_by_natural_key()` API methods.
|
|
246
|
-
- `contenttypes` must not be excluded from the dump (it could be excluded previously due to the use of `--natural-foreign`).
|
|
247
|
-
|
|
248
|
-
+/- 2.0.0
|
|
249
|
-
- `django_rq` is no longer part of Nautobot's dependencies and so no longer needs to be explicitly excluded.
|
|
250
|
-
|
|
251
|
-
```no-highlight
|
|
252
|
-
nautobot-server dumpdata \
|
|
253
|
-
--exclude auth.permission \
|
|
254
|
-
--format json \
|
|
255
|
-
--indent 2 \
|
|
256
|
-
--traceback \
|
|
257
|
-
> nautobot_dump.json
|
|
258
|
-
```
|
|
259
|
-
|
|
260
|
-
Use this command to generate a JSON dump of the database contents.
|
|
261
|
-
|
|
262
|
-
One example of using this command would be to [export data from PostgreSQL](../migration/migrating-from-postgresql.md#export-data-from-postgresql) and then [import the data dump into MySQL](../migration/migrating-from-postgresql.md#import-the-database-dump-into-mysql).
|
|
263
|
-
|
|
264
|
-
!!! warning
|
|
265
|
-
While this command *can* be used in combination with `nautobot-server loaddata` as a way to do database backup-and-restore, it's not generally the most efficient or straightforward way to do so. Refer to [Database Backup](../upgrading/database-backup.md) for recommendations.
|
|
266
|
-
|
|
267
|
-
### `fix_custom_fields`
|
|
268
|
-
|
|
269
|
-
`nautobot-server fix_custom_fields [app_label.ModelName [app_label.ModelName ...]]`
|
|
270
|
-
|
|
271
|
-
Adds/Removes any custom fields which should or should not exist on an object. This command should not be run unless a custom fields jobs has failed:
|
|
272
|
-
|
|
273
|
-
```no-highlight
|
|
274
|
-
nautobot-server fix_custom_fields
|
|
275
|
-
```
|
|
276
|
-
|
|
277
|
-
Example output:
|
|
278
|
-
|
|
279
|
-
```no-highlight
|
|
280
|
-
Processing ContentType dcim | device
|
|
281
|
-
Processing ContentType dcim | location
|
|
282
|
-
Processing ContentType dcim | rack
|
|
283
|
-
Processing ContentType dcim | cable
|
|
284
|
-
Processing ContentType dcim | power feed
|
|
285
|
-
Processing ContentType circuits | circuit
|
|
286
|
-
Processing ContentType ipam | prefix
|
|
287
|
-
... (truncated for brevity of documentation) ...
|
|
288
|
-
```
|
|
289
|
-
|
|
290
|
-
You may optionally specify one or more specific models (each prefixed with its app_label) to fix:
|
|
291
|
-
|
|
292
|
-
```no-highlight
|
|
293
|
-
nautobot-server fix_custom_fields circuits.Circuit dcim.Location
|
|
294
|
-
```
|
|
295
|
-
|
|
296
|
-
Example output:
|
|
297
|
-
|
|
298
|
-
```no-highlight
|
|
299
|
-
Processing ContentType circuits | circuit
|
|
300
|
-
Processing ContentType dcim | location
|
|
301
|
-
```
|
|
302
|
-
|
|
303
|
-
### `generate_secret_key`
|
|
304
|
-
|
|
305
|
-
`nautobot-server generate_secret_key`
|
|
306
|
-
|
|
307
|
-
Generates a new [`SECRET_KEY`](../configuration/required-settings.md#secret_key) that can be used in your `nautobot_config.py`:
|
|
308
|
-
|
|
309
|
-
```no-highlight
|
|
310
|
-
nautobot-server generate_secret_key
|
|
311
|
-
```
|
|
312
|
-
|
|
313
|
-
Output:
|
|
314
|
-
|
|
315
|
-
```no-highlight
|
|
316
|
-
e!j=vrlhz-!wl8p_3+q5s5cph29nzj$xm81eap-!&n!_9^du09
|
|
317
|
-
```
|
|
318
|
-
|
|
319
|
-
### `generate_test_data`
|
|
320
|
-
|
|
321
|
-
+++ 1.5.0
|
|
322
|
-
|
|
323
|
-
`nautobot-server generate_test_data [--flush] --seed SEED`
|
|
324
|
-
|
|
325
|
-
Populate the database with various data as a baseline for testing (automated or manual).
|
|
326
|
-
|
|
327
|
-
`--flush`
|
|
328
|
-
Flush any existing data from the database before generating new data.
|
|
329
|
-
|
|
330
|
-
!!! danger
|
|
331
|
-
Running this command with the `--flush` argument will clear all existing data in your database. You have been warned.
|
|
332
|
-
|
|
333
|
-
`--seed SEED`
|
|
334
|
-
String to use as a random generator seed for reproducible results.
|
|
335
|
-
|
|
336
|
-
```no-highlight
|
|
337
|
-
nautobot-server generate_test_data --flush --seed "Nautobot"
|
|
338
|
-
```
|
|
339
|
-
|
|
340
|
-
Sample output:
|
|
341
|
-
|
|
342
|
-
```no-highlight
|
|
343
|
-
Flushing all existing data from the database...
|
|
344
|
-
Seeding the pseudo-random number generator with seed "Nautobot"...
|
|
345
|
-
Creating Statuses...
|
|
346
|
-
Creating TenantGroups...
|
|
347
|
-
Creating Tenants...
|
|
348
|
-
Creating RIRs...
|
|
349
|
-
Creating RouteTargets...
|
|
350
|
-
Creating VRFs...
|
|
351
|
-
Creating IP/VLAN Roles...
|
|
352
|
-
Creating VLANGroups...
|
|
353
|
-
Creating VLANs...
|
|
354
|
-
Database populated successfully!
|
|
355
|
-
```
|
|
356
|
-
|
|
357
|
-
### `health_check`
|
|
358
|
-
|
|
359
|
-
`nautobot-server health_check`
|
|
360
|
-
|
|
361
|
-
Run health checks and exit 0 if everything went well.
|
|
362
|
-
|
|
363
|
-
```no-highlight
|
|
364
|
-
nautobot-server health_check
|
|
365
|
-
```
|
|
366
|
-
|
|
367
|
-
Output
|
|
368
|
-
|
|
369
|
-
```no-highlight
|
|
370
|
-
DatabaseBackend ... working
|
|
371
|
-
DefaultFileStorageHealthCheck ... working
|
|
372
|
-
RedisBackend ... working
|
|
373
|
-
```
|
|
374
|
-
|
|
375
|
-
Please see the [healthcheck documentation](../guides/healthcheck.md) for more information.
|
|
376
|
-
|
|
377
|
-
### `init`
|
|
378
|
-
|
|
379
|
-
`nautobot-server init [--disable-installation-metrics] [config_path]`
|
|
380
|
-
|
|
381
|
-
Generates a new configuration with all of the default settings provided for you, and will also generate a unique[`SECRET_KEY`](../configuration/required-settings.md#secret_key).
|
|
382
|
-
|
|
383
|
-
By default the file will be created at `$HOME/.nautobot/nautobot_config.py`:
|
|
384
|
-
|
|
385
|
-
```no-highlight
|
|
386
|
-
nautobot-server init
|
|
387
|
-
```
|
|
388
|
-
|
|
389
|
-
Output:
|
|
390
|
-
|
|
391
|
-
```no-highlight
|
|
392
|
-
Nautobot would like to send anonymized installation metrics to the project's maintainers.
|
|
393
|
-
These metrics include the installed Nautobot version, the Python version in use, an anonymous "deployment ID", and a list of one-way-hashed names of enabled Nautobot Apps and their versions.
|
|
394
|
-
Allow Nautobot to send these metrics? [y/n]: y
|
|
395
|
-
Installation metrics will be sent when running 'nautobot-server post_upgrade'. Thank you!
|
|
396
|
-
Configuration file created at /home/example/.nautobot/nautobot_config.py
|
|
397
|
-
```
|
|
398
|
-
|
|
399
|
-
+++ 1.6.0
|
|
400
|
-
The `nautobot-server init` command will now prompt you to set the initial value for the [`INSTALLATION_METRICS_ENABLED`](../configuration/optional-settings.md#installation_metrics_enabled) setting. See the [send_installation_metrics](#send_installation_metrics) command for more information about the feature that this setting toggles.
|
|
401
|
-
|
|
402
|
-
For more information on configuring Nautobot for the first time or on more advanced configuration patterns, please see the guide on [Nautobot Configuration](../configuration/index.md).
|
|
403
|
-
|
|
404
|
-
### `loaddata`
|
|
405
|
-
|
|
406
|
-
`nautobot-server loaddata --traceback nautobot_dump.json`
|
|
407
|
-
|
|
408
|
-
To import the data that was exported with `nautobot-server dumpdata ...` see the following documentation:
|
|
409
|
-
|
|
410
|
-
- [Remove auto-populated records from the database](../migration/migrating-from-postgresql.md#remove-auto-populated-records-from-the-mysql-database)
|
|
411
|
-
- [Import the database dump](../migration/migrating-from-postgresql.md#import-the-database-dump-into-mysql)
|
|
412
|
-
- [Rebuild cached cable path traces](../migration/migrating-from-postgresql.md#rebuild-cached-cable-path-traces)
|
|
413
|
-
|
|
414
|
-
### `migrate`
|
|
415
|
-
|
|
416
|
-
`nautobot-server migrate [app_label] [migration_name]`
|
|
417
|
-
|
|
418
|
-
Initialize a new database or run any pending database migrations to an existing database.
|
|
419
|
-
|
|
420
|
-
```no-highlight
|
|
421
|
-
nautobot-server migrate
|
|
422
|
-
```
|
|
423
|
-
|
|
424
|
-
Output:
|
|
425
|
-
|
|
426
|
-
```no-highlight
|
|
427
|
-
Wrapping model clean methods for custom validators failed because the ContentType table was not available or populated. This is normal during the execution of the migration command for the first time.
|
|
428
|
-
Operations to perform:
|
|
429
|
-
Apply all migrations: admin, auth, circuits, contenttypes, dcim, extras, ipam, sessions, taggit, tenancy, users, virtualization
|
|
430
|
-
Running migrations:
|
|
431
|
-
Applying contenttypes.0001_initial... OK
|
|
432
|
-
Applying auth.0001_initial... OK
|
|
433
|
-
Applying admin.0001_initial... OK
|
|
434
|
-
... (truncated for brevity of documentation) ...
|
|
435
|
-
```
|
|
436
|
-
|
|
437
|
-
!!! note
|
|
438
|
-
This is a built-in Django command. Please see the [official documentation on `migrate`](https://docs.djangoproject.com/en/stable/ref/django-admin/#migrate) for more information.
|
|
439
|
-
|
|
440
|
-
### `nbshell`
|
|
441
|
-
|
|
442
|
-
`nautobot-server nbshell`
|
|
443
|
-
|
|
444
|
-
An interactive Python shell with all of the database models and various other utilities already imported for you. This is immensely useful for direct access to manipulating database objects.
|
|
445
|
-
|
|
446
|
-
!!! danger
|
|
447
|
-
This is an advanced feature that gives you direct access to the Django database models. Use this very cautiously as you can cause irreparable damage to your Nautobot installation.
|
|
448
|
-
|
|
449
|
-
```no-highlight
|
|
450
|
-
nautobot-server nbshell
|
|
451
|
-
```
|
|
452
|
-
|
|
453
|
-
Prompt provided:
|
|
454
|
-
|
|
455
|
-
```no-highlight
|
|
456
|
-
# Shell Plus Model Imports
|
|
457
|
-
from constance.backends.database.models import Constance
|
|
458
|
-
from django.contrib.admin.models import LogEntry
|
|
459
|
-
from django.contrib.auth.models import Group, Permission
|
|
460
|
-
from django.contrib.contenttypes.models import ContentType
|
|
461
|
-
from django.contrib.sessions.models import Session
|
|
462
|
-
from django_celery_beat.models import ClockedSchedule, CrontabSchedule, IntervalSchedule, PeriodicTask, PeriodicTasks, SolarSchedule
|
|
463
|
-
from django_celery_results.models import ChordCounter, GroupResult, TaskResult
|
|
464
|
-
from example_plugin.models import AnotherExampleModel, ExampleModel
|
|
465
|
-
from nautobot.circuits.models import Circuit, CircuitTermination, CircuitType, Provider, ProviderNetwork
|
|
466
|
-
from nautobot.dcim.models.cables import Cable, CablePath
|
|
467
|
-
from nautobot.dcim.models.device_component_templates import ConsolePortTemplate, ConsoleServerPortTemplate, DeviceBayTemplate, FrontPortTemplate, InterfaceTemplate, PowerOutletTemplate, PowerPortTemplate, RearPortTemplate
|
|
468
|
-
from nautobot.dcim.models.device_components import ConsolePort, ConsoleServerPort, DeviceBay, FrontPort, Interface, InventoryItem, PowerOutlet, PowerPort, RearPort
|
|
469
|
-
from nautobot.dcim.models.devices import Device, DeviceRedundancyGroup, DeviceType, Manufacturer, Platform, VirtualChassis
|
|
470
|
-
from nautobot.dcim.models.locations import Location, LocationType
|
|
471
|
-
from nautobot.dcim.models.power import PowerFeed, PowerPanel
|
|
472
|
-
from nautobot.dcim.models.racks import Rack, RackGroup, RackReservation
|
|
473
|
-
from nautobot.extras.models.change_logging import ObjectChange
|
|
474
|
-
from nautobot.extras.models.customfields import ComputedField, CustomField, CustomFieldChoice
|
|
475
|
-
from nautobot.extras.models.datasources import GitRepository
|
|
476
|
-
from nautobot.extras.models.groups import DynamicGroup, DynamicGroupMembership
|
|
477
|
-
from nautobot.extras.models.jobs import Job, JobHook, JobLogEntry, JobResult, ScheduledJob, ScheduledJobs
|
|
478
|
-
from nautobot.extras.models.models import ConfigContext, ConfigContextSchema, CustomLink, ExportTemplate, FileAttachment, FileProxy, GraphQLQuery, HealthCheckTestModel, ImageAttachment, Note, Webhook
|
|
479
|
-
from nautobot.extras.models.relationships import Relationship, RelationshipAssociation
|
|
480
|
-
from nautobot.extras.models.roles import Role
|
|
481
|
-
from nautobot.extras.models.secrets import Secret, SecretsGroup, SecretsGroupAssociation
|
|
482
|
-
from nautobot.extras.models.statuses import Status
|
|
483
|
-
from nautobot.extras.models.tags import Tag, TaggedItem
|
|
484
|
-
from nautobot.ipam.models import IPAddress, Prefix, RIR, RouteTarget, Service, VLAN, VLANGroup, VRF
|
|
485
|
-
from nautobot.tenancy.models import Tenant, TenantGroup
|
|
486
|
-
from nautobot.users.models import AdminGroup, ObjectPermission, Token, User
|
|
487
|
-
from nautobot.virtualization.models import Cluster, ClusterGroup, ClusterType, VMInterface, VirtualMachine
|
|
488
|
-
from social_django.models import Association, Code, Nonce, Partial, UserSocialAuth
|
|
489
|
-
# Shell Plus Django Imports
|
|
490
|
-
from django.core.cache import cache
|
|
491
|
-
from django.conf import settings
|
|
492
|
-
from django.contrib.auth import get_user_model
|
|
493
|
-
from django.db import transaction
|
|
494
|
-
from django.db.models import Avg, Case, Count, F, Max, Min, Prefetch, Q, Sum, When
|
|
495
|
-
from django.utils import timezone
|
|
496
|
-
from django.urls import reverse
|
|
497
|
-
from django.db.models import Exists, OuterRef, Subquery
|
|
498
|
-
# Django version 3.2.18
|
|
499
|
-
# Nautobot version 2.0.0a2
|
|
500
|
-
# Example Nautobot App version 1.0.0
|
|
501
|
-
Python 3.8.16 (default, Mar 23 2023, 04:48:11)
|
|
502
|
-
[GCC 10.2.1 20210110] on linux
|
|
503
|
-
Type "help", "copyright", "credits" or "license" for more information.
|
|
504
|
-
(InteractiveConsole)
|
|
505
|
-
>>>
|
|
506
|
-
```
|
|
507
|
-
|
|
508
|
-
Please see the dedicated guide on the [Nautobot Shell](nautobot-shell.md) for more information.
|
|
509
|
-
|
|
510
|
-
### `pre_migrate`
|
|
511
|
-
|
|
512
|
-
--- 2.0.0
|
|
513
|
-
|
|
514
|
-
`nautobot-server pre_migrate`
|
|
515
|
-
|
|
516
|
-
Performs pre-migration validation checks for Nautobot 2.0. Only available in Nautobot 1.5.23 and later versions of Nautobot 1.x.
|
|
517
|
-
|
|
518
|
-
### `post_upgrade`
|
|
519
|
-
|
|
520
|
-
`nautobot-server post_upgrade`
|
|
521
|
-
|
|
522
|
-
Performs common server post-upgrade operations using a single entrypoint.
|
|
523
|
-
|
|
524
|
-
This will run the following management commands with default settings, in order:
|
|
525
|
-
|
|
526
|
-
+/- 1.6.0
|
|
527
|
-
Added the [`send_installation_metrics`](#send_installation_metrics) command to the list of commands run by `post_upgrade`.
|
|
528
|
-
|
|
529
|
-
- `migrate`
|
|
530
|
-
- `trace_paths`
|
|
531
|
-
- `build_ui`
|
|
532
|
-
- `collectstatic`
|
|
533
|
-
- `remove_stale_contenttypes`
|
|
534
|
-
- `clearsessions`
|
|
535
|
-
- `send_installation_metrics`
|
|
536
|
-
- `refresh_content_type_cache`
|
|
537
|
-
- `refresh_dynamic_group_member_caches`
|
|
538
|
-
|
|
539
|
-
!!! note
|
|
540
|
-
Commands listed here that are not covered in this document here are Django built-in commands.
|
|
541
|
-
|
|
542
|
-
--- 2.0.0
|
|
543
|
-
With the removal of `django-cacheops` from Nautobot, this command no longer runs `invalidate all`.
|
|
544
|
-
|
|
545
|
-
+++ 2.0.0
|
|
546
|
-
Added [`build_ui`](#build_ui) to this command's default behavior.
|
|
547
|
-
|
|
548
|
-
+/- 2.0.3
|
|
549
|
-
Changed the [`build_ui`](#build_ui) flag's value to be False by default.
|
|
550
|
-
|
|
551
|
-
`--build-ui`
|
|
552
|
-
Build or rebuild the new UI.
|
|
553
|
-
|
|
554
|
-
`--no-clearsessions`
|
|
555
|
-
Do not automatically clean out expired sessions.
|
|
556
|
-
|
|
557
|
-
`--no-collectstatic`
|
|
558
|
-
Do not automatically collect static files into a single location.
|
|
559
|
-
|
|
560
|
-
`--no-migrate`
|
|
561
|
-
Do not automatically perform any database migrations.
|
|
562
|
-
|
|
563
|
-
`--no-remove-stale-contenttypes`
|
|
564
|
-
Do not automatically remove stale content types.
|
|
565
|
-
|
|
566
|
-
`--no-trace-paths`
|
|
567
|
-
Do not automatically generate missing cable paths.
|
|
568
|
-
|
|
569
|
-
--- 2.0.0
|
|
570
|
-
With the removal of `django-cacheops` from Nautobot, the `--no-invalidate-all` flag was removed from this command.
|
|
571
|
-
|
|
572
|
-
`--no-refresh-content-type-cache`
|
|
573
|
-
Do not automatically refresh the content type cache.
|
|
574
|
-
|
|
575
|
-
`--no-refresh-dynamic-group-member-caches`
|
|
576
|
-
Do not automatically refresh the dynamic group member lists.
|
|
577
|
-
|
|
578
|
-
```no-highlight
|
|
579
|
-
nautobot-server post_upgrade
|
|
580
|
-
```
|
|
581
|
-
|
|
582
|
-
Example Output:
|
|
583
|
-
|
|
584
|
-
```no-highlight
|
|
585
|
-
Performing database migrations...
|
|
586
|
-
Operations to perform:
|
|
587
|
-
Apply all migrations: admin, auth, circuits, contenttypes, dcim, extras, ipam, sessions, taggit, tenancy, users, virtualization
|
|
588
|
-
Running migrations:
|
|
589
|
-
No migrations to apply.
|
|
590
|
-
|
|
591
|
-
Generating cable paths...
|
|
592
|
-
Found no missing circuit termination paths; skipping
|
|
593
|
-
Found no missing console port paths; skipping
|
|
594
|
-
Found no missing console server port paths; skipping
|
|
595
|
-
Found no missing interface paths; skipping
|
|
596
|
-
Found no missing power feed paths; skipping
|
|
597
|
-
Found no missing power outlet paths; skipping
|
|
598
|
-
Found no missing power port paths; skipping
|
|
599
|
-
Finished.
|
|
600
|
-
|
|
601
|
-
Collecting static files...
|
|
602
|
-
|
|
603
|
-
0 static files copied to '/opt/nautobot/static', 965 unmodified.
|
|
604
|
-
|
|
605
|
-
Removing stale content types...
|
|
606
|
-
|
|
607
|
-
Removing expired sessions...
|
|
608
|
-
```
|
|
609
|
-
|
|
610
|
-
### `refresh_dynamic_group_member_caches`
|
|
611
|
-
|
|
612
|
-
+++ 1.6.0
|
|
613
|
-
|
|
614
|
-
`nautobot-server refresh_dynamic_group_member_caches`
|
|
615
|
-
|
|
616
|
-
Refresh the cached members of all Dynamic Groups. This is useful to periodically update the cached list of members of a Dynamic Group without having to wait for caches to expire, which defaults to one hour.
|
|
617
|
-
|
|
618
|
-
### `refresh_content_type_caches`
|
|
619
|
-
|
|
620
|
-
+++ 1.6.0
|
|
621
|
-
|
|
622
|
-
`nautobot-server refresh_content_type_caches`
|
|
623
|
-
|
|
624
|
-
Refresh the cached ContentType object property available via `Model._content_type_cached`. If content types are added or removed, this command will update the cache to reflect the current state of the database, but should already be done through the `post_upgrade` command.
|
|
625
|
-
|
|
626
|
-
### `remove_stale_scheduled_jobs`
|
|
627
|
-
|
|
628
|
-
+++ 1.3.10
|
|
629
|
-
|
|
630
|
-
`nautobot-server remove_stale_scheduled_jobs [max-age of days]`
|
|
631
|
-
|
|
632
|
-
Delete non-recurring scheduled jobs that were scheduled to run more than `max-age` days ago.
|
|
633
|
-
|
|
634
|
-
### `renaturalize`
|
|
635
|
-
|
|
636
|
-
`nautobot-server renaturalize [app_label.ModelName [app_label.ModelName ...]]`
|
|
637
|
-
|
|
638
|
-
Recalculate natural ordering values for the specified models.
|
|
639
|
-
|
|
640
|
-
This defaults to recalculating natural ordering on all models which have one or more fields of type `NaturalOrderingField`:
|
|
641
|
-
|
|
642
|
-
```no-highlight
|
|
643
|
-
nautobot-server renaturalize
|
|
644
|
-
```
|
|
645
|
-
|
|
646
|
-
Example output:
|
|
647
|
-
|
|
648
|
-
```no-highlight
|
|
649
|
-
Renaturalizing 21 models.
|
|
650
|
-
dcim.ConsolePort.name (_name)... 196
|
|
651
|
-
dcim.ConsoleServerPort.name (_name)... 0
|
|
652
|
-
dcim.PowerPort.name (_name)... 392
|
|
653
|
-
dcim.PowerOutlet.name (_name)... 0
|
|
654
|
-
dcim.Interface.name (_name)... 7161
|
|
655
|
-
dcim.FrontPort.name (_name)... 0
|
|
656
|
-
dcim.RearPort.name (_name)... 0
|
|
657
|
-
dcim.DeviceBay.name (_name)... 0
|
|
658
|
-
dcim.InventoryItem.name (_name)... 1
|
|
659
|
-
dcim.Device.name (_name)... 208
|
|
660
|
-
dcim.ConsolePortTemplate.name (_name)... 2
|
|
661
|
-
dcim.ConsoleServerPortTemplate.name (_name)... 0
|
|
662
|
-
dcim.PowerPortTemplate.name (_name)... 4
|
|
663
|
-
dcim.PowerOutletTemplate.name (_name)... 0
|
|
664
|
-
dcim.InterfaceTemplate.name (_name)... 221
|
|
665
|
-
dcim.FrontPortTemplate.name (_name)... 0
|
|
666
|
-
dcim.RearPortTemplate.name (_name)... 0
|
|
667
|
-
dcim.DeviceBayTemplate.name (_name)... 0
|
|
668
|
-
dcim.Rack.name (_name)... 156
|
|
669
|
-
virtualization.VMInterface.name (_name)... 0
|
|
670
|
-
Done.
|
|
671
|
-
```
|
|
672
|
-
|
|
673
|
-
You may optionally specify or more specific models (each prefixed with its app_label) to renaturalize:
|
|
674
|
-
|
|
675
|
-
```no-highlight
|
|
676
|
-
nautobot-server renaturalize dcim.Device
|
|
677
|
-
```
|
|
678
|
-
|
|
679
|
-
Example output:
|
|
680
|
-
|
|
681
|
-
```no-highlight
|
|
682
|
-
Renaturalizing 1 models.
|
|
683
|
-
dcim.Device.name (_name)... 208
|
|
684
|
-
Done.
|
|
685
|
-
```
|
|
686
|
-
|
|
687
|
-
### `runjob`
|
|
688
|
-
|
|
689
|
-
`nautobot-server runjob [job]`
|
|
690
|
-
|
|
691
|
-
Run a job (script, report) to validate or update data in Nautobot.
|
|
692
|
-
|
|
693
|
-
`--commit`
|
|
694
|
-
Commit changes to DB (defaults to dry-run if unset). `--username` is mandatory if using this argument.
|
|
695
|
-
|
|
696
|
-
`--username <username>`
|
|
697
|
-
User account to impersonate as the requester of this job.
|
|
698
|
-
|
|
699
|
-
```no-highlight
|
|
700
|
-
nautobot-server runjob --commit --username someuser local/example/MyJobWithNoVars
|
|
701
|
-
```
|
|
702
|
-
|
|
703
|
-
Note that there is presently no option to provide input parameters (`data`) for jobs via the CLI.
|
|
704
|
-
|
|
705
|
-
Please see the [guide on Jobs](../../platform-functionality/jobs/index.md) for more information on working with and running jobs.
|
|
706
|
-
|
|
707
|
-
### `send_installation_metrics`
|
|
708
|
-
|
|
709
|
-
+++ 1.6.0
|
|
710
|
-
|
|
711
|
-
`nautobot-server send_installation_metrics`
|
|
712
|
-
|
|
713
|
-
Send anonymized installation metrics to the Nautobot maintainers. This management command is called by [`post_upgrade`](#post_upgrade) and is not intended to be run manually.
|
|
714
|
-
|
|
715
|
-
If the [`INSTALLATION_METRICS_ENABLED`](../configuration/optional-settings.md#installation_metrics_enabled) setting is `True`, this command will send a list of all installed [apps](../../../development/apps/index.md) and their versions, as well as the currently installed Nautobot and Python versions, to the Nautobot maintainers. A randomized UUID will be generated and saved in the [`DEPLOYMENT_ID`](../configuration/optional-settings.md#deployment_id) setting to anonymously but uniquely identify this installation. The plugin names will be one-way hashed with SHA256 to further anonymize the data sent. This enables tracking the installation metrics of publicly released apps without disclosing the names of any private apps.
|
|
716
|
-
|
|
717
|
-
The following is an example of the data that is sent:
|
|
718
|
-
|
|
719
|
-
```py
|
|
720
|
-
{
|
|
721
|
-
"deployment_id": "1de3dacf-f046-4a98-8d4a-17419080db79",
|
|
722
|
-
"nautobot_version": "1.6.0b1",
|
|
723
|
-
"python_version": "3.10.12",
|
|
724
|
-
"installed_apps": {
|
|
725
|
-
# "example_plugin" hashed by sha256
|
|
726
|
-
"3ffee4622af3aad6f78257e3ae12da99ca21d71d099f67f4a2e19e464453bee7": "1.0.0"
|
|
727
|
-
}
|
|
728
|
-
}
|
|
729
|
-
```
|
|
730
|
-
|
|
731
|
-
### `start`
|
|
732
|
-
|
|
733
|
-
`nautobot-server start`
|
|
734
|
-
|
|
735
|
-
Directly invoke uWSGI to start a Nautobot server suitable for production use. This command behaves exactly as uWSGI does, but allows us to maintain a single entrypoint into the Nautobot application.
|
|
736
|
-
|
|
737
|
-
!!! note
|
|
738
|
-
uWSGI offers an overwhelming amount of command-line arguments that could not possibly be covered here. Please see the [official uWSGI Options guide](https://uwsgi-docs.readthedocs.io/en/latest/Options.html) for more information.
|
|
739
|
-
|
|
740
|
-
```no-highlight
|
|
741
|
-
nautobot-server start --ini ./uwsgi.ini
|
|
742
|
-
```
|
|
743
|
-
|
|
744
|
-
Example output:
|
|
745
|
-
|
|
746
|
-
```no-highlight
|
|
747
|
-
[uWSGI] getting INI configuration from ./uwsgi.ini
|
|
748
|
-
[uwsgi-static] added mapping for /static => /opt/nautobot/static
|
|
749
|
-
*** Starting uWSGI 2.0.19.1 (64bit) on [Thu Mar 11 21:13:22 2021] ***
|
|
750
|
-
compiled with version: 8.3.1 20190311 (Red Hat 8.3.1-3) on 23 September 2020 02:39:40
|
|
751
|
-
os: Linux-5.4.0-52-generic #57-Ubuntu SMP Thu Oct 15 10:57:00 UTC 2020
|
|
752
|
-
nodename: jathan-nautobot-testing
|
|
753
|
-
machine: x86_64
|
|
754
|
-
clock source: unix
|
|
755
|
-
pcre jit disabled
|
|
756
|
-
detected number of CPU cores: 48
|
|
757
|
-
current working directory: /opt/nautobot
|
|
758
|
-
detected binary path: /usr/bin/python3.8
|
|
759
|
-
your processes number limit is 256070
|
|
760
|
-
your memory page size is 4096 bytes
|
|
761
|
-
detected max file descriptor number: 1024
|
|
762
|
-
building mime-types dictionary from file /etc/mime.types...567 entry found
|
|
763
|
-
lock engine: pthread robust mutexes
|
|
764
|
-
thunder lock: disabled (you can enable it with --thunder-lock)
|
|
765
|
-
uwsgi socket 0 bound to TCP address 0.0.0.0:9191 fd 7
|
|
766
|
-
Python version: 3.8.5 (default, Jan 27 2021, 15:41:15) [GCC 9.3.0]
|
|
767
|
-
--- Python VM already initialized ---
|
|
768
|
-
Python main interpreter initialized at 0x2573e30
|
|
769
|
-
python threads support enabled
|
|
770
|
-
your server socket listen backlog is limited to 1024 connections
|
|
771
|
-
your mercy for graceful operations on workers is 60 seconds
|
|
772
|
-
mapped 636432 bytes (621 KB) for 15 cores
|
|
773
|
-
*** Operational MODE: preforking+threaded ***
|
|
774
|
-
WSGI app 0 (mountpoint='') ready in 0 seconds on interpreter 0x2573e30 pid: 112153 (default app)
|
|
775
|
-
spawned uWSGI master process (pid: 112153)
|
|
776
|
-
spawned uWSGI worker 1 (pid: 112159, cores: 3)
|
|
777
|
-
spawned uWSGI worker 2 (pid: 112162, cores: 3)
|
|
778
|
-
spawned uWSGI worker 3 (pid: 112165, cores: 3)
|
|
779
|
-
spawned uWSGI worker 4 (pid: 112168, cores: 3)
|
|
780
|
-
spawned uWSGI worker 5 (pid: 112171, cores: 3)
|
|
781
|
-
```
|
|
782
|
-
|
|
783
|
-
Please see the guide on [Deploying Nautobot Services](../installation/services.md) for our recommended configuration for use with uWSGI.
|
|
784
|
-
|
|
785
|
-
### `startplugin`
|
|
786
|
-
|
|
787
|
-
`nautobot-server startplugin <name> [directory]`
|
|
788
|
-
|
|
789
|
-
Create a new plugin with `name`.
|
|
790
|
-
|
|
791
|
-
This command is similar to the django-admin [startapp](https://docs.djangoproject.com/en/stable/ref/django-admin/#startapp) command, but with a default template directory (`--template`) of `nautobot/core/templates/plugin_template`. This command assists with creating a basic file structure for beginning development of a new Nautobot plugin.
|
|
792
|
-
|
|
793
|
-
Without passing in the destination directory, `nautobot-server startplugin` will use your current directory and the `name` argument provided to create a new directory. We recommend providing a directory so that the plugin can be installed or published easily. Here is an example:
|
|
794
|
-
|
|
795
|
-
```no-highlight
|
|
796
|
-
mkdir -p ~/myplugin/myplugin
|
|
797
|
-
nautobot-server startplugin myplugin ~/myplugin/myplugin
|
|
798
|
-
```
|
|
799
|
-
|
|
800
|
-
Additional options such as `--name` or `--extension` can be found in the Django [documentation](https://docs.djangoproject.com/en/stable/ref/django-admin/#startapp).
|
|
801
|
-
|
|
802
|
-
### `trace_paths`
|
|
803
|
-
|
|
804
|
-
`nautobot-server trace_paths`
|
|
805
|
-
|
|
806
|
-
Generate any missing cable paths among all cable termination objects in Nautobot.
|
|
807
|
-
|
|
808
|
-
After upgrading the database or working with Cables, Circuits, or other related objects, there may be a need to rebuild cached cable paths.
|
|
809
|
-
|
|
810
|
-
`--force`
|
|
811
|
-
Force recalculation of all existing cable paths.
|
|
812
|
-
|
|
813
|
-
`--no-input`
|
|
814
|
-
Do not prompt user for any input/confirmation.
|
|
815
|
-
|
|
816
|
-
```no-highlight
|
|
817
|
-
nautobot-server trace_paths
|
|
818
|
-
```
|
|
819
|
-
|
|
820
|
-
Example output:
|
|
821
|
-
|
|
822
|
-
```no-highlight
|
|
823
|
-
Found no missing circuit termination paths; skipping
|
|
824
|
-
Found no missing console port paths; skipping
|
|
825
|
-
Found no missing console server port paths; skipping
|
|
826
|
-
Found no missing interface paths; skipping
|
|
827
|
-
Found no missing power feed paths; skipping
|
|
828
|
-
Found no missing power outlet paths; skipping
|
|
829
|
-
Found no missing power port paths; skipping
|
|
830
|
-
Finished.
|
|
831
|
-
```
|
|
832
|
-
|
|
833
|
-
!!! note
|
|
834
|
-
This command is safe to run at any time. If it does detect any changes, it will exit cleanly.
|
|
835
|
-
|
|
836
|
-
### `webhook_receiver`
|
|
837
|
-
|
|
838
|
-
`nautobot-server webhook_receiver`
|
|
839
|
-
|
|
840
|
-
Start a simple listener to display received HTTP requests.
|
|
841
|
-
|
|
842
|
-
`--port PORT`
|
|
843
|
-
Optional port number (default: `9000`)
|
|
844
|
-
|
|
845
|
-
`--no-headers`
|
|
846
|
-
Hide HTTP request headers.
|
|
847
|
-
|
|
848
|
-
```no-highlight
|
|
849
|
-
nautobot-server webhook_receiver --port 9001 --no-headers
|
|
850
|
-
```
|
|
851
|
-
|
|
852
|
-
Example output:
|
|
853
|
-
|
|
854
|
-
```no-highlight
|
|
855
|
-
Listening on port http://localhost:9000. Stop with CONTROL-C.
|
|
856
|
-
```
|
|
857
|
-
|
|
858
|
-
Please see the guide on [Troubleshooting Webhooks](../../platform-functionality/webhook.md#troubleshooting) for more information.
|