import type { Machine } from '../types';

export const mockMachines: Machine[] = [
  {
    id: '00000000-0000-0000-0000-000000000001',
    name: 'EP-SN-01',
    status: 'running',
    os: 'Ubuntu 22.04 LTS',
    ip: '192.168.200.2',
    hypervisor: 'VMware ESXi',
    specs: {
      cpu: 'Intel Core i7-9700K',
      ram: '16 GB',
      disk: '512 GB SSD'
    },
    testLinks: [
      { name: 'RDP Connection', url: 'ssh://192.168.200.3:22' },
      { name: 'Web Server', url: 'http://192.168.200.3:8080' },
      { name: 'Admin Panel', url: 'http://192.168.200.3:8081/admin' }
    ],
    logs: [
      {
        timestamp: new Date().toISOString(),
        level: 'info',
        message: 'Machine started successfully'
      },
      {
        timestamp: new Date(Date.now() - 300000).toISOString(),
        level: 'info',
        message: 'RDP service is running'
      }
    ]
  },
  {
    id: '00000000-0000-0000-0000-000000000002',
    name: 'EP-Test-01',
    status: 'running',
    os: 'Ubuntu 22.04 LTS',
    ip: import.meta.env.VITE_DEV_HOST || '192.168.200.10',
    hypervisor: 'KVM',
    specs: {
      cpu: 'AMD Ryzen 7 5700G',
      ram: '8 GB',
      disk: '256 GB SSD'
    },
    testLinks: [
      { name: 'SSH Connection', url: `ssh://${import.meta.env.VITE_DEV_HOST || '192.168.200.10'}:22` },
      { name: 'Web Server', url: `http://${import.meta.env.VITE_DEV_HOST || '192.168.200.10'}:80` },
      { name: 'SFTP', url: `sftp://${import.meta.env.VITE_DEV_HOST || '192.168.200.10'}:22` }
    ],
    logs: [
      {
        timestamp: new Date().toISOString(),
        level: 'info',
        message: 'SSH service is running'
      },
      {
        timestamp: new Date(Date.now() - 600000).toISOString(),
        level: 'info',
        message: 'System update completed'
      }
    ]
  },
  {
    id: '00000000-0000-0000-0000-000000000003',
    name: 'VNC Desktop',
    status: 'running',
    os: 'CentOS 8',
    ip: '192.168.1.100',
    hypervisor: 'VMware vSphere',
    specs: {
      cpu: 'Intel Xeon E5-2680',
      ram: '12 GB',
      disk: '1 TB HDD'
    },
    testLinks: [
      { name: 'VNC Connection', url: 'vnc://192.168.1.100:5901' },
      { name: 'Desktop Environment', url: 'http://192.168.1.100:6080' }
    ],
    logs: [
      {
        timestamp: new Date().toISOString(),
        level: 'info',
        message: 'VNC server started'
      },
      {
        timestamp: new Date(Date.now() - 900000).toISOString(),
        level: 'warn',
        message: 'High CPU usage detected'
      }
    ]
  },
  {
    id: '00000000-0000-0000-0000-000000000004',
    name: 'Local Test Machine',
    status: 'running',
    os: 'Windows 11 Pro',
    ip: '127.0.0.1',
    hypervisor: 'Local',
    specs: {
      cpu: 'Intel Core i5-12400',
      ram: '16 GB',
      disk: '512 GB NVMe'
    },
    testLinks: [
      { name: 'Local RDP', url: 'rdp://127.0.0.1:3389' },
      { name: 'Localhost Web', url: 'http://127.0.0.1:8080' }
    ],
    logs: [
      {
        timestamp: new Date().toISOString(),
        level: 'info',
        message: 'Local machine ready for testing'
      }
    ]
  }
]; 