From 018126edc22fdee7a1f298b254b86b8cffa2e72e Mon Sep 17 00:00:00 2001 From: Andreas Maier Date: Thu, 30 Jun 2022 21:31:38 +0200 Subject: [PATCH] Merged the two mock files into one Signed-off-by: Andreas Maier --- ...ocked_z14_dpm.yaml => mocked_hmc_z14.yaml} | 268 ++++++++- tests/end2end/mocked_inventory.yaml | 17 +- tests/end2end/mocked_vault.yaml | 6 +- tests/end2end/mocked_z14_classic.yaml | 514 ------------------ 4 files changed, 253 insertions(+), 552 deletions(-) rename tests/end2end/{mocked_z14_dpm.yaml => mocked_hmc_z14.yaml} (74%) delete mode 100644 tests/end2end/mocked_z14_classic.yaml diff --git a/tests/end2end/mocked_z14_dpm.yaml b/tests/end2end/mocked_hmc_z14.yaml similarity index 74% rename from tests/end2end/mocked_z14_dpm.yaml rename to tests/end2end/mocked_hmc_z14.yaml index 0c11a5ba2..3d66d8008 100644 --- a/tests/end2end/mocked_z14_dpm.yaml +++ b/tests/end2end/mocked_hmc_z14.yaml @@ -1,14 +1,12 @@ ---- # Definition of a mocked HMC for end2end tests run by GitHub Actions. # The file must have the format defined in FAKED_HMC_DEFINITION_SCHEMA in # zhmcclient_mock/_session.py of the python-zhmcclient project. # -# This mocked HMC manages a single z14 in DPM mode. +# This mocked HMC manages a single z14 in classic mode. hmc_definition: - host: hmc1 + host: hmc_z14 api_version: '2.40' - consoles: - properties: # class: created automatically @@ -272,7 +270,6 @@ hmc_definition: fulfillment-state: complete site: 10.0 usage: boot - cpcs: - properties: # class: created automatically @@ -280,7 +277,7 @@ hmc_definition: # object-uri: created automatically object-id: cpc1 name: "CPC1" - description: "Mocked CPC1 (z14 in DPM mode)" + description: "Mocked CPC1 (z14 in classic mode)" acceptable-status: [active] additional-status: '' auto-start-list: [] @@ -300,6 +297,240 @@ hmc_definition: cpc-power-saving: high-performance cpc-serial-number: "0000000CPC1" degraded-status: [not-degraded] + dpm-enabled: false + has-automatic-se-switch-enabled: false + has-hardware-messages: true + has-temporary-capacity-change-allowed: false + has-unacceptable-status: true + iml-mode: lpar + is-cbu-activated: false + is-cbu-enabled: false + is-cbu-installed: false + is-cpacf-enabled: true + is-ensemble-member: false + is-locked: false + is-on-off-cod-activated: false + is-on-off-cod-enabled: true + is-on-off-cod-installed: false + is-real-cbu-available: false + is-service-required: true + lan-interface1-address: 00106f0d81cb + lan-interface1-type: ethernet + lan-interface2-address: 00106f0d81cc + lan-interface2-type: ethernet + last-energy-advice-time: 1654609202407 + machine-model: 'M01' + machine-serial-number: "0000000CPC1" + machine-type: '3906' + management-enablement-level: manage + maximum-alternate-storage-sites: 1 + maximum-hipersockets: 32 + maximum-partitions: 85 + msu-permanent-plus-billable: 3068 + msu-permanent-plus-temporary: 3068 + msu-permanent: 3068 + network1-ipv4-alt-ipaddr: null + network1-ipv4-mask: 255.255.254.0 + network1-ipv4-pri-ipaddr: 9.152.151.39 + network2-ipv4-alt-ipaddr: null + network2-ipv4-mask: 0.0.0.0 + network2-ipv4-pri-ipaddr: null + network2-ipv6-info: [] + on-off-cod-activation-date: 0 + processor-count-aap: 0 + processor-count-cbp: 0 + processor-count-defective: 0 + processor-count-general-purpose: 20 + processor-count-icf: 0 + processor-count-ifl: 10 + processor-count-iip: 3 + processor-count-pending-aap: 0 + processor-count-pending-cbp: 0 + processor-count-pending-general-purpose: 0 + processor-count-pending-icf: 0 + processor-count-pending-ifl: 0 + processor-count-pending-iip: 0 + processor-count-pending-service-assist: 0 + processor-count-pending: 0 + processor-count-service-assist: 5 + processor-count-spare: 0 + se-version: 2.14.1 + software-model-permanent-plus-billable: '720' + software-model-permanent-plus-temporary: '720' + software-model-permanent: '720' + status: active + storage-customer-available: 1105920 + storage-customer-central: 16384 + storage-customer-expanded: 0 + storage-customer: 1114112 + storage-hardware-system-area: 196608 + storage-total-installed: 1310720 + storage-vfm-increment-size: 16 + storage-vfm-total: 0 + zcpc-ambient-temperature: 24.0 + zcpc-dew-point: 12.199999809265137 + zcpc-exhaust-temperature: 30.0 + zcpc-heat-load-forced-air: 19865 + zcpc-heat-load-water: 0 + zcpc-heat-load: 19865 + zcpc-humidity: 47 + zcpc-maximum-potential-heat-load: 25714 + zcpc-maximum-potential-power: 7531 + zcpc-power-cap-allowed: null + zcpc-power-cap-current: null + zcpc-power-cap-maximum: null + zcpc-power-cap-minimum: null + zcpc-power-capping-state: null + zcpc-power-consumption: 5818 + zcpc-power-rating: 28000 + zcpc-power-save-allowed: under-group-control + zcpc-power-saving-state: high-performance + zcpc-power-saving: high-performance + available-features-list: + - name: dpm-storage-management + description: The DPM storage management approach in which FCP and FICON storage + resources are defined in Storage Groups, which are attached to Partitions. + state: false + ec-mcl-description: + action: + - pending: false + type: channel-config + activation: current + - pending: false + type: coupling-facility-reactivation + activation: current + - pending: false + type: power-on-reset-tracking + activation: current + - pending: false + type: zhybrid-blades-activation + activation: current + - pending: false + type: channel-config + activation: next + - pending: false + type: coupling-facility-reactivation + activation: next + - pending: false + type: power-on-reset-tracking + activation: next + - pending: false + type: zhybrid-blades-activation + activation: next + ec: + - number: P41414 + part-number: 01LL001 + mcl: + - level: '373' + type: retrieved + last-update: 1650509077817 + - level: '373' + type: activated + last-update: 1650531050817 + - level: '364' + type: accepted + last-update: 1649742886817 + - level: '373' + type: installable-concurrent + last-update: 943916400817 + - level: '365' + type: removable-concurrent + last-update: 943916400817 + description: SE Framework + type: Base EC + - number: P41415 + part-number: 01LL002 + mcl: + - level: '000' + type: retrieved + last-update: null + - level: '000' + type: activated + last-update: null + - level: '000' + type: accepted + last-update: null + - level: '000' + type: installable-concurrent + last-update: null + - level: '000' + type: removable-concurrent + last-update: null + description: Concurrent Upgrade Sync Point + type: Other Optional EC + network1-ipv6-info: + - prefix: 64 + pri-ip-address: fe80::210:6fff:fe0d:81cb%eth0 + type: link-local + alt-ip-address: fe80::210:6fff:fe0d:820b%eth0 + lpars: + - properties: + object-id: lpar1 + name: "LPAR1" + partition-number: 0x41 + partition-identifier: 0x41 + status: "operating" + activation-mode: "linux" + next-activation-profile-name: "LPAR1" + last-used-activation-profile: "LPAR1" + - properties: + object-id: lpar2 + name: "LPAR2" + partition-number: 0x42 + partition-identifier: 0x42 + status: "not-activated" + activation-mode: "not-set" + next-activation-profile-name: "LPAR2" + last-used-activation-profile: "LPAR2" + reset_activation_profiles: + - properties: + name: "CPC1" + iocds-name: "ABC" + load_activation_profiles: + - properties: + name: "STANDARDLOAD" + ipl-type: "ipltype-standard" + ipl-address: "189AB" + - properties: + name: "SCSILOAD" + ipl-type: "ipltype-scsi" + worldwide-port-name: "1234" + logical-unit-number: "1234" + boot-record-lba: "1234" + disk-partition-id: 0 + image_activation_profiles: + - properties: + name: "LPAR1" + # TODO: Add more properties + - properties: + name: "LPAR2" + # TODO: Add more properties + - properties: + # class: created automatically + # parent: created automatically + # object-uri: created automatically + object-id: cpc2 + name: "CPC2" + description: "Mocked CPC2 (z14 in DPM mode)" + acceptable-status: [active] + additional-status: '' + auto-start-list: [] + cbu-activation-date: 0 + cbu-expiration-date: 0 + cbu-number-of-tests-left: 0 + cpc-node-descriptor: '00' + cpc-power-cap-allowed: null + cpc-power-cap-current: null + cpc-power-cap-maximum: null + cpc-power-cap-minimum: null + cpc-power-capping-state: null + cpc-power-consumption: 5818 + cpc-power-rating: 28000 + cpc-power-save-allowed: allowed + cpc-power-saving-state: high-performance + cpc-power-saving: high-performance + cpc-serial-number: "0000000CPC2" + degraded-status: [not-degraded] dpm-enabled: true has-automatic-se-switch-enabled: false has-hardware-messages: true @@ -323,7 +554,7 @@ hmc_definition: lan-interface2-type: ethernet last-energy-advice-time: 1654609202407 machine-model: 'M01' - machine-serial-number: "0000000CPC1" + machine-serial-number: "0000000CPC2" machine-type: '3906' management-enablement-level: manage maximum-alternate-storage-sites: 1 @@ -466,7 +697,6 @@ hmc_definition: pri-ip-address: fe80::210:6fff:fe0d:81cb%eth0 type: link-local alt-ip-address: fe80::210:6fff:fe0d:820b%eth0 - capacity_groups: - properties: # class: created automatically @@ -482,7 +712,6 @@ hmc_definition: short-name: TESTGRPT partition-uris: - /api/partitions/0a796b76-e9e6-11eb-80e2-00106f0d81c9 - adapters: - properties: # class: created automatically @@ -490,7 +719,7 @@ hmc_definition: # object-uri: created automatically object-id: osa1 name: "OSA1" - description: "Mocked OSA adapter OSA1 in CPC1" + description: "Mocked OSA adapter OSA1 in CPC2" adapter-id: "108" status: active state: online @@ -505,17 +734,17 @@ hmc_definition: - properties: element-id: port0 name: "Port 0" - description: "Mocked port 0 of OSA adapter OSA1 in CPC1" + description: "Mocked port 0 of OSA adapter OSA1 in CPC2" index: 0 - properties: element-id: port1 name: "Port 1" - description: "Mocked port 1 of OSA adapter OSA1 in CPC1" + description: "Mocked port 1 of OSA adapter OSA1 in CPC2" index: 1 - properties: object-id: fcp1 name: "FCP1" - description: "Mocked FCP adapter FCP1 in CPC1" + description: "Mocked FCP adapter FCP1 in CPC2" adapter-id: "118" status: active state: online @@ -530,17 +759,15 @@ hmc_definition: - properties: element-id: port0 name: "Port 0" - description: "Mocked port 0 of FCP adapter FCP1 in CPC1" + description: "Mocked port 0 of FCP adapter FCP1 in CPC2" index: 0 - virtual_switches: - properties: object-id: vs-osa1 name: "Virtual Switch for OSA1" - description: "Mocked Virtual Switch for OSA adapter OSA1 in CPC1" + description: "Mocked Virtual Switch for OSA adapter OSA1 in CPC2" backing-adapter-uri: /api/adapters/osa1 port: 0 - partitions: - properties: # class: created automatically @@ -552,7 +779,7 @@ hmc_definition: # storage-group-uris: created automatically object-id: part1 name: "PART1" - description: "Linux partition PART1 on CPC1" + description: "Linux partition PART1 on CPC2" acceptable-status: [active] access-basic-counter-set: false access-basic-sampling: false @@ -625,7 +852,6 @@ hmc_definition: storage resources are defined in Storage Groups, which are attached to Partitions. state: true - nics: - properties: element-id: nic1 @@ -634,7 +860,6 @@ hmc_definition: type: osd device-number: '0010' virtual-switch-uri: /api/virtual-switches/vs-osa1 - - properties: # class: created automatically # parent: created automatically @@ -645,7 +870,7 @@ hmc_definition: # storage-group-uris: created automatically object-id: part2 name: "PART2" - description: "SSC partition PART2 on CPC1" + description: "SSC partition PART2 on CPC2" acceptable-status: [active] access-basic-counter-set: false access-basic-sampling: false @@ -718,7 +943,6 @@ hmc_definition: storage resources are defined in Storage Groups, which are attached to Partitions. state: true - nics: - properties: element-id: nic1 diff --git a/tests/end2end/mocked_inventory.yaml b/tests/end2end/mocked_inventory.yaml index a4389a028..f9cc8338c 100644 --- a/tests/end2end/mocked_inventory.yaml +++ b/tests/end2end/mocked_inventory.yaml @@ -33,22 +33,17 @@ all: hosts: - mocked_z14_classic: - description: "Mocked z14 in classic mode" - mock_file: "mocked_z14_classic.yaml" + mocked_hmc_z14: + description: "Mocked HMC with z14 in classic mode and z14 in DPM mode" + mock_file: "mocked_hmc_z14.yaml" cpcs: CPC1: - machine_type: "2964" + machine_type: "3906" dpm_enabled: false - mocked_z14_dpm: - description: "Mocked z14 in DPM mode" - mock_file: "mocked_z14_dpm.yaml" - cpcs: - CPC1: + CPC2: machine_type: "3906" dpm_enabled: true children: default: hosts: - mocked_z14_classic: - mocked_z14_dpm: + mocked_hmc_z14: diff --git a/tests/end2end/mocked_vault.yaml b/tests/end2end/mocked_vault.yaml index 0001cec89..7144e3c9a 100644 --- a/tests/end2end/mocked_vault.yaml +++ b/tests/end2end/mocked_vault.yaml @@ -25,11 +25,7 @@ # default path name used. hmc_auth: - mocked_z14_classic: - userid: ensadmin - password: password - verify: false - mocked_z14_dpm: + mocked_hmc_z14: userid: ensadmin password: password verify: false diff --git a/tests/end2end/mocked_z14_classic.yaml b/tests/end2end/mocked_z14_classic.yaml deleted file mode 100644 index bd07f419c..000000000 --- a/tests/end2end/mocked_z14_classic.yaml +++ /dev/null @@ -1,514 +0,0 @@ ---- -# Definition of a mocked HMC for end2end tests run by GitHub Actions. -# The file must have the format defined in FAKED_HMC_DEFINITION_SCHEMA in -# zhmcclient_mock/_session.py of the python-zhmcclient project. -# -# This mocked HMC manages a single z14 in classic mode. - -hmc_definition: - host: hmc1 - api_version: '2.40' - - consoles: - - properties: - # class: created automatically - # parent: created automatically - object-uri: /api/console - object-id: hmc1 - name: HMC1 - description: "primary HMC" - ip-swapping-available: true - is-auto-switch-enabled: false - is-locked: false - paired-role: '' - version: 2.14.1 - machine-info: - machine-type: '2461' - machine-serial: DK67009 - machine-model: TW1 - network-info: - this-hmc: - - domain-name: boeblingen.de.ibm.com - is-private: false - hmc-name: HMCM12 - ipv4-address: - - ip-address: 9.152.151.47 - subnet-mask: 255.255.254.0 - interface-name: eth0 - mac: 00106f0d8409 - ipv6-address: - - prefix-length: 64 - ip-address: fe80:0:0:0:210:6fff:fe0d:8409 - paired-hmc: null - ec-mcl-description: - ec: - - number: P41499 - part-number: 01LL062 - mcl: - - level: '333' - type: retrieved - last-update: 1650524126000 - - level: '333' - type: activated - last-update: 1650526481000 - - level: '327' - type: accepted - last-update: 1642750400000 - - level: '333' - type: installable-concurrent - last-update: null - - level: '328' - type: removable-concurrent - last-update: null - description: Hardware Management Console Framework - type: SYSTEM - - number: P41470 - part-number: 01LL058 - mcl: - - level: '2' - type: retrieved - last-update: 1566551669000 - - level: '2' - type: activated - last-update: 1566551779000 - - level: '2' - type: accepted - last-update: 1566553286000 - - level: '2' - type: installable-concurrent - last-update: null - - level: '000' - type: removable-concurrent - last-update: null - description: Hardware Management Console Platform Firmware - type: HMCBIOS - - users: - - properties: - # class: created automatically - # parent: created automatically - # object-uri: created automatically - object-id: pedebug - name: PEDEBUG - description: "Product engineering level user" - allow-management-interfaces: true - allow-remote-access: true - authentication-type: local - default-group-uri: null - disable-delay: 1 - disabled: false - disruptive-pw-required: true - disruptive-text-required: false - email-address: null - force-password-change: false - force-shared-secret-key-change: null - idle-timeout: 0 - inactivity-timeout: 0 - is-locked: false - ldap-server-definition-uri: null - max-failed-logins: 3 - max-web-services-api-sessions: 1000 - min-pw-change-time: 0 - multi-factor-authentication-required: false - password: bla - password-expires: -1 - password-rule-uri: /api/console/password-rules/passwordrule1 - replication-overwrite-possible: false - session-timeout: 0 - type: system-defined - userid-on-ldap-server: null - verify-timeout: 15 - web-services-api-session-idle-timeout: 360 - user-roles: - - /api/user-roles/hmc-all-system-managed-objects - - properties: - # class: created automatically - # parent: created automatically - # object-uri: created automatically - object-id: user1 - name: USER1 - description: "Standard user 1" - allow-management-interfaces: true - allow-remote-access: true - authentication-type: local - default-group-uri: null - disable-delay: 1 - disabled: false - disruptive-pw-required: true - disruptive-text-required: false - email-address: null - force-password-change: false - force-shared-secret-key-change: null - idle-timeout: 0 - inactivity-timeout: 0 - is-locked: false - ldap-server-definition-uri: null - max-failed-logins: 3 - max-web-services-api-sessions: 1000 - min-pw-change-time: 0 - multi-factor-authentication-required: false - password: bla - password-expires: -1 - password-rule-uri: /api/console/password-rules/passwordrule1 - replication-overwrite-possible: false - session-timeout: 0 - type: standard - userid-on-ldap-server: null - verify-timeout: 15 - web-services-api-session-idle-timeout: 360 - user-roles: - - /api/user-roles/hmc-all-system-managed-objects - - user_roles: - - properties: - # class: created automatically - # parent: created automatically - # object-uri: created automatically - object-id: hmc-all-system-managed-objects - name: hmc-all-system-managed-objects - description: "All system managed objects" - associated-system-defined-user-role-uri: null - is-inheritance-enabled: false - is-locked: false - replication-overwrite-possible: false - type: system-defined - permissions: - - permitted-object: partition - permitted-object-type: object-class - - permitted-object: cpc - permitted-object-type: object-class - - properties: - # class: created automatically - # parent: created automatically - # object-uri: created automatically - object-id: hmc-operator-tasks - name: hmc-operator-tasks - description: "Operator Tasks" - associated-system-defined-user-role-uri: null - is-inheritance-enabled: false - is-locked: false - replication-overwrite-possible: false - type: system-defined - permissions: [] - - properties: - # class: created automatically - # parent: created automatically - # object-uri: created automatically - object-id: hmc-access-administrator-tasks - name: hmc-access-administrator-tasks - description: "Access Administrator Tasks" - associated-system-defined-user-role-uri: null - is-inheritance-enabled: false - is-locked: false - replication-overwrite-possible: false - type: system-defined - permissions: - - permitted-object: partition - permitted-object-type: object-class - - permitted-object: cpc - permitted-object-type: object-class - - user_patterns: - - properties: - element-id: userpattern1 - name: User pattern 1 - - password_rules: - - properties: - element-id: passwordrule1 - name: Password rule 1 - type: "user-defined" - description: "Password rule 1" - expiration: 186 - min-length: 6 - max-length: 30 - consecutive-characters: 2 - history-count: 4 - similarity-count: 0 - case-sensitive: false - character-rules: [] - replication-overwrite-possible: false - - properties: - element-id: standard - name: Standard - type: "system-defined" - description: "Standard password rule definition" - expiration: 90 - min-length: 16 - max-length: 32 - consecutive-characters: 0 - history-count: 2 - similarity-count: 2 - case-sensitive: true - character-rules: [] - replication-overwrite-possible: true - - tasks: - - properties: - # class: created automatically - # parent: created automatically - # element-uri: created automatically - element-id: new-performance-policy - name: new-performance-policy - description: Create a new performance policy for the workload - view-only-mode-supported: false - - ldap_server_definitions: - - properties: - element-id: lsd1 - name: LDAP server definition 1 - - storage_groups: - - properties: - object-id: sg1 - name: Storage group 1 - shared: false - type: fcp - fulfillment-state: complete - storage_volumes: - - properties: - element-id: sv1 - name: Storage volume 1 - fulfillment-state: complete - site: 10.0 - usage: boot - - cpcs: - - properties: - # class: created automatically - # parent: created automatically - # object-uri: created automatically - object-id: cpc1 - name: "CPC1" - description: "Mocked CPC1 (z14 in classic mode)" - acceptable-status: [active] - additional-status: '' - auto-start-list: [] - cbu-activation-date: 0 - cbu-expiration-date: 0 - cbu-number-of-tests-left: 0 - cpc-node-descriptor: '00' - cpc-power-cap-allowed: null - cpc-power-cap-current: null - cpc-power-cap-maximum: null - cpc-power-cap-minimum: null - cpc-power-capping-state: null - cpc-power-consumption: 5818 - cpc-power-rating: 28000 - cpc-power-save-allowed: allowed - cpc-power-saving-state: high-performance - cpc-power-saving: high-performance - cpc-serial-number: "0000000CPC1" - degraded-status: [not-degraded] - dpm-enabled: false - has-automatic-se-switch-enabled: false - has-hardware-messages: true - has-temporary-capacity-change-allowed: false - has-unacceptable-status: true - iml-mode: lpar - is-cbu-activated: false - is-cbu-enabled: false - is-cbu-installed: false - is-cpacf-enabled: true - is-ensemble-member: false - is-locked: false - is-on-off-cod-activated: false - is-on-off-cod-enabled: true - is-on-off-cod-installed: false - is-real-cbu-available: false - is-service-required: true - lan-interface1-address: 00106f0d81cb - lan-interface1-type: ethernet - lan-interface2-address: 00106f0d81cc - lan-interface2-type: ethernet - last-energy-advice-time: 1654609202407 - machine-model: 'M01' - machine-serial-number: "0000000CPC1" - machine-type: '3906' - management-enablement-level: manage - maximum-alternate-storage-sites: 1 - maximum-hipersockets: 32 - maximum-partitions: 85 - msu-permanent-plus-billable: 3068 - msu-permanent-plus-temporary: 3068 - msu-permanent: 3068 - network1-ipv4-alt-ipaddr: null - network1-ipv4-mask: 255.255.254.0 - network1-ipv4-pri-ipaddr: 9.152.151.39 - network2-ipv4-alt-ipaddr: null - network2-ipv4-mask: 0.0.0.0 - network2-ipv4-pri-ipaddr: null - network2-ipv6-info: [] - on-off-cod-activation-date: 0 - processor-count-aap: 0 - processor-count-cbp: 0 - processor-count-defective: 0 - processor-count-general-purpose: 20 - processor-count-icf: 0 - processor-count-ifl: 10 - processor-count-iip: 3 - processor-count-pending-aap: 0 - processor-count-pending-cbp: 0 - processor-count-pending-general-purpose: 0 - processor-count-pending-icf: 0 - processor-count-pending-ifl: 0 - processor-count-pending-iip: 0 - processor-count-pending-service-assist: 0 - processor-count-pending: 0 - processor-count-service-assist: 5 - processor-count-spare: 0 - se-version: 2.14.1 - software-model-permanent-plus-billable: '720' - software-model-permanent-plus-temporary: '720' - software-model-permanent: '720' - status: active - storage-customer-available: 1105920 - storage-customer-central: 16384 - storage-customer-expanded: 0 - storage-customer: 1114112 - storage-hardware-system-area: 196608 - storage-total-installed: 1310720 - storage-vfm-increment-size: 16 - storage-vfm-total: 0 - zcpc-ambient-temperature: 24.0 - zcpc-dew-point: 12.199999809265137 - zcpc-exhaust-temperature: 30.0 - zcpc-heat-load-forced-air: 19865 - zcpc-heat-load-water: 0 - zcpc-heat-load: 19865 - zcpc-humidity: 47 - zcpc-maximum-potential-heat-load: 25714 - zcpc-maximum-potential-power: 7531 - zcpc-power-cap-allowed: null - zcpc-power-cap-current: null - zcpc-power-cap-maximum: null - zcpc-power-cap-minimum: null - zcpc-power-capping-state: null - zcpc-power-consumption: 5818 - zcpc-power-rating: 28000 - zcpc-power-save-allowed: under-group-control - zcpc-power-saving-state: high-performance - zcpc-power-saving: high-performance - available-features-list: - - name: dpm-storage-management - description: The DPM storage management approach in which FCP and FICON storage - resources are defined in Storage Groups, which are attached to Partitions. - state: false - ec-mcl-description: - action: - - pending: false - type: channel-config - activation: current - - pending: false - type: coupling-facility-reactivation - activation: current - - pending: false - type: power-on-reset-tracking - activation: current - - pending: false - type: zhybrid-blades-activation - activation: current - - pending: false - type: channel-config - activation: next - - pending: false - type: coupling-facility-reactivation - activation: next - - pending: false - type: power-on-reset-tracking - activation: next - - pending: false - type: zhybrid-blades-activation - activation: next - ec: - - number: P41414 - part-number: 01LL001 - mcl: - - level: '373' - type: retrieved - last-update: 1650509077817 - - level: '373' - type: activated - last-update: 1650531050817 - - level: '364' - type: accepted - last-update: 1649742886817 - - level: '373' - type: installable-concurrent - last-update: 943916400817 - - level: '365' - type: removable-concurrent - last-update: 943916400817 - description: SE Framework - type: Base EC - - number: P41415 - part-number: 01LL002 - mcl: - - level: '000' - type: retrieved - last-update: null - - level: '000' - type: activated - last-update: null - - level: '000' - type: accepted - last-update: null - - level: '000' - type: installable-concurrent - last-update: null - - level: '000' - type: removable-concurrent - last-update: null - description: Concurrent Upgrade Sync Point - type: Other Optional EC - network1-ipv6-info: - - prefix: 64 - pri-ip-address: fe80::210:6fff:fe0d:81cb%eth0 - type: link-local - alt-ip-address: fe80::210:6fff:fe0d:820b%eth0 - - lpars: - - properties: - object-id: lpar1 - name: "LPAR1" - partition-number: 0x41 - partition-identifier: 0x41 - status: "operating" - activation-mode: "linux" - next-activation-profile-name: "LPAR1" - last-used-activation-profile: "LPAR1" - - properties: - object-id: lpar2 - name: "LPAR2" - partition-number: 0x42 - partition-identifier: 0x42 - status: "not-activated" - activation-mode: "not-set" - next-activation-profile-name: "LPAR2" - last-used-activation-profile: "LPAR2" - - reset_activation_profiles: - - properties: - name: "CPC1" - iocds-name: "ABC" - - load_activation_profiles: - - properties: - name: "STANDARDLOAD" - ipl-type: "ipltype-standard" - ipl-address: "189AB" - - properties: - name: "SCSILOAD" - ipl-type: "ipltype-scsi" - worldwide-port-name: "1234" - logical-unit-number: "1234" - boot-record-lba: "1234" - disk-partition-id: 0 - - image_activation_profiles: - - properties: - name: "LPAR1" - # TODO: Add more properties - - properties: - name: "LPAR2" - # TODO: Add more properties