{
 "app": "simulateur-reseau",
 "v": 1,
 "opts": {
  "strictCables": false,
  "stpFast": true
 },
 "devices": [
  {
   "id": "D1",
   "type": "switch",
   "model": "sw-8p",
   "name": "SW1",
   "x": 400,
   "y": 130,
   "powered": true,
   "cli": "!\nhostname SW1\n!\nline con 0\n logging synchronous\nline vty 0 4\n!",
   "label": ""
  },
  {
   "id": "D2",
   "type": "pc",
   "model": "pc-win",
   "name": "PC1",
   "x": 200,
   "y": 310,
   "powered": true,
   "ifaces": [
    {
     "name": "Ethernet0",
     "ip": "",
     "mask": "",
     "dhcp": false
    }
   ],
   "gw": "",
   "dns": [],
   "domain": "",
   "allowIcmpEcho": true,
   "wifi": {
    "ssid": "",
    "key": ""
   },
   "hosts": {},
   "dhcpd": {
    "enabled": false,
    "excluded": [],
    "pools": []
   },
   "dnsd": {
    "enabled": false,
    "records": [],
    "forwarders": []
   },
   "httpd": {
    "enabled": false,
    "https": false,
    "pages": {
     "/": {
      "type": "text/html; charset=utf-8",
      "body": "<html><head><title>PC1</title></head><body><h1>Bienvenue sur PC1</h1><p>Serveur web du simulateur.</p></body></html>"
     }
    }
   },
   "mgmt": {
    "comms": [],
    "location": "",
    "contact": "",
    "syslogd": false,
    "trapd": false
   },
   "v6": {
    "ifs": [
     {
      "name": "Ethernet0",
      "autoconf": true,
      "addrs": []
     }
    ],
    "statics": []
   },
   "label": ""
  },
  {
   "id": "D3",
   "type": "pc",
   "model": "pc-linux",
   "name": "PC2",
   "x": 400,
   "y": 330,
   "powered": true,
   "ifaces": [
    {
     "name": "ens33",
     "ip": "",
     "mask": "",
     "dhcp": false
    }
   ],
   "gw": "",
   "dns": [],
   "domain": "",
   "allowIcmpEcho": true,
   "wifi": {
    "ssid": "",
    "key": ""
   },
   "hosts": {},
   "dhcpd": {
    "enabled": false,
    "excluded": [],
    "pools": []
   },
   "dnsd": {
    "enabled": false,
    "records": [],
    "forwarders": []
   },
   "httpd": {
    "enabled": false,
    "https": false,
    "pages": {
     "/": {
      "type": "text/html; charset=utf-8",
      "body": "<html><head><title>PC2</title></head><body><h1>Bienvenue sur PC2</h1><p>Serveur web du simulateur.</p></body></html>"
     }
    }
   },
   "mgmt": {
    "comms": [],
    "location": "",
    "contact": "",
    "syslogd": false,
    "trapd": false
   },
   "v6": {
    "ifs": [
     {
      "name": "ens33",
      "autoconf": true,
      "addrs": []
     }
    ],
    "statics": []
   },
   "label": ""
  },
  {
   "id": "D4",
   "type": "pc",
   "model": "laptop",
   "name": "PC3",
   "x": 600,
   "y": 310,
   "powered": true,
   "ifaces": [
    {
     "name": "Ethernet0",
     "ip": "",
     "mask": "",
     "dhcp": false
    },
    {
     "name": "Wi-Fi",
     "ip": "",
     "mask": "",
     "dhcp": false
    }
   ],
   "gw": "",
   "dns": [],
   "domain": "",
   "allowIcmpEcho": true,
   "wifi": {
    "ssid": "",
    "key": ""
   },
   "hosts": {},
   "dhcpd": {
    "enabled": false,
    "excluded": [],
    "pools": []
   },
   "dnsd": {
    "enabled": false,
    "records": [],
    "forwarders": []
   },
   "httpd": {
    "enabled": false,
    "https": false,
    "pages": {
     "/": {
      "type": "text/html; charset=utf-8",
      "body": "<html><head><title>PC3</title></head><body><h1>Bienvenue sur PC3</h1><p>Serveur web du simulateur.</p></body></html>"
     }
    }
   },
   "mgmt": {
    "comms": [],
    "location": "",
    "contact": "",
    "syslogd": false,
    "trapd": false
   },
   "v6": {
    "ifs": [
     {
      "name": "Ethernet0",
      "autoconf": true,
      "addrs": []
     }
    ],
    "statics": []
   },
   "label": ""
  }
 ],
 "links": [
  {
   "a": [
    "D2",
    "Ethernet0"
   ],
   "b": [
    "D1",
    "Port1"
   ],
   "type": "straight"
  },
  {
   "a": [
    "D3",
    "ens33"
   ],
   "b": [
    "D1",
    "Port2"
   ],
   "type": "straight"
  },
  {
   "a": [
    "D4",
    "Ethernet0"
   ],
   "b": [
    "D1",
    "Port3"
   ],
   "type": "straight"
  }
 ],
 "notes": "S11 – Trois postes sur un switch, aucune adresse : plan d'adressage 192.168.1.0/24 à configurer et à tester."
}
