diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a839ec92..b59f0ad46 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ v2.6.0 (FUTURE) * [#3125](https://github.com/digitalocean/netbox/issues/3125) - Fix exception when viewing PDUs * [#3126](https://github.com/digitalocean/netbox/issues/3126) - Incorrect calculation of PowerFeed available power * [#3130](https://github.com/digitalocean/netbox/issues/3130) - Fix exception when creating a new power outlet +* [#3136](https://github.com/digitalocean/netbox/issues/3136) - Add power draw fields to power port creation form --- diff --git a/netbox/dcim/forms.py b/netbox/dcim/forms.py index 025b51e79..5ee63a243 100644 --- a/netbox/dcim/forms.py +++ b/netbox/dcim/forms.py @@ -1971,6 +1971,16 @@ class PowerPortCreateForm(ComponentForm): name_pattern = ExpandableNameField( label='Name' ) + maximum_draw = forms.IntegerField( + min_value=1, + required=False, + help_text="Maximum draw in watts" + ) + allocated_draw = forms.IntegerField( + min_value=1, + required=False, + help_text="Allocated draw in watts" + ) description = forms.CharField( max_length=100, required=False