When trying to edit a host, the modal is not able to save the changes
unless the max_cpu_mhz_configured parameter is modified since it's
set as required.
This change fixes that problem by setting the max_cpu_mhz_configured as
not required and removing the forced assignment during clean()
function.
Test Plan:
PASS: Change BMC type, IP, User and Password. Verify changes
are listed in system show command.
PASS: Modify host location, CPU frequency, Clock Synchronization.
Verify changes are listed in system show command.
Reviewed: https:/ /review. opendev. org/c/starlingx /gui/+/ 868611 /opendev. org/starlingx/ gui/commit/ 2cf939310efc5ec a280cfa5c80fbc7 9b98ed2dd2
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 2cf939310efc5ec a280cfa5c80fbc7 9b98ed2dd2
Author: Enzo Candotti <email address hidden>
Date: Mon Dec 26 16:38:51 2022 -0300
Fix 'Edit Host' modal
When trying to edit a host, the modal is not able to save the changes mhz_configured parameter is modified since it's
unless the max_cpu_
set as required.
This change fixes that problem by setting the max_cpu_ mhz_configured as
not required and removing the forced assignment during clean()
function.
Test Plan:
PASS: Change BMC type, IP, User and Password. Verify changes
are listed in system show command.
PASS: Modify host location, CPU frequency, Clock Synchronization.
Verify changes are listed in system show command.
Closes-Bug: 2000484
Signed-off-by: Enzo Candotti <email address hidden> 02e7cc01ede7154 c8d2bb98c72
Change-Id: Icb6d05fe170d92