docs: def _get_pci_devices(self):
          """Gets the PCI devices.
  
          :returns: PCI devices list if the pci resource exist.
          :raises: IloCommandNotSupportedError if the PCI resource
              doesn't exist.
          :raises: IloError, on an error from iLO.
          """
  
          system = self._get_host_details()
          if ('links' in system['Oem']['Hp'] and
                  'PCIDevices' in system['Oem']['Hp']['links']):
              # Get the PCI URI and Settings
              pci_uri = system['Oem']['Hp']['links']['PCIDevices']['href']
              status, headers, pci_device_list = self._rest_get(pci_uri)
  
              if status >= 300:
                  msg = self._get_extended_error(pci_device_list)
                  raise exception.IloError(msg)
  
              return pci_device_list
  
          else:
              msg = ('links/PCIDevices section in ComputerSystem/Oem/Hp'
                     ' does not exist')
              raise exception.IloCommandNotSupportedError(msg)