nautobot 2.4.14__py3-none-any.whl → 2.4.15__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/apps/choices.py +8 -0
- nautobot/apps/ui.py +14 -0
- nautobot/core/api/views.py +2 -0
- nautobot/core/choices.py +4 -0
- nautobot/core/filters.py +21 -41
- nautobot/core/management/commands/check_job_approval_status.py +47 -0
- nautobot/core/management/commands/generate_test_data.py +1 -1
- nautobot/core/management/commands/migrate.py +1 -1
- nautobot/core/models/tree_queries.py +17 -0
- nautobot/core/settings.py +2 -2
- nautobot/core/tables.py +25 -2
- nautobot/core/templates/base_django.html +1 -1
- nautobot/core/templates/components/panel/header_extra_content_table.html +1 -1
- nautobot/core/templates/generic/object_list.html +17 -20
- nautobot/core/templates/inc/breadcrumbs.html +14 -0
- nautobot/core/templatetags/buttons.py +2 -4
- nautobot/core/templatetags/helpers.py +29 -6
- nautobot/core/templatetags/ui_framework.py +21 -0
- nautobot/core/testing/filters.py +20 -3
- nautobot/core/testing/forms.py +1 -1
- nautobot/core/tests/integration/test_filters.py +2 -2
- nautobot/core/tests/test_breadcrumbs.py +366 -0
- nautobot/core/tests/test_commands.py +40 -0
- nautobot/core/tests/test_filters.py +51 -1
- nautobot/core/tests/test_forms.py +1 -1
- nautobot/core/tests/test_graphql.py +4 -4
- nautobot/core/tests/test_titles.py +183 -0
- nautobot/core/tests/test_tree_queries.py +30 -0
- nautobot/core/tests/test_views.py +2 -2
- nautobot/core/tests/test_views_utils.py +1 -1
- nautobot/core/ui/breadcrumbs.py +538 -0
- nautobot/core/ui/bulk_buttons.py +53 -0
- nautobot/core/ui/object_detail.py +31 -8
- nautobot/core/ui/titles.py +127 -0
- nautobot/core/ui/utils.py +25 -0
- nautobot/core/utils/migrations.py +1 -1
- nautobot/core/views/__init__.py +1 -1
- nautobot/core/views/mixins.py +26 -1
- nautobot/core/views/renderers.py +20 -2
- nautobot/core/views/utils.py +13 -12
- nautobot/dcim/api/serializers.py +9 -0
- nautobot/dcim/choices.py +53 -0
- nautobot/dcim/filters/__init__.py +15 -3
- nautobot/dcim/forms.py +120 -7
- nautobot/dcim/management/commands/trace_paths.py +1 -1
- nautobot/dcim/migrations/0072_alter_powerfeed_options_and_more.py +97 -0
- nautobot/dcim/models/device_component_templates.py +8 -0
- nautobot/dcim/models/device_components.py +31 -12
- nautobot/dcim/models/devices.py +1 -1
- nautobot/dcim/models/power.py +171 -10
- nautobot/dcim/models/racks.py +7 -4
- nautobot/dcim/tables/devices.py +2 -0
- nautobot/dcim/tables/devicetypes.py +1 -0
- nautobot/dcim/tables/power.py +30 -2
- nautobot/dcim/templates/dcim/device.html +2 -2
- nautobot/dcim/templates/dcim/devicetype_retrieve.html +1 -214
- nautobot/dcim/templates/dcim/location_retrieve.html +2 -2
- nautobot/dcim/templates/dcim/powerfeed_edit.html +8 -0
- nautobot/dcim/templates/dcim/powerfeed_retrieve.html +1 -1
- nautobot/dcim/tests/integration/test_device_bulk_operations.py +61 -0
- nautobot/dcim/tests/test_api.py +24 -4
- nautobot/dcim/tests/test_filters.py +91 -13
- nautobot/dcim/tests/test_models.py +262 -0
- nautobot/dcim/tests/test_views.py +20 -12
- nautobot/dcim/utils.py +9 -0
- nautobot/dcim/views.py +390 -77
- nautobot/extras/factory.py +19 -20
- nautobot/extras/filters/__init__.py +3 -2
- nautobot/extras/filters/mixins.py +15 -1
- nautobot/extras/forms/__init__.py +2 -1
- nautobot/extras/forms/forms.py +62 -0
- nautobot/extras/managers.py +4 -1
- nautobot/extras/migrations/0125_jobresult_date_started.py +18 -0
- nautobot/extras/models/customfields.py +1 -2
- nautobot/extras/models/datasources.py +1 -2
- nautobot/extras/models/jobs.py +7 -3
- nautobot/extras/plugins/views.py +24 -1
- nautobot/extras/secrets/__init__.py +1 -1
- nautobot/extras/tables.py +9 -0
- nautobot/extras/templates/extras/customfield.html +2 -129
- nautobot/extras/templates/extras/customfield_edit.html +2 -108
- nautobot/extras/templates/extras/customfield_retrieve.html +129 -0
- nautobot/extras/templates/extras/customfield_update.html +108 -0
- nautobot/extras/templates/extras/inc/jobresult.html +7 -3
- nautobot/extras/templates/extras/jobresult.html +2 -155
- nautobot/extras/templates/extras/jobresult_retrieve.html +155 -0
- nautobot/extras/templates/extras/marketplace.html +5 -6
- nautobot/extras/templates/extras/note.html +2 -53
- nautobot/extras/templates/extras/note_retrieve.html +53 -0
- nautobot/extras/templates/extras/plugins_list.html +5 -6
- nautobot/extras/templatetags/custom_links.py +2 -2
- nautobot/extras/templatetags/job_buttons.py +1 -1
- nautobot/extras/templatetags/plugins.py +1 -1
- nautobot/extras/tests/integration/test_computedfields.py +2 -2
- nautobot/extras/tests/integration/test_customfields.py +14 -11
- nautobot/extras/tests/integration/test_dynamicgroups.py +1 -1
- nautobot/extras/tests/integration/test_notes.py +1 -1
- nautobot/extras/tests/integration/test_plugins.py +6 -6
- nautobot/extras/tests/integration/test_relationships.py +2 -2
- nautobot/extras/tests/test_filters.py +9 -0
- nautobot/extras/tests/test_forms.py +2 -2
- nautobot/extras/tests/test_plugins.py +2 -3
- nautobot/extras/tests/test_relationships.py +7 -7
- nautobot/extras/tests/test_views.py +172 -1
- nautobot/extras/urls.py +3 -59
- nautobot/extras/utils.py +1 -1
- nautobot/extras/views.py +77 -178
- nautobot/ipam/tables.py +8 -15
- nautobot/ipam/tests/migration/test_migrations.py +8 -8
- nautobot/ipam/tests/test_api.py +2 -2
- nautobot/ipam/tests/test_models.py +1 -1
- nautobot/project-static/docs/404.html +23 -0
- nautobot/project-static/docs/apps/index.html +23 -0
- nautobot/project-static/docs/apps/nautobot-apps.html +23 -0
- nautobot/project-static/docs/assets/_mkdocstrings.css +44 -6
- nautobot/project-static/docs/code-reference/nautobot/apps/__init__.html +28 -0
- nautobot/project-static/docs/code-reference/nautobot/apps/admin.html +25 -0
- nautobot/project-static/docs/code-reference/nautobot/apps/api.html +128 -20
- nautobot/project-static/docs/code-reference/nautobot/apps/change_logging.html +37 -4
- nautobot/project-static/docs/code-reference/nautobot/apps/choices.html +39 -6
- nautobot/project-static/docs/code-reference/nautobot/apps/config.html +25 -0
- nautobot/project-static/docs/code-reference/nautobot/apps/constants.html +24 -0
- nautobot/project-static/docs/code-reference/nautobot/apps/datasources.html +32 -5
- nautobot/project-static/docs/code-reference/nautobot/apps/events.html +41 -8
- nautobot/project-static/docs/code-reference/nautobot/apps/exceptions.html +39 -7
- nautobot/project-static/docs/code-reference/nautobot/apps/factory.html +43 -10
- nautobot/project-static/docs/code-reference/nautobot/apps/filters.html +74 -59
- nautobot/project-static/docs/code-reference/nautobot/apps/forms.html +143 -28
- nautobot/project-static/docs/code-reference/nautobot/apps/graphql.html +43 -12
- nautobot/project-static/docs/code-reference/nautobot/apps/jobs.html +135 -53
- nautobot/project-static/docs/code-reference/nautobot/apps/models.html +229 -36
- nautobot/project-static/docs/code-reference/nautobot/apps/querysets.html +27 -1
- nautobot/project-static/docs/code-reference/nautobot/apps/secrets.html +30 -1
- nautobot/project-static/docs/code-reference/nautobot/apps/tables.html +162 -18
- nautobot/project-static/docs/code-reference/nautobot/apps/testing.html +258 -51
- nautobot/project-static/docs/code-reference/nautobot/apps/ui.html +5987 -2620
- nautobot/project-static/docs/code-reference/nautobot/apps/urls.html +25 -0
- nautobot/project-static/docs/code-reference/nautobot/apps/utils.html +154 -55
- nautobot/project-static/docs/code-reference/nautobot/apps/views.html +150 -35
- nautobot/project-static/docs/development/apps/api/configuration-view.html +23 -0
- nautobot/project-static/docs/development/apps/api/database-backend-config.html +23 -0
- nautobot/project-static/docs/development/apps/api/models/django-admin.html +23 -0
- nautobot/project-static/docs/development/apps/api/models/global-search.html +23 -0
- nautobot/project-static/docs/development/apps/api/models/graphql.html +23 -0
- nautobot/project-static/docs/development/apps/api/models/index.html +23 -0
- nautobot/project-static/docs/development/apps/api/nautobot-app-config.html +23 -0
- nautobot/project-static/docs/development/apps/api/platform-features/custom-validators.html +23 -0
- nautobot/project-static/docs/development/apps/api/platform-features/filter-extensions.html +23 -0
- nautobot/project-static/docs/development/apps/api/platform-features/git-repository-content.html +23 -0
- nautobot/project-static/docs/development/apps/api/platform-features/index.html +23 -0
- nautobot/project-static/docs/development/apps/api/platform-features/jinja2-filters.html +23 -0
- nautobot/project-static/docs/development/apps/api/platform-features/jobs.html +23 -0
- nautobot/project-static/docs/development/apps/api/platform-features/populating-extensibility-features.html +23 -0
- nautobot/project-static/docs/development/apps/api/platform-features/secrets-providers.html +23 -0
- nautobot/project-static/docs/development/apps/api/platform-features/table-extensions.html +23 -0
- nautobot/project-static/docs/development/apps/api/platform-features/uniquely-identify-objects.html +23 -0
- nautobot/project-static/docs/development/apps/api/prometheus.html +23 -0
- nautobot/project-static/docs/development/apps/api/setup.html +23 -0
- nautobot/project-static/docs/development/apps/api/testing.html +23 -0
- nautobot/project-static/docs/development/apps/api/ui-extensions/banners.html +23 -0
- nautobot/project-static/docs/development/apps/api/ui-extensions/home-page.html +23 -0
- nautobot/project-static/docs/development/apps/api/ui-extensions/index.html +23 -0
- nautobot/project-static/docs/development/apps/api/ui-extensions/navigation.html +23 -0
- nautobot/project-static/docs/development/apps/api/ui-extensions/object-views.html +23 -0
- nautobot/project-static/docs/development/apps/api/views/base-template.html +23 -0
- nautobot/project-static/docs/development/apps/api/views/core-view-overrides.html +23 -0
- nautobot/project-static/docs/development/apps/api/views/django-generic-views.html +23 -0
- nautobot/project-static/docs/development/apps/api/views/help-documentation.html +23 -0
- nautobot/project-static/docs/development/apps/api/views/index.html +23 -0
- nautobot/project-static/docs/development/apps/api/views/nautobot-generic-views.html +23 -0
- nautobot/project-static/docs/development/apps/api/views/nautobotuiviewset.html +31 -2
- nautobot/project-static/docs/development/apps/api/views/nautobotuiviewsetrouter.html +23 -0
- nautobot/project-static/docs/development/apps/api/views/notes.html +23 -0
- nautobot/project-static/docs/development/apps/api/views/rest-api.html +23 -0
- nautobot/project-static/docs/development/apps/api/views/urls.html +23 -0
- nautobot/project-static/docs/development/apps/index.html +23 -0
- nautobot/project-static/docs/development/apps/migration/code-updates.html +23 -0
- nautobot/project-static/docs/development/apps/migration/dependency-updates.html +23 -0
- nautobot/project-static/docs/development/apps/migration/from-v1.html +23 -0
- nautobot/project-static/docs/development/apps/migration/model-updates/dcim.html +23 -0
- nautobot/project-static/docs/development/apps/migration/model-updates/extras.html +23 -0
- nautobot/project-static/docs/development/apps/migration/model-updates/global.html +23 -0
- nautobot/project-static/docs/development/apps/migration/model-updates/ipam.html +23 -0
- nautobot/project-static/docs/development/apps/migration/ui-component-framework/best-practices.html +26 -3
- nautobot/project-static/docs/development/apps/migration/ui-component-framework/breadcrumbs-titles.html +10544 -0
- nautobot/project-static/docs/development/apps/migration/ui-component-framework/custom-content.html +23 -0
- nautobot/project-static/docs/development/apps/migration/ui-component-framework/index.html +23 -0
- nautobot/project-static/docs/development/apps/migration/ui-component-framework/migration-steps.html +23 -0
- nautobot/project-static/docs/development/apps/porting-from-netbox.html +26 -3
- nautobot/project-static/docs/development/core/application-registry.html +23 -0
- nautobot/project-static/docs/development/core/best-practices.html +23 -0
- nautobot/project-static/docs/development/core/bootstrap-ui.html +23 -0
- nautobot/project-static/docs/development/core/caching.html +23 -0
- nautobot/project-static/docs/development/core/controllers.html +23 -0
- nautobot/project-static/docs/development/core/docker-compose-advanced-use-cases.html +23 -0
- nautobot/project-static/docs/development/core/generic-views.html +23 -0
- nautobot/project-static/docs/development/core/getting-started.html +23 -0
- nautobot/project-static/docs/development/core/homepage.html +23 -0
- nautobot/project-static/docs/development/core/index.html +23 -0
- nautobot/project-static/docs/development/core/minikube-dev-environment-for-k8s-jobs.html +23 -0
- nautobot/project-static/docs/development/core/model-checklist.html +23 -0
- nautobot/project-static/docs/development/core/model-features.html +23 -0
- nautobot/project-static/docs/development/core/natural-keys.html +23 -0
- nautobot/project-static/docs/development/core/navigation-menu.html +23 -0
- nautobot/project-static/docs/development/core/release-checklist.html +23 -0
- nautobot/project-static/docs/development/core/role-internals.html +23 -0
- nautobot/project-static/docs/development/core/settings.html +23 -0
- nautobot/project-static/docs/development/core/style-guide.html +23 -0
- nautobot/project-static/docs/development/core/templates.html +23 -0
- nautobot/project-static/docs/development/core/testing.html +23 -0
- nautobot/project-static/docs/development/core/ui-component-framework.html +713 -255
- nautobot/project-static/docs/development/core/user-preferences.html +23 -0
- nautobot/project-static/docs/development/index.html +23 -0
- nautobot/project-static/docs/development/jobs/getting-started.html +23 -0
- nautobot/project-static/docs/development/jobs/index.html +23 -0
- nautobot/project-static/docs/development/jobs/installation.html +23 -0
- nautobot/project-static/docs/development/jobs/job-extensions.html +23 -0
- nautobot/project-static/docs/development/jobs/job-logging.html +23 -0
- nautobot/project-static/docs/development/jobs/job-patterns.html +23 -0
- nautobot/project-static/docs/development/jobs/job-structure.html +23 -0
- nautobot/project-static/docs/development/jobs/migration/from-v1.html +23 -0
- nautobot/project-static/docs/development/jobs/testing.html +23 -0
- nautobot/project-static/docs/index.html +23 -0
- nautobot/project-static/docs/media/development/core/ui-component-framework/breadcrumbs-titles-data-flow.png +0 -0
- nautobot/project-static/docs/media/power_distribution.png +0 -0
- nautobot/project-static/docs/objects.inv +0 -0
- nautobot/project-static/docs/overview/application_stack.html +23 -0
- nautobot/project-static/docs/overview/design_philosophy.html +23 -0
- nautobot/project-static/docs/release-notes/index.html +23 -0
- nautobot/project-static/docs/release-notes/version-1.0.html +23 -0
- nautobot/project-static/docs/release-notes/version-1.1.html +23 -0
- nautobot/project-static/docs/release-notes/version-1.2.html +23 -0
- nautobot/project-static/docs/release-notes/version-1.3.html +23 -0
- nautobot/project-static/docs/release-notes/version-1.4.html +23 -0
- nautobot/project-static/docs/release-notes/version-1.5.html +23 -0
- nautobot/project-static/docs/release-notes/version-1.6.html +23 -0
- nautobot/project-static/docs/release-notes/version-2.0.html +23 -0
- nautobot/project-static/docs/release-notes/version-2.1.html +23 -0
- nautobot/project-static/docs/release-notes/version-2.2.html +23 -0
- nautobot/project-static/docs/release-notes/version-2.3.html +23 -0
- nautobot/project-static/docs/release-notes/version-2.4.html +231 -0
- nautobot/project-static/docs/requirements.txt +2 -2
- nautobot/project-static/docs/search/search_index.json +1 -1
- nautobot/project-static/docs/sitemap.xml +303 -299
- nautobot/project-static/docs/sitemap.xml.gz +0 -0
- nautobot/project-static/docs/user-guide/administration/configuration/authentication/ldap.html +23 -0
- nautobot/project-static/docs/user-guide/administration/configuration/authentication/remote.html +23 -0
- nautobot/project-static/docs/user-guide/administration/configuration/authentication/sso.html +23 -0
- nautobot/project-static/docs/user-guide/administration/configuration/index.html +23 -0
- nautobot/project-static/docs/user-guide/administration/configuration/redis.html +23 -0
- nautobot/project-static/docs/user-guide/administration/configuration/settings.html +23 -0
- nautobot/project-static/docs/user-guide/administration/configuration/time-zones.html +23 -0
- nautobot/project-static/docs/user-guide/administration/guides/celery-queues.html +23 -0
- nautobot/project-static/docs/user-guide/administration/guides/docker.html +23 -0
- nautobot/project-static/docs/user-guide/administration/guides/health-checks.html +23 -0
- nautobot/project-static/docs/user-guide/administration/guides/permissions.html +23 -0
- nautobot/project-static/docs/user-guide/administration/guides/prometheus-metrics.html +23 -0
- nautobot/project-static/docs/user-guide/administration/guides/replicating-nautobot.html +23 -0
- nautobot/project-static/docs/user-guide/administration/guides/request-profiling.html +23 -0
- nautobot/project-static/docs/user-guide/administration/guides/s3-django-storage.html +23 -0
- nautobot/project-static/docs/user-guide/administration/guides/selinux-troubleshooting.html +23 -0
- nautobot/project-static/docs/user-guide/administration/installation/app-install.html +23 -0
- nautobot/project-static/docs/user-guide/administration/installation/external-authentication.html +23 -0
- nautobot/project-static/docs/user-guide/administration/installation/http-server.html +23 -0
- nautobot/project-static/docs/user-guide/administration/installation/index.html +23 -0
- nautobot/project-static/docs/user-guide/administration/installation/install_system.html +23 -0
- nautobot/project-static/docs/user-guide/administration/installation/nautobot.html +23 -0
- nautobot/project-static/docs/user-guide/administration/installation/services.html +23 -0
- nautobot/project-static/docs/user-guide/administration/migration/migrating-from-netbox.html +23 -0
- nautobot/project-static/docs/user-guide/administration/migration/migrating-from-postgresql.html +23 -0
- nautobot/project-static/docs/user-guide/administration/security/index.html +23 -0
- nautobot/project-static/docs/user-guide/administration/security/notices.html +23 -0
- nautobot/project-static/docs/user-guide/administration/tools/nautobot-server.html +284 -219
- nautobot/project-static/docs/user-guide/administration/tools/nautobot-shell.html +23 -0
- nautobot/project-static/docs/user-guide/administration/upgrading/database-backup.html +23 -0
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/after-you-upgrade.html +23 -0
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/before-you-upgrade.html +23 -0
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/for-developers.html +23 -0
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/index.html +23 -0
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/whats-changed.html +23 -0
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/region-and-site-data-migration-guide.html +23 -0
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/upgrading-from-nautobot-v1.html +23 -0
- nautobot/project-static/docs/user-guide/administration/upgrading/upgrading.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/circuits/circuit.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/circuits/circuittermination.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/circuits/circuittype.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/circuits/provider.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/circuits/providernetwork.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloud.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudaccount.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudnetwork.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudnetworkprefixassignment.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudresourcetype.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudservice.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudservicenetworkassignment.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/cable.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/consoleport.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/consoleporttemplate.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/consoleserverport.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/consoleserverporttemplate.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/controller.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/controllermanageddevicegroup.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/device.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/devicebay.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/devicebaytemplate.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/devicefamily.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/deviceredundancygroup.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/devicetype.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/frontport.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/frontporttemplate.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/interface.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/interfaceredundancygroup.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/interfacetemplate.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/inventoryitem.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/location.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/locationtype.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/manufacturer.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/module.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/modulebay.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/modulebaytemplate.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/modulefamily.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/moduletype.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/platform.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/powerfeed.html +305 -5
- nautobot/project-static/docs/user-guide/core-data-model/dcim/poweroutlet.html +24 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/poweroutlettemplate.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/powerpanel.html +136 -3
- nautobot/project-static/docs/user-guide/core-data-model/dcim/powerport.html +41 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/powerporttemplate.html +40 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rack.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rackgroup.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rackreservation.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rearport.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rearporttemplate.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/softwareimagefile.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/softwareversion.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/virtualchassis.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/virtualdevicecontext.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/extras/configcontext.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/extras/configcontextschema.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/extras/contact.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/extras/team.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/ipam/ipaddress.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/ipam/namespace.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/ipam/prefix.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/ipam/rir.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/ipam/routetarget.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/ipam/service.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/ipam/vlan.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/ipam/vlangroup.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/ipam/vrf.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/overview/introduction.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/tenancy/tenant.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/tenancy/tenantgroup.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/cluster.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/clustergroup.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/clustertype.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/virtualmachine.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/vminterface.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/wireless/index.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/wireless/radioprofile.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/wireless/supporteddatarate.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/wireless/wirelessnetwork.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/contacts-and-teams.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/custom-fields.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/creating-devices.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/creating-location-types-and-locations.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/index.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/interfaces.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/ipam.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/platforms.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/search-bar.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/tenants.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/vlans-and-vlan-groups.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/git-data-source.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/graphql.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/ip-address-merge-tool.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/relationships.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/software-image-files-and-versions.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/wireless-networks-and-controllers.html +23 -0
- nautobot/project-static/docs/user-guide/index.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/change-logging.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/computedfield.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/customfield.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/customlink.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/dynamicgroup.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/events.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/exporttemplate.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/externalintegration.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/gitrepository.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/graphql.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/graphqlquery.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/imageattachment.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/index.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/job-scheduling-and-approvals.html +24 -1
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/jobbutton.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/jobhook.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/jobqueue.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/kubernetes-job-support.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/managing-jobs.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/models.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/napalm.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/note.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/objectmetadata.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/relationship.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/rendering-jinja-templates.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/rest-api/authentication.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/rest-api/filtering.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/rest-api/overview.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/rest-api/ui-related-endpoints.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/role.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/savedview.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/secret.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/staticgroupassociation.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/status.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/tag.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/template-filters.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/users/objectpermission.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/users/token.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/webhook.html +23 -0
- nautobot/users/tests/test_api.py +2 -2
- nautobot/virtualization/templates/virtualization/virtualmachine.html +2 -252
- nautobot/virtualization/templates/virtualization/virtualmachine_edit.html +2 -75
- nautobot/virtualization/templates/virtualization/virtualmachine_retrieve.html +252 -0
- nautobot/virtualization/templates/virtualization/virtualmachine_update.html +75 -0
- nautobot/virtualization/urls.py +3 -61
- nautobot/virtualization/views.py +48 -72
- {nautobot-2.4.14.dist-info → nautobot-2.4.15.dist-info}/METADATA +24 -24
- {nautobot-2.4.14.dist-info → nautobot-2.4.15.dist-info}/RECORD +433 -416
- {nautobot-2.4.14.dist-info → nautobot-2.4.15.dist-info}/LICENSE.txt +0 -0
- {nautobot-2.4.14.dist-info → nautobot-2.4.15.dist-info}/NOTICE +0 -0
- {nautobot-2.4.14.dist-info → nautobot-2.4.15.dist-info}/WHEEL +0 -0
- {nautobot-2.4.14.dist-info → nautobot-2.4.15.dist-info}/entry_points.txt +0 -0
|
@@ -9430,6 +9430,29 @@
|
|
|
9430
9430
|
|
|
9431
9431
|
|
|
9432
9432
|
|
|
9433
|
+
|
|
9434
|
+
|
|
9435
|
+
|
|
9436
|
+
|
|
9437
|
+
|
|
9438
|
+
|
|
9439
|
+
<li class="md-nav__item">
|
|
9440
|
+
<a href="../../../development/apps/migration/ui-component-framework/breadcrumbs-titles.html" class="md-nav__link">
|
|
9441
|
+
|
|
9442
|
+
|
|
9443
|
+
|
|
9444
|
+
<span class="md-ellipsis">
|
|
9445
|
+
Breadcrumbs and titles
|
|
9446
|
+
|
|
9447
|
+
</span>
|
|
9448
|
+
|
|
9449
|
+
|
|
9450
|
+
</a>
|
|
9451
|
+
</li>
|
|
9452
|
+
|
|
9453
|
+
|
|
9454
|
+
|
|
9455
|
+
|
|
9433
9456
|
</ul>
|
|
9434
9457
|
</nav>
|
|
9435
9458
|
|
|
@@ -11559,6 +11582,7 @@
|
|
|
11559
11582
|
|
|
11560
11583
|
|
|
11561
11584
|
|
|
11585
|
+
|
|
11562
11586
|
<div class="doc doc-children">
|
|
11563
11587
|
|
|
11564
11588
|
|
|
@@ -11581,7 +11605,7 @@
|
|
|
11581
11605
|
|
|
11582
11606
|
<div class="doc doc-contents ">
|
|
11583
11607
|
<p class="doc doc-class-bases">
|
|
11584
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.extras.utils.FeaturedQueryMixin" href="#nautobot.apps.utils.FeaturedQueryMixin">FeaturedQueryMixin</a></code></p>
|
|
11608
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.utils.FeaturedQueryMixin (nautobot.extras.utils.FeaturedQueryMixin)" href="#nautobot.apps.utils.FeaturedQueryMixin">FeaturedQueryMixin</a></code></p>
|
|
11585
11609
|
|
|
11586
11610
|
|
|
11587
11611
|
<p>Helper class to get ContentType for models that implements the to_objectchange method for change logging.</p>
|
|
@@ -11594,6 +11618,7 @@
|
|
|
11594
11618
|
|
|
11595
11619
|
|
|
11596
11620
|
|
|
11621
|
+
|
|
11597
11622
|
<div class="doc doc-children">
|
|
11598
11623
|
|
|
11599
11624
|
|
|
@@ -11617,6 +11642,7 @@
|
|
|
11617
11642
|
|
|
11618
11643
|
<p>Return a list of classes that implement the to_objectchange method</p>
|
|
11619
11644
|
|
|
11645
|
+
|
|
11620
11646
|
</div>
|
|
11621
11647
|
|
|
11622
11648
|
</div>
|
|
@@ -11654,6 +11680,7 @@ until it has been populated.</p>
|
|
|
11654
11680
|
|
|
11655
11681
|
|
|
11656
11682
|
|
|
11683
|
+
|
|
11657
11684
|
<div class="doc doc-children">
|
|
11658
11685
|
|
|
11659
11686
|
|
|
@@ -11679,6 +11706,7 @@ until it has been populated.</p>
|
|
|
11679
11706
|
<p>Misnamed, as it returns an iterable of (key, value) (i.e. dict.items()) rather than an actual dict.</p>
|
|
11680
11707
|
<p>Raises a KeyError if the given feature doesn't exist.</p>
|
|
11681
11708
|
|
|
11709
|
+
|
|
11682
11710
|
</div>
|
|
11683
11711
|
|
|
11684
11712
|
</div>
|
|
@@ -11701,6 +11729,7 @@ suitable for use as <code>choices</code> on a choice field:</p>
|
|
|
11701
11729
|
</code></pre></div>
|
|
11702
11730
|
<p>Cache is cleared by post_migrate signal (nautobot.extras.signals.post_migrate_clear_content_type_caches).</p>
|
|
11703
11731
|
|
|
11732
|
+
|
|
11704
11733
|
</div>
|
|
11705
11734
|
|
|
11706
11735
|
</div>
|
|
@@ -11718,6 +11747,7 @@ suitable for use as <code>choices</code> on a choice field:</p>
|
|
|
11718
11747
|
|
|
11719
11748
|
<p>Given an extras feature, return a Q object for content type lookup</p>
|
|
11720
11749
|
|
|
11750
|
+
|
|
11721
11751
|
</div>
|
|
11722
11752
|
|
|
11723
11753
|
</div>
|
|
@@ -11736,6 +11766,7 @@ suitable for use as <code>choices</code> on a choice field:</p>
|
|
|
11736
11766
|
<p>Return a list of model classes that declare this feature.</p>
|
|
11737
11767
|
<p>Cache is cleared by post_migrate signal (nautobot.extras.signals.post_migrate_clear_content_type_caches).</p>
|
|
11738
11768
|
|
|
11769
|
+
|
|
11739
11770
|
</div>
|
|
11740
11771
|
|
|
11741
11772
|
</div>
|
|
@@ -11772,6 +11803,7 @@ suitable for use as <code>choices</code> on a choice field:</p>
|
|
|
11772
11803
|
|
|
11773
11804
|
|
|
11774
11805
|
|
|
11806
|
+
|
|
11775
11807
|
<div class="doc doc-children">
|
|
11776
11808
|
|
|
11777
11809
|
|
|
@@ -11795,6 +11827,7 @@ suitable for use as <code>choices</code> on a choice field:</p>
|
|
|
11795
11827
|
|
|
11796
11828
|
<p>Given an extras feature, return a Q object for content type lookup</p>
|
|
11797
11829
|
|
|
11830
|
+
|
|
11798
11831
|
</div>
|
|
11799
11832
|
|
|
11800
11833
|
</div>
|
|
@@ -11812,6 +11845,7 @@ suitable for use as <code>choices</code> on a choice field:</p>
|
|
|
11812
11845
|
|
|
11813
11846
|
<p>Return a list of classes that has implements this <code>name</code>.</p>
|
|
11814
11847
|
|
|
11848
|
+
|
|
11815
11849
|
</div>
|
|
11816
11850
|
|
|
11817
11851
|
</div>
|
|
@@ -11846,6 +11880,7 @@ suitable for use as <code>choices</code> on a choice field:</p>
|
|
|
11846
11880
|
|
|
11847
11881
|
|
|
11848
11882
|
|
|
11883
|
+
|
|
11849
11884
|
<div class="doc doc-children">
|
|
11850
11885
|
|
|
11851
11886
|
|
|
@@ -11871,6 +11906,7 @@ suitable for use as <code>choices</code> on a choice field:</p>
|
|
|
11871
11906
|
<div class="doc doc-contents ">
|
|
11872
11907
|
|
|
11873
11908
|
<p>Current checked out repository head commit.</p>
|
|
11909
|
+
|
|
11874
11910
|
</div>
|
|
11875
11911
|
|
|
11876
11912
|
</div>
|
|
@@ -11907,7 +11943,7 @@ suitable for use as <code>choices</code> on a choice field:</p>
|
|
|
11907
11943
|
<code>path</code>
|
|
11908
11944
|
</td>
|
|
11909
11945
|
<td>
|
|
11910
|
-
<code>str</code>
|
|
11946
|
+
<code><span title="str">str</span></code>
|
|
11911
11947
|
</td>
|
|
11912
11948
|
<td>
|
|
11913
11949
|
<div class="doc-md-description">
|
|
@@ -11923,7 +11959,7 @@ suitable for use as <code>choices</code> on a choice field:</p>
|
|
|
11923
11959
|
<code>url</code>
|
|
11924
11960
|
</td>
|
|
11925
11961
|
<td>
|
|
11926
|
-
<code>str</code>
|
|
11962
|
+
<code><span title="str">str</span></code>
|
|
11927
11963
|
</td>
|
|
11928
11964
|
<td>
|
|
11929
11965
|
<div class="doc-md-description">
|
|
@@ -11939,7 +11975,7 @@ suitable for use as <code>choices</code> on a choice field:</p>
|
|
|
11939
11975
|
<code>clone_initially</code>
|
|
11940
11976
|
</td>
|
|
11941
11977
|
<td>
|
|
11942
|
-
<code>bool</code>
|
|
11978
|
+
<code><span title="bool">bool</span></code>
|
|
11943
11979
|
</td>
|
|
11944
11980
|
<td>
|
|
11945
11981
|
<div class="doc-md-description">
|
|
@@ -11955,7 +11991,7 @@ suitable for use as <code>choices</code> on a choice field:</p>
|
|
|
11955
11991
|
<code>branch</code>
|
|
11956
11992
|
</td>
|
|
11957
11993
|
<td>
|
|
11958
|
-
<code>str</code>
|
|
11994
|
+
<code><span title="str">str</span></code>
|
|
11959
11995
|
</td>
|
|
11960
11996
|
<td>
|
|
11961
11997
|
<div class="doc-md-description">
|
|
@@ -11971,7 +12007,7 @@ suitable for use as <code>choices</code> on a choice field:</p>
|
|
|
11971
12007
|
<code>depth</code>
|
|
11972
12008
|
</td>
|
|
11973
12009
|
<td>
|
|
11974
|
-
<code>int</code>
|
|
12010
|
+
<code><span title="int">int</span></code>
|
|
11975
12011
|
</td>
|
|
11976
12012
|
<td>
|
|
11977
12013
|
<div class="doc-md-description">
|
|
@@ -11985,6 +12021,7 @@ suitable for use as <code>choices</code> on a choice field:</p>
|
|
|
11985
12021
|
</tbody>
|
|
11986
12022
|
</table>
|
|
11987
12023
|
|
|
12024
|
+
|
|
11988
12025
|
</div>
|
|
11989
12026
|
|
|
11990
12027
|
</div>
|
|
@@ -12019,7 +12056,7 @@ suitable for use as <code>choices</code> on a choice field:</p>
|
|
|
12019
12056
|
<code>branch</code>
|
|
12020
12057
|
</td>
|
|
12021
12058
|
<td>
|
|
12022
|
-
<code>str</code>
|
|
12059
|
+
<code><span title="str">str</span></code>
|
|
12023
12060
|
</td>
|
|
12024
12061
|
<td>
|
|
12025
12062
|
<div class="doc-md-description">
|
|
@@ -12035,7 +12072,7 @@ suitable for use as <code>choices</code> on a choice field:</p>
|
|
|
12035
12072
|
<code>commit_hexsha</code>
|
|
12036
12073
|
</td>
|
|
12037
12074
|
<td>
|
|
12038
|
-
<code>str</code>
|
|
12075
|
+
<code><span title="str">str</span></code>
|
|
12039
12076
|
</td>
|
|
12040
12077
|
<td>
|
|
12041
12078
|
<div class="doc-md-description">
|
|
@@ -12063,7 +12100,7 @@ If <code>commit_hexsha</code> is specified and <code>branch</code> is a branch n
|
|
|
12063
12100
|
<tbody>
|
|
12064
12101
|
<tr class="doc-section-item">
|
|
12065
12102
|
<td>
|
|
12066
|
-
<code>(str
|
|
12103
|
+
<code>(<span title="str">str</span>, <span title="bool">bool</span>)</code>
|
|
12067
12104
|
</td>
|
|
12068
12105
|
<td>
|
|
12069
12106
|
<div class="doc-md-description">
|
|
@@ -12074,6 +12111,7 @@ If <code>commit_hexsha</code> is specified and <code>branch</code> is a branch n
|
|
|
12074
12111
|
</tbody>
|
|
12075
12112
|
</table>
|
|
12076
12113
|
|
|
12114
|
+
|
|
12077
12115
|
</div>
|
|
12078
12116
|
|
|
12079
12117
|
</div>
|
|
@@ -12099,7 +12137,7 @@ If <code>commit_hexsha</code> is specified and <code>branch</code> is a branch n
|
|
|
12099
12137
|
|
|
12100
12138
|
<div class="doc doc-contents ">
|
|
12101
12139
|
<p class="doc doc-class-bases">
|
|
12102
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.extras.utils.FeaturedQueryMixin" href="#nautobot.apps.utils.FeaturedQueryMixin">FeaturedQueryMixin</a></code></p>
|
|
12140
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.utils.FeaturedQueryMixin (nautobot.extras.utils.FeaturedQueryMixin)" href="#nautobot.apps.utils.FeaturedQueryMixin">FeaturedQueryMixin</a></code></p>
|
|
12103
12141
|
|
|
12104
12142
|
|
|
12105
12143
|
<p>Helper class to get ContentType models that implements role.</p>
|
|
@@ -12112,6 +12150,7 @@ If <code>commit_hexsha</code> is specified and <code>branch</code> is a branch n
|
|
|
12112
12150
|
|
|
12113
12151
|
|
|
12114
12152
|
|
|
12153
|
+
|
|
12115
12154
|
<div class="doc doc-children">
|
|
12116
12155
|
|
|
12117
12156
|
|
|
@@ -12135,6 +12174,7 @@ If <code>commit_hexsha</code> is specified and <code>branch</code> is a branch n
|
|
|
12135
12174
|
|
|
12136
12175
|
<p>Return a list of classes that implements roles e.g roles = ...</p>
|
|
12137
12176
|
|
|
12177
|
+
|
|
12138
12178
|
</div>
|
|
12139
12179
|
|
|
12140
12180
|
</div>
|
|
@@ -12160,7 +12200,7 @@ If <code>commit_hexsha</code> is specified and <code>branch</code> is a branch n
|
|
|
12160
12200
|
|
|
12161
12201
|
<div class="doc doc-contents ">
|
|
12162
12202
|
<p class="doc doc-class-bases">
|
|
12163
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.extras.utils.FeaturedQueryMixin" href="#nautobot.apps.utils.FeaturedQueryMixin">FeaturedQueryMixin</a></code></p>
|
|
12203
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.utils.FeaturedQueryMixin (nautobot.extras.utils.FeaturedQueryMixin)" href="#nautobot.apps.utils.FeaturedQueryMixin">FeaturedQueryMixin</a></code></p>
|
|
12164
12204
|
|
|
12165
12205
|
|
|
12166
12206
|
<p>Helper class to get ContentType models that implements tags(TagsField)</p>
|
|
@@ -12173,6 +12213,7 @@ If <code>commit_hexsha</code> is specified and <code>branch</code> is a branch n
|
|
|
12173
12213
|
|
|
12174
12214
|
|
|
12175
12215
|
|
|
12216
|
+
|
|
12176
12217
|
<div class="doc doc-children">
|
|
12177
12218
|
|
|
12178
12219
|
|
|
@@ -12196,6 +12237,7 @@ If <code>commit_hexsha</code> is specified and <code>branch</code> is a branch n
|
|
|
12196
12237
|
|
|
12197
12238
|
<p>Return a list of classes that has implements tags e.g tags = TagsField(...)</p>
|
|
12198
12239
|
|
|
12240
|
+
|
|
12199
12241
|
</div>
|
|
12200
12242
|
|
|
12201
12243
|
</div>
|
|
@@ -12239,7 +12281,7 @@ If <code>commit_hexsha</code> is specified and <code>branch</code> is a branch n
|
|
|
12239
12281
|
<code>field_name</code>
|
|
12240
12282
|
</td>
|
|
12241
12283
|
<td>
|
|
12242
|
-
<code>str</code>
|
|
12284
|
+
<code><span title="str">str</span></code>
|
|
12243
12285
|
</td>
|
|
12244
12286
|
<td>
|
|
12245
12287
|
<div class="doc-md-description">
|
|
@@ -12255,7 +12297,7 @@ If <code>commit_hexsha</code> is specified and <code>branch</code> is a branch n
|
|
|
12255
12297
|
<code>_verbose_name</code>
|
|
12256
12298
|
</td>
|
|
12257
12299
|
<td>
|
|
12258
|
-
<code>str</code>
|
|
12300
|
+
<code><span title="str">str</span></code>
|
|
12259
12301
|
</td>
|
|
12260
12302
|
<td>
|
|
12261
12303
|
<div class="doc-md-description">
|
|
@@ -12275,6 +12317,7 @@ If <code>commit_hexsha</code> is specified and <code>branch</code> is a branch n
|
|
|
12275
12317
|
<a id="__codelineno-0-2" name="__codelineno-0-2" href="#__codelineno-0-2"></a><span class="gp">>>> </span><span class="s2">"ends-with (iew)"</span>
|
|
12276
12318
|
</code></pre></div>
|
|
12277
12319
|
|
|
12320
|
+
|
|
12278
12321
|
</div>
|
|
12279
12322
|
|
|
12280
12323
|
</div>
|
|
@@ -12293,6 +12336,7 @@ If <code>commit_hexsha</code> is specified and <code>branch</code> is a branch n
|
|
|
12293
12336
|
<p>Helper method to check if a key field is Python/GraphQL safe.
|
|
12294
12337
|
Used in CustomField, ComputedField and Relationship models.</p>
|
|
12295
12338
|
|
|
12339
|
+
|
|
12296
12340
|
</div>
|
|
12297
12341
|
|
|
12298
12342
|
</div>
|
|
@@ -12310,6 +12354,7 @@ Used in CustomField, ComputedField and Relationship models.</p>
|
|
|
12310
12354
|
|
|
12311
12355
|
<p>Decorator to mark a class as deprecated with a custom message about what to do instead of subclassing it.</p>
|
|
12312
12356
|
|
|
12357
|
+
|
|
12313
12358
|
</div>
|
|
12314
12359
|
|
|
12315
12360
|
</div>
|
|
@@ -12327,6 +12372,7 @@ Used in CustomField, ComputedField and Relationship models.</p>
|
|
|
12327
12372
|
|
|
12328
12373
|
<p>Decorator to mark a class as deprecated and suggest a replacement class if it is subclassed from.</p>
|
|
12329
12374
|
|
|
12375
|
+
|
|
12330
12376
|
</div>
|
|
12331
12377
|
|
|
12332
12378
|
</div>
|
|
@@ -12351,6 +12397,7 @@ Example:
|
|
|
12351
12397
|
>>> print(convert_git_diff_log_to_list(git_log))
|
|
12352
12398
|
["Modification - index.html", "Renaming - sample.txt"]</p>
|
|
12353
12399
|
|
|
12400
|
+
|
|
12354
12401
|
</div>
|
|
12355
12402
|
|
|
12356
12403
|
</div>
|
|
@@ -12402,7 +12449,7 @@ while discarding <code>querydict</code> params which are not part of <code>filte
|
|
|
12402
12449
|
<code>filterset</code>
|
|
12403
12450
|
</td>
|
|
12404
12451
|
<td>
|
|
12405
|
-
<code>FilterSet</code>
|
|
12452
|
+
<code><span title="FilterSet">FilterSet</span></code>
|
|
12406
12453
|
</td>
|
|
12407
12454
|
<td>
|
|
12408
12455
|
<div class="doc-md-description">
|
|
@@ -12433,6 +12480,7 @@ while discarding <code>querydict</code> params which are not part of <code>filte
|
|
|
12433
12480
|
<a id="__codelineno-0-13" name="__codelineno-0-13" href="#__codelineno-0-13"></a><span class="gp">... </span><span class="p">}</span>
|
|
12434
12481
|
</code></pre></div>
|
|
12435
12482
|
|
|
12483
|
+
|
|
12436
12484
|
</div>
|
|
12437
12485
|
|
|
12438
12486
|
</div>
|
|
@@ -12451,6 +12499,7 @@ while discarding <code>querydict</code> params which are not part of <code>filte
|
|
|
12451
12499
|
<p>Decorator that wraps a models existing clean method to also execute registered plugin custom validators</p>
|
|
12452
12500
|
<p>:param model_clean_func: The original model clean method which is to be wrapped</p>
|
|
12453
12501
|
|
|
12502
|
+
|
|
12454
12503
|
</div>
|
|
12455
12504
|
|
|
12456
12505
|
</div>
|
|
@@ -12468,6 +12517,7 @@ while discarding <code>querydict</code> params which are not part of <code>filte
|
|
|
12468
12517
|
|
|
12469
12518
|
<p>Deep merge two dictionaries (new into original) and return a new dict</p>
|
|
12470
12519
|
|
|
12520
|
+
|
|
12471
12521
|
</div>
|
|
12472
12522
|
|
|
12473
12523
|
</div>
|
|
@@ -12486,6 +12536,7 @@ while discarding <code>querydict</code> params which are not part of <code>filte
|
|
|
12486
12536
|
<p>Ensure <code>query_params</code> includes <code>content_type</code> and <code>field_name</code> and <code>content_type</code> is a valid ContentType.</p>
|
|
12487
12537
|
<p>Return the 'ContentTypes' model and 'field_name' if validation was successful.</p>
|
|
12488
12538
|
|
|
12539
|
+
|
|
12489
12540
|
</div>
|
|
12490
12541
|
|
|
12491
12542
|
</div>
|
|
@@ -12503,6 +12554,7 @@ while discarding <code>querydict</code> params which are not part of <code>filte
|
|
|
12503
12554
|
|
|
12504
12555
|
<p>For instances of model that have an invalid NULL status field, create and use a special status_model instance.</p>
|
|
12505
12556
|
|
|
12557
|
+
|
|
12506
12558
|
</div>
|
|
12507
12559
|
|
|
12508
12560
|
</div>
|
|
@@ -12523,6 +12575,7 @@ while discarding <code>querydict</code> params which are not part of <code>filte
|
|
|
12523
12575
|
:param prefix: Initial prefix (if any)
|
|
12524
12576
|
:param separator: The character to use when concatenating key names</p>
|
|
12525
12577
|
|
|
12578
|
+
|
|
12526
12579
|
</div>
|
|
12527
12580
|
|
|
12528
12581
|
</div>
|
|
@@ -12542,6 +12595,7 @@ while discarding <code>querydict</code> params which are not part of <code>filte
|
|
|
12542
12595
|
<p>:param iterable: The iterable to be flattened
|
|
12543
12596
|
:returns: generator</p>
|
|
12544
12597
|
|
|
12598
|
+
|
|
12545
12599
|
</div>
|
|
12546
12600
|
|
|
12547
12601
|
</div>
|
|
@@ -12559,6 +12613,7 @@ while discarding <code>querydict</code> params which are not part of <code>filte
|
|
|
12559
12613
|
|
|
12560
12614
|
<p>Return the ideal foreground color (black or white) for a given background color in hexadecimal RGB format.</p>
|
|
12561
12615
|
|
|
12616
|
+
|
|
12562
12617
|
</div>
|
|
12563
12618
|
|
|
12564
12619
|
</div>
|
|
@@ -12576,6 +12631,7 @@ while discarding <code>querydict</code> params which are not part of <code>filte
|
|
|
12576
12631
|
|
|
12577
12632
|
<p>Return a cryptographic signature that can be used to verify the authenticity of webhook data.</p>
|
|
12578
12633
|
|
|
12634
|
+
|
|
12579
12635
|
</div>
|
|
12580
12636
|
|
|
12581
12637
|
</div>
|
|
@@ -12593,6 +12649,7 @@ while discarding <code>querydict</code> params which are not part of <code>filte
|
|
|
12593
12649
|
|
|
12594
12650
|
<p>Return all lookup expressions for <code>field_name</code> in <code>model</code> filterset</p>
|
|
12595
12651
|
|
|
12652
|
+
|
|
12596
12653
|
</div>
|
|
12597
12654
|
|
|
12598
12655
|
</div>
|
|
@@ -12627,7 +12684,7 @@ while discarding <code>querydict</code> params which are not part of <code>filte
|
|
|
12627
12684
|
<code>base_template</code>
|
|
12628
12685
|
</td>
|
|
12629
12686
|
<td>
|
|
12630
|
-
<code>str</code>
|
|
12687
|
+
<code><span title="str">str</span></code>
|
|
12631
12688
|
</td>
|
|
12632
12689
|
<td>
|
|
12633
12690
|
<div class="doc-md-description">
|
|
@@ -12663,6 +12720,7 @@ If all else fails, returns <code>"generic/object_retrieve.html"</code>.</p>
|
|
|
12663
12720
|
<p>Note: before Nautobot 2.4.2, this API would default to "base.html" rather than "generic/object_retrieve.html".
|
|
12664
12721
|
This behavior was changed to the current behavior to address issue #6550 and similar incorrect behavior.</p>
|
|
12665
12722
|
|
|
12723
|
+
|
|
12666
12724
|
</div>
|
|
12667
12725
|
|
|
12668
12726
|
</div>
|
|
@@ -12681,6 +12739,7 @@ This behavior was changed to the current behavior to address issue #6550 and sim
|
|
|
12681
12739
|
<p>Return a dictionary of celery queues and the number of workers active on the queue in
|
|
12682
12740
|
the form {queue_name: num_workers}</p>
|
|
12683
12741
|
|
|
12742
|
+
|
|
12684
12743
|
</div>
|
|
12685
12744
|
|
|
12686
12745
|
</div>
|
|
@@ -12699,6 +12758,7 @@ the form {queue_name: num_workers}</p>
|
|
|
12699
12758
|
<p>Return a queryset of ObjectChanges for a model or instance. The queryset will be filtered
|
|
12700
12759
|
by the model class. If an instance is provided, the queryset will also be filtered by the instance id.</p>
|
|
12701
12760
|
|
|
12761
|
+
|
|
12702
12762
|
</div>
|
|
12703
12763
|
|
|
12704
12764
|
</div>
|
|
@@ -12733,7 +12793,7 @@ by the model class. If an instance is provided, the queryset will also be filter
|
|
|
12733
12793
|
<code>filter_field</code>
|
|
12734
12794
|
</td>
|
|
12735
12795
|
<td>
|
|
12736
|
-
<code>Filter</code>
|
|
12796
|
+
<code><span title="Filter">Filter</span></code>
|
|
12737
12797
|
</td>
|
|
12738
12798
|
<td>
|
|
12739
12799
|
<div class="doc-md-description">
|
|
@@ -12759,7 +12819,7 @@ by the model class. If an instance is provided, the queryset will also be filter
|
|
|
12759
12819
|
<tbody>
|
|
12760
12820
|
<tr class="doc-section-item">
|
|
12761
12821
|
<td>
|
|
12762
|
-
<code>str</code>
|
|
12822
|
+
<code><span title="str">str</span></code>
|
|
12763
12823
|
</td>
|
|
12764
12824
|
<td>
|
|
12765
12825
|
<div class="doc-md-description">
|
|
@@ -12770,6 +12830,7 @@ by the model class. If an instance is provided, the queryset will also be filter
|
|
|
12770
12830
|
</tbody>
|
|
12771
12831
|
</table>
|
|
12772
12832
|
|
|
12833
|
+
|
|
12773
12834
|
</div>
|
|
12774
12835
|
|
|
12775
12836
|
</div>
|
|
@@ -12821,7 +12882,7 @@ to return only queryset filterable parameters.</p>
|
|
|
12821
12882
|
<code>non_filter_params</code>
|
|
12822
12883
|
</td>
|
|
12823
12884
|
<td>
|
|
12824
|
-
<code>list</code>
|
|
12885
|
+
<code><span title="list">list</span></code>
|
|
12825
12886
|
</td>
|
|
12826
12887
|
<td>
|
|
12827
12888
|
<div class="doc-md-description">
|
|
@@ -12837,7 +12898,7 @@ to return only queryset filterable parameters.</p>
|
|
|
12837
12898
|
<code>filterset</code>
|
|
12838
12899
|
</td>
|
|
12839
12900
|
<td>
|
|
12840
|
-
<code>FilterSet</code>
|
|
12901
|
+
<code><span title="FilterSet">FilterSet</span></code>
|
|
12841
12902
|
</td>
|
|
12842
12903
|
<td>
|
|
12843
12904
|
<div class="doc-md-description">
|
|
@@ -12874,6 +12935,7 @@ to return only queryset filterable parameters.</p>
|
|
|
12874
12935
|
</tbody>
|
|
12875
12936
|
</table>
|
|
12876
12937
|
|
|
12938
|
+
|
|
12877
12939
|
</div>
|
|
12878
12940
|
|
|
12879
12941
|
</div>
|
|
@@ -12911,7 +12973,7 @@ associated with the model and its name is expected to be <code>{ModelName}Filter
|
|
|
12911
12973
|
<code>model</code>
|
|
12912
12974
|
</td>
|
|
12913
12975
|
<td>
|
|
12914
|
-
<code>BaseModel</code>
|
|
12976
|
+
<code><span title="BaseModel">BaseModel</span></code>
|
|
12915
12977
|
</td>
|
|
12916
12978
|
<td>
|
|
12917
12979
|
<div class="doc-md-description">
|
|
@@ -12937,7 +12999,7 @@ associated with the model and its name is expected to be <code>{ModelName}Filter
|
|
|
12937
12999
|
<tbody>
|
|
12938
13000
|
<tr class="doc-section-item">
|
|
12939
13001
|
<td>
|
|
12940
|
-
<code>Union[FilterSet
|
|
13002
|
+
<code><span title="Union">Union</span>[<span title="FilterSet">FilterSet</span>, None]</code>
|
|
12941
13003
|
</td>
|
|
12942
13004
|
<td>
|
|
12943
13005
|
<div class="doc-md-description">
|
|
@@ -12948,6 +13010,7 @@ associated with the model and its name is expected to be <code>{ModelName}Filter
|
|
|
12948
13010
|
</tbody>
|
|
12949
13011
|
</table>
|
|
12950
13012
|
|
|
13013
|
+
|
|
12951
13014
|
</div>
|
|
12952
13015
|
|
|
12953
13016
|
</div>
|
|
@@ -12965,6 +13028,7 @@ associated with the model and its name is expected to be <code>{ModelName}Filter
|
|
|
12965
13028
|
|
|
12966
13029
|
<p>Return the relevant form field instance for a filterset parameter e.g DynamicModelMultipleChoiceField, forms.IntegerField e.t.c</p>
|
|
12967
13030
|
|
|
13031
|
+
|
|
12968
13032
|
</div>
|
|
12969
13033
|
|
|
12970
13034
|
</div>
|
|
@@ -13002,7 +13066,7 @@ associated with the model and its name is expected to be <code>{ModelName}{form_
|
|
|
13002
13066
|
<code>form_prefix</code>
|
|
13003
13067
|
</td>
|
|
13004
13068
|
<td>
|
|
13005
|
-
<code>str</code>
|
|
13069
|
+
<code><span title="str">str</span></code>
|
|
13006
13070
|
</td>
|
|
13007
13071
|
<td>
|
|
13008
13072
|
<div class="doc-md-description">
|
|
@@ -13029,7 +13093,7 @@ associated with the model and its name is expected to be <code>{ModelName}{form_
|
|
|
13029
13093
|
<tbody>
|
|
13030
13094
|
<tr class="doc-section-item">
|
|
13031
13095
|
<td>
|
|
13032
|
-
<code>Union[Form
|
|
13096
|
+
<code><span title="Union">Union</span>[<span title="Form">Form</span>, None]</code>
|
|
13033
13097
|
</td>
|
|
13034
13098
|
<td>
|
|
13035
13099
|
<div class="doc-md-description">
|
|
@@ -13040,6 +13104,7 @@ associated with the model and its name is expected to be <code>{ModelName}{form_
|
|
|
13040
13104
|
</tbody>
|
|
13041
13105
|
</table>
|
|
13042
13106
|
|
|
13107
|
+
|
|
13043
13108
|
</div>
|
|
13044
13109
|
|
|
13045
13110
|
</div>
|
|
@@ -13069,7 +13134,7 @@ associated with the model and its name is expected to be <code>{ModelName}{form_
|
|
|
13069
13134
|
<tbody>
|
|
13070
13135
|
<tr class="doc-section-item">
|
|
13071
13136
|
<td>
|
|
13072
|
-
<code>(Version
|
|
13137
|
+
<code>(<span title="Version">Version</span>, <span title="str">str</span>)</code>
|
|
13073
13138
|
</td>
|
|
13074
13139
|
<td>
|
|
13075
13140
|
<div class="doc-md-description">
|
|
@@ -13079,7 +13144,7 @@ associated with the model and its name is expected to be <code>{ModelName}{form_
|
|
|
13079
13144
|
</tr>
|
|
13080
13145
|
<tr class="doc-section-item">
|
|
13081
13146
|
<td>
|
|
13082
|
-
<code>(unknown
|
|
13147
|
+
<code>(<span title="unknown">unknown</span>, None)</code>
|
|
13083
13148
|
</td>
|
|
13084
13149
|
<td>
|
|
13085
13150
|
<div class="doc-md-description">
|
|
@@ -13090,6 +13155,7 @@ associated with the model and its name is expected to be <code>{ModelName}{form_
|
|
|
13090
13155
|
</tbody>
|
|
13091
13156
|
</table>
|
|
13092
13157
|
|
|
13158
|
+
|
|
13093
13159
|
</div>
|
|
13094
13160
|
|
|
13095
13161
|
</div>
|
|
@@ -13111,6 +13177,7 @@ associated with the model and its name is expected to be <code>{ModelName}{form_
|
|
|
13111
13177
|
<p>:raises TypeError: If given model name is not found.</p>
|
|
13112
13178
|
<p>:return: Found model.</p>
|
|
13113
13179
|
|
|
13180
|
+
|
|
13114
13181
|
</div>
|
|
13115
13182
|
|
|
13116
13183
|
</div>
|
|
@@ -13130,6 +13197,7 @@ associated with the model and its name is expected to be <code>{ModelName}{form_
|
|
|
13130
13197
|
<p>:param model: A model or instance
|
|
13131
13198
|
:param action: View, add, change, or delete (string)</p>
|
|
13132
13199
|
|
|
13200
|
+
|
|
13133
13201
|
</div>
|
|
13134
13202
|
|
|
13135
13203
|
</div>
|
|
@@ -13169,7 +13237,7 @@ associated with the model and its name is expected to be <code>{ModelName}{objec
|
|
|
13169
13237
|
<code>model</code>
|
|
13170
13238
|
</td>
|
|
13171
13239
|
<td>
|
|
13172
|
-
<code>Union[BaseModel
|
|
13240
|
+
<code><span title="Union">Union</span>[<span title="BaseModel">BaseModel</span>, <span title="str">str</span>]</code>
|
|
13173
13241
|
</td>
|
|
13174
13242
|
<td>
|
|
13175
13243
|
<div class="doc-md-description">
|
|
@@ -13185,7 +13253,7 @@ associated with the model and its name is expected to be <code>{ModelName}{objec
|
|
|
13185
13253
|
<code>module_name</code>
|
|
13186
13254
|
</td>
|
|
13187
13255
|
<td>
|
|
13188
|
-
<code>str</code>
|
|
13256
|
+
<code><span title="str">str</span></code>
|
|
13189
13257
|
</td>
|
|
13190
13258
|
<td>
|
|
13191
13259
|
<div class="doc-md-description">
|
|
@@ -13201,7 +13269,7 @@ associated with the model and its name is expected to be <code>{ModelName}{objec
|
|
|
13201
13269
|
<code>object_suffix</code>
|
|
13202
13270
|
</td>
|
|
13203
13271
|
<td>
|
|
13204
|
-
<code>str</code>
|
|
13272
|
+
<code><span title="str">str</span></code>
|
|
13205
13273
|
</td>
|
|
13206
13274
|
<td>
|
|
13207
13275
|
<div class="doc-md-description">
|
|
@@ -13227,7 +13295,7 @@ associated with the model and its name is expected to be <code>{ModelName}{objec
|
|
|
13227
13295
|
<tbody>
|
|
13228
13296
|
<tr class="doc-section-item">
|
|
13229
13297
|
<td>
|
|
13230
|
-
<code>Union[BaseModel
|
|
13298
|
+
<code><span title="Union">Union</span>[<span title="BaseModel">BaseModel</span>, <span title="str">str</span>]</code>
|
|
13231
13299
|
</td>
|
|
13232
13300
|
<td>
|
|
13233
13301
|
<div class="doc-md-description">
|
|
@@ -13238,6 +13306,7 @@ associated with the model and its name is expected to be <code>{ModelName}{objec
|
|
|
13238
13306
|
</tbody>
|
|
13239
13307
|
</table>
|
|
13240
13308
|
|
|
13309
|
+
|
|
13241
13310
|
</div>
|
|
13242
13311
|
|
|
13243
13312
|
</div>
|
|
@@ -13274,7 +13343,7 @@ If more than one such field is found, raises an AttributeError.</p>
|
|
|
13274
13343
|
<code>from_model</code>
|
|
13275
13344
|
</td>
|
|
13276
13345
|
<td>
|
|
13277
|
-
<code>BaseModel</code>
|
|
13346
|
+
<code><span title="BaseModel">BaseModel</span></code>
|
|
13278
13347
|
</td>
|
|
13279
13348
|
<td>
|
|
13280
13349
|
<div class="doc-md-description">
|
|
@@ -13290,7 +13359,7 @@ If more than one such field is found, raises an AttributeError.</p>
|
|
|
13290
13359
|
<code>to_model</code>
|
|
13291
13360
|
</td>
|
|
13292
13361
|
<td>
|
|
13293
|
-
<code>BaseModel</code>
|
|
13362
|
+
<code><span title="BaseModel">BaseModel</span></code>
|
|
13294
13363
|
</td>
|
|
13295
13364
|
<td>
|
|
13296
13365
|
<div class="doc-md-description">
|
|
@@ -13318,6 +13387,7 @@ If more than one such field is found, raises an AttributeError.</p>
|
|
|
13318
13387
|
<a id="__codelineno-0-10" name="__codelineno-0-10" href="#__codelineno-0-10"></a><span class="go">AttributeError: Device has more than one relation to IPAddress: primary_ip4, primary_ip6</span>
|
|
13319
13388
|
</code></pre></div>
|
|
13320
13389
|
|
|
13390
|
+
|
|
13321
13391
|
</div>
|
|
13322
13392
|
|
|
13323
13393
|
</div>
|
|
@@ -13353,7 +13423,7 @@ Supports both core and App routes.</p>
|
|
|
13353
13423
|
<code>model</code>
|
|
13354
13424
|
</td>
|
|
13355
13425
|
<td>
|
|
13356
|
-
<code>(<span title="nautobot.core.models.Model">Model</span>, str)</code>
|
|
13426
|
+
<code>(<span title="nautobot.core.models.Model">Model</span>, <span title="str">str</span>)</code>
|
|
13357
13427
|
</td>
|
|
13358
13428
|
<td>
|
|
13359
13429
|
<div class="doc-md-description">
|
|
@@ -13369,7 +13439,7 @@ Supports both core and App routes.</p>
|
|
|
13369
13439
|
<code>action</code>
|
|
13370
13440
|
</td>
|
|
13371
13441
|
<td>
|
|
13372
|
-
<code>str</code>
|
|
13442
|
+
<code><span title="str">str</span></code>
|
|
13373
13443
|
</td>
|
|
13374
13444
|
<td>
|
|
13375
13445
|
<div class="doc-md-description">
|
|
@@ -13385,7 +13455,7 @@ Supports both core and App routes.</p>
|
|
|
13385
13455
|
<code>api</code>
|
|
13386
13456
|
</td>
|
|
13387
13457
|
<td>
|
|
13388
|
-
<code>bool</code>
|
|
13458
|
+
<code><span title="bool">bool</span></code>
|
|
13389
13459
|
</td>
|
|
13390
13460
|
<td>
|
|
13391
13461
|
<div class="doc-md-description">
|
|
@@ -13411,7 +13481,7 @@ Supports both core and App routes.</p>
|
|
|
13411
13481
|
<tbody>
|
|
13412
13482
|
<tr class="doc-section-item">
|
|
13413
13483
|
<td>
|
|
13414
|
-
<code>str</code>
|
|
13484
|
+
<code><span title="str">str</span></code>
|
|
13415
13485
|
</td>
|
|
13416
13486
|
<td>
|
|
13417
13487
|
<div class="doc-md-description">
|
|
@@ -13438,6 +13508,7 @@ Supports both core and App routes.</p>
|
|
|
13438
13508
|
<a id="__codelineno-0-12" name="__codelineno-0-12" href="#__codelineno-0-12"></a><span class="go">"plugins-api:example_app-api:examplemodel-list"</span>
|
|
13439
13509
|
</code></pre></div>
|
|
13440
13510
|
|
|
13511
|
+
|
|
13441
13512
|
</div>
|
|
13442
13513
|
|
|
13443
13514
|
</div>
|
|
@@ -13457,6 +13528,7 @@ Supports both core and App routes.</p>
|
|
|
13457
13528
|
<p>The fallback value is returned <em>only</em> if the requested variable cannot be found at all - this is an error case,
|
|
13458
13529
|
and will generate warning logs.</p>
|
|
13459
13530
|
|
|
13531
|
+
|
|
13460
13532
|
</div>
|
|
13461
13533
|
|
|
13462
13534
|
</div>
|
|
@@ -13494,7 +13566,7 @@ associated with the model and its name is expected to be <code>{ModelName}Table<
|
|
|
13494
13566
|
<code>model</code>
|
|
13495
13567
|
</td>
|
|
13496
13568
|
<td>
|
|
13497
|
-
<code>BaseModel</code>
|
|
13569
|
+
<code><span title="BaseModel">BaseModel</span></code>
|
|
13498
13570
|
</td>
|
|
13499
13571
|
<td>
|
|
13500
13572
|
<div class="doc-md-description">
|
|
@@ -13510,7 +13582,7 @@ associated with the model and its name is expected to be <code>{ModelName}Table<
|
|
|
13510
13582
|
<code>suffix</code>
|
|
13511
13583
|
</td>
|
|
13512
13584
|
<td>
|
|
13513
|
-
<code>str</code>
|
|
13585
|
+
<code><span title="str">str</span></code>
|
|
13514
13586
|
</td>
|
|
13515
13587
|
<td>
|
|
13516
13588
|
<div class="doc-md-description">
|
|
@@ -13536,7 +13608,7 @@ associated with the model and its name is expected to be <code>{ModelName}Table<
|
|
|
13536
13608
|
<tbody>
|
|
13537
13609
|
<tr class="doc-section-item">
|
|
13538
13610
|
<td>
|
|
13539
|
-
<code>Union[Table
|
|
13611
|
+
<code><span title="Union">Union</span>[<span title="Table">Table</span>, None]</code>
|
|
13540
13612
|
</td>
|
|
13541
13613
|
<td>
|
|
13542
13614
|
<div class="doc-md-description">
|
|
@@ -13547,6 +13619,7 @@ associated with the model and its name is expected to be <code>{ModelName}Table<
|
|
|
13547
13619
|
</tbody>
|
|
13548
13620
|
</table>
|
|
13549
13621
|
|
|
13622
|
+
|
|
13550
13623
|
</div>
|
|
13551
13624
|
|
|
13552
13625
|
</div>
|
|
@@ -13572,6 +13645,7 @@ associated with the model and its name is expected to be <code>{ModelName}Table<
|
|
|
13572
13645
|
<a id="__codelineno-0-4" name="__codelineno-0-4" href="#__codelineno-0-4"></a><span class="go">'/circuits/circuit-terminations/00000000-0000-0000-0000-000000000000/connect/string/'</span>
|
|
13573
13646
|
</code></pre></div>
|
|
13574
13647
|
|
|
13648
|
+
|
|
13575
13649
|
</div>
|
|
13576
13650
|
|
|
13577
13651
|
</div>
|
|
@@ -13606,7 +13680,7 @@ associated with the model and its name is expected to be <code>{ModelName}Table<
|
|
|
13606
13680
|
<code>urlconf</code>
|
|
13607
13681
|
</td>
|
|
13608
13682
|
<td>
|
|
13609
|
-
<code>URLConf</code>
|
|
13683
|
+
<code><span title="URLConf">URLConf</span></code>
|
|
13610
13684
|
</td>
|
|
13611
13685
|
<td>
|
|
13612
13686
|
<div class="doc-md-description">
|
|
@@ -13623,7 +13697,7 @@ Default if unspecified is the value of <code>settings.ROOT_URLCONF</code>, i.e.
|
|
|
13623
13697
|
<code>patterns_list</code>
|
|
13624
13698
|
</td>
|
|
13625
13699
|
<td>
|
|
13626
|
-
<code>list</code>
|
|
13700
|
+
<code><span title="list">list</span></code>
|
|
13627
13701
|
</td>
|
|
13628
13702
|
<td>
|
|
13629
13703
|
<div class="doc-md-description">
|
|
@@ -13640,7 +13714,7 @@ Default if unspecified is the <code>url_patterns</code> attribute of the given <
|
|
|
13640
13714
|
<code>base_path</code>
|
|
13641
13715
|
</td>
|
|
13642
13716
|
<td>
|
|
13643
|
-
<code>str</code>
|
|
13717
|
+
<code><span title="str">str</span></code>
|
|
13644
13718
|
</td>
|
|
13645
13719
|
<td>
|
|
13646
13720
|
<div class="doc-md-description">
|
|
@@ -13657,7 +13731,7 @@ Default if unspecified is the string <code>"/"</code>.</p>
|
|
|
13657
13731
|
<code>ignore_redirects</code>
|
|
13658
13732
|
</td>
|
|
13659
13733
|
<td>
|
|
13660
|
-
<code>bool</code>
|
|
13734
|
+
<code><span title="bool">bool</span></code>
|
|
13661
13735
|
</td>
|
|
13662
13736
|
<td>
|
|
13663
13737
|
<div class="doc-md-description">
|
|
@@ -13683,7 +13757,7 @@ Default if unspecified is the string <code>"/"</code>.</p>
|
|
|
13683
13757
|
<tbody>
|
|
13684
13758
|
<tr class="doc-section-item">
|
|
13685
13759
|
<td>
|
|
13686
|
-
<code>str</code>
|
|
13760
|
+
<code><span title="str">str</span></code>
|
|
13687
13761
|
</td>
|
|
13688
13762
|
<td>
|
|
13689
13763
|
<div class="doc-md-description">
|
|
@@ -13743,6 +13817,7 @@ Default if unspecified is the string <code>"/"</code>.</p>
|
|
|
13743
13817
|
<a id="__codelineno-0-33" name="__codelineno-0-33" href="#__codelineno-0-33"></a><span class="go">/plugins/example-app/^other-models/(?P<pk>[^/.]+)/notes/$</span>
|
|
13744
13818
|
</code></pre></div>
|
|
13745
13819
|
|
|
13820
|
+
|
|
13746
13821
|
</div>
|
|
13747
13822
|
|
|
13748
13823
|
</div>
|
|
@@ -13763,6 +13838,7 @@ Default if unspecified is the string <code>"/"</code>.</p>
|
|
|
13763
13838
|
and its name is expected to be either <code>{ModelName}UIViewSet</code> or <code>{ModelName}{view_type}View</code>.</p>
|
|
13764
13839
|
<p>If neither view class is found, this will return <code>None</code>.</p>
|
|
13765
13840
|
|
|
13841
|
+
|
|
13766
13842
|
</div>
|
|
13767
13843
|
|
|
13768
13844
|
</div>
|
|
@@ -13797,7 +13873,7 @@ and its name is expected to be either <code>{ModelName}UIViewSet</code> or <code
|
|
|
13797
13873
|
<code>queue</code>
|
|
13798
13874
|
</td>
|
|
13799
13875
|
<td>
|
|
13800
|
-
<code>(str
|
|
13876
|
+
<code>(<span title="str">str</span>, <span title="nautobot.extras.models.JobQueue">JobQueue</span>, None)</code>
|
|
13801
13877
|
</td>
|
|
13802
13878
|
<td>
|
|
13803
13879
|
<div class="doc-md-description">
|
|
@@ -13811,6 +13887,7 @@ and its name is expected to be either <code>{ModelName}UIViewSet</code> or <code
|
|
|
13811
13887
|
</tbody>
|
|
13812
13888
|
</table>
|
|
13813
13889
|
|
|
13890
|
+
|
|
13814
13891
|
</div>
|
|
13815
13892
|
|
|
13816
13893
|
</div>
|
|
@@ -13828,6 +13905,7 @@ and its name is expected to be either <code>{ModelName}UIViewSet</code> or <code
|
|
|
13828
13905
|
|
|
13829
13906
|
<p>Map a hex string like "00ff00" to individual r, g, b integer values.</p>
|
|
13830
13907
|
|
|
13908
|
+
|
|
13831
13909
|
</div>
|
|
13832
13910
|
|
|
13833
13911
|
</div>
|
|
@@ -13845,6 +13923,7 @@ and its name is expected to be either <code>{ModelName}UIViewSet</code> or <code
|
|
|
13845
13923
|
|
|
13846
13924
|
<p>Return a path for uploading image attachments.</p>
|
|
13847
13925
|
|
|
13926
|
+
|
|
13848
13927
|
</div>
|
|
13849
13928
|
|
|
13850
13929
|
</div>
|
|
@@ -13879,7 +13958,7 @@ and its name is expected to be either <code>{ModelName}UIViewSet</code> or <code
|
|
|
13879
13958
|
<code>value</code>
|
|
13880
13959
|
</td>
|
|
13881
13960
|
<td>
|
|
13882
|
-
<code>str</code>
|
|
13961
|
+
<code><span title="str">str</span></code>
|
|
13883
13962
|
</td>
|
|
13884
13963
|
<td>
|
|
13885
13964
|
<div class="doc-md-description">
|
|
@@ -13905,7 +13984,7 @@ and its name is expected to be either <code>{ModelName}UIViewSet</code> or <code
|
|
|
13905
13984
|
<tbody>
|
|
13906
13985
|
<tr class="doc-section-item">
|
|
13907
13986
|
<td>
|
|
13908
|
-
<code>bool</code>
|
|
13987
|
+
<code><span title="bool">bool</span></code>
|
|
13909
13988
|
</td>
|
|
13910
13989
|
<td>
|
|
13911
13990
|
<div class="doc-md-description">
|
|
@@ -13916,6 +13995,7 @@ and its name is expected to be either <code>{ModelName}UIViewSet</code> or <code
|
|
|
13916
13995
|
</tbody>
|
|
13917
13996
|
</table>
|
|
13918
13997
|
|
|
13998
|
+
|
|
13919
13999
|
</div>
|
|
13920
14000
|
|
|
13921
14001
|
</div>
|
|
@@ -13933,6 +14013,7 @@ and its name is expected to be either <code>{ModelName}UIViewSet</code> or <code
|
|
|
13933
14013
|
|
|
13934
14014
|
<p>Make a given RGB color lighter (closer to white).</p>
|
|
13935
14015
|
|
|
14016
|
+
|
|
13936
14017
|
</div>
|
|
13937
14018
|
|
|
13938
14019
|
</div>
|
|
@@ -13950,6 +14031,7 @@ and its name is expected to be either <code>{ModelName}UIViewSet</code> or <code
|
|
|
13950
14031
|
|
|
13951
14032
|
<p>Merge two dicts into a new dict, but raise a ValueError if any key exists with differing values across both dicts.</p>
|
|
13952
14033
|
|
|
14034
|
+
|
|
13953
14035
|
</div>
|
|
13954
14036
|
|
|
13955
14037
|
</div>
|
|
@@ -14013,7 +14095,7 @@ content types if an instance of the new model is using the tag.</p>
|
|
|
14013
14095
|
<code>apps</code>
|
|
14014
14096
|
</td>
|
|
14015
14097
|
<td>
|
|
14016
|
-
<code>obj</code>
|
|
14098
|
+
<code><span title="obj">obj</span></code>
|
|
14017
14099
|
</td>
|
|
14018
14100
|
<td>
|
|
14019
14101
|
<div class="doc-md-description">
|
|
@@ -14029,7 +14111,7 @@ content types if an instance of the new model is using the tag.</p>
|
|
|
14029
14111
|
<code>old_ct</code>
|
|
14030
14112
|
</td>
|
|
14031
14113
|
<td>
|
|
14032
|
-
<code>obj</code>
|
|
14114
|
+
<code><span title="obj">obj</span></code>
|
|
14033
14115
|
</td>
|
|
14034
14116
|
<td>
|
|
14035
14117
|
<div class="doc-md-description">
|
|
@@ -14045,7 +14127,7 @@ content types if an instance of the new model is using the tag.</p>
|
|
|
14045
14127
|
<code>new_ct</code>
|
|
14046
14128
|
</td>
|
|
14047
14129
|
<td>
|
|
14048
|
-
<code>obj</code>
|
|
14130
|
+
<code><span title="obj">obj</span></code>
|
|
14049
14131
|
</td>
|
|
14050
14132
|
<td>
|
|
14051
14133
|
<div class="doc-md-description">
|
|
@@ -14059,6 +14141,7 @@ content types if an instance of the new model is using the tag.</p>
|
|
|
14059
14141
|
</tbody>
|
|
14060
14142
|
</table>
|
|
14061
14143
|
|
|
14144
|
+
|
|
14062
14145
|
</div>
|
|
14063
14146
|
|
|
14064
14147
|
</div>
|
|
@@ -14109,7 +14192,7 @@ content types if an instance of the new model is using the tag.</p>
|
|
|
14109
14192
|
<code>from_role_field_name</code>
|
|
14110
14193
|
</td>
|
|
14111
14194
|
<td>
|
|
14112
|
-
<code>str</code>
|
|
14195
|
+
<code><span title="str">str</span></code>
|
|
14113
14196
|
</td>
|
|
14114
14197
|
<td>
|
|
14115
14198
|
<div class="doc-md-description">
|
|
@@ -14141,7 +14224,7 @@ content types if an instance of the new model is using the tag.</p>
|
|
|
14141
14224
|
<code>from_role_choiceset</code>
|
|
14142
14225
|
</td>
|
|
14143
14226
|
<td>
|
|
14144
|
-
<code>ChoiceSet</code>
|
|
14227
|
+
<code><span title="ChoiceSet">ChoiceSet</span></code>
|
|
14145
14228
|
</td>
|
|
14146
14229
|
<td>
|
|
14147
14230
|
<div class="doc-md-description">
|
|
@@ -14157,7 +14240,7 @@ content types if an instance of the new model is using the tag.</p>
|
|
|
14157
14240
|
<code>to_role_field_name</code>
|
|
14158
14241
|
</td>
|
|
14159
14242
|
<td>
|
|
14160
|
-
<code>str</code>
|
|
14243
|
+
<code><span title="str">str</span></code>
|
|
14161
14244
|
</td>
|
|
14162
14245
|
<td>
|
|
14163
14246
|
<div class="doc-md-description">
|
|
@@ -14189,7 +14272,7 @@ content types if an instance of the new model is using the tag.</p>
|
|
|
14189
14272
|
<code>to_role_choiceset</code>
|
|
14190
14273
|
</td>
|
|
14191
14274
|
<td>
|
|
14192
|
-
<code>ChoiceSet</code>
|
|
14275
|
+
<code><span title="ChoiceSet">ChoiceSet</span></code>
|
|
14193
14276
|
</td>
|
|
14194
14277
|
<td>
|
|
14195
14278
|
<div class="doc-md-description">
|
|
@@ -14205,7 +14288,7 @@ content types if an instance of the new model is using the tag.</p>
|
|
|
14205
14288
|
<code>is_m2m_field</code>
|
|
14206
14289
|
</td>
|
|
14207
14290
|
<td>
|
|
14208
|
-
<code>bool</code>
|
|
14291
|
+
<code><span title="bool">bool</span></code>
|
|
14209
14292
|
</td>
|
|
14210
14293
|
<td>
|
|
14211
14294
|
<div class="doc-md-description">
|
|
@@ -14219,6 +14302,7 @@ content types if an instance of the new model is using the tag.</p>
|
|
|
14219
14302
|
</tbody>
|
|
14220
14303
|
</table>
|
|
14221
14304
|
|
|
14305
|
+
|
|
14222
14306
|
</div>
|
|
14223
14307
|
|
|
14224
14308
|
</div>
|
|
@@ -14322,7 +14406,7 @@ should preserve multiple values as lists (e.g., non-single-choice fields).</p>
|
|
|
14322
14406
|
<tbody>
|
|
14323
14407
|
<tr class="doc-section-item">
|
|
14324
14408
|
<td>
|
|
14325
|
-
<code>AttributeError</code>
|
|
14409
|
+
<code><span title="AttributeError">AttributeError</span></code>
|
|
14326
14410
|
</td>
|
|
14327
14411
|
<td>
|
|
14328
14412
|
<div class="doc-md-description">
|
|
@@ -14333,6 +14417,7 @@ should preserve multiple values as lists (e.g., non-single-choice fields).</p>
|
|
|
14333
14417
|
</tbody>
|
|
14334
14418
|
</table>
|
|
14335
14419
|
|
|
14420
|
+
|
|
14336
14421
|
</div>
|
|
14337
14422
|
|
|
14338
14423
|
</div>
|
|
@@ -14351,6 +14436,7 @@ should preserve multiple values as lists (e.g., non-single-choice fields).</p>
|
|
|
14351
14436
|
<p>Determine whether a specified permission is exempt from evaluation.</p>
|
|
14352
14437
|
<p>:param name: Permission name in the format <app_label>.<action>_<model></p>
|
|
14353
14438
|
|
|
14439
|
+
|
|
14354
14440
|
</div>
|
|
14355
14441
|
|
|
14356
14442
|
</div>
|
|
@@ -14384,6 +14470,7 @@ should preserve multiple values as lists (e.g., non-single-choice fields).</p>
|
|
|
14384
14470
|
fields with the names given in the dictionary.
|
|
14385
14471
|
- Groups the results by app and updates the registry model features for each app.</p>
|
|
14386
14472
|
|
|
14473
|
+
|
|
14387
14474
|
</div>
|
|
14388
14475
|
|
|
14389
14476
|
</div>
|
|
@@ -14407,6 +14494,7 @@ and in that case we need to not import models ourselves.</p>
|
|
|
14407
14494
|
part of the <code>nautobot.apps.utils</code> API surface and so we need it to stay backwards-compatible with Apps that might
|
|
14408
14495
|
be calling the two-argument form of this function.</p>
|
|
14409
14496
|
|
|
14497
|
+
|
|
14410
14498
|
</div>
|
|
14411
14499
|
|
|
14412
14500
|
</div>
|
|
@@ -14425,6 +14513,7 @@ be calling the two-argument form of this function.</p>
|
|
|
14425
14513
|
<p>field_name (str): f"cf_{cf.key}"</p>
|
|
14426
14514
|
<p>Helper method to remove the "cf_" prefix</p>
|
|
14427
14515
|
|
|
14516
|
+
|
|
14428
14517
|
</div>
|
|
14429
14518
|
|
|
14430
14519
|
</div>
|
|
@@ -14442,6 +14531,7 @@ be calling the two-argument form of this function.</p>
|
|
|
14442
14531
|
|
|
14443
14532
|
<p>Render a Jinja2 template with the provided context. Return the rendered content.</p>
|
|
14444
14533
|
|
|
14534
|
+
|
|
14445
14535
|
</div>
|
|
14446
14536
|
|
|
14447
14537
|
</div>
|
|
@@ -14461,6 +14551,7 @@ be calling the two-argument form of this function.</p>
|
|
|
14461
14551
|
returns ("dcim", "view", "location").</p>
|
|
14462
14552
|
<p>:param name: Permission name in the format <app_label>.<action>_<model></p>
|
|
14463
14553
|
|
|
14554
|
+
|
|
14464
14555
|
</div>
|
|
14465
14556
|
|
|
14466
14557
|
</div>
|
|
@@ -14480,6 +14571,7 @@ returns ("dcim", "view", "location").</p>
|
|
|
14480
14571
|
(Location, "view").</p>
|
|
14481
14572
|
<p>:param name: Permission name in the format <app_label>.<action>_<model></p>
|
|
14482
14573
|
|
|
14574
|
+
|
|
14483
14575
|
</div>
|
|
14484
14576
|
|
|
14485
14577
|
</div>
|
|
@@ -14497,6 +14589,7 @@ returns ("dcim", "view", "location").</p>
|
|
|
14497
14589
|
|
|
14498
14590
|
<p>Map r, g, b values to a hex string.</p>
|
|
14499
14591
|
|
|
14592
|
+
|
|
14500
14593
|
</div>
|
|
14501
14594
|
|
|
14502
14595
|
</div>
|
|
@@ -14516,6 +14609,7 @@ returns ("dcim", "view", "location").</p>
|
|
|
14516
14609
|
<p>Obviously this will never be 100% foolproof but we can at least try.</p>
|
|
14517
14610
|
<p>Uses settings.SANITIZER_PATTERNS as the list of (regexp, repl) tuples to apply.</p>
|
|
14518
14611
|
|
|
14612
|
+
|
|
14519
14613
|
</div>
|
|
14520
14614
|
|
|
14521
14615
|
</div>
|
|
@@ -14534,6 +14628,7 @@ returns ("dcim", "view", "location").</p>
|
|
|
14534
14628
|
<p>Return a new dictionary of the different keys. The values of <code>destination_dict</code> are returned. Only the equality of
|
|
14535
14629
|
the first layer of keys/values is checked. <code>exclude</code> is a list or tuple of keys to be ignored.</p>
|
|
14536
14630
|
|
|
14631
|
+
|
|
14537
14632
|
</div>
|
|
14538
14633
|
|
|
14539
14634
|
</div>
|
|
@@ -14551,6 +14646,7 @@ the first layer of keys/values is checked. <code>exclude</code> is a list or tup
|
|
|
14551
14646
|
|
|
14552
14647
|
<p>Swap Git status initials with its equivalent.</p>
|
|
14553
14648
|
|
|
14649
|
+
|
|
14554
14650
|
</div>
|
|
14555
14651
|
|
|
14556
14652
|
</div>
|
|
@@ -14569,6 +14665,7 @@ the first layer of keys/values is checked. <code>exclude</code> is a list or tup
|
|
|
14569
14665
|
<p>Returns a list of 2-tuples for use in the form field <code>choices</code> argument. Appends
|
|
14570
14666
|
worker count to the description.</p>
|
|
14571
14667
|
|
|
14668
|
+
|
|
14572
14669
|
</div>
|
|
14573
14670
|
|
|
14574
14671
|
</div>
|
|
@@ -14586,6 +14683,7 @@ worker count to the description.</p>
|
|
|
14586
14683
|
|
|
14587
14684
|
<p>Convert the given length to meters.</p>
|
|
14588
14685
|
|
|
14686
|
+
|
|
14589
14687
|
</div>
|
|
14590
14688
|
|
|
14591
14689
|
</div>
|
|
@@ -14603,6 +14701,7 @@ worker count to the description.</p>
|
|
|
14603
14701
|
|
|
14604
14702
|
<p>Helper function that wraps plugin model validator registered clean methods for all applicable models</p>
|
|
14605
14703
|
|
|
14704
|
+
|
|
14606
14705
|
</div>
|
|
14607
14706
|
|
|
14608
14707
|
</div>
|