def vb_get_max_network_slots():
 sysprops = vb_get_box().systemProperties
 totals = [sysprops.getMaxNetworkAdapters(adapter_type) for adapter_type in [1, 2]]
 return sum(totals)

def vb_get_max_network_slots ( ) : sysprops = vb_get_box ( ) . systemProperties totals = [ sysprops . getMaxNetworkAdapters ( adapter_type ) for adapter_type in [ 1 , 2 ] ] return sum ( totals )
max number of slots any machine can have @return: @rtype: number .