diff --git a/gns3server/modules/dynamips/backends/vm.py b/gns3server/modules/dynamips/backends/vm.py index 710c1986..e72c9158 100644 --- a/gns3server/modules/dynamips/backends/vm.py +++ b/gns3server/modules/dynamips/backends/vm.py @@ -170,6 +170,8 @@ class VM(object): if chassis: router = PLATFORMS[platform](hypervisor, name, router_id, chassis=chassis) + elif platform == "c7200" and os.path.basename(image).lower().startswith("c7200p"): + router = PLATFORMS[platform](hypervisor, name, router_id, npe="npe-g2") else: router = PLATFORMS[platform](hypervisor, name, router_id) router.ram = ram diff --git a/gns3server/modules/qemu/schemas.py b/gns3server/modules/qemu/schemas.py index b4a1b6c6..32b09664 100644 --- a/gns3server/modules/qemu/schemas.py +++ b/gns3server/modules/qemu/schemas.py @@ -101,7 +101,7 @@ QEMU_UPDATE_SCHEMA = { "description": "number of adapters", "type": "integer", "minimum": 0, - "maximum": 8, + "maximum": 32, }, "adapter_type": { "description": "QEMU adapter type", @@ -381,7 +381,7 @@ QEMU_ADD_NIO_SCHEMA = { "description": "Port number", "type": "integer", "minimum": 0, - "maximum": 8 + "maximum": 32 }, "nio": { "type": "object", @@ -415,7 +415,7 @@ QEMU_DELETE_NIO_SCHEMA = { "description": "Port number", "type": "integer", "minimum": 0, - "maximum": 8 + "maximum": 32 }, }, "additionalProperties": False,