code: def get_max_network_adapters_of_type(self, chipset, type_p):
          
          if not isinstance(chipset, ChipsetType):
              raise TypeError("chipset can only be an instance of type ChipsetType")
          if not isinstance(type_p, NetworkAttachmentType):
              raise TypeError("type_p can only be an instance of type NetworkAttachmentType")
          max_network_adapters = self._call("getMaxNetworkAdaptersOfType",
                       in_p=[chipset, type_p])
          return max_network_adapters
docs: Maximum number of network adapters of a given attachment type,
          associated with every :py:class:`IMachine`  instance.
  
          in chipset of type :class:`ChipsetType`
              The chipset type to get the value for.
  
          in type_p of type :class:`NetworkAttachmentType`
              Type of attachment.
  
          return max_network_adapters of type int
              The maximum number of network adapters allowed for
              particular chipset and attachment type.