nautobot 2.2.0b1__py3-none-any.whl → 2.2.1__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/__init__.py +31 -0
- nautobot/apps/api.py +1 -2
- nautobot/apps/utils.py +4 -0
- nautobot/apps/views.py +2 -0
- nautobot/circuits/api/urls.py +1 -2
- nautobot/circuits/api/views.py +0 -12
- nautobot/circuits/apps.py +1 -1
- nautobot/circuits/tests/test_filters.py +1 -1
- nautobot/core/api/routers.py +50 -3
- nautobot/core/api/utils.py +4 -0
- nautobot/core/api/views.py +21 -15
- nautobot/core/cli/__init__.py +18 -11
- nautobot/core/constants.py +85 -0
- nautobot/core/filters.py +7 -1
- nautobot/core/forms/widgets.py +1 -2
- nautobot/core/graphql/schema.py +1 -0
- nautobot/core/management/commands/generate_test_data.py +4 -4
- nautobot/core/models/__init__.py +1 -0
- nautobot/core/settings.py +24 -3
- nautobot/core/settings.yaml +20 -0
- nautobot/core/signals.py +1 -0
- nautobot/core/tables.py +2 -1
- nautobot/core/templates/admin/base.html +23 -94
- nautobot/core/templates/generic/object_retrieve.html +2 -2
- nautobot/core/templates/graphene/graphiql.html +18 -47
- nautobot/core/templates/inc/footer.html +5 -5
- nautobot/core/templates/inc/javascript.html +4 -4
- nautobot/core/templates/inc/media.html +2 -2
- nautobot/core/templates/inc/nav_menu.html +0 -7
- nautobot/core/templates/nautobot_config.py.j2 +14 -1
- nautobot/core/templates/rest_framework/api.html +12 -5
- nautobot/core/templatetags/helpers.py +2 -2
- nautobot/core/testing/__init__.py +1 -1
- nautobot/core/testing/filters.py +1 -1
- nautobot/core/testing/views.py +30 -0
- nautobot/core/tests/integration/test_view_authentication.py +68 -0
- nautobot/core/tests/test_api.py +13 -6
- nautobot/core/tests/test_csv.py +5 -4
- nautobot/core/tests/test_filters.py +2 -1
- nautobot/core/tests/test_graphql.py +4 -14
- nautobot/core/tests/test_navigations.py +3 -0
- nautobot/core/tests/test_views.py +44 -16
- nautobot/core/utils/data.py +1 -2
- nautobot/core/utils/lookup.py +126 -0
- nautobot/core/views/__init__.py +3 -7
- nautobot/core/views/generic.py +20 -6
- nautobot/core/views/mixins.py +7 -1
- nautobot/core/views/renderers.py +11 -6
- nautobot/dcim/api/serializers.py +4 -4
- nautobot/dcim/api/urls.py +2 -3
- nautobot/dcim/api/views.py +7 -18
- nautobot/dcim/apps.py +8 -4
- nautobot/dcim/elevations.py +5 -1
- nautobot/dcim/factory.py +7 -7
- nautobot/dcim/filters/__init__.py +16 -17
- nautobot/dcim/forms.py +61 -45
- nautobot/dcim/homepage.py +11 -3
- nautobot/dcim/management/commands/migrate_location_contacts.py +218 -0
- nautobot/dcim/migrations/0057_controller_models.py +11 -70
- nautobot/dcim/models/__init__.py +2 -2
- nautobot/dcim/models/devices.py +14 -16
- nautobot/dcim/models/racks.py +1 -3
- nautobot/dcim/navigation.py +23 -31
- nautobot/dcim/signals.py +6 -6
- nautobot/dcim/tables/__init__.py +2 -2
- nautobot/dcim/tables/devices.py +13 -16
- nautobot/dcim/tables/template_code.py +1 -1
- nautobot/dcim/templates/dcim/controller_create.html +70 -0
- nautobot/dcim/templates/dcim/controller_retrieve.html +35 -18
- nautobot/dcim/templates/dcim/controllermanageddevicegroup_create.html +88 -0
- nautobot/dcim/templates/dcim/device/lldp_neighbors.html +75 -43
- nautobot/dcim/templates/dcim/device.html +11 -3
- nautobot/dcim/templates/dcim/device_edit.html +1 -1
- nautobot/dcim/templates/dcim/devicefamily_retrieve.html +4 -0
- nautobot/dcim/templates/dcim/softwareimagefile_retrieve.html +1 -1
- nautobot/dcim/tests/test_api.py +47 -6
- nautobot/dcim/tests/test_filters.py +92 -81
- nautobot/dcim/tests/test_graphql.py +11 -1
- nautobot/dcim/tests/test_models.py +15 -15
- nautobot/dcim/tests/test_signals.py +3 -1
- nautobot/dcim/tests/test_views.py +24 -12
- nautobot/dcim/urls.py +1 -1
- nautobot/dcim/views.py +25 -15
- nautobot/extras/api/serializers.py +20 -1
- nautobot/extras/api/urls.py +1 -2
- nautobot/extras/api/views.py +0 -10
- nautobot/extras/apps.py +7 -0
- nautobot/extras/context_managers.py +15 -4
- nautobot/extras/filters/__init__.py +53 -2
- nautobot/extras/filters/customfields.py +14 -9
- nautobot/extras/filters/mixins.py +6 -1
- nautobot/extras/forms/contacts.py +7 -0
- nautobot/extras/health_checks.py +1 -0
- nautobot/extras/jobs.py +1 -0
- nautobot/extras/managers.py +15 -2
- nautobot/extras/models/contacts.py +1 -0
- nautobot/extras/models/customfields.py +25 -2
- nautobot/extras/models/datasources.py +1 -0
- nautobot/extras/models/mixins.py +1 -0
- nautobot/extras/navigation.py +71 -65
- nautobot/extras/plugins/__init__.py +2 -1
- nautobot/extras/plugins/views.py +7 -11
- nautobot/extras/querysets.py +1 -2
- nautobot/extras/secrets/providers.py +1 -0
- nautobot/extras/signals.py +15 -5
- nautobot/extras/tasks.py +70 -17
- nautobot/extras/tests/test_api.py +2 -4
- nautobot/extras/tests/test_customfields.py +72 -9
- nautobot/extras/tests/test_dynamicgroups.py +2 -0
- nautobot/extras/tests/test_filters.py +89 -4
- nautobot/extras/tests/test_models.py +9 -0
- nautobot/extras/tests/test_relationships.py +10 -1
- nautobot/extras/tests/test_views.py +112 -1
- nautobot/extras/views.py +18 -17
- nautobot/ipam/api/serializers.py +10 -0
- nautobot/ipam/api/urls.py +1 -2
- nautobot/ipam/api/views.py +0 -11
- nautobot/ipam/apps.py +3 -2
- nautobot/ipam/tables.py +2 -22
- nautobot/ipam/tests/test_graphql.py +2 -3
- nautobot/ipam/tests/test_tables.py +42 -0
- nautobot/ipam/tests/test_views.py +1 -0
- nautobot/ipam/views.py +9 -9
- nautobot/project-static/css/base.css +1 -0
- nautobot/project-static/docs/404.html +126 -73
- nautobot/project-static/docs/apps/index.html +127 -71
- nautobot/project-static/docs/apps/nautobot-apps.html +127 -71
- nautobot/project-static/docs/assets/javascripts/{bundle.8fd75fb4.min.js → bundle.bd41221c.min.js} +2 -2
- nautobot/project-static/docs/assets/javascripts/{bundle.8fd75fb4.min.js.map → bundle.bd41221c.min.js.map} +3 -3
- nautobot/project-static/docs/assets/stylesheets/main.bcfcd587.min.css +1 -0
- nautobot/project-static/docs/assets/stylesheets/main.bcfcd587.min.css.map +1 -0
- nautobot/project-static/docs/code-reference/nautobot/apps/__init__.html +127 -71
- nautobot/project-static/docs/code-reference/nautobot/apps/admin.html +127 -71
- nautobot/project-static/docs/code-reference/nautobot/apps/api.html +167 -73
- nautobot/project-static/docs/code-reference/nautobot/apps/change_logging.html +165 -72
- nautobot/project-static/docs/code-reference/nautobot/apps/choices.html +127 -71
- nautobot/project-static/docs/code-reference/nautobot/apps/config.html +127 -71
- nautobot/project-static/docs/code-reference/nautobot/apps/constants.html +127 -71
- nautobot/project-static/docs/code-reference/nautobot/apps/datasources.html +127 -71
- nautobot/project-static/docs/code-reference/nautobot/apps/exceptions.html +127 -71
- nautobot/project-static/docs/code-reference/nautobot/apps/factory.html +127 -71
- nautobot/project-static/docs/code-reference/nautobot/apps/filters.html +127 -71
- nautobot/project-static/docs/code-reference/nautobot/apps/forms.html +127 -71
- nautobot/project-static/docs/code-reference/nautobot/apps/graphql.html +127 -71
- nautobot/project-static/docs/code-reference/nautobot/apps/jobs.html +127 -71
- nautobot/project-static/docs/code-reference/nautobot/apps/models.html +127 -71
- nautobot/project-static/docs/code-reference/nautobot/apps/querysets.html +127 -71
- nautobot/project-static/docs/code-reference/nautobot/apps/secrets.html +127 -71
- nautobot/project-static/docs/code-reference/nautobot/apps/tables.html +127 -71
- nautobot/project-static/docs/code-reference/nautobot/apps/testing.html +128 -72
- nautobot/project-static/docs/code-reference/nautobot/apps/ui.html +127 -71
- nautobot/project-static/docs/code-reference/nautobot/apps/urls.html +127 -71
- nautobot/project-static/docs/code-reference/nautobot/apps/utils.html +345 -71
- nautobot/project-static/docs/code-reference/nautobot/apps/views.html +172 -73
- nautobot/project-static/docs/development/apps/api/configuration-view.html +127 -71
- nautobot/project-static/docs/development/apps/api/database-backend-config.html +127 -71
- nautobot/project-static/docs/development/apps/api/models/django-admin.html +127 -71
- nautobot/project-static/docs/development/apps/api/models/global-search.html +127 -71
- nautobot/project-static/docs/development/apps/api/models/graphql.html +127 -71
- nautobot/project-static/docs/development/apps/api/models/index.html +127 -71
- nautobot/project-static/docs/development/apps/api/nautobot-app-config.html +127 -71
- nautobot/project-static/docs/development/apps/api/platform-features/custom-validators.html +127 -71
- nautobot/project-static/docs/development/apps/api/platform-features/filter-extensions.html +127 -71
- nautobot/project-static/docs/development/apps/api/platform-features/git-repository-content.html +127 -71
- nautobot/project-static/docs/development/apps/api/platform-features/index.html +127 -71
- nautobot/project-static/docs/development/apps/api/platform-features/jinja2-filters.html +127 -71
- nautobot/project-static/docs/development/apps/api/platform-features/jobs.html +127 -71
- nautobot/project-static/docs/development/apps/api/platform-features/populating-extensibility-features.html +127 -71
- nautobot/project-static/docs/development/apps/api/platform-features/secrets-providers.html +127 -71
- nautobot/project-static/docs/development/apps/api/platform-features/uniquely-identify-objects.html +127 -71
- nautobot/project-static/docs/development/apps/api/prometheus.html +127 -71
- nautobot/project-static/docs/development/apps/api/setup.html +127 -71
- nautobot/project-static/docs/development/apps/api/testing.html +127 -71
- nautobot/project-static/docs/development/apps/api/ui-extensions/banners.html +127 -71
- nautobot/project-static/docs/development/apps/api/ui-extensions/home-page.html +127 -71
- nautobot/project-static/docs/development/apps/api/ui-extensions/index.html +127 -71
- nautobot/project-static/docs/development/apps/api/ui-extensions/navigation.html +127 -71
- nautobot/project-static/docs/development/apps/api/ui-extensions/object-views.html +127 -71
- nautobot/project-static/docs/development/apps/api/views/base-template.html +127 -71
- nautobot/project-static/docs/development/apps/api/views/core-view-overrides.html +141 -80
- nautobot/project-static/docs/development/apps/api/views/django-generic-views.html +144 -83
- nautobot/project-static/docs/development/apps/api/views/help-documentation.html +127 -71
- nautobot/project-static/docs/development/apps/api/views/index.html +127 -71
- nautobot/project-static/docs/development/apps/api/views/nautobot-generic-views.html +127 -71
- nautobot/project-static/docs/development/apps/api/views/nautobotuiviewset.html +127 -71
- nautobot/project-static/docs/development/apps/api/views/nautobotuiviewsetrouter.html +127 -71
- nautobot/project-static/docs/development/apps/api/views/notes.html +127 -71
- nautobot/project-static/docs/development/apps/api/views/rest-api.html +127 -71
- nautobot/project-static/docs/development/apps/api/views/urls.html +127 -71
- nautobot/project-static/docs/development/apps/index.html +127 -71
- nautobot/project-static/docs/development/apps/migration/code-updates.html +127 -71
- nautobot/project-static/docs/development/apps/migration/dependency-updates.html +127 -71
- nautobot/project-static/docs/development/apps/migration/from-v1.html +127 -71
- nautobot/project-static/docs/development/apps/migration/model-updates/dcim.html +127 -71
- nautobot/project-static/docs/development/apps/migration/model-updates/extras.html +127 -71
- nautobot/project-static/docs/development/apps/migration/model-updates/global.html +127 -71
- nautobot/project-static/docs/development/apps/migration/model-updates/ipam.html +127 -71
- nautobot/project-static/docs/development/apps/porting-from-netbox.html +127 -71
- nautobot/project-static/docs/development/core/application-registry.html +127 -71
- nautobot/project-static/docs/development/core/best-practices.html +145 -79
- nautobot/project-static/docs/development/core/bootstrap-ui.html +127 -71
- nautobot/project-static/docs/development/core/caching.html +127 -71
- nautobot/project-static/docs/development/core/controllers.html +141 -275
- nautobot/project-static/docs/development/core/docker-compose-advanced-use-cases.html +127 -71
- nautobot/project-static/docs/development/core/extending-models.html +13 -8166
- nautobot/project-static/docs/development/core/generic-views.html +142 -86
- nautobot/project-static/docs/development/core/getting-started.html +146 -81
- nautobot/project-static/docs/development/core/homepage.html +145 -89
- nautobot/project-static/docs/development/core/index.html +127 -71
- nautobot/project-static/docs/development/core/model-checklist.html +8354 -0
- nautobot/project-static/docs/development/core/model-features.html +130 -74
- nautobot/project-static/docs/development/core/natural-keys.html +127 -71
- nautobot/project-static/docs/development/core/navigation-menu.html +127 -71
- nautobot/project-static/docs/development/core/release-checklist.html +127 -71
- nautobot/project-static/docs/development/core/role-internals.html +127 -71
- nautobot/project-static/docs/development/core/settings.html +127 -71
- nautobot/project-static/docs/development/core/style-guide.html +127 -71
- nautobot/project-static/docs/development/core/templates.html +127 -71
- nautobot/project-static/docs/development/core/testing.html +127 -71
- nautobot/project-static/docs/development/core/user-preferences.html +127 -71
- nautobot/project-static/docs/development/extending-models.html +3 -3
- nautobot/project-static/docs/development/index.html +127 -71
- nautobot/project-static/docs/development/jobs/index.html +128 -72
- nautobot/project-static/docs/development/jobs/migration/from-v1.html +127 -71
- nautobot/project-static/docs/index.html +126 -73
- nautobot/project-static/docs/models/dcim/{controllerdevicegroup.html → controllermanageddevicegroup.html} +3 -3
- nautobot/project-static/docs/objects.inv +0 -0
- nautobot/project-static/docs/release-notes/index.html +127 -71
- nautobot/project-static/docs/release-notes/version-1.0.html +127 -71
- nautobot/project-static/docs/release-notes/version-1.1.html +127 -71
- nautobot/project-static/docs/release-notes/version-1.2.html +127 -71
- nautobot/project-static/docs/release-notes/version-1.3.html +127 -71
- nautobot/project-static/docs/release-notes/version-1.4.html +127 -71
- nautobot/project-static/docs/release-notes/version-1.5.html +127 -71
- nautobot/project-static/docs/release-notes/version-1.6.html +127 -71
- nautobot/project-static/docs/release-notes/version-2.0.html +127 -71
- nautobot/project-static/docs/release-notes/version-2.1.html +538 -254
- nautobot/project-static/docs/release-notes/version-2.2.html +520 -101
- nautobot/project-static/docs/requirements.txt +3 -3
- nautobot/project-static/docs/search/search_index.json +1 -1
- nautobot/project-static/docs/sitemap.xml +264 -259
- nautobot/project-static/docs/sitemap.xml.gz +0 -0
- nautobot/project-static/docs/user-guide/administration/configuration/authentication/ldap.html +127 -71
- nautobot/project-static/docs/user-guide/administration/configuration/authentication/remote.html +127 -71
- nautobot/project-static/docs/user-guide/administration/configuration/authentication/sso.html +127 -71
- nautobot/project-static/docs/user-guide/administration/configuration/index.html +127 -71
- nautobot/project-static/docs/user-guide/administration/configuration/optional-settings.html +192 -71
- nautobot/project-static/docs/user-guide/administration/configuration/required-settings.html +127 -71
- nautobot/project-static/docs/user-guide/administration/configuration/time-zones.html +127 -71
- nautobot/project-static/docs/user-guide/administration/guides/caching.html +127 -71
- nautobot/project-static/docs/user-guide/administration/guides/celery-queues.html +127 -71
- nautobot/project-static/docs/user-guide/administration/guides/healthcheck.html +127 -71
- nautobot/project-static/docs/user-guide/administration/guides/permissions.html +127 -71
- nautobot/project-static/docs/user-guide/administration/guides/prometheus-metrics.html +131 -71
- nautobot/project-static/docs/user-guide/administration/guides/replicating-nautobot.html +127 -71
- nautobot/project-static/docs/user-guide/administration/guides/request-profiling.html +127 -71
- nautobot/project-static/docs/user-guide/administration/guides/s3-django-storage.html +130 -74
- nautobot/project-static/docs/user-guide/administration/installation/app-install.html +127 -71
- nautobot/project-static/docs/user-guide/administration/installation/docker.html +134 -74
- nautobot/project-static/docs/user-guide/administration/installation/external-authentication.html +127 -71
- nautobot/project-static/docs/user-guide/administration/installation/health-checks.html +8616 -0
- nautobot/project-static/docs/user-guide/administration/installation/http-server.html +127 -71
- nautobot/project-static/docs/user-guide/administration/installation/index.html +127 -71
- nautobot/project-static/docs/user-guide/administration/installation/install_system.html +127 -71
- nautobot/project-static/docs/user-guide/administration/installation/nautobot.html +127 -71
- nautobot/project-static/docs/user-guide/administration/installation/selinux-troubleshooting.html +130 -74
- nautobot/project-static/docs/user-guide/administration/installation/services.html +127 -71
- nautobot/project-static/docs/user-guide/administration/migration/migrating-from-netbox.html +127 -71
- nautobot/project-static/docs/user-guide/administration/migration/migrating-from-postgresql.html +127 -71
- nautobot/project-static/docs/user-guide/administration/tools/nautobot-server.html +127 -71
- nautobot/project-static/docs/user-guide/administration/tools/nautobot-shell.html +127 -71
- nautobot/project-static/docs/user-guide/administration/upgrading/database-backup.html +127 -71
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/after-you-upgrade.html +127 -71
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/before-you-upgrade.html +127 -71
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/for-developers.html +127 -71
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/index.html +127 -71
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/whats-changed.html +127 -71
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/region-and-site-data-migration-guide.html +127 -71
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/upgrading-from-nautobot-v1.html +127 -71
- nautobot/project-static/docs/user-guide/administration/upgrading/upgrading.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/circuits/circuit.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/circuits/circuittermination.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/circuits/circuittype.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/circuits/provider.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/circuits/providernetwork.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/dcim/cable.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/dcim/consoleport.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/dcim/consoleporttemplate.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/dcim/consoleserverport.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/dcim/consoleserverporttemplate.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/dcim/controller.html +362 -79
- nautobot/project-static/docs/user-guide/core-data-model/dcim/{controllerdevicegroup.html → controllermanageddevicegroup.html} +210 -85
- nautobot/project-static/docs/user-guide/core-data-model/dcim/device.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/dcim/devicebay.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/dcim/devicebaytemplate.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/dcim/devicefamily.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/dcim/deviceredundancygroup.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/dcim/devicetype.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/dcim/frontport.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/dcim/frontporttemplate.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/dcim/interface.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/dcim/interfaceredundancygroup.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/dcim/interfacetemplate.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/dcim/inventoryitem.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/dcim/location.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/dcim/locationtype.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/dcim/manufacturer.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/dcim/platform.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/dcim/powerfeed.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/dcim/poweroutlet.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/dcim/poweroutlettemplate.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/dcim/powerpanel.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/dcim/powerport.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/dcim/powerporttemplate.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rack.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rackgroup.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rackreservation.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rearport.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rearporttemplate.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/dcim/softwareimagefile.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/dcim/softwareversion.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/dcim/virtualchassis.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/extras/configcontext.html +130 -74
- nautobot/project-static/docs/user-guide/core-data-model/extras/configcontextschema.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/extras/contact.html +138 -71
- nautobot/project-static/docs/user-guide/core-data-model/extras/team.html +138 -71
- nautobot/project-static/docs/user-guide/core-data-model/ipam/ipaddress.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/ipam/namespace.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/ipam/prefix.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/ipam/rir.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/ipam/routetarget.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/ipam/service.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/ipam/vlan.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/ipam/vlangroup.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/ipam/vrf.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/overview/introduction.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/tenancy/tenant.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/tenancy/tenantgroup.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/cluster.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/clustergroup.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/clustertype.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/virtualmachine.html +127 -71
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/vminterface.html +127 -71
- nautobot/project-static/docs/user-guide/feature-guides/{contact-and-team.html → contacts-and-teams.html} +128 -72
- nautobot/project-static/docs/user-guide/feature-guides/custom-fields.html +129 -73
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/creating-devices.html +127 -71
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/creating-location-types-and-locations.html +127 -71
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/index.html +127 -71
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/interfaces.html +127 -71
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/ipam.html +127 -71
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/platforms.html +127 -71
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/search-bar.html +129 -73
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/tenants.html +127 -71
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/vlans-and-vlan-groups.html +127 -71
- nautobot/project-static/docs/user-guide/feature-guides/git-data-source.html +127 -71
- nautobot/project-static/docs/user-guide/feature-guides/graphql.html +127 -71
- nautobot/project-static/docs/user-guide/feature-guides/ip-address-merge-tool.html +127 -71
- nautobot/project-static/docs/user-guide/feature-guides/relationships.html +127 -71
- nautobot/project-static/docs/user-guide/feature-guides/software-image-files-and-versions.html +127 -71
- nautobot/project-static/docs/user-guide/index.html +127 -71
- nautobot/project-static/docs/user-guide/platform-functionality/change-logging.html +127 -71
- nautobot/project-static/docs/user-guide/platform-functionality/computedfield.html +127 -71
- nautobot/project-static/docs/user-guide/platform-functionality/customfield.html +127 -71
- nautobot/project-static/docs/user-guide/platform-functionality/customlink.html +127 -71
- nautobot/project-static/docs/user-guide/platform-functionality/dynamicgroup.html +127 -71
- nautobot/project-static/docs/user-guide/platform-functionality/exporttemplate.html +127 -71
- nautobot/project-static/docs/user-guide/platform-functionality/externalintegration.html +127 -71
- nautobot/project-static/docs/user-guide/platform-functionality/gitrepository.html +127 -71
- nautobot/project-static/docs/user-guide/platform-functionality/graphql.html +127 -71
- nautobot/project-static/docs/user-guide/platform-functionality/graphqlquery.html +127 -71
- nautobot/project-static/docs/user-guide/platform-functionality/imageattachment.html +127 -71
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/index.html +127 -71
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/job-scheduling-and-approvals.html +127 -71
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/jobbutton.html +127 -71
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/jobhook.html +127 -71
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/models.html +127 -71
- nautobot/project-static/docs/user-guide/platform-functionality/napalm.html +127 -71
- nautobot/project-static/docs/user-guide/platform-functionality/note.html +127 -71
- nautobot/project-static/docs/user-guide/platform-functionality/relationship.html +127 -71
- nautobot/project-static/docs/user-guide/platform-functionality/rest-api/authentication.html +127 -71
- nautobot/project-static/docs/user-guide/platform-functionality/rest-api/filtering.html +127 -71
- nautobot/project-static/docs/user-guide/platform-functionality/rest-api/overview.html +127 -71
- nautobot/project-static/docs/user-guide/platform-functionality/rest-api/ui-related-endpoints.html +127 -71
- nautobot/project-static/docs/user-guide/platform-functionality/role.html +127 -71
- nautobot/project-static/docs/user-guide/platform-functionality/secret.html +127 -71
- nautobot/project-static/docs/user-guide/platform-functionality/status.html +127 -71
- nautobot/project-static/docs/user-guide/platform-functionality/tag.html +127 -71
- nautobot/project-static/docs/user-guide/platform-functionality/template-filters.html +127 -71
- nautobot/project-static/docs/user-guide/platform-functionality/users/objectpermission.html +127 -71
- nautobot/project-static/docs/user-guide/platform-functionality/users/token.html +127 -71
- nautobot/project-static/docs/user-guide/platform-functionality/webhook.html +127 -71
- nautobot/project-static/jquery/jquery-3.7.1.min.js +2 -0
- nautobot/project-static/{jquery-ui-1.13.1 → jquery-ui-1.13.2}/images/ui-icons_444444_256x240.png +0 -0
- nautobot/project-static/{jquery-ui-1.13.1 → jquery-ui-1.13.2}/images/ui-icons_555555_256x240.png +0 -0
- nautobot/project-static/{jquery-ui-1.13.1 → jquery-ui-1.13.2}/images/ui-icons_777620_256x240.png +0 -0
- nautobot/project-static/{jquery-ui-1.13.1 → jquery-ui-1.13.2}/images/ui-icons_777777_256x240.png +0 -0
- nautobot/project-static/{jquery-ui-1.13.1 → jquery-ui-1.13.2}/images/ui-icons_cc0000_256x240.png +0 -0
- nautobot/project-static/{jquery-ui-1.13.1 → jquery-ui-1.13.2}/images/ui-icons_ffffff_256x240.png +0 -0
- nautobot/project-static/jquery-ui-1.13.2/jquery-ui.min.css +7 -0
- nautobot/project-static/jquery-ui-1.13.2/jquery-ui.min.js +6 -0
- nautobot/project-static/jquery-ui-1.13.2/jquery-ui.structure.min.css +5 -0
- nautobot/project-static/{jquery-ui-1.13.1 → jquery-ui-1.13.2}/jquery-ui.theme.min.css +1 -1
- nautobot/tenancy/api/urls.py +1 -2
- nautobot/tenancy/api/views.py +0 -12
- nautobot/tenancy/tables.py +1 -1
- nautobot/tenancy/tests/test_views.py +1 -0
- nautobot/users/api/urls.py +1 -2
- nautobot/users/api/views.py +2 -65
- nautobot/users/views.py +8 -8
- nautobot/virtualization/api/urls.py +1 -2
- nautobot/virtualization/api/views.py +0 -12
- {nautobot-2.2.0b1.dist-info → nautobot-2.2.1.dist-info}/METADATA +24 -24
- {nautobot-2.2.0b1.dist-info → nautobot-2.2.1.dist-info}/RECORD +418 -412
- nautobot/dcim/templates/dcim/controllerdevicegroup_create.html +0 -43
- nautobot/project-static/docs/assets/stylesheets/main.f2e4d321.min.css +0 -1
- nautobot/project-static/docs/assets/stylesheets/main.f2e4d321.min.css.map +0 -1
- nautobot/project-static/jquery/jquery-3.6.0.min.js +0 -2
- nautobot/project-static/jquery-ui-1.13.1/jquery-ui.min.css +0 -7
- nautobot/project-static/jquery-ui-1.13.1/jquery-ui.min.js +0 -6
- nautobot/project-static/jquery-ui-1.13.1/jquery-ui.structure.min.css +0 -5
- /nautobot/dcim/templates/dcim/{controllerdevicegroup_retrieve.html → controllermanageddevicegroup_retrieve.html} +0 -0
- {nautobot-2.2.0b1.dist-info → nautobot-2.2.1.dist-info}/LICENSE.txt +0 -0
- {nautobot-2.2.0b1.dist-info → nautobot-2.2.1.dist-info}/NOTICE +0 -0
- {nautobot-2.2.0b1.dist-info → nautobot-2.2.1.dist-info}/WHEEL +0 -0
- {nautobot-2.2.0b1.dist-info → nautobot-2.2.1.dist-info}/entry_points.txt +0 -0
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
<link rel="icon" href="../../../assets/favicon.ico">
|
|
21
|
-
<meta name="generator" content="mkdocs-1.5.3, mkdocs-material-9.5.
|
|
21
|
+
<meta name="generator" content="mkdocs-1.5.3, mkdocs-material-9.5.16">
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
<link rel="stylesheet" href="../../../assets/stylesheets/main.
|
|
29
|
+
<link rel="stylesheet" href="../../../assets/stylesheets/main.bcfcd587.min.css">
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<link rel="stylesheet" href="../../../assets/stylesheets/palette.06af60db.min.css">
|
|
@@ -399,16 +399,14 @@
|
|
|
399
399
|
|
|
400
400
|
|
|
401
401
|
|
|
402
|
-
|
|
403
|
-
|
|
404
402
|
|
|
405
403
|
|
|
406
404
|
|
|
407
|
-
|
|
405
|
+
|
|
406
|
+
<li class="md-nav__item md-nav__item--nested">
|
|
408
407
|
|
|
409
408
|
|
|
410
409
|
|
|
411
|
-
|
|
412
410
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_2" >
|
|
413
411
|
|
|
414
412
|
|
|
@@ -425,7 +423,7 @@
|
|
|
425
423
|
</a>
|
|
426
424
|
|
|
427
425
|
|
|
428
|
-
<label class="md-nav__link " for="__nav_2" id="__nav_2_label" tabindex="">
|
|
426
|
+
<label class="md-nav__link " for="__nav_2" id="__nav_2_label" tabindex="0">
|
|
429
427
|
<span class="md-nav__icon md-icon"></span>
|
|
430
428
|
</label>
|
|
431
429
|
|
|
@@ -447,13 +445,14 @@
|
|
|
447
445
|
|
|
448
446
|
|
|
449
447
|
|
|
448
|
+
|
|
449
|
+
|
|
450
450
|
|
|
451
451
|
|
|
452
452
|
<li class="md-nav__item md-nav__item--nested">
|
|
453
453
|
|
|
454
454
|
|
|
455
455
|
|
|
456
|
-
|
|
457
456
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_2_1" >
|
|
458
457
|
|
|
459
458
|
|
|
@@ -484,13 +483,14 @@
|
|
|
484
483
|
|
|
485
484
|
|
|
486
485
|
|
|
486
|
+
|
|
487
|
+
|
|
487
488
|
|
|
488
489
|
|
|
489
490
|
<li class="md-nav__item md-nav__item--nested">
|
|
490
491
|
|
|
491
492
|
|
|
492
493
|
|
|
493
|
-
|
|
494
494
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_2_1_1" >
|
|
495
495
|
|
|
496
496
|
|
|
@@ -686,6 +686,27 @@
|
|
|
686
686
|
|
|
687
687
|
|
|
688
688
|
|
|
689
|
+
<li class="md-nav__item">
|
|
690
|
+
<a href="../../../user-guide/administration/installation/health-checks.html" class="md-nav__link">
|
|
691
|
+
|
|
692
|
+
|
|
693
|
+
<span class="md-ellipsis">
|
|
694
|
+
Health Checks
|
|
695
|
+
</span>
|
|
696
|
+
|
|
697
|
+
|
|
698
|
+
</a>
|
|
699
|
+
</li>
|
|
700
|
+
|
|
701
|
+
|
|
702
|
+
|
|
703
|
+
|
|
704
|
+
|
|
705
|
+
|
|
706
|
+
|
|
707
|
+
|
|
708
|
+
|
|
709
|
+
|
|
689
710
|
<li class="md-nav__item">
|
|
690
711
|
<a href="../../../user-guide/administration/installation/selinux-troubleshooting.html" class="md-nav__link">
|
|
691
712
|
|
|
@@ -718,13 +739,14 @@
|
|
|
718
739
|
|
|
719
740
|
|
|
720
741
|
|
|
742
|
+
|
|
743
|
+
|
|
721
744
|
|
|
722
745
|
|
|
723
746
|
<li class="md-nav__item md-nav__item--nested">
|
|
724
747
|
|
|
725
748
|
|
|
726
749
|
|
|
727
|
-
|
|
728
750
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_2_1_2" >
|
|
729
751
|
|
|
730
752
|
|
|
@@ -797,13 +819,14 @@
|
|
|
797
819
|
|
|
798
820
|
|
|
799
821
|
|
|
822
|
+
|
|
823
|
+
|
|
800
824
|
|
|
801
825
|
|
|
802
826
|
<li class="md-nav__item md-nav__item--nested">
|
|
803
827
|
|
|
804
828
|
|
|
805
829
|
|
|
806
|
-
|
|
807
830
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_2_1_2_3" >
|
|
808
831
|
|
|
809
832
|
|
|
@@ -863,13 +886,14 @@
|
|
|
863
886
|
|
|
864
887
|
|
|
865
888
|
|
|
889
|
+
|
|
890
|
+
|
|
866
891
|
|
|
867
892
|
|
|
868
893
|
<li class="md-nav__item md-nav__item--nested">
|
|
869
894
|
|
|
870
895
|
|
|
871
896
|
|
|
872
|
-
|
|
873
897
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_2_1_2_3_2" >
|
|
874
898
|
|
|
875
899
|
|
|
@@ -1016,13 +1040,14 @@
|
|
|
1016
1040
|
|
|
1017
1041
|
|
|
1018
1042
|
|
|
1043
|
+
|
|
1044
|
+
|
|
1019
1045
|
|
|
1020
1046
|
|
|
1021
1047
|
<li class="md-nav__item md-nav__item--nested">
|
|
1022
1048
|
|
|
1023
1049
|
|
|
1024
1050
|
|
|
1025
|
-
|
|
1026
1051
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_2_1_3" >
|
|
1027
1052
|
|
|
1028
1053
|
|
|
@@ -1103,13 +1128,14 @@
|
|
|
1103
1128
|
|
|
1104
1129
|
|
|
1105
1130
|
|
|
1131
|
+
|
|
1132
|
+
|
|
1106
1133
|
|
|
1107
1134
|
|
|
1108
1135
|
<li class="md-nav__item md-nav__item--nested">
|
|
1109
1136
|
|
|
1110
1137
|
|
|
1111
1138
|
|
|
1112
|
-
|
|
1113
1139
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_2_1_4" >
|
|
1114
1140
|
|
|
1115
1141
|
|
|
@@ -1211,13 +1237,14 @@
|
|
|
1211
1237
|
|
|
1212
1238
|
|
|
1213
1239
|
|
|
1240
|
+
|
|
1241
|
+
|
|
1214
1242
|
|
|
1215
1243
|
|
|
1216
1244
|
<li class="md-nav__item md-nav__item--nested">
|
|
1217
1245
|
|
|
1218
1246
|
|
|
1219
1247
|
|
|
1220
|
-
|
|
1221
1248
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_2_1_4_4" >
|
|
1222
1249
|
|
|
1223
1250
|
|
|
@@ -1327,13 +1354,14 @@
|
|
|
1327
1354
|
|
|
1328
1355
|
|
|
1329
1356
|
|
|
1357
|
+
|
|
1358
|
+
|
|
1330
1359
|
|
|
1331
1360
|
|
|
1332
1361
|
<li class="md-nav__item md-nav__item--nested">
|
|
1333
1362
|
|
|
1334
1363
|
|
|
1335
1364
|
|
|
1336
|
-
|
|
1337
1365
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_2_1_5" >
|
|
1338
1366
|
|
|
1339
1367
|
|
|
@@ -1414,13 +1442,14 @@
|
|
|
1414
1442
|
|
|
1415
1443
|
|
|
1416
1444
|
|
|
1445
|
+
|
|
1446
|
+
|
|
1417
1447
|
|
|
1418
1448
|
|
|
1419
1449
|
<li class="md-nav__item md-nav__item--nested">
|
|
1420
1450
|
|
|
1421
1451
|
|
|
1422
1452
|
|
|
1423
|
-
|
|
1424
1453
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_2_1_6" >
|
|
1425
1454
|
|
|
1426
1455
|
|
|
@@ -1635,13 +1664,14 @@
|
|
|
1635
1664
|
|
|
1636
1665
|
|
|
1637
1666
|
|
|
1667
|
+
|
|
1668
|
+
|
|
1638
1669
|
|
|
1639
1670
|
|
|
1640
1671
|
<li class="md-nav__item md-nav__item--nested">
|
|
1641
1672
|
|
|
1642
1673
|
|
|
1643
1674
|
|
|
1644
|
-
|
|
1645
1675
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_2_2" >
|
|
1646
1676
|
|
|
1647
1677
|
|
|
@@ -1672,13 +1702,14 @@
|
|
|
1672
1702
|
|
|
1673
1703
|
|
|
1674
1704
|
|
|
1705
|
+
|
|
1706
|
+
|
|
1675
1707
|
|
|
1676
1708
|
|
|
1677
1709
|
<li class="md-nav__item md-nav__item--nested">
|
|
1678
1710
|
|
|
1679
1711
|
|
|
1680
1712
|
|
|
1681
|
-
|
|
1682
1713
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_2_2_1" >
|
|
1683
1714
|
|
|
1684
1715
|
|
|
@@ -1891,7 +1922,7 @@
|
|
|
1891
1922
|
|
|
1892
1923
|
|
|
1893
1924
|
<li class="md-nav__item">
|
|
1894
|
-
<a href="../../../user-guide/feature-guides/
|
|
1925
|
+
<a href="../../../user-guide/feature-guides/contacts-and-teams.html" class="md-nav__link">
|
|
1895
1926
|
|
|
1896
1927
|
|
|
1897
1928
|
<span class="md-ellipsis">
|
|
@@ -2048,13 +2079,14 @@
|
|
|
2048
2079
|
|
|
2049
2080
|
|
|
2050
2081
|
|
|
2082
|
+
|
|
2083
|
+
|
|
2051
2084
|
|
|
2052
2085
|
|
|
2053
2086
|
<li class="md-nav__item md-nav__item--nested">
|
|
2054
2087
|
|
|
2055
2088
|
|
|
2056
2089
|
|
|
2057
|
-
|
|
2058
2090
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_2_3" >
|
|
2059
2091
|
|
|
2060
2092
|
|
|
@@ -2085,13 +2117,14 @@
|
|
|
2085
2117
|
|
|
2086
2118
|
|
|
2087
2119
|
|
|
2120
|
+
|
|
2121
|
+
|
|
2088
2122
|
|
|
2089
2123
|
|
|
2090
2124
|
<li class="md-nav__item md-nav__item--nested">
|
|
2091
2125
|
|
|
2092
2126
|
|
|
2093
2127
|
|
|
2094
|
-
|
|
2095
2128
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_2_3_1" >
|
|
2096
2129
|
|
|
2097
2130
|
|
|
@@ -2151,13 +2184,14 @@
|
|
|
2151
2184
|
|
|
2152
2185
|
|
|
2153
2186
|
|
|
2187
|
+
|
|
2188
|
+
|
|
2154
2189
|
|
|
2155
2190
|
|
|
2156
2191
|
<li class="md-nav__item md-nav__item--nested">
|
|
2157
2192
|
|
|
2158
2193
|
|
|
2159
2194
|
|
|
2160
|
-
|
|
2161
2195
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_2_3_2" >
|
|
2162
2196
|
|
|
2163
2197
|
|
|
@@ -2301,13 +2335,14 @@
|
|
|
2301
2335
|
|
|
2302
2336
|
|
|
2303
2337
|
|
|
2338
|
+
|
|
2339
|
+
|
|
2304
2340
|
|
|
2305
2341
|
|
|
2306
2342
|
<li class="md-nav__item md-nav__item--nested">
|
|
2307
2343
|
|
|
2308
2344
|
|
|
2309
2345
|
|
|
2310
|
-
|
|
2311
2346
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_2_3_3" >
|
|
2312
2347
|
|
|
2313
2348
|
|
|
@@ -2485,13 +2520,14 @@
|
|
|
2485
2520
|
|
|
2486
2521
|
|
|
2487
2522
|
|
|
2523
|
+
|
|
2524
|
+
|
|
2488
2525
|
|
|
2489
2526
|
|
|
2490
2527
|
<li class="md-nav__item md-nav__item--nested">
|
|
2491
2528
|
|
|
2492
2529
|
|
|
2493
2530
|
|
|
2494
|
-
|
|
2495
2531
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_2_3_3_8" >
|
|
2496
2532
|
|
|
2497
2533
|
|
|
@@ -2706,13 +2742,14 @@
|
|
|
2706
2742
|
|
|
2707
2743
|
|
|
2708
2744
|
|
|
2745
|
+
|
|
2746
|
+
|
|
2709
2747
|
|
|
2710
2748
|
|
|
2711
2749
|
<li class="md-nav__item md-nav__item--nested">
|
|
2712
2750
|
|
|
2713
2751
|
|
|
2714
2752
|
|
|
2715
|
-
|
|
2716
2753
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_2_3_3_9" >
|
|
2717
2754
|
|
|
2718
2755
|
|
|
@@ -3156,11 +3193,11 @@
|
|
|
3156
3193
|
|
|
3157
3194
|
|
|
3158
3195
|
<li class="md-nav__item">
|
|
3159
|
-
<a href="../../../user-guide/core-data-model/dcim/
|
|
3196
|
+
<a href="../../../user-guide/core-data-model/dcim/controllermanageddevicegroup.html" class="md-nav__link">
|
|
3160
3197
|
|
|
3161
3198
|
|
|
3162
3199
|
<span class="md-ellipsis">
|
|
3163
|
-
Controller Device Group
|
|
3200
|
+
Controller Managed Device Group
|
|
3164
3201
|
</span>
|
|
3165
3202
|
|
|
3166
3203
|
|
|
@@ -3187,13 +3224,14 @@
|
|
|
3187
3224
|
|
|
3188
3225
|
|
|
3189
3226
|
|
|
3227
|
+
|
|
3228
|
+
|
|
3190
3229
|
|
|
3191
3230
|
|
|
3192
3231
|
<li class="md-nav__item md-nav__item--nested">
|
|
3193
3232
|
|
|
3194
3233
|
|
|
3195
3234
|
|
|
3196
|
-
|
|
3197
3235
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_2_3_4" >
|
|
3198
3236
|
|
|
3199
3237
|
|
|
@@ -3316,13 +3354,14 @@
|
|
|
3316
3354
|
|
|
3317
3355
|
|
|
3318
3356
|
|
|
3357
|
+
|
|
3358
|
+
|
|
3319
3359
|
|
|
3320
3360
|
|
|
3321
3361
|
<li class="md-nav__item md-nav__item--nested">
|
|
3322
3362
|
|
|
3323
3363
|
|
|
3324
3364
|
|
|
3325
|
-
|
|
3326
3365
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_2_3_5" >
|
|
3327
3366
|
|
|
3328
3367
|
|
|
@@ -3550,13 +3589,14 @@
|
|
|
3550
3589
|
|
|
3551
3590
|
|
|
3552
3591
|
|
|
3592
|
+
|
|
3593
|
+
|
|
3553
3594
|
|
|
3554
3595
|
|
|
3555
3596
|
<li class="md-nav__item md-nav__item--nested">
|
|
3556
3597
|
|
|
3557
3598
|
|
|
3558
3599
|
|
|
3559
|
-
|
|
3560
3600
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_2_3_6" >
|
|
3561
3601
|
|
|
3562
3602
|
|
|
@@ -3637,13 +3677,14 @@
|
|
|
3637
3677
|
|
|
3638
3678
|
|
|
3639
3679
|
|
|
3680
|
+
|
|
3681
|
+
|
|
3640
3682
|
|
|
3641
3683
|
|
|
3642
3684
|
<li class="md-nav__item md-nav__item--nested">
|
|
3643
3685
|
|
|
3644
3686
|
|
|
3645
3687
|
|
|
3646
|
-
|
|
3647
3688
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_2_3_7" >
|
|
3648
3689
|
|
|
3649
3690
|
|
|
@@ -3795,13 +3836,14 @@
|
|
|
3795
3836
|
|
|
3796
3837
|
|
|
3797
3838
|
|
|
3839
|
+
|
|
3840
|
+
|
|
3798
3841
|
|
|
3799
3842
|
|
|
3800
3843
|
<li class="md-nav__item md-nav__item--nested">
|
|
3801
3844
|
|
|
3802
3845
|
|
|
3803
3846
|
|
|
3804
|
-
|
|
3805
3847
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_2_4" >
|
|
3806
3848
|
|
|
3807
3849
|
|
|
@@ -4000,13 +4042,14 @@
|
|
|
4000
4042
|
|
|
4001
4043
|
|
|
4002
4044
|
|
|
4045
|
+
|
|
4046
|
+
|
|
4003
4047
|
|
|
4004
4048
|
|
|
4005
4049
|
<li class="md-nav__item md-nav__item--nested">
|
|
4006
4050
|
|
|
4007
4051
|
|
|
4008
4052
|
|
|
4009
|
-
|
|
4010
4053
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_2_4_9" >
|
|
4011
4054
|
|
|
4012
4055
|
|
|
@@ -4095,13 +4138,14 @@
|
|
|
4095
4138
|
|
|
4096
4139
|
|
|
4097
4140
|
|
|
4141
|
+
|
|
4142
|
+
|
|
4098
4143
|
|
|
4099
4144
|
|
|
4100
4145
|
<li class="md-nav__item md-nav__item--nested">
|
|
4101
4146
|
|
|
4102
4147
|
|
|
4103
4148
|
|
|
4104
|
-
|
|
4105
4149
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_2_4_11" >
|
|
4106
4150
|
|
|
4107
4151
|
|
|
@@ -4295,13 +4339,14 @@
|
|
|
4295
4339
|
|
|
4296
4340
|
|
|
4297
4341
|
|
|
4342
|
+
|
|
4343
|
+
|
|
4298
4344
|
|
|
4299
4345
|
|
|
4300
4346
|
<li class="md-nav__item md-nav__item--nested">
|
|
4301
4347
|
|
|
4302
4348
|
|
|
4303
4349
|
|
|
4304
|
-
|
|
4305
4350
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_2_4_15" >
|
|
4306
4351
|
|
|
4307
4352
|
|
|
@@ -4516,13 +4561,14 @@
|
|
|
4516
4561
|
|
|
4517
4562
|
|
|
4518
4563
|
|
|
4564
|
+
|
|
4565
|
+
|
|
4519
4566
|
|
|
4520
4567
|
|
|
4521
4568
|
<li class="md-nav__item md-nav__item--nested">
|
|
4522
4569
|
|
|
4523
4570
|
|
|
4524
4571
|
|
|
4525
|
-
|
|
4526
4572
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_2_4_21" >
|
|
4527
4573
|
|
|
4528
4574
|
|
|
@@ -4641,16 +4687,17 @@
|
|
|
4641
4687
|
|
|
4642
4688
|
|
|
4643
4689
|
|
|
4644
|
-
|
|
4645
|
-
|
|
4690
|
+
|
|
4691
|
+
|
|
4692
|
+
|
|
4646
4693
|
|
|
4647
4694
|
|
|
4695
|
+
|
|
4648
4696
|
|
|
4649
4697
|
<li class="md-nav__item md-nav__item--active md-nav__item--section md-nav__item--nested">
|
|
4650
4698
|
|
|
4651
4699
|
|
|
4652
4700
|
|
|
4653
|
-
|
|
4654
4701
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_3" checked>
|
|
4655
4702
|
|
|
4656
4703
|
|
|
@@ -4689,13 +4736,14 @@
|
|
|
4689
4736
|
|
|
4690
4737
|
|
|
4691
4738
|
|
|
4739
|
+
|
|
4740
|
+
|
|
4692
4741
|
|
|
4693
4742
|
|
|
4694
4743
|
<li class="md-nav__item md-nav__item--nested">
|
|
4695
4744
|
|
|
4696
4745
|
|
|
4697
4746
|
|
|
4698
|
-
|
|
4699
4747
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_3_1" >
|
|
4700
4748
|
|
|
4701
4749
|
|
|
@@ -4765,13 +4813,14 @@
|
|
|
4765
4813
|
|
|
4766
4814
|
|
|
4767
4815
|
|
|
4816
|
+
|
|
4817
|
+
|
|
4768
4818
|
|
|
4769
4819
|
|
|
4770
4820
|
<li class="md-nav__item md-nav__item--active md-nav__item--nested">
|
|
4771
4821
|
|
|
4772
4822
|
|
|
4773
4823
|
|
|
4774
|
-
|
|
4775
4824
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_3_2" checked>
|
|
4776
4825
|
|
|
4777
4826
|
|
|
@@ -4852,13 +4901,14 @@
|
|
|
4852
4901
|
|
|
4853
4902
|
|
|
4854
4903
|
|
|
4904
|
+
|
|
4905
|
+
|
|
4855
4906
|
|
|
4856
4907
|
|
|
4857
4908
|
<li class="md-nav__item md-nav__item--nested">
|
|
4858
4909
|
|
|
4859
4910
|
|
|
4860
4911
|
|
|
4861
|
-
|
|
4862
4912
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_3_2_3" >
|
|
4863
4913
|
|
|
4864
4914
|
|
|
@@ -4968,13 +5018,14 @@
|
|
|
4968
5018
|
|
|
4969
5019
|
|
|
4970
5020
|
|
|
5021
|
+
|
|
5022
|
+
|
|
4971
5023
|
|
|
4972
5024
|
|
|
4973
5025
|
<li class="md-nav__item md-nav__item--nested">
|
|
4974
5026
|
|
|
4975
5027
|
|
|
4976
5028
|
|
|
4977
|
-
|
|
4978
5029
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_3_2_4" >
|
|
4979
5030
|
|
|
4980
5031
|
|
|
@@ -5160,13 +5211,14 @@
|
|
|
5160
5211
|
|
|
5161
5212
|
|
|
5162
5213
|
|
|
5214
|
+
|
|
5215
|
+
|
|
5163
5216
|
|
|
5164
5217
|
|
|
5165
5218
|
<li class="md-nav__item md-nav__item--nested">
|
|
5166
5219
|
|
|
5167
5220
|
|
|
5168
5221
|
|
|
5169
|
-
|
|
5170
5222
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_3_2_4_8" >
|
|
5171
5223
|
|
|
5172
5224
|
|
|
@@ -5276,13 +5328,14 @@
|
|
|
5276
5328
|
|
|
5277
5329
|
|
|
5278
5330
|
|
|
5331
|
+
|
|
5332
|
+
|
|
5279
5333
|
|
|
5280
5334
|
|
|
5281
5335
|
<li class="md-nav__item md-nav__item--nested">
|
|
5282
5336
|
|
|
5283
5337
|
|
|
5284
5338
|
|
|
5285
|
-
|
|
5286
5339
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_3_2_5" >
|
|
5287
5340
|
|
|
5288
5341
|
|
|
@@ -5539,13 +5592,14 @@
|
|
|
5539
5592
|
|
|
5540
5593
|
|
|
5541
5594
|
|
|
5595
|
+
|
|
5596
|
+
|
|
5542
5597
|
|
|
5543
5598
|
|
|
5544
5599
|
<li class="md-nav__item md-nav__item--nested">
|
|
5545
5600
|
|
|
5546
5601
|
|
|
5547
5602
|
|
|
5548
|
-
|
|
5549
5603
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_3_2_6" >
|
|
5550
5604
|
|
|
5551
5605
|
|
|
@@ -5720,13 +5774,14 @@
|
|
|
5720
5774
|
|
|
5721
5775
|
|
|
5722
5776
|
|
|
5777
|
+
|
|
5778
|
+
|
|
5723
5779
|
|
|
5724
5780
|
|
|
5725
5781
|
<li class="md-nav__item md-nav__item--active md-nav__item--nested">
|
|
5726
5782
|
|
|
5727
5783
|
|
|
5728
5784
|
|
|
5729
|
-
|
|
5730
5785
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_3_2_8" checked>
|
|
5731
5786
|
|
|
5732
5787
|
|
|
@@ -6725,6 +6780,24 @@
|
|
|
6725
6780
|
</span>
|
|
6726
6781
|
</a>
|
|
6727
6782
|
|
|
6783
|
+
</li>
|
|
6784
|
+
|
|
6785
|
+
<li class="md-nav__item">
|
|
6786
|
+
<a href="#nautobot.apps.utils.get_url_for_url_pattern" class="md-nav__link">
|
|
6787
|
+
<span class="md-ellipsis">
|
|
6788
|
+
get_url_for_url_pattern
|
|
6789
|
+
</span>
|
|
6790
|
+
</a>
|
|
6791
|
+
|
|
6792
|
+
</li>
|
|
6793
|
+
|
|
6794
|
+
<li class="md-nav__item">
|
|
6795
|
+
<a href="#nautobot.apps.utils.get_url_patterns" class="md-nav__link">
|
|
6796
|
+
<span class="md-ellipsis">
|
|
6797
|
+
get_url_patterns
|
|
6798
|
+
</span>
|
|
6799
|
+
</a>
|
|
6800
|
+
|
|
6728
6801
|
</li>
|
|
6729
6802
|
|
|
6730
6803
|
<li class="md-nav__item">
|
|
@@ -6990,13 +7063,14 @@
|
|
|
6990
7063
|
|
|
6991
7064
|
|
|
6992
7065
|
|
|
7066
|
+
|
|
7067
|
+
|
|
6993
7068
|
|
|
6994
7069
|
|
|
6995
7070
|
<li class="md-nav__item md-nav__item--nested">
|
|
6996
7071
|
|
|
6997
7072
|
|
|
6998
7073
|
|
|
6999
|
-
|
|
7000
7074
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_3_2_9" >
|
|
7001
7075
|
|
|
7002
7076
|
|
|
@@ -7090,13 +7164,14 @@
|
|
|
7090
7164
|
|
|
7091
7165
|
|
|
7092
7166
|
|
|
7167
|
+
|
|
7168
|
+
|
|
7093
7169
|
|
|
7094
7170
|
|
|
7095
7171
|
<li class="md-nav__item md-nav__item--nested">
|
|
7096
7172
|
|
|
7097
7173
|
|
|
7098
7174
|
|
|
7099
|
-
|
|
7100
7175
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_3_2_9_4" >
|
|
7101
7176
|
|
|
7102
7177
|
|
|
@@ -7227,13 +7302,14 @@
|
|
|
7227
7302
|
|
|
7228
7303
|
|
|
7229
7304
|
|
|
7305
|
+
|
|
7306
|
+
|
|
7230
7307
|
|
|
7231
7308
|
|
|
7232
7309
|
<li class="md-nav__item md-nav__item--nested">
|
|
7233
7310
|
|
|
7234
7311
|
|
|
7235
7312
|
|
|
7236
|
-
|
|
7237
7313
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_3_2_10" >
|
|
7238
7314
|
|
|
7239
7315
|
|
|
@@ -7301,13 +7377,14 @@
|
|
|
7301
7377
|
|
|
7302
7378
|
|
|
7303
7379
|
|
|
7380
|
+
|
|
7381
|
+
|
|
7304
7382
|
|
|
7305
7383
|
|
|
7306
7384
|
<li class="md-nav__item md-nav__item--nested">
|
|
7307
7385
|
|
|
7308
7386
|
|
|
7309
7387
|
|
|
7310
|
-
|
|
7311
7388
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_3_3" >
|
|
7312
7389
|
|
|
7313
7390
|
|
|
@@ -7512,11 +7589,11 @@
|
|
|
7512
7589
|
|
|
7513
7590
|
|
|
7514
7591
|
<li class="md-nav__item">
|
|
7515
|
-
<a href="../../../development/core/
|
|
7592
|
+
<a href="../../../development/core/generic-views.html" class="md-nav__link">
|
|
7516
7593
|
|
|
7517
7594
|
|
|
7518
7595
|
<span class="md-ellipsis">
|
|
7519
|
-
|
|
7596
|
+
Generic Views
|
|
7520
7597
|
</span>
|
|
7521
7598
|
|
|
7522
7599
|
|
|
@@ -7533,11 +7610,11 @@
|
|
|
7533
7610
|
|
|
7534
7611
|
|
|
7535
7612
|
<li class="md-nav__item">
|
|
7536
|
-
<a href="../../../development/core/
|
|
7613
|
+
<a href="../../../development/core/homepage.html" class="md-nav__link">
|
|
7537
7614
|
|
|
7538
7615
|
|
|
7539
7616
|
<span class="md-ellipsis">
|
|
7540
|
-
|
|
7617
|
+
Home Page Panels
|
|
7541
7618
|
</span>
|
|
7542
7619
|
|
|
7543
7620
|
|
|
@@ -7554,11 +7631,11 @@
|
|
|
7554
7631
|
|
|
7555
7632
|
|
|
7556
7633
|
<li class="md-nav__item">
|
|
7557
|
-
<a href="../../../development/core/
|
|
7634
|
+
<a href="../../../development/core/model-checklist.html" class="md-nav__link">
|
|
7558
7635
|
|
|
7559
7636
|
|
|
7560
7637
|
<span class="md-ellipsis">
|
|
7561
|
-
|
|
7638
|
+
Model Development Checklist
|
|
7562
7639
|
</span>
|
|
7563
7640
|
|
|
7564
7641
|
|
|
@@ -7781,16 +7858,14 @@
|
|
|
7781
7858
|
|
|
7782
7859
|
|
|
7783
7860
|
|
|
7784
|
-
|
|
7785
|
-
|
|
7786
7861
|
|
|
7787
7862
|
|
|
7788
7863
|
|
|
7789
|
-
|
|
7864
|
+
|
|
7865
|
+
<li class="md-nav__item md-nav__item--nested">
|
|
7790
7866
|
|
|
7791
7867
|
|
|
7792
7868
|
|
|
7793
|
-
|
|
7794
7869
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_4" >
|
|
7795
7870
|
|
|
7796
7871
|
|
|
@@ -7807,7 +7882,7 @@
|
|
|
7807
7882
|
</a>
|
|
7808
7883
|
|
|
7809
7884
|
|
|
7810
|
-
<label class="md-nav__link " for="__nav_4" id="__nav_4_label" tabindex="">
|
|
7885
|
+
<label class="md-nav__link " for="__nav_4" id="__nav_4_label" tabindex="0">
|
|
7811
7886
|
<span class="md-nav__icon md-icon"></span>
|
|
7812
7887
|
</label>
|
|
7813
7888
|
|
|
@@ -8046,16 +8121,14 @@
|
|
|
8046
8121
|
|
|
8047
8122
|
|
|
8048
8123
|
|
|
8049
|
-
|
|
8050
|
-
|
|
8051
8124
|
|
|
8052
8125
|
|
|
8053
8126
|
|
|
8054
|
-
|
|
8127
|
+
|
|
8128
|
+
<li class="md-nav__item md-nav__item--nested">
|
|
8055
8129
|
|
|
8056
8130
|
|
|
8057
8131
|
|
|
8058
|
-
|
|
8059
8132
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_5" >
|
|
8060
8133
|
|
|
8061
8134
|
|
|
@@ -8072,7 +8145,7 @@
|
|
|
8072
8145
|
</a>
|
|
8073
8146
|
|
|
8074
8147
|
|
|
8075
|
-
<label class="md-nav__link " for="__nav_5" id="__nav_5_label" tabindex="">
|
|
8148
|
+
<label class="md-nav__link " for="__nav_5" id="__nav_5_label" tabindex="0">
|
|
8076
8149
|
<span class="md-nav__icon md-icon"></span>
|
|
8077
8150
|
</label>
|
|
8078
8151
|
|
|
@@ -8094,13 +8167,14 @@
|
|
|
8094
8167
|
|
|
8095
8168
|
|
|
8096
8169
|
|
|
8170
|
+
|
|
8171
|
+
|
|
8097
8172
|
|
|
8098
8173
|
|
|
8099
8174
|
<li class="md-nav__item md-nav__item--nested">
|
|
8100
8175
|
|
|
8101
8176
|
|
|
8102
8177
|
|
|
8103
|
-
|
|
8104
8178
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_5_1" >
|
|
8105
8179
|
|
|
8106
8180
|
|
|
@@ -8877,6 +8951,24 @@
|
|
|
8877
8951
|
</span>
|
|
8878
8952
|
</a>
|
|
8879
8953
|
|
|
8954
|
+
</li>
|
|
8955
|
+
|
|
8956
|
+
<li class="md-nav__item">
|
|
8957
|
+
<a href="#nautobot.apps.utils.get_url_for_url_pattern" class="md-nav__link">
|
|
8958
|
+
<span class="md-ellipsis">
|
|
8959
|
+
get_url_for_url_pattern
|
|
8960
|
+
</span>
|
|
8961
|
+
</a>
|
|
8962
|
+
|
|
8963
|
+
</li>
|
|
8964
|
+
|
|
8965
|
+
<li class="md-nav__item">
|
|
8966
|
+
<a href="#nautobot.apps.utils.get_url_patterns" class="md-nav__link">
|
|
8967
|
+
<span class="md-ellipsis">
|
|
8968
|
+
get_url_patterns
|
|
8969
|
+
</span>
|
|
8970
|
+
</a>
|
|
8971
|
+
|
|
8880
8972
|
</li>
|
|
8881
8973
|
|
|
8882
8974
|
<li class="md-nav__item">
|
|
@@ -11040,6 +11132,188 @@ associated with the model and its name is expected to be <code>{ModelName}Table<
|
|
|
11040
11132
|
|
|
11041
11133
|
|
|
11042
11134
|
|
|
11135
|
+
<h2 id="nautobot.apps.utils.get_url_for_url_pattern" class="doc doc-heading">
|
|
11136
|
+
<code class="highlight language-python"><span class="n">nautobot</span><span class="o">.</span><span class="n">apps</span><span class="o">.</span><span class="n">utils</span><span class="o">.</span><span class="n">get_url_for_url_pattern</span><span class="p">(</span><span class="n">url_pattern</span><span class="p">)</span></code>
|
|
11137
|
+
|
|
11138
|
+
<a href="#nautobot.apps.utils.get_url_for_url_pattern" class="headerlink" title="Permanent link">¶</a></h2>
|
|
11139
|
+
|
|
11140
|
+
|
|
11141
|
+
<div class="doc doc-contents ">
|
|
11142
|
+
|
|
11143
|
+
<p>Given a URL pattern, construct a URL string that would match that pattern.</p>
|
|
11144
|
+
|
|
11145
|
+
|
|
11146
|
+
|
|
11147
|
+
<p><strong>Examples:</strong></p>
|
|
11148
|
+
<div class="highlight"><pre><span></span><code><a id="__codelineno-0-1" name="__codelineno-0-1" href="#__codelineno-0-1"></a><span class="gp">>>> </span><span class="n">get_url_for_url_pattern</span><span class="p">(</span><span class="s2">"/plugins/example-app/^models/(?P<pk>[^/.]+)/$"</span><span class="p">)</span>
|
|
11149
|
+
<a id="__codelineno-0-2" name="__codelineno-0-2" href="#__codelineno-0-2"></a><span class="go">'/plugins/example-app/models/00000000-0000-0000-0000-000000000000/'</span>
|
|
11150
|
+
<a id="__codelineno-0-3" name="__codelineno-0-3" href="#__codelineno-0-3"></a><span class="gp">>>> </span><span class="n">get_url_for_url_pattern</span><span class="p">(</span><span class="s2">"/circuits/circuit-terminations/<uuid:termination_a_id>/connect/<str:termination_b_type>/"</span><span class="p">)</span>
|
|
11151
|
+
<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>
|
|
11152
|
+
</code></pre></div>
|
|
11153
|
+
|
|
11154
|
+
</div>
|
|
11155
|
+
|
|
11156
|
+
</div>
|
|
11157
|
+
|
|
11158
|
+
|
|
11159
|
+
<div class="doc doc-object doc-function">
|
|
11160
|
+
|
|
11161
|
+
|
|
11162
|
+
|
|
11163
|
+
<h2 id="nautobot.apps.utils.get_url_patterns" class="doc doc-heading">
|
|
11164
|
+
<code class="highlight language-python"><span class="n">nautobot</span><span class="o">.</span><span class="n">apps</span><span class="o">.</span><span class="n">utils</span><span class="o">.</span><span class="n">get_url_patterns</span><span class="p">(</span><span class="n">urlconf</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">patterns_list</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">base_path</span><span class="o">=</span><span class="s1">'/'</span><span class="p">)</span></code>
|
|
11165
|
+
|
|
11166
|
+
<a href="#nautobot.apps.utils.get_url_patterns" class="headerlink" title="Permanent link">¶</a></h2>
|
|
11167
|
+
|
|
11168
|
+
|
|
11169
|
+
<div class="doc doc-contents ">
|
|
11170
|
+
|
|
11171
|
+
<p>Recursively yield a list of registered URL patterns.</p>
|
|
11172
|
+
|
|
11173
|
+
|
|
11174
|
+
|
|
11175
|
+
<p><strong>Parameters:</strong></p>
|
|
11176
|
+
<table>
|
|
11177
|
+
<thead>
|
|
11178
|
+
<tr>
|
|
11179
|
+
<th>Name</th>
|
|
11180
|
+
<th>Type</th>
|
|
11181
|
+
<th>Description</th>
|
|
11182
|
+
<th>Default</th>
|
|
11183
|
+
</tr>
|
|
11184
|
+
</thead>
|
|
11185
|
+
<tbody>
|
|
11186
|
+
<tr>
|
|
11187
|
+
<td><code>urlconf</code></td>
|
|
11188
|
+
<td>
|
|
11189
|
+
<code>URLConf</code>
|
|
11190
|
+
</td>
|
|
11191
|
+
<td>
|
|
11192
|
+
<div class="doc-md-description">
|
|
11193
|
+
<p>Python module such as <code>nautobot.core.urls</code>.
|
|
11194
|
+
Default if unspecified is the value of <code>settings.ROOT_URLCONF</code>, i.e. the <code>nautobot.core.urls</code> module.</p>
|
|
11195
|
+
</div>
|
|
11196
|
+
</td>
|
|
11197
|
+
<td>
|
|
11198
|
+
<code>None</code>
|
|
11199
|
+
</td>
|
|
11200
|
+
</tr>
|
|
11201
|
+
<tr>
|
|
11202
|
+
<td><code>patterns_list</code></td>
|
|
11203
|
+
<td>
|
|
11204
|
+
<code>list</code>
|
|
11205
|
+
</td>
|
|
11206
|
+
<td>
|
|
11207
|
+
<div class="doc-md-description">
|
|
11208
|
+
<p>Used in recursion. Generally can be omitted on initial call.
|
|
11209
|
+
Default if unspecified is the <code>url_patterns</code> attribute of the given <code>urlconf</code> module.</p>
|
|
11210
|
+
</div>
|
|
11211
|
+
</td>
|
|
11212
|
+
<td>
|
|
11213
|
+
<code>None</code>
|
|
11214
|
+
</td>
|
|
11215
|
+
</tr>
|
|
11216
|
+
<tr>
|
|
11217
|
+
<td><code>base_path</code></td>
|
|
11218
|
+
<td>
|
|
11219
|
+
<code>str</code>
|
|
11220
|
+
</td>
|
|
11221
|
+
<td>
|
|
11222
|
+
<div class="doc-md-description">
|
|
11223
|
+
<p>String to prepend to all URL patterns yielded.
|
|
11224
|
+
Default if unspecified is the string <code>"/"</code>.</p>
|
|
11225
|
+
</div>
|
|
11226
|
+
</td>
|
|
11227
|
+
<td>
|
|
11228
|
+
<code>'/'</code>
|
|
11229
|
+
</td>
|
|
11230
|
+
</tr>
|
|
11231
|
+
</tbody>
|
|
11232
|
+
</table>
|
|
11233
|
+
|
|
11234
|
+
|
|
11235
|
+
|
|
11236
|
+
<p><strong>Yields:</strong></p>
|
|
11237
|
+
<table>
|
|
11238
|
+
<thead>
|
|
11239
|
+
<tr>
|
|
11240
|
+
<th>Type</th>
|
|
11241
|
+
<th>Description</th>
|
|
11242
|
+
</tr>
|
|
11243
|
+
</thead>
|
|
11244
|
+
<tbody>
|
|
11245
|
+
<tr>
|
|
11246
|
+
<td>
|
|
11247
|
+
<code>str</code>
|
|
11248
|
+
</td>
|
|
11249
|
+
<td>
|
|
11250
|
+
<div class="doc-md-description">
|
|
11251
|
+
<p>Each URL pattern defined in the given urlconf and its descendants</p>
|
|
11252
|
+
</div>
|
|
11253
|
+
</td>
|
|
11254
|
+
</tr>
|
|
11255
|
+
</tbody>
|
|
11256
|
+
</table>
|
|
11257
|
+
|
|
11258
|
+
|
|
11259
|
+
|
|
11260
|
+
<p><strong>Examples:</strong></p>
|
|
11261
|
+
<div class="highlight"><pre><span></span><code><a id="__codelineno-0-1" name="__codelineno-0-1" href="#__codelineno-0-1"></a><span class="gp">>>> </span><span class="n">generator</span> <span class="o">=</span> <span class="n">get_url_patterns</span><span class="p">()</span>
|
|
11262
|
+
<a id="__codelineno-0-2" name="__codelineno-0-2" href="#__codelineno-0-2"></a><span class="gp">>>> </span><span class="nb">next</span><span class="p">(</span><span class="n">generator</span><span class="p">)</span>
|
|
11263
|
+
<a id="__codelineno-0-3" name="__codelineno-0-3" href="#__codelineno-0-3"></a><span class="go">'/'</span>
|
|
11264
|
+
<a id="__codelineno-0-4" name="__codelineno-0-4" href="#__codelineno-0-4"></a><span class="gp">>>> </span><span class="nb">next</span><span class="p">(</span><span class="n">generator</span><span class="p">)</span>
|
|
11265
|
+
<a id="__codelineno-0-5" name="__codelineno-0-5" href="#__codelineno-0-5"></a><span class="go">'/search/'</span>
|
|
11266
|
+
<a id="__codelineno-0-6" name="__codelineno-0-6" href="#__codelineno-0-6"></a><span class="gp">>>> </span><span class="nb">next</span><span class="p">(</span><span class="n">generator</span><span class="p">)</span>
|
|
11267
|
+
<a id="__codelineno-0-7" name="__codelineno-0-7" href="#__codelineno-0-7"></a><span class="go">'/login/'</span>
|
|
11268
|
+
<a id="__codelineno-0-8" name="__codelineno-0-8" href="#__codelineno-0-8"></a><span class="gp">>>> </span><span class="nb">next</span><span class="p">(</span><span class="n">generator</span><span class="p">)</span>
|
|
11269
|
+
<a id="__codelineno-0-9" name="__codelineno-0-9" href="#__codelineno-0-9"></a><span class="go">'/logout/'</span>
|
|
11270
|
+
<a id="__codelineno-0-10" name="__codelineno-0-10" href="#__codelineno-0-10"></a><span class="gp">>>> </span><span class="nb">next</span><span class="p">(</span><span class="n">generator</span><span class="p">)</span>
|
|
11271
|
+
<a id="__codelineno-0-11" name="__codelineno-0-11" href="#__codelineno-0-11"></a><span class="go">'/circuits/circuits/<uuid:pk>/terminations/swap/'</span>
|
|
11272
|
+
</code></pre></div>
|
|
11273
|
+
<div class="highlight"><pre><span></span><code><a id="__codelineno-0-1" name="__codelineno-0-1" href="#__codelineno-0-1"></a><span class="gp">>>> </span><span class="kn">import</span> <span class="nn">example_plugin.urls</span> <span class="k">as</span> <span class="nn">example_urls</span>
|
|
11274
|
+
<a id="__codelineno-0-2" name="__codelineno-0-2" href="#__codelineno-0-2"></a><span class="gp">>>> </span><span class="k">for</span> <span class="n">url_pattern</span> <span class="ow">in</span> <span class="n">get_url_patterns</span><span class="p">(</span><span class="n">example_urls</span><span class="p">,</span> <span class="n">base_path</span><span class="o">=</span><span class="s2">"/plugins/example-app/"</span><span class="p">):</span>
|
|
11275
|
+
<a id="__codelineno-0-3" name="__codelineno-0-3" href="#__codelineno-0-3"></a><span class="gp">... </span> <span class="nb">print</span><span class="p">(</span><span class="n">url_pattern</span><span class="p">)</span>
|
|
11276
|
+
<a id="__codelineno-0-4" name="__codelineno-0-4" href="#__codelineno-0-4"></a><span class="gp">...</span>
|
|
11277
|
+
<a id="__codelineno-0-5" name="__codelineno-0-5" href="#__codelineno-0-5"></a><span class="go">/plugins/example-app/</span>
|
|
11278
|
+
<a id="__codelineno-0-6" name="__codelineno-0-6" href="#__codelineno-0-6"></a><span class="go">/plugins/example-app/config/</span>
|
|
11279
|
+
<a id="__codelineno-0-7" name="__codelineno-0-7" href="#__codelineno-0-7"></a><span class="go">/plugins/example-app/models/<uuid:pk>/dynamic-groups/</span>
|
|
11280
|
+
<a id="__codelineno-0-8" name="__codelineno-0-8" href="#__codelineno-0-8"></a><span class="go">/plugins/example-app/other-models/<uuid:pk>/dynamic-groups/</span>
|
|
11281
|
+
<a id="__codelineno-0-9" name="__codelineno-0-9" href="#__codelineno-0-9"></a><span class="go">/plugins/example-app/docs/</span>
|
|
11282
|
+
<a id="__codelineno-0-10" name="__codelineno-0-10" href="#__codelineno-0-10"></a><span class="go">/plugins/example-app/circuits/<uuid:pk>/example-app-tab/</span>
|
|
11283
|
+
<a id="__codelineno-0-11" name="__codelineno-0-11" href="#__codelineno-0-11"></a><span class="go">/plugins/example-app/devices/<uuid:pk>/example-app-tab-1/</span>
|
|
11284
|
+
<a id="__codelineno-0-12" name="__codelineno-0-12" href="#__codelineno-0-12"></a><span class="go">/plugins/example-app/devices/<uuid:pk>/example-app-tab-2/</span>
|
|
11285
|
+
<a id="__codelineno-0-13" name="__codelineno-0-13" href="#__codelineno-0-13"></a><span class="go">/plugins/example-app/override-target/</span>
|
|
11286
|
+
<a id="__codelineno-0-14" name="__codelineno-0-14" href="#__codelineno-0-14"></a><span class="go">/plugins/example-app/^models/$</span>
|
|
11287
|
+
<a id="__codelineno-0-15" name="__codelineno-0-15" href="#__codelineno-0-15"></a><span class="go">/plugins/example-app/^models/add/$</span>
|
|
11288
|
+
<a id="__codelineno-0-16" name="__codelineno-0-16" href="#__codelineno-0-16"></a><span class="go">/plugins/example-app/^models/import/$</span>
|
|
11289
|
+
<a id="__codelineno-0-17" name="__codelineno-0-17" href="#__codelineno-0-17"></a><span class="go">/plugins/example-app/^models/edit/$</span>
|
|
11290
|
+
<a id="__codelineno-0-18" name="__codelineno-0-18" href="#__codelineno-0-18"></a><span class="go">/plugins/example-app/^models/delete/$</span>
|
|
11291
|
+
<a id="__codelineno-0-19" name="__codelineno-0-19" href="#__codelineno-0-19"></a><span class="go">/plugins/example-app/^models/all-names/$</span>
|
|
11292
|
+
<a id="__codelineno-0-20" name="__codelineno-0-20" href="#__codelineno-0-20"></a><span class="go">/plugins/example-app/^models/(?P<pk>[^/.]+)/$</span>
|
|
11293
|
+
<a id="__codelineno-0-21" name="__codelineno-0-21" href="#__codelineno-0-21"></a><span class="go">/plugins/example-app/^models/(?P<pk>[^/.]+)/delete/$</span>
|
|
11294
|
+
<a id="__codelineno-0-22" name="__codelineno-0-22" href="#__codelineno-0-22"></a><span class="go">/plugins/example-app/^models/(?P<pk>[^/.]+)/edit/$</span>
|
|
11295
|
+
<a id="__codelineno-0-23" name="__codelineno-0-23" href="#__codelineno-0-23"></a><span class="go">/plugins/example-app/^models/(?P<pk>[^/.]+)/changelog/$</span>
|
|
11296
|
+
<a id="__codelineno-0-24" name="__codelineno-0-24" href="#__codelineno-0-24"></a><span class="go">/plugins/example-app/^models/(?P<pk>[^/.]+)/notes/$</span>
|
|
11297
|
+
<a id="__codelineno-0-25" name="__codelineno-0-25" href="#__codelineno-0-25"></a><span class="go">/plugins/example-app/^other-models/$</span>
|
|
11298
|
+
<a id="__codelineno-0-26" name="__codelineno-0-26" href="#__codelineno-0-26"></a><span class="go">/plugins/example-app/^other-models/add/$</span>
|
|
11299
|
+
<a id="__codelineno-0-27" name="__codelineno-0-27" href="#__codelineno-0-27"></a><span class="go">/plugins/example-app/^other-models/edit/$</span>
|
|
11300
|
+
<a id="__codelineno-0-28" name="__codelineno-0-28" href="#__codelineno-0-28"></a><span class="go">/plugins/example-app/^other-models/delete/$</span>
|
|
11301
|
+
<a id="__codelineno-0-29" name="__codelineno-0-29" href="#__codelineno-0-29"></a><span class="go">/plugins/example-app/^other-models/(?P<pk>[^/.]+)/$</span>
|
|
11302
|
+
<a id="__codelineno-0-30" name="__codelineno-0-30" href="#__codelineno-0-30"></a><span class="go">/plugins/example-app/^other-models/(?P<pk>[^/.]+)/delete/$</span>
|
|
11303
|
+
<a id="__codelineno-0-31" name="__codelineno-0-31" href="#__codelineno-0-31"></a><span class="go">/plugins/example-app/^other-models/(?P<pk>[^/.]+)/edit/$</span>
|
|
11304
|
+
<a id="__codelineno-0-32" name="__codelineno-0-32" href="#__codelineno-0-32"></a><span class="go">/plugins/example-app/^other-models/(?P<pk>[^/.]+)/changelog/$</span>
|
|
11305
|
+
<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>
|
|
11306
|
+
</code></pre></div>
|
|
11307
|
+
|
|
11308
|
+
</div>
|
|
11309
|
+
|
|
11310
|
+
</div>
|
|
11311
|
+
|
|
11312
|
+
|
|
11313
|
+
<div class="doc doc-object doc-function">
|
|
11314
|
+
|
|
11315
|
+
|
|
11316
|
+
|
|
11043
11317
|
<h2 id="nautobot.apps.utils.get_view_for_model" class="doc doc-heading">
|
|
11044
11318
|
<code class="highlight language-python"><span class="n">nautobot</span><span class="o">.</span><span class="n">apps</span><span class="o">.</span><span class="n">utils</span><span class="o">.</span><span class="n">get_view_for_model</span><span class="p">(</span><span class="n">model</span><span class="p">,</span> <span class="n">view_type</span><span class="o">=</span><span class="s1">''</span><span class="p">)</span></code>
|
|
11045
11319
|
|
|
@@ -11948,9 +12222,9 @@ worker count to the description.</p>
|
|
|
11948
12222
|
<script id="__config" type="application/json">{"base": "../../..", "features": ["content.code.copy", "navigation.footer", "navigation.tabs", "navigation.tabs.sticky", "navigation.tracking", "search.highlight", "search.share", "search.suggest"], "search": "../../../assets/javascripts/workers/search.b8dbb3d2.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}}</script>
|
|
11949
12223
|
|
|
11950
12224
|
|
|
11951
|
-
<script src="../../../assets/javascripts/bundle.
|
|
12225
|
+
<script src="../../../assets/javascripts/bundle.bd41221c.min.js"></script>
|
|
11952
12226
|
|
|
11953
|
-
<script src="https://code.jquery.com/jquery-3.
|
|
12227
|
+
<script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
|
|
11954
12228
|
|
|
11955
12229
|
|
|
11956
12230
|
</body>
|