From c8e930a9527bb7cab2b646d55f11fe23e15ae18a Mon Sep 17 00:00:00 2001 From: adosztal Date: Mon, 18 Jan 2016 12:32:45 +0100 Subject: [PATCH 01/11] Added FortiGate appliance --- appliances/fortigate.gns3a | 71 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 appliances/fortigate.gns3a diff --git a/appliances/fortigate.gns3a b/appliances/fortigate.gns3a new file mode 100644 index 0000000..66deeed --- /dev/null +++ b/appliances/fortigate.gns3a @@ -0,0 +1,71 @@ +{ + "name": "VyOS", + "category": "router", + "description": "VyOS is a community fork of Vyatta, a Linux-based network operating system that provides software-based network routing, firewall, and VPN functionality.", + "vendor_name": "Linux", + "vendor_url": "http://vyos.net/", + "documentation_url": "http://vyos.net/wiki/User_Guide", + "product_name": "VyOS", + "product_url": "http://vyos.net/", + "registry_version": 1, + "status": "stable", + "maintainer": "GNS3 Team", + "maintainer_email": "developers@gns3.net", + "usage": "Default username/password is vyos/vyos. At first boot the router will start from the cdrom, login and then type install system and follow the instructions. Finally type poweroff and activate the linked base setting in your VM template in the GNS3 preferences.", + "port_name_format": "eth{0}", + "linked_base": false, + + "qemu": { + "adapter_type": "e1000", + "adapters": 3, + "console_type": "telnet", + "ram": 512, + "arch": "x86_64", + "boot_priority": "dc" + }, + + "images": [ + { + "filename": "vyos-1.1.6-amd64.iso", + "version": "1.1.6", + "md5sum": "3128954d026e567402a924c2424ce2bf", + "filesize": 245366784, + "download_url": "http://mirror.vyos.net/iso/release/1.1.6/", + "direct_download_url": "http://mirror.vyos.net/iso/release/1.1.6/vyos-1.1.6-amd64.iso" + }, + { + "filename": "vyos-1.1.5-amd64.iso", + "version": "1.1.5", + "md5sum": "193179532011ceaa87ee725bd8f22022", + "filesize": 247463936, + "download_url": "http://mirror.vyos.net/iso/release/1.1.5/", + "direct_download_url": "http://mirror.vyos.net/iso/release/1.1.5/vyos-1.1.5-amd64.iso" + }, + { + "filename": "empty8G.qcow2", + "version": "1.0", + "md5sum": "f1d2c25b6990f99bd05b433ab603bdb4", + "filesize": 197120, + "download_url": "https://sourceforge.net/projects/gns-3/files/Empty%20Qemu%20disk/", + "direct_download_url": "http://downloads.sourceforge.net/project/gns-3/Empty Qemu disk/empty8G.qcow2" + } + + ], + + "versions": [ + { + "name": "1.1.6", + "images": { + "cdrom_image": "vyos-1.1.6-amd64.iso", + "hda_disk_image": "empty8G.qcow2" + } + }, + { + "name": "1.1.5", + "images": { + "cdrom_image": "vyos-1.1.5-amd64.iso", + "hda_disk_image": "empty8G.qcow2" + } + } + ] +} From 52086de4da164c84de8250ea00124ba01bb7c5a3 Mon Sep 17 00:00:00 2001 From: adosztal Date: Mon, 18 Jan 2016 12:37:23 +0100 Subject: [PATCH 02/11] Updated fortigate.gns3a --- appliances/fortigate.gns3a | 71 ++++++++++++++++---------------------- 1 file changed, 29 insertions(+), 42 deletions(-) diff --git a/appliances/fortigate.gns3a b/appliances/fortigate.gns3a index 66deeed..c8330ac 100644 --- a/appliances/fortigate.gns3a +++ b/appliances/fortigate.gns3a @@ -1,71 +1,58 @@ { - "name": "VyOS", - "category": "router", - "description": "VyOS is a community fork of Vyatta, a Linux-based network operating system that provides software-based network routing, firewall, and VPN functionality.", - "vendor_name": "Linux", - "vendor_url": "http://vyos.net/", - "documentation_url": "http://vyos.net/wiki/User_Guide", - "product_name": "VyOS", - "product_url": "http://vyos.net/", + "name": "FortiGate", + "category": "firewall", + "description": "FortiGate Virtual Appliance offers the same level of advanced threat prevention features like the physical appliances in private, hybrid and public cloud deployment.", + "vendor_name": "Fortinet", + "vendor_url": "http://www.fortinet.com/", + "documentation_url": "http://docs.fortinet.com/p/inside-fortios", + "product_name": "FortiGate", + "product_url": "http://www.fortinet.com/products/fortigate/virtual-appliances.html", "registry_version": 1, "status": "stable", "maintainer": "GNS3 Team", "maintainer_email": "developers@gns3.net", - "usage": "Default username/password is vyos/vyos. At first boot the router will start from the cdrom, login and then type install system and follow the instructions. Finally type poweroff and activate the linked base setting in your VM template in the GNS3 preferences.", - "port_name_format": "eth{0}", + "usage": "Default username is admin, no password is set.", + "port_name_format": "port{0}", "linked_base": false, "qemu": { - "adapter_type": "e1000", - "adapters": 3, + "adapter_type": "virtio-net-pci", + "hda_disk_interface": "virtio", + "hdb_disk_interface": "virtio", + "adapters": 10, "console_type": "telnet", - "ram": 512, + "ram": 1024, "arch": "x86_64", - "boot_priority": "dc" + "boot_priority": "hdd" }, "images": [ { - "filename": "vyos-1.1.6-amd64.iso", - "version": "1.1.6", - "md5sum": "3128954d026e567402a924c2424ce2bf", - "filesize": 245366784, - "download_url": "http://mirror.vyos.net/iso/release/1.1.6/", - "direct_download_url": "http://mirror.vyos.net/iso/release/1.1.6/vyos-1.1.6-amd64.iso" + "filename": "fortios.qcow2", + "version": "5.2.5", + "md5sum": "c4d2cbe51669796e48623e006782f7dc", + "filesize": 33902592, + "download_url": "https://support.fortinet.com/Download/FirmwareImages.aspx", + "direct_download_url": "https://support.fortinet.com/Download/FirmwareImages.aspx" }, - { - "filename": "vyos-1.1.5-amd64.iso", - "version": "1.1.5", - "md5sum": "193179532011ceaa87ee725bd8f22022", - "filesize": 247463936, - "download_url": "http://mirror.vyos.net/iso/release/1.1.5/", - "direct_download_url": "http://mirror.vyos.net/iso/release/1.1.5/vyos-1.1.5-amd64.iso" - }, - { - "filename": "empty8G.qcow2", + { + "filename": "empty30G.qcow2", "version": "1.0", - "md5sum": "f1d2c25b6990f99bd05b433ab603bdb4", + "md5sum": "3411a599e822f2ac6be560a26405821a", "filesize": 197120, "download_url": "https://sourceforge.net/projects/gns-3/files/Empty%20Qemu%20disk/", - "direct_download_url": "http://downloads.sourceforge.net/project/gns-3/Empty Qemu disk/empty8G.qcow2" + "direct_download_url": "http://downloads.sourceforge.net/project/gns-3/Empty Qemu disk/empty30G.qcow2" } ], "versions": [ { - "name": "1.1.6", + "name": "5.2.5", "images": { - "cdrom_image": "vyos-1.1.6-amd64.iso", - "hda_disk_image": "empty8G.qcow2" + "hda_disk_image": "fortios.qcow2" + "hdb_disk_image": "empty30G.qcow2" } }, - { - "name": "1.1.5", - "images": { - "cdrom_image": "vyos-1.1.5-amd64.iso", - "hda_disk_image": "empty8G.qcow2" - } - } ] } From 17524d14f01e3116d9cf9885e8f586dc55b6ec3d Mon Sep 17 00:00:00 2001 From: adosztal Date: Mon, 18 Jan 2016 14:18:37 +0100 Subject: [PATCH 03/11] Changed image name, fixed R54C17, removed direct download --- appliances/fortigate.gns3a | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/appliances/fortigate.gns3a b/appliances/fortigate.gns3a index c8330ac..d4ad961 100644 --- a/appliances/fortigate.gns3a +++ b/appliances/fortigate.gns3a @@ -28,12 +28,11 @@ "images": [ { - "filename": "fortios.qcow2", + "filename": "FGT_VM64_KVM-v5-build0701-FORTINET.out.kvm.qcow2", "version": "5.2.5", "md5sum": "c4d2cbe51669796e48623e006782f7dc", "filesize": 33902592, "download_url": "https://support.fortinet.com/Download/FirmwareImages.aspx", - "direct_download_url": "https://support.fortinet.com/Download/FirmwareImages.aspx" }, { "filename": "empty30G.qcow2", @@ -41,7 +40,6 @@ "md5sum": "3411a599e822f2ac6be560a26405821a", "filesize": 197120, "download_url": "https://sourceforge.net/projects/gns-3/files/Empty%20Qemu%20disk/", - "direct_download_url": "http://downloads.sourceforge.net/project/gns-3/Empty Qemu disk/empty30G.qcow2" } ], @@ -50,7 +48,7 @@ { "name": "5.2.5", "images": { - "hda_disk_image": "fortios.qcow2" + "hda_disk_image": "fortios.qcow2", "hdb_disk_image": "empty30G.qcow2" } }, From a81c11ddb9b0e7a7c1cd6e374149ba5c2e495c60 Mon Sep 17 00:00:00 2001 From: adosztal Date: Mon, 18 Jan 2016 14:20:42 +0100 Subject: [PATCH 04/11] Replaced tabs with spaces --- appliances/fortigate.gns3a | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/appliances/fortigate.gns3a b/appliances/fortigate.gns3a index d4ad961..28a86a1 100644 --- a/appliances/fortigate.gns3a +++ b/appliances/fortigate.gns3a @@ -17,8 +17,8 @@ "qemu": { "adapter_type": "virtio-net-pci", - "hda_disk_interface": "virtio", - "hdb_disk_interface": "virtio", + "hda_disk_interface": "virtio", + "hdb_disk_interface": "virtio", "adapters": 10, "console_type": "telnet", "ram": 1024, @@ -34,7 +34,7 @@ "filesize": 33902592, "download_url": "https://support.fortinet.com/Download/FirmwareImages.aspx", }, - { + { "filename": "empty30G.qcow2", "version": "1.0", "md5sum": "3411a599e822f2ac6be560a26405821a", From afe6b5a979cc3cc986256da772855c83a7bae92d Mon Sep 17 00:00:00 2001 From: adosztal Date: Mon, 18 Jan 2016 14:32:16 +0100 Subject: [PATCH 05/11] Fixed syntax error --- appliances/fortigate.gns3a | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appliances/fortigate.gns3a b/appliances/fortigate.gns3a index 28a86a1..5306784 100644 --- a/appliances/fortigate.gns3a +++ b/appliances/fortigate.gns3a @@ -32,14 +32,14 @@ "version": "5.2.5", "md5sum": "c4d2cbe51669796e48623e006782f7dc", "filesize": 33902592, - "download_url": "https://support.fortinet.com/Download/FirmwareImages.aspx", + "download_url": "https://support.fortinet.com/Download/FirmwareImages.aspx" }, { "filename": "empty30G.qcow2", "version": "1.0", "md5sum": "3411a599e822f2ac6be560a26405821a", "filesize": 197120, - "download_url": "https://sourceforge.net/projects/gns-3/files/Empty%20Qemu%20disk/", + "download_url": "https://sourceforge.net/projects/gns-3/files/Empty%20Qemu%20disk/" } ], From 9c7795d46350befc77fe16476207f6b40ee93f70 Mon Sep 17 00:00:00 2001 From: adosztal Date: Mon, 18 Jan 2016 14:35:07 +0100 Subject: [PATCH 06/11] One more syntax error --- appliances/fortigate.gns3a | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appliances/fortigate.gns3a b/appliances/fortigate.gns3a index 5306784..2e05efb 100644 --- a/appliances/fortigate.gns3a +++ b/appliances/fortigate.gns3a @@ -51,6 +51,6 @@ "hda_disk_image": "fortios.qcow2", "hdb_disk_image": "empty30G.qcow2" } - }, + } ] } From bb32b77415f0701f1fae7d76170916c48498cd3b Mon Sep 17 00:00:00 2001 From: adosztal Date: Mon, 18 Jan 2016 14:54:50 +0100 Subject: [PATCH 07/11] Port name change --- appliances/fortigate.gns3a | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appliances/fortigate.gns3a b/appliances/fortigate.gns3a index 2e05efb..145fc07 100644 --- a/appliances/fortigate.gns3a +++ b/appliances/fortigate.gns3a @@ -12,7 +12,7 @@ "maintainer": "GNS3 Team", "maintainer_email": "developers@gns3.net", "usage": "Default username is admin, no password is set.", - "port_name_format": "port{0}", + "port_name_format": "Port{port1}", "linked_base": false, "qemu": { From 3bff0392ab56ed6f5c20763d8d0b701d382c8a00 Mon Sep 17 00:00:00 2001 From: adosztal Date: Mon, 18 Jan 2016 15:22:08 +0100 Subject: [PATCH 08/11] Added 'kvm: allow' to qemu block --- appliances/fortigate.gns3a | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/appliances/fortigate.gns3a b/appliances/fortigate.gns3a index 145fc07..905146e 100644 --- a/appliances/fortigate.gns3a +++ b/appliances/fortigate.gns3a @@ -23,7 +23,8 @@ "console_type": "telnet", "ram": 1024, "arch": "x86_64", - "boot_priority": "hdd" + "boot_priority": "hdd", + "kvm": "allow" }, "images": [ From 80e8e9653459d25d09a82a0632ecacb33ec73df4 Mon Sep 17 00:00:00 2001 From: adosztal Date: Mon, 18 Jan 2016 15:30:36 +0100 Subject: [PATCH 09/11] Fixed filename reference for hda --- appliances/fortigate.gns3a | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appliances/fortigate.gns3a b/appliances/fortigate.gns3a index 905146e..47a499c 100644 --- a/appliances/fortigate.gns3a +++ b/appliances/fortigate.gns3a @@ -49,7 +49,7 @@ { "name": "5.2.5", "images": { - "hda_disk_image": "fortios.qcow2", + "hda_disk_image": "FGT_VM64_KVM-v5-build0701-FORTINET.out.kvm.qcow2", "hdb_disk_image": "empty30G.qcow2" } } From fe512aa97362eb9bab7f6bfcf2cdc982a06b6a2c Mon Sep 17 00:00:00 2001 From: adosztal Date: Mon, 18 Jan 2016 16:16:06 +0100 Subject: [PATCH 10/11] Fixed qemu boot priority --- appliances/fortigate.gns3a | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appliances/fortigate.gns3a b/appliances/fortigate.gns3a index 47a499c..7092d3a 100644 --- a/appliances/fortigate.gns3a +++ b/appliances/fortigate.gns3a @@ -23,8 +23,8 @@ "console_type": "telnet", "ram": 1024, "arch": "x86_64", - "boot_priority": "hdd", - "kvm": "allow" + "boot_priority": "c", + "kvm": "allow" }, "images": [ From c6044c9f268a623d6235ec6a13b9382f69965720 Mon Sep 17 00:00:00 2001 From: adosztal Date: Mon, 18 Jan 2016 16:44:32 +0100 Subject: [PATCH 11/11] Put back direct download url for empty 30G disk --- appliances/fortigate.gns3a | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/appliances/fortigate.gns3a b/appliances/fortigate.gns3a index 7092d3a..c409026 100644 --- a/appliances/fortigate.gns3a +++ b/appliances/fortigate.gns3a @@ -40,7 +40,8 @@ "version": "1.0", "md5sum": "3411a599e822f2ac6be560a26405821a", "filesize": 197120, - "download_url": "https://sourceforge.net/projects/gns-3/files/Empty%20Qemu%20disk/" + "download_url": "https://sourceforge.net/projects/gns-3/files/Empty%20Qemu%20disk/", + "direct_download_url": "http://sourceforge.net/projects/gns-3/files/Empty%20Qemu%20disk/empty30G.qcow2/download" } ],