Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit tests for properties that can be set to null #428

Open
andy-maier opened this issue Sep 11, 2017 · 1 comment
Open

Unit tests for properties that can be set to null #428

andy-maier opened this issue Sep 11, 2017 · 1 comment

Comments

@andy-maier
Copy link
Member

andy-maier commented Sep 11, 2017

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 Properties" operation.

  • Partition object:
    • partition-id
    • boot-network-device
    • boot-ftp-host
    • boot-ftp-username
    • boot-ftp-password
    • boot-ftp-insfile
    • boot-removable-media
    • boot-removable-media-type
    • boot-storage-device
    • boot-logical-unit-number
    • boot-world-wide-port-name
    • boot-iso-image-name
    • boot-iso-ins-file
    • crypto-configuration (read-only, set to null via "Decrease Crypto Adapter Configuration" operation)
    • ssc-ipv4-gateway
    • ssc-ipv6-gateway
    • ssc-master-userid
    • ssc-master-pw
  • NIC element:
    • vlan-id
    • vlan-type (new with z14)
  • Logical Partition object:
    • ssc-network-info subfields (before z14)
      • vlan-id
      • static-ip-info
    • ssc-gateway-info (before z14)
    • zaware-gateway-info
  • Image Activation Profile object:
    • ssc-network-info subfields (new with z14)
      • vlan-id
      • static-ip-info
    • group-profile-uri
    • zaware-gateway-info (new with z14)
  • User object:
    • userid-on-ldap-server
    • default-group-uri
  • User Role object:
    • associated-system-defined-user-role-uri
  • User Pattern object:
    • ldap-server-definition-uri
    • template-name-override
    • domain-name-restrictions
  • LDAP Server Definition object:
    • connection-port
    • backup-hostname-ipaddr
    • bind-distinguished-name
    • bind-password
@andy-maier
Copy link
Member Author

andy-maier commented Sep 11, 2017

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

@andy-maier andy-maier added this to the 0.17.0 milestone Sep 11, 2017
@andy-maier andy-maier modified the milestones: 0.17.0, 0.19.0 Sep 21, 2017
@andy-maier andy-maier modified the milestones: 0.19.0, 0.20.0 Mar 16, 2018
@andy-maier andy-maier modified the milestones: 0.20.0, 0.21.0 Oct 24, 2018
@andy-maier andy-maier modified the milestones: 0.21.0, 0.23.0 Jan 7, 2019
@andy-maier andy-maier modified the milestones: 0.23.0, 0.24.0 Apr 4, 2019
@andy-maier andy-maier modified the milestones: 0.24.0, 0.25.0 Aug 15, 2019
@andy-maier andy-maier removed this from the 0.25.0 milestone Dec 18, 2019
@andy-maier andy-maier removed their assignment Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant