Bases: NautobotAppConfig
App configuration for the location_floor_plan app.
Source code in location_floor_plan/__init__.py
| class LocationFloorPlanConfig(NautobotAppConfig):
"""App configuration for the location_floor_plan app."""
name = "location_floor_plan"
verbose_name = "Location Floor Plan"
version = __version__
author = "Location Floor Plan Contributors"
description = "Interactive physical hierarchy maps for Nautobot Locations and Racks."
base_url = "location-floor-plan"
required_settings = []
min_version = "3.1.0"
max_version = "3.3"
default_settings = {
"rack_utilization_warning_threshold": 80,
"rack_utilization_critical_threshold": 95,
"rack_utilization_low_threshold": 50,
"rack_utilization_medium_threshold": 80,
"rack_utilization_high_threshold": 95,
"background_max_bytes": 2_000_000,
"background_max_pixels": 16_000_000,
"background_max_dimension": 8000,
"supported_targets": ["dcim.location", "dcim.rack"],
"location_default_color": "#0d6efd",
"rack_default_color": "#6c757d",
"rack_utilization_color_enabled": True,
"rack_utilization_palette": dict(RACK_UTILIZATION_PALETTE),
}
docs_view_name = "plugins:location_floor_plan:docs"
searchable_models = []
|