From 527424cd5a79e727209ac9cd88acaa48de9b1f39 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Thu, 3 Sep 2015 10:28:56 +0200 Subject: [PATCH] Cisco VIOS --- appliances/cisco-vios.json | 37 +++++++++++++++++++++++++++++++++++++ schemas/appliance.json | 6 +++--- templates/group_by.html | 4 ++-- 3 files changed, 42 insertions(+), 5 deletions(-) create mode 100644 appliances/cisco-vios.json diff --git a/appliances/cisco-vios.json b/appliances/cisco-vios.json new file mode 100644 index 0000000..833f8bb --- /dev/null +++ b/appliances/cisco-vios.json @@ -0,0 +1,37 @@ +{ + "category": "router", + "status": "experimental", + "maintainer": "GNS3 Team", + "name": "Cisco vIOS", + "versions": [ + { + "images": { + "hda_disk_image": "vios-1.3.qcow2" + }, + "name": "1.3.0" + } + ], + "registry_version": 1, + "maintainer_email": "developers@gns3.net", + "documentation_url": "http://www.cisco.com/c/en/us/support/routers/3800-series-integrated-services-routers-isr/tsd-products-support-series-home.html", + "images": [ + { + "filesize": 2147483648, + "md5sum": "c251cede77c5772a9c2f2e38d1b5f935", + "version": "1.3.0", + "download_url": "https://developer.cisco.com/site/onepk/downloads/all-in-one-vm/", + "filename": "vios-1.3.qcow2" + } + ], + "vendor_name": "Cisco", + "qemu": { + "adapter_type": "e1000", + "console_type": "telnet", + "ram": 384, + "arch": "x86_64", + "adapters": 6 + }, + "product_name": "vIOS", + "vendor_url": "http://www.cisco.com", + "description": "Cisco Virtual IOS allow user to run IOS on a standard computer." +} diff --git a/schemas/appliance.json b/schemas/appliance.json index c7ae1d6..25cab53 100644 --- a/schemas/appliance.json +++ b/schemas/appliance.json @@ -77,7 +77,8 @@ "title": "Optional formating of the newtorking port example: eth{0}" }, "port_segment_size": { - "type": "integer" + "type": "integer", + "title": "Optional port segment size" }, "qemu": { @@ -94,7 +95,7 @@ }, "ram": { "type": "integer", - "title": "Ram allocated to the appliance" + "title": "Ram allocated to the appliance (MB)" }, "arch": { "enum": ["aarch64", "alpha", "arm", "cris", "i386", "lm32", "m68k", "microblaze", "microblazeel", "mips", "mips64", "mips64el", "mipsel", "moxie", "or32", "ppc", "ppc64", "ppcemb", "s390x", "sh4", "sh4eb", "sparc", "sparc64", "tricore", "unicore32", "x86_64", "xtensa", "xtensaeb"], @@ -229,7 +230,6 @@ "vendor_url", "documentation_url", "product_name", - "product_url", "registry_version", "status", "maintainer", diff --git a/templates/group_by.html b/templates/group_by.html index 4a81266..523ed2f 100644 --- a/templates/group_by.html +++ b/templates/group_by.html @@ -1,9 +1,9 @@ {% extends "layout/default.html" %} {% block body %} -

{{group_by|capitalize|replace("_", " ")}}

+

{{group_by|replace("_", " ")}}

{% endblock %}