Skip to content

Commit

Permalink
Mock: Fixed the incorrect YAML syntax and swapped CPCs in z16 mock files
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Maier <maiera@de.ibm.com>
  • Loading branch information
andy-maier committed Jun 20, 2024
1 parent e9bbb8d commit de67738
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions changes/noissue.4.notshown.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Mock: Fixed the incorrect YAML syntax and swapped CPCs in z16 mock files.
4 changes: 2 additions & 2 deletions tests/end2end/mocked_hmc_z16.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
# zhmcclient_mock/_session.py of the python-zhmcclient project.
#
# This mocked HMC manages two CPCs:
* - CPC_CLA: A z16 in DPM mode
* - CPC_DPM: A z16 in classic mode
# - CPC_CLA: A z16 in classic mode
# - CPC_DPM: A z16 in DPM mode

hmc_definition:
host: hmc_z16
Expand Down
4 changes: 2 additions & 2 deletions tests/end2end/mocked_inventory.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ all:
description: "Mocked HMC with z16 in classic mode and z16 in DPM mode"
mock_file: "mocked_hmc_z16.yaml"
cpcs:
CPC_DPM:
CPC_CLA:
machine_type: "3932"
dpm_enabled: false
CPC_CLA:
CPC_DPM:
machine_type: "3932"
dpm_enabled: true
children:
Expand Down

0 comments on commit de67738

Please sign in to comment.