nautobot 2.4.14__py3-none-any.whl → 2.4.16__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.
- 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 +21 -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/templates/extras/secretsgroup_retrieve.html +2 -29
- 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 +14 -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 +96 -182
- 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 +306 -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.16.dist-info}/METADATA +24 -24
- {nautobot-2.4.14.dist-info → nautobot-2.4.16.dist-info}/RECORD +434 -417
- {nautobot-2.4.14.dist-info → nautobot-2.4.16.dist-info}/LICENSE.txt +0 -0
- {nautobot-2.4.14.dist-info → nautobot-2.4.16.dist-info}/NOTICE +0 -0
- {nautobot-2.4.14.dist-info → nautobot-2.4.16.dist-info}/WHEEL +0 -0
- {nautobot-2.4.14.dist-info → nautobot-2.4.16.dist-info}/entry_points.txt +0 -0
|
@@ -8743,6 +8743,29 @@
|
|
|
8743
8743
|
|
|
8744
8744
|
|
|
8745
8745
|
|
|
8746
|
+
|
|
8747
|
+
|
|
8748
|
+
|
|
8749
|
+
|
|
8750
|
+
|
|
8751
|
+
|
|
8752
|
+
<li class="md-nav__item">
|
|
8753
|
+
<a href="../../../development/apps/migration/ui-component-framework/breadcrumbs-titles.html" class="md-nav__link">
|
|
8754
|
+
|
|
8755
|
+
|
|
8756
|
+
|
|
8757
|
+
<span class="md-ellipsis">
|
|
8758
|
+
Breadcrumbs and titles
|
|
8759
|
+
|
|
8760
|
+
</span>
|
|
8761
|
+
|
|
8762
|
+
|
|
8763
|
+
</a>
|
|
8764
|
+
</li>
|
|
8765
|
+
|
|
8766
|
+
|
|
8767
|
+
|
|
8768
|
+
|
|
8746
8769
|
</ul>
|
|
8747
8770
|
</nav>
|
|
8748
8771
|
|
|
@@ -10185,6 +10208,7 @@
|
|
|
10185
10208
|
|
|
10186
10209
|
|
|
10187
10210
|
|
|
10211
|
+
|
|
10188
10212
|
<div class="doc doc-children">
|
|
10189
10213
|
|
|
10190
10214
|
|
|
@@ -10207,7 +10231,7 @@
|
|
|
10207
10231
|
|
|
10208
10232
|
<div class="doc doc-contents ">
|
|
10209
10233
|
<p class="doc doc-class-bases">
|
|
10210
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.models.querysets.RestrictedQuerySet" href="models.html#nautobot.apps.models.RestrictedQuerySet">RestrictedQuerySet</a></code></p>
|
|
10234
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.models.RestrictedQuerySet (nautobot.core.models.querysets.RestrictedQuerySet)" href="models.html#nautobot.apps.models.RestrictedQuerySet">RestrictedQuerySet</a></code></p>
|
|
10211
10235
|
|
|
10212
10236
|
|
|
10213
10237
|
<p>QuerySet manager used by models which support ConfigContext (device and virtual machine).</p>
|
|
@@ -10225,6 +10249,7 @@ multiple objects.</p>
|
|
|
10225
10249
|
|
|
10226
10250
|
|
|
10227
10251
|
|
|
10252
|
+
|
|
10228
10253
|
<div class="doc doc-children">
|
|
10229
10254
|
|
|
10230
10255
|
|
|
@@ -10252,6 +10277,7 @@ unlike PostgreSQL's implementation. This is why we include "weight" and "name" i
|
|
|
10252
10277
|
sort it within Python to ensure correctness.</p>
|
|
10253
10278
|
<p>Do not use this method by itself, use get_config_context() method directly on ConfigContextModel instead.</p>
|
|
10254
10279
|
|
|
10280
|
+
|
|
10255
10281
|
</div>
|
|
10256
10282
|
|
|
10257
10283
|
</div>
|
|
@@ -8770,6 +8770,29 @@
|
|
|
8770
8770
|
|
|
8771
8771
|
|
|
8772
8772
|
|
|
8773
|
+
|
|
8774
|
+
|
|
8775
|
+
|
|
8776
|
+
|
|
8777
|
+
|
|
8778
|
+
|
|
8779
|
+
<li class="md-nav__item">
|
|
8780
|
+
<a href="../../../development/apps/migration/ui-component-framework/breadcrumbs-titles.html" class="md-nav__link">
|
|
8781
|
+
|
|
8782
|
+
|
|
8783
|
+
|
|
8784
|
+
<span class="md-ellipsis">
|
|
8785
|
+
Breadcrumbs and titles
|
|
8786
|
+
|
|
8787
|
+
</span>
|
|
8788
|
+
|
|
8789
|
+
|
|
8790
|
+
</a>
|
|
8791
|
+
</li>
|
|
8792
|
+
|
|
8793
|
+
|
|
8794
|
+
|
|
8795
|
+
|
|
8773
8796
|
</ul>
|
|
8774
8797
|
</nav>
|
|
8775
8798
|
|
|
@@ -10239,6 +10262,7 @@
|
|
|
10239
10262
|
|
|
10240
10263
|
|
|
10241
10264
|
|
|
10265
|
+
|
|
10242
10266
|
<div class="doc doc-children">
|
|
10243
10267
|
|
|
10244
10268
|
|
|
@@ -10274,6 +10298,7 @@
|
|
|
10274
10298
|
|
|
10275
10299
|
|
|
10276
10300
|
|
|
10301
|
+
|
|
10277
10302
|
<div class="doc doc-children">
|
|
10278
10303
|
|
|
10279
10304
|
|
|
@@ -10301,6 +10326,7 @@
|
|
|
10301
10326
|
|
|
10302
10327
|
<p>Django Form class with inputs for describing the parameter(s) required for a Secret to use this Provider.</p>
|
|
10303
10328
|
<p>The clean() method may be implemented to provide additional input validation.</p>
|
|
10329
|
+
|
|
10304
10330
|
</div>
|
|
10305
10331
|
|
|
10306
10332
|
</div>
|
|
@@ -10322,6 +10348,7 @@
|
|
|
10322
10348
|
<div class="doc doc-contents ">
|
|
10323
10349
|
|
|
10324
10350
|
<p>Human-friendly name for this class, falling back to the slug if not overridden.</p>
|
|
10351
|
+
|
|
10325
10352
|
</div>
|
|
10326
10353
|
|
|
10327
10354
|
</div>
|
|
@@ -10344,6 +10371,7 @@
|
|
|
10344
10371
|
<div class="doc doc-contents ">
|
|
10345
10372
|
|
|
10346
10373
|
<p>String uniquely identifying this class; will be used as a key to look up the class owning a given Secret.</p>
|
|
10374
|
+
|
|
10347
10375
|
</div>
|
|
10348
10376
|
|
|
10349
10377
|
</div>
|
|
@@ -10402,7 +10430,7 @@
|
|
|
10402
10430
|
<code>obj</code>
|
|
10403
10431
|
</td>
|
|
10404
10432
|
<td>
|
|
10405
|
-
<code>object</code>
|
|
10433
|
+
<code><span title="object">object</span></code>
|
|
10406
10434
|
</td>
|
|
10407
10435
|
<td>
|
|
10408
10436
|
<div class="doc-md-description">
|
|
@@ -10416,6 +10444,7 @@
|
|
|
10416
10444
|
</tbody>
|
|
10417
10445
|
</table>
|
|
10418
10446
|
|
|
10447
|
+
|
|
10419
10448
|
</div>
|
|
10420
10449
|
|
|
10421
10450
|
</div>
|
|
@@ -8236,6 +8236,15 @@
|
|
|
8236
8236
|
</span>
|
|
8237
8237
|
</a>
|
|
8238
8238
|
|
|
8239
|
+
</li>
|
|
8240
|
+
|
|
8241
|
+
<li class="md-nav__item">
|
|
8242
|
+
<a href="#nautobot.apps.tables.BaseTable.add_conditional_prefetch" class="md-nav__link">
|
|
8243
|
+
<span class="md-ellipsis">
|
|
8244
|
+
add_conditional_prefetch
|
|
8245
|
+
</span>
|
|
8246
|
+
</a>
|
|
8247
|
+
|
|
8239
8248
|
</li>
|
|
8240
8249
|
|
|
8241
8250
|
</ul>
|
|
@@ -8917,6 +8926,29 @@
|
|
|
8917
8926
|
|
|
8918
8927
|
|
|
8919
8928
|
|
|
8929
|
+
|
|
8930
|
+
|
|
8931
|
+
|
|
8932
|
+
|
|
8933
|
+
|
|
8934
|
+
|
|
8935
|
+
<li class="md-nav__item">
|
|
8936
|
+
<a href="../../../development/apps/migration/ui-component-framework/breadcrumbs-titles.html" class="md-nav__link">
|
|
8937
|
+
|
|
8938
|
+
|
|
8939
|
+
|
|
8940
|
+
<span class="md-ellipsis">
|
|
8941
|
+
Breadcrumbs and titles
|
|
8942
|
+
|
|
8943
|
+
</span>
|
|
8944
|
+
|
|
8945
|
+
|
|
8946
|
+
</a>
|
|
8947
|
+
</li>
|
|
8948
|
+
|
|
8949
|
+
|
|
8950
|
+
|
|
8951
|
+
|
|
8920
8952
|
</ul>
|
|
8921
8953
|
</nav>
|
|
8922
8954
|
|
|
@@ -10312,6 +10344,15 @@
|
|
|
10312
10344
|
</span>
|
|
10313
10345
|
</a>
|
|
10314
10346
|
|
|
10347
|
+
</li>
|
|
10348
|
+
|
|
10349
|
+
<li class="md-nav__item">
|
|
10350
|
+
<a href="#nautobot.apps.tables.BaseTable.add_conditional_prefetch" class="md-nav__link">
|
|
10351
|
+
<span class="md-ellipsis">
|
|
10352
|
+
add_conditional_prefetch
|
|
10353
|
+
</span>
|
|
10354
|
+
</a>
|
|
10355
|
+
|
|
10315
10356
|
</li>
|
|
10316
10357
|
|
|
10317
10358
|
</ul>
|
|
@@ -10533,6 +10574,7 @@
|
|
|
10533
10574
|
|
|
10534
10575
|
|
|
10535
10576
|
|
|
10577
|
+
|
|
10536
10578
|
<div class="doc doc-children">
|
|
10537
10579
|
|
|
10538
10580
|
|
|
@@ -10569,6 +10611,7 @@
|
|
|
10569
10611
|
|
|
10570
10612
|
|
|
10571
10613
|
|
|
10614
|
+
|
|
10572
10615
|
<div class="doc doc-children">
|
|
10573
10616
|
|
|
10574
10617
|
|
|
@@ -10609,7 +10652,7 @@
|
|
|
10609
10652
|
<code>*args</code>
|
|
10610
10653
|
</td>
|
|
10611
10654
|
<td>
|
|
10612
|
-
<code>list</code>
|
|
10655
|
+
<code><span title="list">list</span></code>
|
|
10613
10656
|
</td>
|
|
10614
10657
|
<td>
|
|
10615
10658
|
<div class="doc-md-description">
|
|
@@ -10625,7 +10668,7 @@
|
|
|
10625
10668
|
<code>table_changes_pending</code>
|
|
10626
10669
|
</td>
|
|
10627
10670
|
<td>
|
|
10628
|
-
<code>bool</code>
|
|
10671
|
+
<code><span title="bool">bool</span></code>
|
|
10629
10672
|
</td>
|
|
10630
10673
|
<td>
|
|
10631
10674
|
<div class="doc-md-description">
|
|
@@ -10641,7 +10684,7 @@
|
|
|
10641
10684
|
<code>saved_view</code>
|
|
10642
10685
|
</td>
|
|
10643
10686
|
<td>
|
|
10644
|
-
<code>SavedView</code>
|
|
10687
|
+
<code><span title="SavedView">SavedView</span></code>
|
|
10645
10688
|
</td>
|
|
10646
10689
|
<td>
|
|
10647
10690
|
<div class="doc-md-description">
|
|
@@ -10657,7 +10700,7 @@
|
|
|
10657
10700
|
<code>user</code>
|
|
10658
10701
|
</td>
|
|
10659
10702
|
<td>
|
|
10660
|
-
<code>User</code>
|
|
10703
|
+
<code><span title="User">User</span></code>
|
|
10661
10704
|
</td>
|
|
10662
10705
|
<td>
|
|
10663
10706
|
<div class="doc-md-description">
|
|
@@ -10673,7 +10716,7 @@
|
|
|
10673
10716
|
<code>hide_hierarchy_ui</code>
|
|
10674
10717
|
</td>
|
|
10675
10718
|
<td>
|
|
10676
|
-
<code>bool</code>
|
|
10719
|
+
<code><span title="bool">bool</span></code>
|
|
10677
10720
|
</td>
|
|
10678
10721
|
<td>
|
|
10679
10722
|
<div class="doc-md-description">
|
|
@@ -10689,7 +10732,7 @@
|
|
|
10689
10732
|
<code>order_by</code>
|
|
10690
10733
|
</td>
|
|
10691
10734
|
<td>
|
|
10692
|
-
<code>list</code>
|
|
10735
|
+
<code><span title="list">list</span></code>
|
|
10693
10736
|
</td>
|
|
10694
10737
|
<td>
|
|
10695
10738
|
<div class="doc-md-description">
|
|
@@ -10705,7 +10748,7 @@
|
|
|
10705
10748
|
<code>data_transform_callback</code>
|
|
10706
10749
|
</td>
|
|
10707
10750
|
<td>
|
|
10708
|
-
<code>function</code>
|
|
10751
|
+
<code><span title="function">function</span></code>
|
|
10709
10752
|
</td>
|
|
10710
10753
|
<td>
|
|
10711
10754
|
<div class="doc-md-description">
|
|
@@ -10723,7 +10766,7 @@ Used for example in IPAM views to inject "fake" records for "available" Prefixes
|
|
|
10723
10766
|
<code>**kwargs</code>
|
|
10724
10767
|
</td>
|
|
10725
10768
|
<td>
|
|
10726
|
-
<code>dict</code>
|
|
10769
|
+
<code><span title="dict">dict</span></code>
|
|
10727
10770
|
</td>
|
|
10728
10771
|
<td>
|
|
10729
10772
|
<div class="doc-md-description">
|
|
@@ -10740,6 +10783,89 @@ Used for example in IPAM views to inject "fake" records for "available" Prefixes
|
|
|
10740
10783
|
Do not modify/set the <code>base_columns</code> attribute after BaseTable class is instantiated.
|
|
10741
10784
|
Do not modify/set the <code>base_columns</code> attribute after calling super().<strong>init</strong>() of BaseTable class.</p>
|
|
10742
10785
|
|
|
10786
|
+
|
|
10787
|
+
</div>
|
|
10788
|
+
|
|
10789
|
+
</div>
|
|
10790
|
+
|
|
10791
|
+
<div class="doc doc-object doc-function">
|
|
10792
|
+
|
|
10793
|
+
|
|
10794
|
+
<h3 id="nautobot.apps.tables.BaseTable.add_conditional_prefetch" class="doc doc-heading">
|
|
10795
|
+
<code class="highlight language-python"><span class="n">add_conditional_prefetch</span><span class="p">(</span><span class="n">table_field</span><span class="p">,</span> <span class="n">db_column</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">prefetch</span><span class="o">=</span><span class="kc">None</span><span class="p">)</span></code>
|
|
10796
|
+
|
|
10797
|
+
<a href="#nautobot.apps.tables.BaseTable.add_conditional_prefetch" class="headerlink" title="Permanent link">¶</a></h3>
|
|
10798
|
+
|
|
10799
|
+
|
|
10800
|
+
<div class="doc doc-contents ">
|
|
10801
|
+
|
|
10802
|
+
<p>Conditionally prefetch the specified database column if the related table field is visible.</p>
|
|
10803
|
+
|
|
10804
|
+
|
|
10805
|
+
<p><span class="doc-section-title">Parameters:</span></p>
|
|
10806
|
+
<table>
|
|
10807
|
+
<thead>
|
|
10808
|
+
<tr>
|
|
10809
|
+
<th>Name</th>
|
|
10810
|
+
<th>Type</th>
|
|
10811
|
+
<th>Description</th>
|
|
10812
|
+
<th>Default</th>
|
|
10813
|
+
</tr>
|
|
10814
|
+
</thead>
|
|
10815
|
+
<tbody>
|
|
10816
|
+
<tr class="doc-section-item">
|
|
10817
|
+
<td>
|
|
10818
|
+
<code>table_field</code>
|
|
10819
|
+
</td>
|
|
10820
|
+
<td>
|
|
10821
|
+
<code><span title="str">str</span></code>
|
|
10822
|
+
</td>
|
|
10823
|
+
<td>
|
|
10824
|
+
<div class="doc-md-description">
|
|
10825
|
+
<p>Name of the field on the table to check for visibility. Also used as the prefetch field
|
|
10826
|
+
if neither db_column nor prefetch is specified.</p>
|
|
10827
|
+
</div>
|
|
10828
|
+
</td>
|
|
10829
|
+
<td>
|
|
10830
|
+
<em>required</em>
|
|
10831
|
+
</td>
|
|
10832
|
+
</tr>
|
|
10833
|
+
<tr class="doc-section-item">
|
|
10834
|
+
<td>
|
|
10835
|
+
<code>db_column</code>
|
|
10836
|
+
</td>
|
|
10837
|
+
<td>
|
|
10838
|
+
<code><span title="str">str</span></code>
|
|
10839
|
+
</td>
|
|
10840
|
+
<td>
|
|
10841
|
+
<div class="doc-md-description">
|
|
10842
|
+
<p>Optionally specify the db column to prefetch. Mutually exclusive with prefetch.</p>
|
|
10843
|
+
</div>
|
|
10844
|
+
</td>
|
|
10845
|
+
<td>
|
|
10846
|
+
<code>None</code>
|
|
10847
|
+
</td>
|
|
10848
|
+
</tr>
|
|
10849
|
+
<tr class="doc-section-item">
|
|
10850
|
+
<td>
|
|
10851
|
+
<code>prefetch</code>
|
|
10852
|
+
</td>
|
|
10853
|
+
<td>
|
|
10854
|
+
<code><span title="django.db.models.Prefetch">Prefetch</span></code>
|
|
10855
|
+
</td>
|
|
10856
|
+
<td>
|
|
10857
|
+
<div class="doc-md-description">
|
|
10858
|
+
<p>Optionally specify a prefetch object. Mutually exclusive with db_column.</p>
|
|
10859
|
+
</div>
|
|
10860
|
+
</td>
|
|
10861
|
+
<td>
|
|
10862
|
+
<code>None</code>
|
|
10863
|
+
</td>
|
|
10864
|
+
</tr>
|
|
10865
|
+
</tbody>
|
|
10866
|
+
</table>
|
|
10867
|
+
|
|
10868
|
+
|
|
10743
10869
|
</div>
|
|
10744
10870
|
|
|
10745
10871
|
</div>
|
|
@@ -10779,6 +10905,7 @@ character.</p>
|
|
|
10779
10905
|
|
|
10780
10906
|
|
|
10781
10907
|
|
|
10908
|
+
|
|
10782
10909
|
<div class="doc doc-children">
|
|
10783
10910
|
|
|
10784
10911
|
|
|
@@ -10826,6 +10953,7 @@ character.</p>
|
|
|
10826
10953
|
|
|
10827
10954
|
|
|
10828
10955
|
|
|
10956
|
+
|
|
10829
10957
|
<div class="doc doc-children">
|
|
10830
10958
|
|
|
10831
10959
|
|
|
@@ -10871,6 +10999,7 @@ choices. The CSS class is derived by calling .get_FOO_class() on the row record.
|
|
|
10871
10999
|
|
|
10872
11000
|
|
|
10873
11001
|
|
|
11002
|
+
|
|
10874
11003
|
<div class="doc doc-children">
|
|
10875
11004
|
|
|
10876
11005
|
|
|
@@ -10915,6 +11044,7 @@ choices. The CSS class is derived by calling .get_FOO_class() on the row record.
|
|
|
10915
11044
|
|
|
10916
11045
|
|
|
10917
11046
|
|
|
11047
|
+
|
|
10918
11048
|
<div class="doc doc-children">
|
|
10919
11049
|
|
|
10920
11050
|
|
|
@@ -10959,6 +11089,7 @@ choices. The CSS class is derived by calling .get_FOO_class() on the row record.
|
|
|
10959
11089
|
|
|
10960
11090
|
|
|
10961
11091
|
|
|
11092
|
+
|
|
10962
11093
|
<div class="doc doc-children">
|
|
10963
11094
|
|
|
10964
11095
|
|
|
@@ -11003,6 +11134,7 @@ choices. The CSS class is derived by calling .get_FOO_class() on the row record.
|
|
|
11003
11134
|
|
|
11004
11135
|
|
|
11005
11136
|
|
|
11137
|
+
|
|
11006
11138
|
<div class="doc doc-children">
|
|
11007
11139
|
|
|
11008
11140
|
|
|
@@ -11053,6 +11185,7 @@ set <code>sort_items=False</code>.</p>
|
|
|
11053
11185
|
|
|
11054
11186
|
|
|
11055
11187
|
|
|
11188
|
+
|
|
11056
11189
|
<div class="doc doc-children">
|
|
11057
11190
|
|
|
11058
11191
|
|
|
@@ -11076,6 +11209,7 @@ set <code>sort_items=False</code>.</p>
|
|
|
11076
11209
|
|
|
11077
11210
|
<p>Overload filter to optionally sort items.</p>
|
|
11078
11211
|
|
|
11212
|
+
|
|
11079
11213
|
</div>
|
|
11080
11214
|
|
|
11081
11215
|
</div>
|
|
@@ -11093,6 +11227,7 @@ set <code>sort_items=False</code>.</p>
|
|
|
11093
11227
|
|
|
11094
11228
|
<p>Overload render to optionally truncate words.</p>
|
|
11095
11229
|
|
|
11230
|
+
|
|
11096
11231
|
</div>
|
|
11097
11232
|
|
|
11098
11233
|
</div>
|
|
@@ -11131,6 +11266,7 @@ set <code>sort_items=False</code>.</p>
|
|
|
11131
11266
|
|
|
11132
11267
|
|
|
11133
11268
|
|
|
11269
|
+
|
|
11134
11270
|
<div class="doc doc-children">
|
|
11135
11271
|
|
|
11136
11272
|
|
|
@@ -11184,7 +11320,7 @@ set <code>sort_items=False</code>.</p>
|
|
|
11184
11320
|
<code>viewname</code>
|
|
11185
11321
|
</td>
|
|
11186
11322
|
<td>
|
|
11187
|
-
<code>str</code>
|
|
11323
|
+
<code><span title="str">str</span></code>
|
|
11188
11324
|
</td>
|
|
11189
11325
|
<td>
|
|
11190
11326
|
<div class="doc-md-description">
|
|
@@ -11200,7 +11336,7 @@ set <code>sort_items=False</code>.</p>
|
|
|
11200
11336
|
<code>url_params</code>
|
|
11201
11337
|
</td>
|
|
11202
11338
|
<td>
|
|
11203
|
-
<code>dict</code>
|
|
11339
|
+
<code><span title="dict">dict</span></code>
|
|
11204
11340
|
</td>
|
|
11205
11341
|
<td>
|
|
11206
11342
|
<div class="doc-md-description">
|
|
@@ -11217,7 +11353,7 @@ set <code>sort_items=False</code>.</p>
|
|
|
11217
11353
|
<code>view_kwargs</code>
|
|
11218
11354
|
</td>
|
|
11219
11355
|
<td>
|
|
11220
|
-
<code>dict</code>
|
|
11356
|
+
<code><span title="dict">dict</span></code>
|
|
11221
11357
|
</td>
|
|
11222
11358
|
<td>
|
|
11223
11359
|
<div class="doc-md-description">
|
|
@@ -11233,7 +11369,7 @@ set <code>sort_items=False</code>.</p>
|
|
|
11233
11369
|
<code>lookup</code>
|
|
11234
11370
|
</td>
|
|
11235
11371
|
<td>
|
|
11236
|
-
<code>str</code>
|
|
11372
|
+
<code><span title="str">str</span></code>
|
|
11237
11373
|
</td>
|
|
11238
11374
|
<td>
|
|
11239
11375
|
<div class="doc-md-description">
|
|
@@ -11252,7 +11388,7 @@ TODO: this currently does <em>not</em> support nested lookups via <code>__</code
|
|
|
11252
11388
|
<code>reverse_lookup</code>
|
|
11253
11389
|
</td>
|
|
11254
11390
|
<td>
|
|
11255
|
-
<code>str</code>
|
|
11391
|
+
<code><span title="str">str</span></code>
|
|
11256
11392
|
</td>
|
|
11257
11393
|
<td>
|
|
11258
11394
|
<div class="doc-md-description">
|
|
@@ -11269,7 +11405,7 @@ If not specified, the first key in <code>url_params</code> will be implicitly us
|
|
|
11269
11405
|
<code>distinct</code>
|
|
11270
11406
|
</td>
|
|
11271
11407
|
<td>
|
|
11272
|
-
<code>bool</code>
|
|
11408
|
+
<code><span title="bool">bool</span></code>
|
|
11273
11409
|
</td>
|
|
11274
11410
|
<td>
|
|
11275
11411
|
<div class="doc-md-description">
|
|
@@ -11285,7 +11421,7 @@ If not specified, the first key in <code>url_params</code> will be implicitly us
|
|
|
11285
11421
|
<code>display_field</code>
|
|
11286
11422
|
</td>
|
|
11287
11423
|
<td>
|
|
11288
|
-
<code>str</code>
|
|
11424
|
+
<code><span title="str">str</span></code>
|
|
11289
11425
|
</td>
|
|
11290
11426
|
<td>
|
|
11291
11427
|
<div class="doc-md-description">
|
|
@@ -11303,7 +11439,7 @@ If not specified, it will use the "display" field.</p>
|
|
|
11303
11439
|
<code>**kwargs</code>
|
|
11304
11440
|
</td>
|
|
11305
11441
|
<td>
|
|
11306
|
-
<code>dict</code>
|
|
11442
|
+
<code><span title="dict">dict</span></code>
|
|
11307
11443
|
</td>
|
|
11308
11444
|
<td>
|
|
11309
11445
|
<div class="doc-md-description">
|
|
@@ -11353,6 +11489,7 @@ If not specified, it will use the "display" field.</p>
|
|
|
11353
11489
|
|
|
11354
11490
|
|
|
11355
11491
|
|
|
11492
|
+
|
|
11356
11493
|
<div class="doc doc-children">
|
|
11357
11494
|
|
|
11358
11495
|
|
|
@@ -11397,6 +11534,7 @@ If not specified, it will use the "display" field.</p>
|
|
|
11397
11534
|
|
|
11398
11535
|
|
|
11399
11536
|
|
|
11537
|
+
|
|
11400
11538
|
<div class="doc doc-children">
|
|
11401
11539
|
|
|
11402
11540
|
|
|
@@ -11428,7 +11566,7 @@ If not specified, it will use the "display" field.</p>
|
|
|
11428
11566
|
|
|
11429
11567
|
<div class="doc doc-contents ">
|
|
11430
11568
|
<p class="doc doc-class-bases">
|
|
11431
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.tables.BaseTable" href="#nautobot.apps.tables.BaseTable">BaseTable</a></code></p>
|
|
11569
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.tables.BaseTable (nautobot.core.tables.BaseTable)" href="#nautobot.apps.tables.BaseTable">BaseTable</a></code></p>
|
|
11432
11570
|
|
|
11433
11571
|
|
|
11434
11572
|
<p>Mixin to add a <code>role</code> field to a table.</p>
|
|
@@ -11441,6 +11579,7 @@ If not specified, it will use the "display" field.</p>
|
|
|
11441
11579
|
|
|
11442
11580
|
|
|
11443
11581
|
|
|
11582
|
+
|
|
11444
11583
|
<div class="doc doc-children">
|
|
11445
11584
|
|
|
11446
11585
|
|
|
@@ -11472,7 +11611,7 @@ If not specified, it will use the "display" field.</p>
|
|
|
11472
11611
|
|
|
11473
11612
|
<div class="doc doc-contents ">
|
|
11474
11613
|
<p class="doc doc-class-bases">
|
|
11475
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.tables.BaseTable" href="#nautobot.apps.tables.BaseTable">BaseTable</a></code></p>
|
|
11614
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.tables.BaseTable (nautobot.core.tables.BaseTable)" href="#nautobot.apps.tables.BaseTable">BaseTable</a></code></p>
|
|
11476
11615
|
|
|
11477
11616
|
|
|
11478
11617
|
<p>Mixin to add a <code>status</code> field to a table.</p>
|
|
@@ -11485,6 +11624,7 @@ If not specified, it will use the "display" field.</p>
|
|
|
11485
11624
|
|
|
11486
11625
|
|
|
11487
11626
|
|
|
11627
|
+
|
|
11488
11628
|
<div class="doc doc-children">
|
|
11489
11629
|
|
|
11490
11630
|
|
|
@@ -11532,6 +11672,7 @@ If not specified, it will use the "display" field.</p>
|
|
|
11532
11672
|
|
|
11533
11673
|
|
|
11534
11674
|
|
|
11675
|
+
|
|
11535
11676
|
<div class="doc doc-children">
|
|
11536
11677
|
|
|
11537
11678
|
|
|
@@ -11562,6 +11703,7 @@ If not specified, it will use the "display" field.</p>
|
|
|
11562
11703
|
example:
|
|
11563
11704
|
return queryset.prefetch_related("my_model_set")</p>
|
|
11564
11705
|
|
|
11706
|
+
|
|
11565
11707
|
</div>
|
|
11566
11708
|
|
|
11567
11709
|
</div>
|
|
@@ -11600,6 +11742,7 @@ example:
|
|
|
11600
11742
|
|
|
11601
11743
|
|
|
11602
11744
|
|
|
11745
|
+
|
|
11603
11746
|
<div class="doc doc-children">
|
|
11604
11747
|
|
|
11605
11748
|
|
|
@@ -11644,6 +11787,7 @@ example:
|
|
|
11644
11787
|
|
|
11645
11788
|
|
|
11646
11789
|
|
|
11790
|
+
|
|
11647
11791
|
<div class="doc doc-children">
|
|
11648
11792
|
|
|
11649
11793
|
|