code: def get_facts(self):
          
          commands = []
          commands.append('show version')
          commands.append('show hostname')
          commands.append('show interfaces')
  
          result = self.device.run_commands(commands)
  
          version = result[0]
          hostname = result[1]
          interfaces_dict = result[2]['interfaces']
  
          uptime = time.time() - version['bootupTimestamp']
  
          interfaces = [i for i in interfaces_dict.keys() if '.' not in i]
          interfaces = string_parsers.sorted_nicely(interfaces)
  
          return {
              'hostname': hostname['hostname'],
              'fqdn': hostname['fqdn'],
              'vendor': u'Arista',
              'model': version['modelName'],
              'serial_number': version['serialNumber'],
              'os_version': version['internalVersion'],
              'uptime': int(uptime),
              'interface_list': interfaces,
          }
docs: Implementation of NAPALM method get_facts.