Skip to content

Commit

Permalink
Support for reset/image/load activation profiles
Browse files Browse the repository at this point in the history
Details:

* Added command group 'resetprofile' for operations on reset activation
  profiles in classic mode CPCs.

* Added command group 'imageprofile' for operations on image activation
  profiles in classic mode CPCs.

* Added command group 'loadprofile' for operations on load activation
  profiles in classic mode CPCs.

Signed-off-by: Andreas Maier <[email protected]>
  • Loading branch information
andy-maier committed Nov 11, 2023
1 parent 0765ba5 commit cf472aa
Show file tree
Hide file tree
Showing 9 changed files with 2,843 additions and 4 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,8 @@ flake8_$(pymn)_$(PACKAGE_LEVEL).done: develop_$(pymn)_$(PACKAGE_LEVEL).done Make
check_reqs: develop_$(pymn)_$(PACKAGE_LEVEL).done minimum-constraints.txt requirements.txt
@echo "Makefile: Checking missing dependencies of this package"
pip-missing-reqs $(package_name) --requirements-file=requirements.txt
pip-missing-reqs $(package_name) --requirements-file=minimum-constraints.txt
# TODO-ZHMCCLIENT: Verify exit code again once zhmcclient 1.12.0 is releaed
-pip-missing-reqs $(package_name) --requirements-file=minimum-constraints.txt
@echo "Makefile: Done checking missing dependencies of this package"
ifeq ($(PLATFORM),Windows_native)
# Reason for skipping on Windows is https://github.com/r1chardj0n3s/pip-check-reqs/issues/67
Expand Down
9 changes: 9 additions & 0 deletions docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,15 @@ Released: not yet
commands have been grouped to be more easily identifiable. This required
adding the "click-option-group" Python package to the dependencies.

* Added command group 'resetprofile' for operations on reset activation
profiles in classic mode CPCs.

* Added command group 'imageprofile' for operations on image activation
profiles in classic mode CPCs.

* Added command group 'loadprofile' for operations on load activation
profiles in classic mode CPCs.

**Cleanup:**

**Known issues:**
Expand Down
3 changes: 2 additions & 1 deletion minimum-constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ wheel==0.38.1; python_version >= '3.7'

# Direct dependencies for runtime (must be consistent with requirements.txt)

zhmcclient==1.10.0
# TODO-ZHMCCLIENT: Enable again once zhmcclient 1.12.0 is releaed
# zhmcclient==1.12.0

click==8.0.2
click-repl==0.2
Expand Down
5 changes: 3 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@

# Direct dependencies (except pip, setuptools, wheel):

# zhmcclient @ git+https://github.com/zhmcclient/python-zhmcclient.git@master
zhmcclient>=1.10.0
# TODO-ZHMCCLIENT: Enable again once zhmcclient 1.12.0 is releaed
zhmcclient @ git+https://github.com/zhmcclient/python-zhmcclient.git@master
# zhmcclient>=1.12.0

# safety 2.2.0 depends on click>=8.0.2
click>=8.0.2
Expand Down
3 changes: 3 additions & 0 deletions zhmccli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
from ._cmd_unmanaged_cpc import * # noqa: F401
from ._cmd_ldap_server_definition import * # noqa: F401
from ._cmd_lpar import * # noqa: F401
from ._cmd_resetprofile import * # noqa: F401
from ._cmd_imageprofile import * # noqa: F401
from ._cmd_loadprofile import * # noqa: F401
from ._cmd_partition import * # noqa: F401
from ._cmd_adapter import * # noqa: F401
from ._cmd_port import * # noqa: F401
Expand Down
1,888 changes: 1,888 additions & 0 deletions zhmccli/_cmd_imageprofile.py

Large diffs are not rendered by default.

Loading

0 comments on commit cf472aa

Please sign in to comment.