()
return interfaces
Retrieves attributes of all dot1x compatible interfaces.

  Returns:
    Array of dict or empty array
Retrieves attributes of all dot1x compatible interfaces.
Retrieves attributes of all dot1x compatible interfaces .
def GetDot1xInterfaces():
  """Retrieves attributes of all dot1x compatible interfaces.

  Returns:
    Array of dict or empty array
  """
  interfaces = []
  for interface in GetNetworkInterfaces():
    if interface['type'] == 'IEEE80211' or interface['type'] == 'Ethernet':
      if (interface['builtin'] and
          'AppleThunderboltIPPort' not in interface['bus']):
        interfaces.append(interface)
  return interfaces
def GetDot1xInterfaces ( ) : interfaces = [ ] for interface in GetNetworkInterfaces ( ) : if interface [ 'type' ] == 'IEEE80211' or interface [ 'type' ] == 'Ethernet' : if ( interface [ 'builtin' ] and 'AppleThunderboltIPPort' not in interface [ 'bus' ] ) : interfaces . append ( interface ) return interfaces