python-zhmcclient
python-zhmcclient copied to clipboard
Unit tests for properties that can be set to null
Make sure that properties that can be set to null at the zhmcclient API have corresponding unit tests.
As of z14 (2.14.0) and for the currently supported HMC operations in the zhmcclient (2.16.1.dev18 + PR #398), the following properties (or sub-fields thereof) can be set to null.
Unless otherwise stated, the property is set to null using the "Update <Resource> Properties" operation.
- Partition object:
partition-idboot-network-deviceboot-ftp-hostboot-ftp-usernameboot-ftp-passwordboot-ftp-insfileboot-removable-mediaboot-removable-media-typeboot-storage-deviceboot-logical-unit-numberboot-world-wide-port-nameboot-iso-image-nameboot-iso-ins-filecrypto-configuration(read-only, set to null via "Decrease Crypto Adapter Configuration" operation)ssc-ipv4-gatewayssc-ipv6-gatewayssc-master-useridssc-master-pw
- NIC element:
vlan-idvlan-type(new with z14)
- Logical Partition object:
ssc-network-infosubfields (before z14)vlan-idstatic-ip-info
ssc-gateway-info(before z14)zaware-gateway-info
- Image Activation Profile object:
ssc-network-infosubfields (new with z14)vlan-idstatic-ip-info
group-profile-urizaware-gateway-info(new with z14)
- User object:
userid-on-ldap-serverdefault-group-uri
- User Role object:
associated-system-defined-user-role-uri
- User Pattern object:
ldap-server-definition-uritemplate-name-overridedomain-name-restrictions
- LDAP Server Definition object:
connection-portbackup-hostname-ipaddrbind-distinguished-namebind-password
Implementation status:
- Partition object: DONE in PR #xxxx
- NIC element: DEFERRED, depends on migration to pytest
- Logical Partition object: DEFERRED, depends on migration to pytest
- Image Activation Profile object: DONE in PR #xxxx
- User object: DEFERRED, depends on migration to pytest
- User Role object: DEFERRED, depends on migration to pytest
- User Pattern object: DEFERRED, depends on migration to pytest
- LDAP Server Definition object: DEFERRED, depends on migration to pytest
- zhmcclient mock support: DEFERRED, depends on migration to pytest