mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-10 01:28:16 -06:00
Power filters
This commit is contained in:
parent
80eb1fb032
commit
5164215281
@ -81289,7 +81289,7 @@
|
||||
"minimum": 1
|
||||
},
|
||||
"max_utilization": {
|
||||
"title": "Max utilization",
|
||||
"title": "Max Utilization",
|
||||
"description": "Maximum permissible draw (percentage)",
|
||||
"type": "integer",
|
||||
"maximum": 100,
|
||||
@ -81407,7 +81407,7 @@
|
||||
"readOnly": true
|
||||
},
|
||||
"power_panel": {
|
||||
"title": "Power panel",
|
||||
"title": "Power Panel",
|
||||
"type": "integer"
|
||||
},
|
||||
"rack": {
|
||||
@ -81468,7 +81468,7 @@
|
||||
"minimum": 1
|
||||
},
|
||||
"max_utilization": {
|
||||
"title": "Max utilization",
|
||||
"title": "Max Utilization",
|
||||
"description": "Maximum permissible draw (percentage)",
|
||||
"type": "integer",
|
||||
"maximum": 100,
|
||||
|
@ -58059,7 +58059,7 @@ definitions:
|
||||
maximum: 32767
|
||||
minimum: 1
|
||||
max_utilization:
|
||||
title: Max utilization
|
||||
title: Max Utilization
|
||||
description: Maximum permissible draw (percentage)
|
||||
type: integer
|
||||
maximum: 100
|
||||
@ -58156,7 +58156,7 @@ definitions:
|
||||
type: string
|
||||
readOnly: true
|
||||
power_panel:
|
||||
title: Power panel
|
||||
title: Power Panel
|
||||
type: integer
|
||||
rack:
|
||||
title: Rack
|
||||
@ -58204,7 +58204,7 @@ definitions:
|
||||
maximum: 32767
|
||||
minimum: 1
|
||||
max_utilization:
|
||||
title: Max utilization
|
||||
title: Max Utilization
|
||||
description: Maximum permissible draw (percentage)
|
||||
type: integer
|
||||
maximum: 100
|
||||
|
@ -2155,7 +2155,7 @@ class PowerFeedFilterSet(NetBoxModelFilterSet, CabledObjectFilterSet, PathEndpoi
|
||||
)
|
||||
power_panel_id = django_filters.ModelMultipleChoiceFilter(
|
||||
queryset=PowerPanel.objects.all(),
|
||||
label=_('Power panel (ID)'),
|
||||
label=_('Power Panel (ID)'),
|
||||
)
|
||||
rack_id = django_filters.ModelMultipleChoiceFilter(
|
||||
field_name='rack',
|
||||
|
@ -800,7 +800,7 @@ class PowerPanelBulkEditForm(NetBoxModelBulkEditForm):
|
||||
|
||||
class PowerFeedBulkEditForm(NetBoxModelBulkEditForm):
|
||||
power_panel = DynamicModelChoiceField(
|
||||
label=_('Power panel'),
|
||||
label=_('Power Panel'),
|
||||
queryset=PowerPanel.objects.all(),
|
||||
required=False
|
||||
)
|
||||
@ -842,7 +842,7 @@ class PowerFeedBulkEditForm(NetBoxModelBulkEditForm):
|
||||
required=False
|
||||
)
|
||||
max_utilization = forms.IntegerField(
|
||||
label=_('Max utilization'),
|
||||
label=_('Max Utilization'),
|
||||
required=False
|
||||
)
|
||||
mark_connected = forms.NullBooleanField(
|
||||
|
@ -1293,7 +1293,7 @@ class PowerFeedImportForm(NetBoxModelImportForm):
|
||||
help_text=_('Assigned site')
|
||||
)
|
||||
power_panel = CSVModelChoiceField(
|
||||
label=_('Power panel'),
|
||||
label=_('Power Panel'),
|
||||
queryset=PowerPanel.objects.all(),
|
||||
to_field_name='name',
|
||||
help_text=_('Upstream power panel')
|
||||
|
@ -1066,7 +1066,7 @@ class PowerFeedFilterForm(TenancyFilterForm, NetBoxModelFilterSetForm):
|
||||
query_params={
|
||||
'site_id': '$site_id'
|
||||
},
|
||||
label=_('Power panel')
|
||||
label=_('Power Panel')
|
||||
)
|
||||
rack_id = DynamicModelMultipleChoiceField(
|
||||
queryset=Rack.objects.all(),
|
||||
@ -1106,7 +1106,7 @@ class PowerFeedFilterForm(TenancyFilterForm, NetBoxModelFilterSetForm):
|
||||
required=False
|
||||
)
|
||||
max_utilization = forms.IntegerField(
|
||||
label=_('Max utilization'),
|
||||
label=_('Max Utilization'),
|
||||
required=False
|
||||
)
|
||||
tag = TagFilterField(model)
|
||||
|
@ -692,7 +692,7 @@ class PowerPanelForm(NetBoxModelForm):
|
||||
|
||||
class PowerFeedForm(TenancyForm, NetBoxModelForm):
|
||||
power_panel = DynamicModelChoiceField(
|
||||
label=_('Power panel'),
|
||||
label=_('Power Panel'),
|
||||
queryset=PowerPanel.objects.all(),
|
||||
selector=True
|
||||
)
|
||||
|
@ -2654,7 +2654,7 @@ msgid "Unterminated"
|
||||
msgstr "Nicht terminiert"
|
||||
|
||||
#: dcim/filtersets.py:2158
|
||||
msgid "Power panel (ID)"
|
||||
msgid "Power Panel (ID)"
|
||||
msgstr "Schalttafel (ID)"
|
||||
|
||||
#: dcim/forms/bulk_create.py:40 extras/forms/filtersets.py:410
|
||||
@ -3084,7 +3084,7 @@ msgstr "Domäne"
|
||||
|
||||
#: dcim/forms/bulk_edit.py:803 dcim/forms/bulk_import.py:1296
|
||||
#: dcim/forms/filtersets.py:1069 dcim/forms/model_forms.py:695
|
||||
msgid "Power panel"
|
||||
msgid "Power Panel"
|
||||
msgstr "Schalttafel"
|
||||
|
||||
#: dcim/forms/bulk_edit.py:825 dcim/forms/bulk_import.py:1332
|
||||
@ -3108,7 +3108,7 @@ msgid "Amperage"
|
||||
msgstr "Stromstärke"
|
||||
|
||||
#: dcim/forms/bulk_edit.py:845 dcim/forms/filtersets.py:1109
|
||||
msgid "Max utilization"
|
||||
msgid "Max Utilization"
|
||||
msgstr "Max. Auslastung"
|
||||
|
||||
#: dcim/forms/bulk_edit.py:849 dcim/forms/bulk_edit.py:1208
|
||||
|
@ -2606,7 +2606,7 @@ msgid "Unterminated"
|
||||
msgstr ""
|
||||
|
||||
#: dcim/filtersets.py:2158
|
||||
msgid "Power panel (ID)"
|
||||
msgid "Power Panel (ID)"
|
||||
msgstr ""
|
||||
|
||||
#: dcim/forms/bulk_create.py:40 extras/forms/filtersets.py:410
|
||||
@ -3032,7 +3032,7 @@ msgstr ""
|
||||
|
||||
#: dcim/forms/bulk_edit.py:803 dcim/forms/bulk_import.py:1296
|
||||
#: dcim/forms/filtersets.py:1069 dcim/forms/model_forms.py:695
|
||||
msgid "Power panel"
|
||||
msgid "Power Panel"
|
||||
msgstr ""
|
||||
|
||||
#: dcim/forms/bulk_edit.py:825 dcim/forms/bulk_import.py:1332
|
||||
@ -3056,7 +3056,7 @@ msgid "Amperage"
|
||||
msgstr ""
|
||||
|
||||
#: dcim/forms/bulk_edit.py:845 dcim/forms/filtersets.py:1109
|
||||
msgid "Max utilization"
|
||||
msgid "Max Utilization"
|
||||
msgstr ""
|
||||
|
||||
#: dcim/forms/bulk_edit.py:849 dcim/forms/bulk_edit.py:1208
|
||||
|
@ -2649,7 +2649,7 @@ msgid "Unterminated"
|
||||
msgstr "Inacabado"
|
||||
|
||||
#: dcim/filtersets.py:2158
|
||||
msgid "Power panel (ID)"
|
||||
msgid "Power Panel (ID)"
|
||||
msgstr "Panel de alimentación (ID)"
|
||||
|
||||
#: dcim/forms/bulk_create.py:40 extras/forms/filtersets.py:410
|
||||
@ -3079,7 +3079,7 @@ msgstr "Dominio"
|
||||
|
||||
#: dcim/forms/bulk_edit.py:803 dcim/forms/bulk_import.py:1296
|
||||
#: dcim/forms/filtersets.py:1069 dcim/forms/model_forms.py:695
|
||||
msgid "Power panel"
|
||||
msgid "Power Panel"
|
||||
msgstr "Panel de alimentación"
|
||||
|
||||
#: dcim/forms/bulk_edit.py:825 dcim/forms/bulk_import.py:1332
|
||||
@ -3103,7 +3103,7 @@ msgid "Amperage"
|
||||
msgstr "Amperaje"
|
||||
|
||||
#: dcim/forms/bulk_edit.py:845 dcim/forms/filtersets.py:1109
|
||||
msgid "Max utilization"
|
||||
msgid "Max Utilization"
|
||||
msgstr "Utilización máxima"
|
||||
|
||||
#: dcim/forms/bulk_edit.py:849 dcim/forms/bulk_edit.py:1208
|
||||
|
@ -2657,7 +2657,7 @@ msgid "Unterminated"
|
||||
msgstr "Non terminé"
|
||||
|
||||
#: dcim/filtersets.py:2158
|
||||
msgid "Power panel (ID)"
|
||||
msgid "Power Panel (ID)"
|
||||
msgstr "Panneau d'alimentation (ID)"
|
||||
|
||||
#: dcim/forms/bulk_create.py:40 extras/forms/filtersets.py:410
|
||||
@ -3087,7 +3087,7 @@ msgstr "Domaine"
|
||||
|
||||
#: dcim/forms/bulk_edit.py:803 dcim/forms/bulk_import.py:1296
|
||||
#: dcim/forms/filtersets.py:1069 dcim/forms/model_forms.py:695
|
||||
msgid "Power panel"
|
||||
msgid "Power Panel"
|
||||
msgstr "panneau d'alimentation"
|
||||
|
||||
#: dcim/forms/bulk_edit.py:825 dcim/forms/bulk_import.py:1332
|
||||
@ -3111,7 +3111,7 @@ msgid "Amperage"
|
||||
msgstr "Ampérage"
|
||||
|
||||
#: dcim/forms/bulk_edit.py:845 dcim/forms/filtersets.py:1109
|
||||
msgid "Max utilization"
|
||||
msgid "Max Utilization"
|
||||
msgstr "Utilisation maximale"
|
||||
|
||||
#: dcim/forms/bulk_edit.py:849 dcim/forms/bulk_edit.py:1208
|
||||
|
@ -2638,7 +2638,7 @@ msgid "Unterminated"
|
||||
msgstr "未終端"
|
||||
|
||||
#: dcim/filtersets.py:2158
|
||||
msgid "Power panel (ID)"
|
||||
msgid "Power Panel (ID)"
|
||||
msgstr "電源盤 (ID)"
|
||||
|
||||
#: dcim/forms/bulk_create.py:40 extras/forms/filtersets.py:410
|
||||
@ -3066,7 +3066,7 @@ msgstr "ドメイン"
|
||||
|
||||
#: dcim/forms/bulk_edit.py:803 dcim/forms/bulk_import.py:1296
|
||||
#: dcim/forms/filtersets.py:1069 dcim/forms/model_forms.py:695
|
||||
msgid "Power panel"
|
||||
msgid "Power Panel"
|
||||
msgstr "電源盤"
|
||||
|
||||
#: dcim/forms/bulk_edit.py:825 dcim/forms/bulk_import.py:1332
|
||||
@ -3090,7 +3090,7 @@ msgid "Amperage"
|
||||
msgstr "アンペア数"
|
||||
|
||||
#: dcim/forms/bulk_edit.py:845 dcim/forms/filtersets.py:1109
|
||||
msgid "Max utilization"
|
||||
msgid "Max Utilization"
|
||||
msgstr "最大使用率"
|
||||
|
||||
#: dcim/forms/bulk_edit.py:849 dcim/forms/bulk_edit.py:1208
|
||||
|
@ -2651,7 +2651,7 @@ msgid "Unterminated"
|
||||
msgstr "Não terminado"
|
||||
|
||||
#: dcim/filtersets.py:2158
|
||||
msgid "Power panel (ID)"
|
||||
msgid "Power Panel (ID)"
|
||||
msgstr "Painel de alimentação (ID)"
|
||||
|
||||
#: dcim/forms/bulk_create.py:40 extras/forms/filtersets.py:410
|
||||
@ -3081,7 +3081,7 @@ msgstr "Domínio"
|
||||
|
||||
#: dcim/forms/bulk_edit.py:803 dcim/forms/bulk_import.py:1296
|
||||
#: dcim/forms/filtersets.py:1069 dcim/forms/model_forms.py:695
|
||||
msgid "Power panel"
|
||||
msgid "Power Panel"
|
||||
msgstr "Painel de alimentação"
|
||||
|
||||
#: dcim/forms/bulk_edit.py:825 dcim/forms/bulk_import.py:1332
|
||||
@ -3105,7 +3105,7 @@ msgid "Amperage"
|
||||
msgstr "Amperagem"
|
||||
|
||||
#: dcim/forms/bulk_edit.py:845 dcim/forms/filtersets.py:1109
|
||||
msgid "Max utilization"
|
||||
msgid "Max Utilization"
|
||||
msgstr "Utilização máxima"
|
||||
|
||||
#: dcim/forms/bulk_edit.py:849 dcim/forms/bulk_edit.py:1208
|
||||
|
@ -2656,7 +2656,7 @@ msgid "Unterminated"
|
||||
msgstr "Нерасторгнутый"
|
||||
|
||||
#: dcim/filtersets.py:2158
|
||||
msgid "Power panel (ID)"
|
||||
msgid "Power Panel (ID)"
|
||||
msgstr "Панель питания (ID)"
|
||||
|
||||
#: dcim/forms/bulk_create.py:40 extras/forms/filtersets.py:410
|
||||
@ -3086,7 +3086,7 @@ msgstr "Домен"
|
||||
|
||||
#: dcim/forms/bulk_edit.py:803 dcim/forms/bulk_import.py:1296
|
||||
#: dcim/forms/filtersets.py:1069 dcim/forms/model_forms.py:695
|
||||
msgid "Power panel"
|
||||
msgid "Power Panel"
|
||||
msgstr "Панель питания"
|
||||
|
||||
#: dcim/forms/bulk_edit.py:825 dcim/forms/bulk_import.py:1332
|
||||
@ -3110,7 +3110,7 @@ msgid "Amperage"
|
||||
msgstr "Сила тока"
|
||||
|
||||
#: dcim/forms/bulk_edit.py:845 dcim/forms/filtersets.py:1109
|
||||
msgid "Max utilization"
|
||||
msgid "Max Utilization"
|
||||
msgstr "Максимальное использование"
|
||||
|
||||
#: dcim/forms/bulk_edit.py:849 dcim/forms/bulk_edit.py:1208
|
||||
|
@ -2645,7 +2645,7 @@ msgid "Unterminated"
|
||||
msgstr "Sonlandırılmamış"
|
||||
|
||||
#: dcim/filtersets.py:2158
|
||||
msgid "Power panel (ID)"
|
||||
msgid "Power Panel (ID)"
|
||||
msgstr "Güç paneli (ID)"
|
||||
|
||||
#: dcim/forms/bulk_create.py:40 extras/forms/filtersets.py:410
|
||||
@ -3075,7 +3075,7 @@ msgstr "Alan adı"
|
||||
|
||||
#: dcim/forms/bulk_edit.py:803 dcim/forms/bulk_import.py:1296
|
||||
#: dcim/forms/filtersets.py:1069 dcim/forms/model_forms.py:695
|
||||
msgid "Power panel"
|
||||
msgid "Power Panel"
|
||||
msgstr "Güç paneli"
|
||||
|
||||
#: dcim/forms/bulk_edit.py:825 dcim/forms/bulk_import.py:1332
|
||||
@ -3099,7 +3099,7 @@ msgid "Amperage"
|
||||
msgstr "Amper"
|
||||
|
||||
#: dcim/forms/bulk_edit.py:845 dcim/forms/filtersets.py:1109
|
||||
msgid "Max utilization"
|
||||
msgid "Max Utilization"
|
||||
msgstr "Maksimum kullanım"
|
||||
|
||||
#: dcim/forms/bulk_edit.py:849 dcim/forms/bulk_edit.py:1208
|
||||
|
@ -2642,7 +2642,7 @@ msgid "Unterminated"
|
||||
msgstr "Незакінчений"
|
||||
|
||||
#: dcim/filtersets.py:2158
|
||||
msgid "Power panel (ID)"
|
||||
msgid "Power Panel (ID)"
|
||||
msgstr "Панель живлення (ID)"
|
||||
|
||||
#: dcim/forms/bulk_create.py:40 extras/forms/filtersets.py:410
|
||||
@ -3072,7 +3072,7 @@ msgstr "Домен"
|
||||
|
||||
#: dcim/forms/bulk_edit.py:803 dcim/forms/bulk_import.py:1296
|
||||
#: dcim/forms/filtersets.py:1069 dcim/forms/model_forms.py:695
|
||||
msgid "Power panel"
|
||||
msgid "Power Panel"
|
||||
msgstr "Панель живлення"
|
||||
|
||||
#: dcim/forms/bulk_edit.py:825 dcim/forms/bulk_import.py:1332
|
||||
@ -3096,7 +3096,7 @@ msgid "Amperage"
|
||||
msgstr "Сила струму"
|
||||
|
||||
#: dcim/forms/bulk_edit.py:845 dcim/forms/filtersets.py:1109
|
||||
msgid "Max utilization"
|
||||
msgid "Max Utilization"
|
||||
msgstr "Максимальне використання"
|
||||
|
||||
#: dcim/forms/bulk_edit.py:849 dcim/forms/bulk_edit.py:1208
|
||||
|
@ -2636,7 +2636,7 @@ msgid "Unterminated"
|
||||
msgstr "未终止"
|
||||
|
||||
#: dcim/filtersets.py:2158
|
||||
msgid "Power panel (ID)"
|
||||
msgid "Power Panel (ID)"
|
||||
msgstr "电源面板 (ID)"
|
||||
|
||||
#: dcim/forms/bulk_create.py:40 extras/forms/filtersets.py:410
|
||||
@ -3064,7 +3064,7 @@ msgstr "域"
|
||||
|
||||
#: dcim/forms/bulk_edit.py:803 dcim/forms/bulk_import.py:1296
|
||||
#: dcim/forms/filtersets.py:1069 dcim/forms/model_forms.py:695
|
||||
msgid "Power panel"
|
||||
msgid "Power Panel"
|
||||
msgstr "电源面板"
|
||||
|
||||
#: dcim/forms/bulk_edit.py:825 dcim/forms/bulk_import.py:1332
|
||||
@ -3088,7 +3088,7 @@ msgid "Amperage"
|
||||
msgstr "安培数"
|
||||
|
||||
#: dcim/forms/bulk_edit.py:845 dcim/forms/filtersets.py:1109
|
||||
msgid "Max utilization"
|
||||
msgid "Max Utilization"
|
||||
msgstr "最大利用率"
|
||||
|
||||
#: dcim/forms/bulk_edit.py:849 dcim/forms/bulk_edit.py:1208
|
||||
|
Loading…
Reference in New Issue
Block a user