code: def vb_get_max_network_slots():
      '''
      Max number of slots any machine can have
      @return:
      @rtype: number
      '''
      sysprops = vb_get_box().systemProperties
      totals = [
          sysprops.getMaxNetworkAdapters(adapter_type)
          for adapter_type in [
              1,  # PIIX3 A PIIX3 (PCI IDE ISA Xcelerator) chipset.
              2  # ICH9 A ICH9 (I/O Controller Hub) chipset
          ]
          ]
      return sum(totalsf vb_get_max_network_slots():
      '''
      Max number of slots any machine can have
      @return:
      @rtype: number
      '''
      sysprops = vb_get_box().systemProperties
      totals = [
          sysprops.getMaxNetworkAdapters(adapter_type)
          for adapter_type in [
              1,  # PIIX3 A PIIX3 (PCI IDE ISA Xcelerator) chipset.
              2  # ICH9 A ICH9 (I/O Controller Hub) chipset
          ]
          ]
      return sum(totals)
docs: Max number of slots any machine can have
      @return:
      @rtype: number