1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-25 16:28:11 +00:00

Error message that JIT sharing is only supported in Dynamips unstable

version if someone tries. Fixes #10.
This commit is contained in:
grossmj 2014-05-07 21:07:47 -06:00
parent c0a876af68
commit 29be7ac4e2
2 changed files with 6 additions and 3 deletions

View File

@ -400,8 +400,11 @@ class Router(object):
if not self._image:
raise DynamipsError("Register an IOS image fist")
self._hypervisor.send("vm set_tsg {name} {group_id}".format(name=self._name,
group_id=group_id))
try:
self._hypervisor.send("vm set_tsg {name} {group_id}".format(name=self._name,
group_id=group_id))
except DynamipsError:
raise DynamipsError("JIT sharing is only supported in Dynamips >= 0.2.8-RC3 unstable")
log.info("router {name} [id={id}]: set in JIT sharing group {group_id}".format(name=self._name,
id=self._id,

View File

@ -46,7 +46,7 @@ setup(
long_description=open("README.rst", "r").read(),
install_requires=[
"tornado>=3.1",
"pyzmq>=14.0.0",
"pyzmq>=13.1.0", # this is the strict minimum, recommended is >= 14.0.0
"jsonschema==2.3.0"
],
entry_points={