Bump the maximum network adapters to 32 for Qemu.

This commit is contained in:
Jeremy committed 2015-01-03 16:16:07 -07:00
1 parent 1f615430ae
commit a6fd457cff
2 files changed
+5 -3

No files matched your search

@@ -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
+3 -3
View File
@@ -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,