code: def ports(self):
          
          # We do here some lazy loading.
          if not self._ports:
              family = self.get_property('adapter-family')
              try:
                  port_type = self.port_type_by_family[family]
              except KeyError:
                  port_type = None
              self._ports = PortManager(self, port_type)
          return self._ports
docs: :class:`~zhmcclient.PortManager`: Access to the :term:`Ports <Port>` of
          this Adapter.