()
return mac_addresses
Retrieves the MAC addresses of all *built-in* interfaces.

  Returns:
    List of: uppercase string of MAC address without ':'
Retrieves the MAC addresses of all *built-in* interfaces.
Retrieves the MAC addresses of all * built - in * interfaces .
def GetMacAddresses():
  """Retrieves the MAC addresses of all *built-in* interfaces.

  Returns:
    List of: uppercase string of MAC address without ':'
  """
  mac_addresses = []
  for interface in GetDot1xInterfaces():
    cur_mac = interface['mac']
    if cur_mac:
      mac_addresses.append(cur_mac.replace(':', '').upper())
  return mac_addresses
def GetMacAddresses ( ) : mac_addresses = [ ] for interface in GetDot1xInterfaces ( ) : cur_mac = interface [ 'mac' ] if cur_mac : mac_addresses . append ( cur_mac . replace ( ':' , '' ) . upper ( ) ) return mac_addresses