An IOU sample

This commit is contained in:
Julien Duponchelle 2015-12-09 20:12:39 +01:00
parent 0b846fdc7f
commit a7d394bdbd
2 changed files with 78 additions and 5 deletions

View File

@ -0,0 +1,37 @@
{
"category": "router",
"status": "experimental",
"maintainer": "GNS3 Team",
"name": "Cisco IOU L3",
"vendor_name": "Cisco",
"product_name": "Cisco IOU L3",
"vendor_url": "http://www.cisco.com",
"description": "Cisco IOS on UNIX Layer 3 image.",
"registry_version": 2,
"maintainer_email": "developers@gns3.net",
"iou": {
"ethernet_adapters": 2,
"serial_adapters": 2,
"nvram": 128,
"ram": 256,
"startup_config": "iou_l3_base_startup-config.txt"
},
"versions": [
{
"images": {
"image": "i86bi-linux-l3-adventerprisek9-15.4.1T.bin"
},
"name": "15.4.1T"
}
],
"images": [
{
"filesize": 152677848,
"md5sum": "2eabae17778316c49cbc80e8e81262f9",
"version": "15.4.1T",
"filename": "i86bi-linux-l3-adventerprisek9-15.4.1T.bin"
}
]
}

View File

@ -44,7 +44,7 @@
"title": "An optional product url on vendor website" "title": "An optional product url on vendor website"
}, },
"registry_version": { "registry_version": {
"enum": [1], "enum": [1, 2],
"title": "Version of the registry compatible with this appliance" "title": "Version of the registry compatible with this appliance"
}, },
"status": { "status": {
@ -85,6 +85,40 @@
"title": "False if you don't want to use a single image for all nodes" "title": "False if you don't want to use a single image for all nodes"
}, },
"iou": {
"type": "object",
"title": "IOU specific options",
"properties": {
"ethernet_adapters": {
"type": "integer",
"title": "Number of ethernet adapters"
},
"serial_adapters": {
"type": "integer",
"title": "Number of serial adapters"
},
"nvram": {
"type": "integer",
"title": "Host NVRAM"
},
"ram": {
"type": "integer",
"title": "Host RAM"
},
"startup_config": {
"type": "string",
"title": "Config loaded at startup"
}
},
"required": [
"ethernet_adapters",
"serial_adapters",
"nvram",
"ram",
"startup_config"
]
},
"qemu": { "qemu": {
"type": "object", "type": "object",
"title": "Qemu specific options", "title": "Qemu specific options",
@ -190,8 +224,7 @@
"filename", "filename",
"version", "version",
"md5sum", "md5sum",
"filesize", "filesize"
"download_url"
] ]
} }
}, },
@ -218,9 +251,13 @@
"type": "string", "type": "string",
"title": "Initrd disk image" "title": "Initrd disk image"
}, },
"image": {
"type": "string",
"title": "OS image"
},
"hda_disk_image": { "hda_disk_image": {
"type": "string", "type": "string",
"title": "Hdb disk image" "title": "Hda disk image"
}, },
"hdb_disk_image": { "hdb_disk_image": {
"type": "string", "type": "string",
@ -261,7 +298,6 @@
"status", "status",
"maintainer", "maintainer",
"maintainer_email", "maintainer_email",
"qemu",
"images", "images",
"versions" "versions"
] ]