code: def add_candidate_adapter_ports(self, ports):
          
          body = {
              'adapter-port-uris': [p.uri for p in ports],
          }
          self.manager.session.post(
              self.uri + '/operations/add-candidate-adapter-ports',
              body=body)
docs: Add a list of storage adapter ports to this storage group's candidate
          adapter ports list.
  
          This operation only applies to storage groups of type "fcp".
  
          These adapter ports become candidates for use as backing adapters when
          creating virtual storage resources when the storage group is attached
          to a partition. The adapter ports should have connectivity to the
          storage area network (SAN).
  
          Candidate adapter ports may only be added before the CPC discovers a
          working communications path, indicated by a "verified" status on at
          least one of this storage group's WWPNs. After that point, all
          adapter ports in the storage group are automatically detected and
          manually adding them is no longer possible.
  
          Because the CPC discovers working communications paths automatically,
          candidate adapter ports do not need to be added by the user. Any
          ports that are added, are validated by the CPC during discovery,
          and may or may not actually be used.
  
          Authorization requirements:
  
          * Object-access permission to this storage group.
          * Object-access permission to the adapter of each specified port.
          * Task permission to the "Configure Storage - System Programmer" task.
  
          Parameters:
  
            ports (:class:`py:list`): List of :class:`~zhmcclient.Port` objects
              representing the ports to be added. All specified ports must not
              already be members of this storage group's candidate adapter ports
              list.
  
          Raises:
  
            :exc:`~zhmcclient.HTTPError`
            :exc:`~zhmcclient.ParseError`
            :exc:`~zhmcclient.AuthError`
            :exc:`~zhmcclient.ConnectionError`