1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-24 17:28:08 +00:00

Merge branch '2.2'

This commit is contained in:
grossmj 2022-08-29 11:11:29 +02:00
commit eeae27ae0d
44 changed files with 335 additions and 78 deletions

View File

@ -2,9 +2,13 @@ name: testing
on: on:
push: push:
branches: [ master ] branches:
- master
- 2.2
pull_request: pull_request:
branches: [ master ] branches:
- master
- 2.2
jobs: jobs:
build: build:

View File

@ -1,5 +1,12 @@
# Change Log # Change Log
## 2.2.34 28/08/2022
* Use original $PATH in init.sh for Docker containers. Ref #2069
* Support pytest-asyncio 0.19.0
* Upgrade dev dependencies and fix issues after upgrading to pytest-aiohttp v1.0.4
* Update compute.py
## 2.2.33.1 21/06/2022 ## 2.2.33.1 21/06/2022
* Add missing file for web-ui v2.2.33 * Add missing file for web-ui v2.2.33

View File

@ -5,7 +5,7 @@ image: Visual Studio 2015
platform: x64 platform: x64
environment: environment:
PYTHON: "C:\\Python36-x64" PYTHON: "C:\\Python37-x64"
DISTUTILS_USE_SDK: "1" DISTUTILS_USE_SDK: "1"
API_TOKEN: API_TOKEN:
secure: VEKn4bYH3QO0ixtQW5ni4Enmn8cS1NlZV246ludBDgQ= secure: VEKn4bYH3QO0ixtQW5ni4Enmn8cS1NlZV246ludBDgQ=

View File

@ -1,6 +1,8 @@
-rrequirements.txt -rrequirements.txt
pytest==7.0.0 pytest==7.0.1; python_version < '3.7' # last version to support Python 3.6
flake8==4.0.1 pytest==7.1.2; python_version >= '3.7'
pytest-timeout==1.4.2 flake8==5.0.4
pytest-aiohttp==0.3.0 pytest-timeout==2.1.0
pytest-aiohttp==0.3.0; python_version < '3.7' # last version to support Python 3.6
pytest-aiohttp==1.0.4; python_version >= '3.7'

View File

@ -4,7 +4,7 @@
"category": "multilayer_switch", "category": "multilayer_switch",
"description": "The ArubaOS-CX Simulation Software is a virtual platform to enable simulation of the ArubaOS-CX Network Operating System. Simulated networks can be created using many of the protocols in the ArubaOS-CX Operating system like OSPF, BGP (inc. EVPN). Key features like the Aruba Network Analytics Engine and the REST API can be simulated, providing a lightweight development platform to building the modern network.", "description": "The ArubaOS-CX Simulation Software is a virtual platform to enable simulation of the ArubaOS-CX Network Operating System. Simulated networks can be created using many of the protocols in the ArubaOS-CX Operating system like OSPF, BGP (inc. EVPN). Key features like the Aruba Network Analytics Engine and the REST API can be simulated, providing a lightweight development platform to building the modern network.",
"vendor_name": "HPE Aruba", "vendor_name": "HPE Aruba",
"vendor_url": "arubanetworks.com", "vendor_url": "https://www.arubanetworks.com",
"product_name": "ArubaOS-CX Simulation Software", "product_name": "ArubaOS-CX Simulation Software",
"registry_version": 4, "registry_version": 4,
"status": "stable", "status": "stable",
@ -30,6 +30,13 @@
"process_priority": "normal" "process_priority": "normal"
}, },
"images": [ "images": [
{
"filename": "arubaoscx-disk-image-genericx86-p4-20220616193419.vmdk",
"version": "10.10.0002",
"md5sum": "ed031aeb6caf92adb408c7603d294fd4",
"filesize": 355858944,
"download_url": "https://asp.arubanetworks.com/"
},
{ {
"filename": "arubaoscx-disk-image-genericx86-p4-20220223012712.vmdk", "filename": "arubaoscx-disk-image-genericx86-p4-20220223012712.vmdk",
"version": "10.09.1000", "version": "10.09.1000",
@ -88,6 +95,12 @@
} }
], ],
"versions": [ "versions": [
{
"name": "10.10.0002",
"images": {
"hda_disk_image": "arubaoscx-disk-image-genericx86-p4-20220616193419.vmdk"
}
},
{ {
"name": "10.09.1000", "name": "10.09.1000",
"images": { "images": {

View File

@ -4,7 +4,7 @@
"category": "firewall", "category": "firewall",
"description": "Aruba Virtual Gateways allow customers to bring their public cloud infrastructure to the SD-WAN fabric and facilitate connectivity between branches and the public cloud.", "description": "Aruba Virtual Gateways allow customers to bring their public cloud infrastructure to the SD-WAN fabric and facilitate connectivity between branches and the public cloud.",
"vendor_name": "HPE Aruba", "vendor_name": "HPE Aruba",
"vendor_url": "arubanetworks.com", "vendor_url": "https://www.arubanetworks.com",
"documentation_url": "https://asp.arubanetworks.com/downloads;products=Aruba%20SD-WAN", "documentation_url": "https://asp.arubanetworks.com/downloads;products=Aruba%20SD-WAN",
"product_name": "Aruba SD-WAN Virtual Gateway", "product_name": "Aruba SD-WAN Virtual Gateway",
"product_url": "https://www.arubanetworks.com/products/networking/gateways-and-controllers/", "product_url": "https://www.arubanetworks.com/products/networking/gateways-and-controllers/",

View File

@ -4,7 +4,7 @@
"category": "guest", "category": "guest",
"description": "Aruba Virtual Mobility Controller", "description": "Aruba Virtual Mobility Controller",
"vendor_name": "HPE Aruba", "vendor_name": "HPE Aruba",
"vendor_url": "arubanetworks.com", "vendor_url": "https://www.arubanetworks.com",
"product_name": "Aruba VMC", "product_name": "Aruba VMC",
"registry_version": 4, "registry_version": 4,
"status": "stable", "status": "stable",

View File

@ -27,6 +27,13 @@
}, },
"images": [ "images": [
{ {
"filename": "asav9-16-2.qcow2",
"version": "9.16.2 CML",
"md5sum": "1f8db97063a7f738fddc81ac880a906c",
"filesize": 262078976,
"download_url": "https://learningnetworkstore.cisco.com/cisco-modeling-labs-personal/cisco-modeling-labs-personal/CML-PERSONAL.html"
},
{
"filename": "asav9-16-2.qcow2", "filename": "asav9-16-2.qcow2",
"version": "9.16.2", "version": "9.16.2",
"md5sum": "c3aa2b73b029146ec345bf888dd54eab", "md5sum": "c3aa2b73b029146ec345bf888dd54eab",
@ -112,6 +119,12 @@
} }
], ],
"versions": [ "versions": [
{
"name": "9.16.2 CML",
"images": {
"hda_disk_image": "asav9-16-2.qcow2"
}
},
{ {
"name": "9.16.2", "name": "9.16.2",
"images": { "images": {

View File

@ -24,6 +24,13 @@
"kvm": "require" "kvm": "require"
}, },
"images": [ "images": [
{
"filename": "c8000v-universalk9_8G_serial.17.06.01a.qcow2",
"version": "17.06.01a 8G",
"md5sum": "d8b8ae633d953ec1b6d8f18a09a4f4e7",
"filesize": 1595277312,
"download_url": "https://software.cisco.com/download/home/286327102/type/282046477/release/Bengaluru-17.6.1a"
},
{ {
"filename": "c8000v-universalk9_8G_serial.17.04.01a.qcow2", "filename": "c8000v-universalk9_8G_serial.17.04.01a.qcow2",
"version": "17.04.01a 8G", "version": "17.04.01a 8G",
@ -40,6 +47,12 @@
} }
], ],
"versions": [ "versions": [
{
"name": "17.06.01a 8G",
"images": {
"hda_disk_image": "c8000v-universalk9_8G_serial.17.06.01a.qcow2"
}
},
{ {
"name": "17.04.01a 8G", "name": "17.04.01a 8G",
"images": { "images": {

View File

@ -18,6 +18,12 @@
"startup_config": "iou_l3_base_startup-config.txt" "startup_config": "iou_l3_base_startup-config.txt"
}, },
"images": [ "images": [
{
"filename": "i86bi_LinuxL3-AdvEnterpriseK9-M2_157_3_May_2018.bin",
"version": "15.7(3)M2",
"md5sum": "d6874260c3daeeb96d10fc844ae0b93b",
"filesize": 184759244
},
{ {
"filename": "i86bi-linux-l3-adventerprisek9-ms.155-2.T.bin", "filename": "i86bi-linux-l3-adventerprisek9-ms.155-2.T.bin",
"version": "155-2T", "version": "155-2T",
@ -32,6 +38,12 @@
} }
], ],
"versions": [ "versions": [
{
"name": "15.7(3)M2",
"images": {
"image": "i86bi_LinuxL3-AdvEnterpriseK9-M2_157_3_May_2018.bin"
}
},
{ {
"name": "155-2T", "name": "155-2T",
"images": { "images": {

View File

@ -12,7 +12,7 @@
"status": "stable", "status": "stable",
"maintainer": "GNS3 Team", "maintainer": "GNS3 Team",
"maintainer_email": "developers@gns3.net", "maintainer_email": "developers@gns3.net",
"usage": "Default username is cumulus and password is CumulusLinux! in version 4.1 and earlier, and cumulus in version 4.2 and later.", "usage": "Default username/password is cumulus/CumulusLinux! in version 4.1 and earlier, and cumulus/cumulus in version 4.2 and later.",
"first_port_name": "eth0", "first_port_name": "eth0",
"port_name_format": "swp{port1}", "port_name_format": "swp{port1}",
"qemu": { "qemu": {
@ -25,6 +25,14 @@
"kvm": "require" "kvm": "require"
}, },
"images": [ "images": [
{
"filename": "cumulus-linux-5.1.0-vx-amd64-qemu.qcow2",
"version": "5.1.0",
"md5sum": "b46a68bbb57e77fab5c2927367bead13",
"filesize": 4174446592,
"download_url": "https://www.nvidia.com/en-us/networking/ethernet-switching/cumulus-vx/download/",
"direct_download_url": "https://d2cd9e7ca6hntp.cloudfront.net/public/CumulusLinux-5.1.0/cumulus-linux-5.1.0-vx-amd64-qemu.qcow2"
},
{ {
"filename": "cumulus-linux-4.3.0-vx-amd64-qemu.qcow2", "filename": "cumulus-linux-4.3.0-vx-amd64-qemu.qcow2",
"version": "4.3.0", "version": "4.3.0",
@ -231,6 +239,12 @@
} }
], ],
"versions": [ "versions": [
{
"name": "5.1.0",
"images": {
"hda_disk_image": "cumulus-linux-5.1.0-vx-amd64-qemu.qcow2"
}
},
{ {
"name": "4.3.0", "name": "4.3.0",
"images": { "images": {

View File

@ -24,12 +24,12 @@
}, },
"images": [ "images": [
{ {
"filename": "debian-11-genericcloud-amd64-20220328-962.qcow2", "filename": "debian-11-genericcloud-amd64-20220711-1073.qcow2",
"version": "11.3", "version": "11.4",
"md5sum": "7cf51e23747898485971a656ac2eb96d", "md5sum": "e8fadf4bbf7324a2e2875a5ba00588e7",
"filesize": 253296640, "filesize": 253231104,
"download_url": "https://cloud.debian.org/images/cloud/bullseye/", "download_url": "https://cloud.debian.org/images/cloud/bullseye/",
"direct_download_url": "https://cloud.debian.org/images/cloud/bullseye/20220328-962/debian-11-genericcloud-amd64-20220328-962.qcow2" "direct_download_url": "https://cloud.debian.org/images/cloud/bullseye/20220711-1073/debian-11-genericcloud-amd64-20220711-1073.qcow2"
}, },
{ {
"filename": "debian-10-genericcloud-amd64-20220328-962.qcow2", "filename": "debian-10-genericcloud-amd64-20220328-962.qcow2",
@ -49,9 +49,9 @@
], ],
"versions": [ "versions": [
{ {
"name": "11.3", "name": "11.4",
"images": { "images": {
"hda_disk_image": "debian-11-genericcloud-amd64-20220328-962.qcow2", "hda_disk_image": "debian-11-genericcloud-amd64-20220711-1073.qcow2",
"cdrom_image": "debian-cloud-init-data.iso" "cdrom_image": "debian-cloud-init-data.iso"
} }
}, },

View File

@ -2,7 +2,7 @@
"appliance_id": "1cfdf900-7c30-4cb7-8f03-3f61d2581633", "appliance_id": "1cfdf900-7c30-4cb7-8f03-3f61d2581633",
"name": "Empty VM", "name": "Empty VM",
"category": "guest", "category": "guest",
"description": "An empty VM with empty hard disks 8G, 30G & 100G.", "description": "A empty VM with empty hard disks 8G, 30G, 100G & 200G.",
"vendor_name": "GNS3", "vendor_name": "GNS3",
"vendor_url": "https://gns3.com", "vendor_url": "https://gns3.com",
"documentation_url": "", "documentation_url": "",
@ -20,7 +20,7 @@
"ram": 1024, "ram": 1024,
"arch": "x86_64", "arch": "x86_64",
"console_type": "vnc", "console_type": "vnc",
"hda_disk_interface": "sata", "hda_disk_interface": "sata",
"boot_priority": "d", "boot_priority": "d",
"kvm": "allow" "kvm": "allow"
}, },
@ -48,6 +48,14 @@
"filesize": 198656, "filesize": 198656,
"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": "https://sourceforge.net/projects/gns-3/files/Empty%20Qemu%20disk/empty100G.qcow2/download" "direct_download_url": "https://sourceforge.net/projects/gns-3/files/Empty%20Qemu%20disk/empty100G.qcow2/download"
},
{
"filename": "empty200G.qcow2",
"version": "200G",
"md5sum": "d1686d2f25695dee32eab9a6f4652c7c",
"filesize": 200192,
"download_url": "https://sourceforge.net/projects/gns-3/files/Empty%20Qemu%20disk/",
"direct_download_url": "https://sourceforge.net/projects/gns-3/files/Empty%20Qemu%20disk/empty200G.qcow2/download"
} }
], ],
"versions": [ "versions": [
@ -63,11 +71,17 @@
"hda_disk_image": "empty30G.qcow2" "hda_disk_image": "empty30G.qcow2"
} }
}, },
{ {
"name": "100G", "name": "100G",
"images": { "images": {
"hda_disk_image": "empty100G.qcow2" "hda_disk_image": "empty100G.qcow2"
} }
},
{
"name": "200G",
"images": {
"hda_disk_image": "empty200G.qcow2"
}
} }
] ]
} }

View File

@ -27,7 +27,14 @@
"options": "-cpu core2duo" "options": "-cpu core2duo"
}, },
"images": [ "images": [
{ {
"filename": "EXOS-VM_v32.1.1.6.qcow2",
"version": "32.1.1.6",
"md5sum": "48868bbcb4255d6365049b5941dd2af7",
"filesize": 231211008,
"direct_download_url": "https://akamai-ep.extremenetworks.com/Extreme_P/github-en/Virtual_EXOS/EXOS-VM_v32.1.1.6.qcow2"
},
{
"filename": "EXOS-VM_v31.7.1.4.qcow2", "filename": "EXOS-VM_v31.7.1.4.qcow2",
"version": "31.7.1.4", "version": "31.7.1.4",
"md5sum": "a70e4fa3bc361434237ad12937aaf0fb", "md5sum": "a70e4fa3bc361434237ad12937aaf0fb",
@ -106,6 +113,12 @@
} }
], ],
"versions": [ "versions": [
{
"name": "32.1.1.6",
"images": {
"hda_disk_image": "EXOS-VM_v32.1.1.6.qcow2"
}
},
{ {
"name": "31.7.1.4", "name": "31.7.1.4",
"images": { "images": {

View File

@ -27,6 +27,13 @@
"kvm": "allow" "kvm": "allow"
}, },
"images": [ "images": [
{
"filename": "FAZ_VM64_KVM-v7.2.1-build1215-FORTINET.out.kvm.qcow2",
"version": "7.2.1",
"md5sum": "c13b6c7678a2fc12ab969fc681ad3af5",
"filesize": 340631552,
"download_url": "https://support.fortinet.com/Download/FirmwareImages.aspx"
},
{ {
"filename": "FAZ_VM64_KVM-v6-build2288-FORTINET.out.kvm.qcow2", "filename": "FAZ_VM64_KVM-v6-build2288-FORTINET.out.kvm.qcow2",
"version": "6.4.5", "version": "6.4.5",
@ -177,6 +184,13 @@
} }
], ],
"versions": [ "versions": [
{
"name": "7.2.1",
"images": {
"hda_disk_image": "FAZ_VM64_KVM-v7.2.1-build1215-FORTINET.out.kvm.qcow2",
"hdb_disk_image": "empty30G.qcow2"
}
},
{ {
"name": "6.4.5", "name": "6.4.5",
"images": { "images": {

View File

@ -27,6 +27,13 @@
"kvm": "allow" "kvm": "allow"
}, },
"images": [ "images": [
{
"filename": "FGT_VM64_KVM-v7.2.1.F-build1254-FORTINET.out.kvm.qcow2",
"version": "7.2.1",
"md5sum": "e382a1ad5c7c16f49a1c0d3f45e3a3b2",
"filesize": 86704128,
"download_url": "https://support.fortinet.com/Download/FirmwareImages.aspx"
},
{ {
"filename": "FGT_VM64_KVM-v6-build1828-FORTINET.out.kvm.qcow2", "filename": "FGT_VM64_KVM-v6-build1828-FORTINET.out.kvm.qcow2",
"version": "6.4.5", "version": "6.4.5",
@ -254,6 +261,13 @@
} }
], ],
"versions": [ "versions": [
{
"name": "7.2.1",
"images": {
"hda_disk_image": "FGT_VM64_KVM-v7.2.1.F-build1254-FORTINET.out.kvm.qcow2",
"hdb_disk_image": "empty30G.qcow2"
}
},
{ {
"name": "6.4.5", "name": "6.4.5",
"images": { "images": {

View File

@ -27,6 +27,13 @@
"kvm": "allow" "kvm": "allow"
}, },
"images": [ "images": [
{
"filename": "FML_VMKV-64-v721.M-build0364-FORTINET.out.kvm.qcow2",
"version": "7.2.1",
"md5sum": "b7bf13c2fb013693936b45d89dfab1ac",
"filesize": 123535360,
"download_url": "https://support.fortinet.com/Download/FirmwareImages.aspx"
},
{ {
"filename": "FML_VMKV-64-v60-build0257-FORTINET.out.kvm.qcow2", "filename": "FML_VMKV-64-v60-build0257-FORTINET.out.kvm.qcow2",
"version": "6.2.1", "version": "6.2.1",
@ -184,6 +191,13 @@
} }
], ],
"versions": [ "versions": [
{
"name": "7.2.1",
"images": {
"hda_disk_image": "FML_VMKV-64-v721.M-build0364-FORTINET.out.kvm.qcow2",
"hdb_disk_image": "empty30G.qcow2"
}
},
{ {
"name": "6.2.1", "name": "6.2.1",
"images": { "images": {

View File

@ -27,6 +27,13 @@
"kvm": "allow" "kvm": "allow"
}, },
"images": [ "images": [
{
"filename": "FMG_VM64_KVM-v7.2.1-build1215-FORTINET.out.kvm.qcow2",
"version": "7.2.1",
"md5sum": "1a3eeff1204fa8f4243773f7521e12b5",
"filesize": 242814976,
"download_url": "https://support.fortinet.com/Download/FirmwareImages.aspx"
},
{ {
"filename": "FMG_VM64_KVM-v6-build2288-FORTINET.out.kvm.qcow2", "filename": "FMG_VM64_KVM-v6-build2288-FORTINET.out.kvm.qcow2",
"version": "6.4.5", "version": "6.4.5",
@ -177,6 +184,13 @@
} }
], ],
"versions": [ "versions": [
{
"name": "7.2.1",
"images": {
"hda_disk_image": "FMG_VM64_KVM-v7.2.1-build1215-FORTINET.out.kvm.qcow2",
"hdb_disk_image": "empty30G.qcow2"
}
},
{ {
"name": "6.4.5", "name": "6.4.5",
"images": { "images": {

View File

@ -27,6 +27,13 @@
"kvm": "allow" "kvm": "allow"
}, },
"images": [ "images": [
{
"filename": "FPX_KVM-v700.M-build0102-FORTINET.out.kvm.qcow2",
"version": "7.0.6",
"md5sum": "ad0a4612580b5a2754cc4e0121a9cf22",
"filesize": 146800640,
"download_url": "https://support.fortinet.com/Download/FirmwareImages.aspx"
},
{ {
"filename": "FPX_KVM-v100-build0162-FORTINET.out.kvm.qcow2", "filename": "FPX_KVM-v100-build0162-FORTINET.out.kvm.qcow2",
"version": "1.1.2", "version": "1.1.2",
@ -51,6 +58,13 @@
} }
], ],
"versions": [ "versions": [
{
"name": "7.0.6",
"images": {
"hda_disk_image": "FPX_KVM-v700.M-build0102-FORTINET.out.kvm.qcow2",
"hdb_disk_image": "empty30G.qcow2"
}
},
{ {
"name": "1.1.2", "name": "1.1.2",
"images": { "images": {

View File

@ -28,6 +28,13 @@
"options": "-smp 2" "options": "-smp 2"
}, },
"images": [ "images": [
{
"filename": "FSA_KVM-v400-build0231-FORTINET.out.kvm.qcow2",
"version": "4.2.2",
"md5sum": "02b7f49e3c04861601a7af26452eed66",
"filesize": 156172304,
"download_url": "https://support.fortinet.com/Download/FirmwareImages.aspx"
},
{ {
"filename": "FSA_KVM-v300-build0124-FORTINET.out.kvm.qcow2", "filename": "FSA_KVM-v300-build0124-FORTINET.out.kvm.qcow2",
"version": "3.1.2", "version": "3.1.2",
@ -114,6 +121,13 @@
} }
], ],
"versions": [ "versions": [
{
"name": "4.2.2",
"images": {
"hda_disk_image": "FSA_KVM-v400-build0231-FORTINET.out.kvm.qcow2",
"hdb_disk_image": "FSA-datadrive.qcow2"
}
},
{ {
"name": "3.1.2", "name": "3.1.2",
"images": { "images": {

View File

@ -27,6 +27,13 @@
"kvm": "allow" "kvm": "allow"
}, },
"images": [ "images": [
{
"filename": "FWB_KVM-v700-build0097-FORTINET.out.kvm.qcow2",
"version": "7.0.1",
"md5sum": "a197e9db03ffaf7feb520c8f77f940f7",
"filesize": 257622528,
"download_url": "https://support.fortinet.com/Download/FirmwareImages.aspx"
},
{ {
"filename": "FWB_KVM-v600-build0727-FORTINET.out.kvm.qcow2", "filename": "FWB_KVM-v600-build0727-FORTINET.out.kvm.qcow2",
"version": "6.2.1", "version": "6.2.1",
@ -121,6 +128,13 @@
} }
], ],
"versions": [ "versions": [
{
"name": "7.0.1",
"images": {
"hda_disk_image": "FWB_KVM-v700-build0097-FORTINET.out.kvm.qcow2",
"hdb_disk_image": "empty30G.qcow2"
}
},
{ {
"name": "6.2.1", "name": "6.2.1",
"images": { "images": {

View File

@ -11,7 +11,7 @@
"status": "experimental", "status": "experimental",
"availability": "service-contract", "availability": "service-contract",
"maintainer": "none", "maintainer": "none",
"maintainer_email": "none", "maintainer_email": "",
"usage": "Default user is super, default password is super.", "usage": "Default user is super, default password is super.",
"port_name_format": "GigabitEthernet0/0/{0}", "port_name_format": "GigabitEthernet0/0/{0}",
"qemu": { "qemu": {

View File

@ -10,7 +10,7 @@
"status": "experimental", "status": "experimental",
"availability": "service-contract", "availability": "service-contract",
"maintainer": "none", "maintainer": "none",
"maintainer_email": "none", "maintainer_email": "",
"port_name_format": "GE1/0/{0}", "port_name_format": "GE1/0/{0}",
"qemu": { "qemu": {
"adapter_type": "e1000", "adapter_type": "e1000",

View File

@ -11,7 +11,7 @@
"status": "experimental", "status": "experimental",
"availability": "service-contract", "availability": "service-contract",
"maintainer": "none", "maintainer": "none",
"maintainer_email": "none", "maintainer_email": "",
"first_port_name": "eth0", "first_port_name": "eth0",
"port_name_format": "Ethernet1/0/{0}", "port_name_format": "Ethernet1/0/{0}",
"qemu": { "qemu": {

View File

@ -11,7 +11,7 @@
"status": "experimental", "status": "experimental",
"availability": "service-contract", "availability": "service-contract",
"maintainer": "none", "maintainer": "none",
"maintainer_email": "none", "maintainer_email": "",
"usage": "Default password is admin. Default username and password for web is admin/Admin@123.", "usage": "Default password is admin. Default username and password for web is admin/Admin@123.",
"first_port_name": "GigabitEthernet0/0/0", "first_port_name": "GigabitEthernet0/0/0",
"port_name_format": "GigabitEthernet1/0/{0}", "port_name_format": "GigabitEthernet1/0/{0}",

View File

@ -12,13 +12,13 @@
"status": "experimental", "status": "experimental",
"maintainer": "none", "maintainer": "none",
"maintainer_email": "developers@gns3.net", "maintainer_email": "developers@gns3.net",
"usage": "Initial username is root, password is root.\n", "usage": "Connect VCP by port Eth1.\nData port ge/xe-x/0/0 to ge/xe-x/0/9 mapping to Eth3 to Eth12.\nInitial username is root, password is root.\n",
"symbol": "juniper-vmx.svg", "symbol": "juniper-vmx.svg",
"first_port_name": "Eth0", "first_port_name": "Eth0",
"port_name_format": "Eth{port1}", "port_name_format": "Eth{port1}",
"qemu": { "qemu": {
"adapter_type": "virtio-net-pci", "adapter_type": "virtio-net-pci",
"adapters": 12, "adapters": 13,
"ram": 4096, "ram": 4096,
"hda_disk_interface": "ide", "hda_disk_interface": "ide",
"arch": "x86_64", "arch": "x86_64",

View File

@ -28,6 +28,18 @@
"options": "-nographic -enable-kvm" "options": "-nographic -enable-kvm"
}, },
"images": [ "images": [
{
"filename": "junos-x86-64-20.4R3.8.img",
"version": "20.4R3.8-KVM",
"md5sum": "69638ba0ad83d7a99a28b658b1dd8def",
"filesize": 2773090304
},
{
"filename": "metadata.img",
"version": "20.4R3.8-KVM",
"md5sum": "ae4e3562aa389929476d82420c79d511",
"filesize": 393216
},
{ {
"filename": "junos-x86-64-20.3R1.8.img", "filename": "junos-x86-64-20.3R1.8.img",
"version": "20.3R1.8-KVM", "version": "20.3R1.8-KVM",
@ -42,6 +54,13 @@
} }
], ],
"versions": [ "versions": [
{
"name": "20.4R3.8-KVM",
"images": {
"hda_disk_image": "junos-x86-64-20.4R3.8.img",
"hdb_disk_image": "metadata.img"
}
},
{ {
"name": "20.3R1.8-KVM", "name": "20.3R1.8-KVM",
"images": { "images": {

View File

@ -28,81 +28,81 @@
}, },
"images": [ "images": [
{ {
"filename": "chr-7.1rc7.img", "filename": "chr-7.4rc2.img",
"version": "7.1rc7", "version": "7.4rc2",
"md5sum": "04bc0ae1e5fbbda1522135bc57cf6560", "md5sum": "ddb107c95cc7d231f8d8bbdb4eebdab6",
"filesize": 134217728, "filesize": 134217728,
"download_url": "http://www.mikrotik.com/download", "download_url": "http://www.mikrotik.com/download",
"direct_download_url": "https://download.mikrotik.com/routeros/7.1rc7/chr-7.1rc7.img.zip", "direct_download_url": "https://download.mikrotik.com/routeros/7.4rc2/chr-7.4rc2.img.zip",
"compression": "zip" "compression": "zip"
}, },
{ {
"filename": "chr-7.1.img", "filename": "chr-7.3.1.img",
"version": "7.1", "version": "7.3.1",
"md5sum": "41545bc7b55717fe5bb1e489ee39ca45", "md5sum": "99f8ea75f8b745a8bf5ca3cc1bd325e3",
"filesize": 134217728, "filesize": 134217728,
"download_url": "http://www.mikrotik.com/download", "download_url": "http://www.mikrotik.com/download",
"direct_download_url": "https://download.mikrotik.com/routeros/7.1/chr-7.1.img.zip", "direct_download_url": "https://download.mikrotik.com/routeros/7.3.1/chr-7.3.1.img.zip",
"compression": "zip" "compression": "zip"
}, },
{ {
"filename": "chr-6.49rc2.img", "filename": "chr-7.1.5.img",
"version": "6.49rc2", "version": "7.1.5",
"md5sum": "e1088f8f64ac3d6ecf2e56ac96261226", "md5sum": "9c0be05f891df2b1400bdae5e719898e",
"filesize": 67108864, "filesize": 134217728,
"download_url": "http://www.mikrotik.com/download", "download_url": "http://www.mikrotik.com/download",
"direct_download_url": "https://download.mikrotik.com/routeros/6.49rc2/chr-6.49rc2.img.zip", "direct_download_url": "https://download.mikrotik.com/routeros/7.1.5/chr-7.1.5.img.zip",
"compression": "zip" "compression": "zip"
}, },
{ {
"filename": "chr-6.49.1.img", "filename": "chr-6.49.6.img",
"version": "6.49.1", "version": "6.49.6",
"md5sum": "6c896c4c853de99f2ea77f0f4b102261", "md5sum": "ae27d38acc9c4dcd875e0f97bcae8d97",
"filesize": 67108864, "filesize": 67108864,
"download_url": "http://www.mikrotik.com/download", "download_url": "http://www.mikrotik.com/download",
"direct_download_url": "https://download.mikrotik.com/routeros/6.49.1/chr-6.49.1.img.zip", "direct_download_url": "https://download.mikrotik.com/routeros/6.49.6/chr-6.49.6.img.zip",
"compression": "zip" "compression": "zip"
}, },
{ {
"filename": "chr-6.48.5.img", "filename": "chr-6.48.6.img",
"version": "6.48.5", "version": "6.48.6",
"md5sum": "d14debd4cd989f16f695b5b075960703", "md5sum": "875574a561570227ff8f395aabe478c6",
"filesize": 67108864, "filesize": 67108864,
"download_url": "http://www.mikrotik.com/download", "download_url": "http://www.mikrotik.com/download",
"direct_download_url": "https://download.mikrotik.com/routeros/6.48.5/chr-6.48.5.img.zip", "direct_download_url": "https://download.mikrotik.com/routeros/6.48.6/chr-6.48.6.img.zip",
"compression": "zip" "compression": "zip"
} }
], ],
"versions": [ "versions": [
{ {
"name": "7.1rc7", "name": "7.4rc2",
"images": { "images": {
"hda_disk_image": "chr-7.1rc7.img" "hda_disk_image": "chr-7.4rc2.img"
} }
}, },
{ {
"name": "7.1", "name": "7.3.1",
"images": { "images": {
"hda_disk_image": "chr-7.1.img" "hda_disk_image": "chr-7.3.1.img"
} }
}, },
{ {
"name": "6.49rc2", "name": "7.1.5",
"images": { "images": {
"hda_disk_image": "chr-6.49rc2.img" "hda_disk_image": "chr-7.1.5.img"
} }
}, },
{ {
"name": "6.49.1", "name": "6.49.6",
"images": { "images": {
"hda_disk_image": "chr-6.49.1.img" "hda_disk_image": "chr-6.49.6.img"
} }
}, },
{ {
"name": "6.48.5", "name": "6.48.6",
"images": { "images": {
"hda_disk_image": "chr-6.48.5.img" "hda_disk_image": "chr-6.48.6.img"
} }
} }
] ]
} }

View File

@ -29,8 +29,8 @@
"version": "0.4", "version": "0.4",
"md5sum": "e678698c97804901c7a53f6b68c8b861", "md5sum": "e678698c97804901c7a53f6b68c8b861",
"filesize": 26476544, "filesize": 26476544,
"download_url": "https://www.b-ehlers.de/projects/netem/index.html", "download_url": "https://sourceforge.net/projects/gns-3/files/Qemu%20Appliances/",
"direct_download_url": "https://www.b-ehlers.de/projects/netem/NETem-v4.qcow2" "direct_download_url": "https://sourceforge.net/projects/gns-3/files/Qemu%20Appliances/NETem-v4.qcow2/download"
} }
], ],
"versions": [ "versions": [

View File

@ -15,7 +15,7 @@
"usage": "Default password is raspberry", "usage": "Default password is raspberry",
"symbol": "rpi.png", "symbol": "rpi.png",
"qemu": { "qemu": {
"adapter_type": "virtio", "adapter_type": "e1000",
"adapters": 1, "adapters": 1,
"ram": 1024, "ram": 1024,
"hda_disk_interface": "sata", "hda_disk_interface": "sata",
@ -25,6 +25,20 @@
}, },
"images": [ "images": [
{ {
"filename": "2022-07-01-raspios-bullseye-i386.iso",
"version": "2022-07-01",
"md5sum": "e57f42852306ac5ed0d9e97bdc3513cb",
"filesize": 3607101440,
"download_url": "https://www.raspberrypi.org/downloads/raspberry-pi-desktop/"
},
{
"filename": "2021-01-11-raspios-buster-i386.iso",
"version": "2021-01-11",
"md5sum": "14c0b29c393adee45b90d265b3243564",
"filesize": 3091660800,
"download_url": "https://www.raspberrypi.org/downloads/raspberry-pi-desktop/"
},
{
"filename": "2020-02-12-rpd-x86-buster.iso", "filename": "2020-02-12-rpd-x86-buster.iso",
"version": "2020-02-12", "version": "2020-02-12",
"md5sum": "98f34fb53086752b4c9c452094f30740", "md5sum": "98f34fb53086752b4c9c452094f30740",
@ -41,6 +55,20 @@
], ],
"versions": [ "versions": [
{ {
"name": "2022-07-01",
"images": {
"hda_disk_image": "empty8G.qcow2",
"cdrom_image": "2022-07-01-raspios-bullseye-i386.iso"
}
},
{
"name": "2021-01-11",
"images": {
"hda_disk_image": "empty8G.qcow2",
"cdrom_image": "2021-01-11-raspios-buster-i386.iso"
}
},
{
"name": "2020-02-12", "name": "2020-02-12",
"images": { "images": {
"hda_disk_image": "empty8G.qcow2", "hda_disk_image": "empty8G.qcow2",

View File

@ -26,6 +26,13 @@
"options": "-nographic" "options": "-nographic"
}, },
"images": [ "images": [
{
"filename": "ubuntu-22.04-server-cloudimg-amd64.img",
"version": "22.04 (LTS)",
"md5sum": "ac2351289daa173fa1ed6b2b81d81d7c",
"filesize": 624295936,
"download_url": "https://cloud-images.ubuntu.com/releases/jammy/release/ubuntu-22.04-server-cloudimg-amd64.img"
},
{ {
"filename": "ubuntu-20.04-server-cloudimg-amd64.img", "filename": "ubuntu-20.04-server-cloudimg-amd64.img",
"version": "20.04 (LTS)", "version": "20.04 (LTS)",
@ -70,6 +77,13 @@
} }
], ],
"versions": [ "versions": [
{
"name": "22.04 (LTS)",
"images": {
"hda_disk_image": "ubuntu-22.04-server-cloudimg-amd64.img",
"cdrom_image": "ubuntu-cloud-init-data.iso"
}
},
{ {
"name": "20.04 (LTS)", "name": "20.04 (LTS)",
"images": { "images": {

View File

@ -11,7 +11,7 @@
"registry_version": 3, "registry_version": 3,
"status": "stable", "status": "stable",
"maintainer": "Mohamad Siblini", "maintainer": "Mohamad Siblini",
"maintainer_email": "https://www.ictkin.com/contact", "maintainer_email": "info@ictkin.com",
"usage": "Username: gns3\nPassword: gns3 | MD5: 435f15a54f7f673e302ad26f05226e0e", "usage": "Username: gns3\nPassword: gns3 | MD5: 435f15a54f7f673e302ad26f05226e0e",
"port_name_format": "ens{0}", "port_name_format": "ens{0}",
"qemu": { "qemu": {

View File

@ -20,7 +20,7 @@
# the start command of the container # the start command of the container
# #
OLD_PATH="$PATH" OLD_PATH="$PATH"
PATH=/gns3/bin:/tmp/gns3/bin:/sbin PATH=/gns3/bin:/tmp/gns3/bin:/sbin:$PATH
# bootstrap busybox commands # bootstrap busybox commands
if [ ! -d /tmp/gns3/bin ]; then if [ ! -d /tmp/gns3/bin ]; then

View File

@ -367,9 +367,6 @@ class Compute:
log.warning("Cannot connect to compute '{}': {}".format(self._id, e)) log.warning("Cannot connect to compute '{}': {}".format(self._id, e))
# Try to reconnect after 5 seconds if server unavailable only if not during tests (otherwise we create a ressource usage bomb) # Try to reconnect after 5 seconds if server unavailable only if not during tests (otherwise we create a ressource usage bomb)
if not hasattr(sys, "_called_from_test") or not sys._called_from_test: if not hasattr(sys, "_called_from_test") or not sys._called_from_test:
if self.id != "local" and self.id != "vm" and not self._controller.compute_has_open_project(self):
log.warning("Not reconnecting to compute '{}' because there is no project opened on it".format(self._id))
return
self._connection_failure += 1 self._connection_failure += 1
# After 5 failure we close the project using the compute to avoid sync issues # After 5 failure we close the project using the compute to avoid sync issues
if self._connection_failure == 10: if self._connection_failure == 10:

View File

@ -58,7 +58,7 @@ class CrashReport:
Report crash to a third party service Report crash to a third party service
""" """
DSN = "https://0d263705382642f287a1ed05fce61171@o19455.ingest.sentry.io/38482" DSN = "https://3f074423e7664595923ae5895b0819c4@o19455.ingest.sentry.io/38482"
_instance = None _instance = None
def __init__(self): def __init__(self):

View File

@ -23,8 +23,8 @@
# or negative for a release candidate or beta (after the base version # or negative for a release candidate or beta (after the base version
# number has been incremented) # number has been incremented)
__version__ = "2.2.33.1" __version__ = "2.2.34"
__version_info__ = (2, 2, 33, 0) __version_info__ = (2, 2, 34, 0)
if "dev" in __version__: if "dev" in __version__:
try: try:

View File

@ -147,7 +147,7 @@ class Route(object):
else: else:
route = path route = path
# Compute metadata for the documentation # Compute metadata for the documentation
if api_version: if api_version:
handler = func.__module__.replace("_handler", "").replace("gns3server.handlers.api.", "") handler = func.__module__.replace("_handler", "").replace("gns3server.handlers.api.", "")
cls._documentation.setdefault(handler, {}) cls._documentation.setdefault(handler, {})

View File

@ -1,3 +1,4 @@
[pytest] [pytest]
asyncio_mode=auto
log_level=NOTSET log_level=NOTSET
ignore=env ignore=env

View File

@ -3,7 +3,7 @@ aiohttp==3.8.1
aiohttp-cors==0.7.0 aiohttp-cors==0.7.0
aiofiles==0.8.0 aiofiles==0.8.0
Jinja2==3.0.3 Jinja2==3.0.3
sentry-sdk==1.5.12 sentry-sdk==1.9.5
psutil==5.9.1 psutil==5.9.1
async-timeout==4.0.2 async-timeout==4.0.2
distro==1.7.0 distro==1.7.0

View File

@ -18,7 +18,6 @@
import os import os
import uuid import uuid
import pytest import pytest
import asyncio
from gns3server.compute.dynamips.nodes.router import Router from gns3server.compute.dynamips.nodes.router import Router
from gns3server.compute.dynamips.dynamips_error import DynamipsError from gns3server.compute.dynamips.dynamips_error import DynamipsError

View File

@ -18,7 +18,6 @@
from collections import OrderedDict from collections import OrderedDict
import pytest import pytest
import asyncio
from tests.utils import asyncio_patch, AsyncioMagicMock from tests.utils import asyncio_patch, AsyncioMagicMock

View File

@ -15,7 +15,6 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
import pytest import pytest
from gns3server.compute.vmware import VMware from gns3server.compute.vmware import VMware

View File

@ -16,7 +16,6 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
import pytest import pytest
import asyncio
from gns3server.compute.vmware.vmware_vm import VMwareVM from gns3server.compute.vmware.vmware_vm import VMwareVM
from gns3server.compute.vmware import VMware from gns3server.compute.vmware import VMware

View File

@ -16,7 +16,6 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
import pytest import pytest
import asyncio
from tests.utils import asyncio_patch, AsyncioMagicMock from tests.utils import asyncio_patch, AsyncioMagicMock
from gns3server.utils.asyncio import wait_run_in_executor from gns3server.utils.asyncio import wait_run_in_executor