Dynamips support

This commit is contained in:
Julien Duponchelle 2015-12-10 18:28:49 +01:00
parent ceb963871a
commit f42cde80a0
2 changed files with 105 additions and 0 deletions

View File

@ -0,0 +1,47 @@
{
"category": "router",
"status": "experimental",
"maintainer": "GNS3 Team",
"name": "Cisco 3745",
"vendor_name": "Cisco",
"product_name": "3745",
"vendor_url": "http://www.cisco.com",
"description": "Cisco 3745 Multiservice Access Router",
"registry_version": 2,
"maintainer_email": "developers@gns3.net",
"documentation_url": "http://www.cisco.com/c/en/us/support/routers/3745-multiservice-access-router/model.html",
"dynamips": {
"chassis": "",
"platform": "c3745",
"ram": 256,
"nvram": 256,
"startup_config": "ios_base_startup-config.txt",
"slot0": "GT96100-FE",
"slot1": "NM-1FE-TX",
"slot2": "NM-4T",
"slot3": "",
"slot4": "",
"wic0": "WIC-1T",
"wic1": "WIC-1T",
"wic2": "WIC-1T"
},
"versions": [
{
"images": {
"image": "c3745-adventerprisek9-mz.124-25d.image"
},
"idlepc": "0x60aa1da0",
"name": "124-25d"
}
],
"images": [
{
"filesize": 82053028,
"md5sum": "ddbaf74274822b50fa9670e10c75b08f",
"version": "124-25d",
"filename": "c3745-adventerprisek9-mz.124-25d.image"
}
]
}

View File

@ -2,6 +2,17 @@
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"title": "JSON schema validating a GNS3 appliance",
"definitions": {
"dynamips_slot": {
"enum": ["C2600-MB-2FE", "C2600-MB-1E", "PA-A1", "PA-8E", "C1700-MB-1FE", "PA-8T", "PA-2FE-TX", "PA-FE-TX", "PA-GE", "C2600-MB-2E", "C7200-IO-FE", "NM-4T", "C2600-MB-1FE", "C7200-IO-2FE", "PA-POS-OC3", "PA-4T+", "C1700-MB-WIC1", "NM-16ESW", "C7200-IO-GE-E", "NM-4E", "GT96100-FE", "NM-1FE-TX", "Leopard-2FE", "NM-1E", "PA-4E", ""]
},
"dynamips_wic": {
"enum": ["WIC-1ENET", "WIC-1T", "WIC-2T", ""]
}
},
"properties": {
"name": {
"type": "string",
@ -110,6 +121,7 @@
"title": "Config loaded at startup"
}
},
"additionalProperties": false,
"required": [
"ethernet_adapters",
"serial_adapters",
@ -119,6 +131,51 @@
]
},
"dynamips": {
"type": "object",
"title": "Dynamips specific options",
"properties": {
"chassis": {
"title": "Chassis type",
"enum": ["1720", "1721", "1750", "1751", "1760", "2610", "2620", "2610XM", "2620XM", "2650XM", "2621", "2611XM", "2621XM", "2651XM", "3620", "3640", "3660", ""]
},
"platform": {
"title": "Platform type",
"enum": ["c1700", "c2600", "c2691", "c3725", "c3745", "c3600", "c7200"]
},
"ram": {
"title": "Amount of ram",
"type": "integer",
"minimum": 1
},
"nvram": {
"title": "Amount of nvram",
"type": "integer",
"minimum": 1
},
"startup_config": {
"type": "string",
"title": "Config loaded at startup"
},
"wic0": { "$ref": "#/definitions/dynamips_wic" },
"wic1": { "$ref": "#/definitions/dynamips_wic" },
"wic2": { "$ref": "#/definitions/dynamips_wic" },
"slot0": { "$ref": "#/definitions/dynamips_slot" },
"slot1": { "$ref": "#/definitions/dynamips_slot" },
"slot2": { "$ref": "#/definitions/dynamips_slot" },
"slot3": { "$ref": "#/definitions/dynamips_slot" },
"slot4": { "$ref": "#/definitions/dynamips_slot" },
"slot5": { "$ref": "#/definitions/dynamips_slot" },
"slot6": { "$ref": "#/definitions/dynamips_slot" }
},
"additionalProperties": false,
"required": [
"platform",
"ram",
"nvram"
]
},
"qemu": {
"type": "object",
"title": "Qemu specific options",
@ -239,6 +296,7 @@
"type": "string",
"title": "Name of the version"
},
"idlepc": {"type": "string", "pattern": "^0x[0-9a-f]{8}"},
"images": {
"type": "object",
"title": "Images used for this version",