Skip to content

Commit

Permalink
Add missing properties identified by Andreas
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Spinner <[email protected]>
  • Loading branch information
simon-spinner committed Nov 3, 2023
1 parent 49c16f6 commit 0c666c9
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions zhmccli/_cmd_partition.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,9 @@ def partition_dump(cmd_ctx, cpc, partition, **options):
required=False, default=DEFAULT_PROCESSOR_MODE,
help='The sharing mode for processors. '
'Default: {d}'.format(d=DEFAULT_PROCESSOR_MODE))
@optgroup.option('--processor-management-enabled', type=bool, required=False,
help='Indicates whether the processor management is enabled. '
'Default: false')
@optgroup.option('--initial-cp-processing-weight',
type=click.IntRange(MIN_PROCESSING_WEIGHT,
MAX_PROCESSING_WEIGHT),
Expand Down Expand Up @@ -341,6 +344,16 @@ def partition_dump(cmd_ctx, cpc, partition, **options):
' the partition from using any more than the specified number '
'of physical processors. An empty string disables absolute '
'IFL capping.')
@optgroup.option('--cp-processing-weight-capped', type=bool, required=False,
help='Indicates whether the CP processor weight is capped. '
'If True, the processing weight is an upper limit. If False, '
'the processing weight is a target that can be exceeded if '
'excess CP processor resources are available.')
@optgroup.option('--ifl-processing-weight-capped', type=bool, required=False,
help='Indicates whether the IFL processor weight is capped. '
'If True, the processing weight is an upper limit. If False, '
'the processing weight is a target that can be exceeded if '
'excess IFL processor resources are available.')
@optgroup.group('Memory configuration')
@optgroup.option('--initial-memory', type=int, required=False,
default=DEFAULT_INITIAL_MEMORY_MB,
Expand Down Expand Up @@ -480,6 +493,8 @@ def partition_create(cmd_ctx, cpc, **options):
@optgroup.option('--processor-mode', type=click.Choice(['dedicated', 'shared']),
required=False,
help='The new sharing mode for processors.')
@optgroup.option('--processor-management-enabled', type=bool, required=False,
help='Indicates whether the processor management is enabled.')
@optgroup.option('--initial-cp-processing-weight',
type=click.IntRange(MIN_PROCESSING_WEIGHT,
MAX_PROCESSING_WEIGHT), required=False,
Expand Down Expand Up @@ -589,6 +604,13 @@ def partition_create(cmd_ctx, cpc, **options):
help='Boot from an ISO image mounted to this partition. '
'The ISO image can be mounted using "zhmc partition '
'mountiso".')
@optgroup.option('--boot-iso-insfile', type=str, required=False,
help='Boot from an ISO image: The path to the INS-file in the '
'boot image.')
@optgroup.option('--boot-timeout', required=False, metavar='INTEGER',
type=click.IntRange(MIN_BOOT_TIMEOUT, MAX_BOOT_TIMEOUT),
help='The time in seconds that is waited before an ongoing '
'boot is aborted. This is applicable for all boot sources.')
@optgroup.option('--boot-ficon-loader-mode', required=False,
type=click.Choice(['ccw', 'list']),
help='The boot loader mode when booting from a FICON volume. '
Expand Down

0 comments on commit 0c666c9

Please sign in to comment.