mirror of
https://github.com/GNS3/gns3-server
synced 2025-01-13 09:30:54 +00:00
Error message that JIT sharing is only supported in Dynamips unstable
version if someone tries. Fixes #10.
This commit is contained in:
parent
c0a876af68
commit
29be7ac4e2
@ -400,8 +400,11 @@ class Router(object):
|
|||||||
if not self._image:
|
if not self._image:
|
||||||
raise DynamipsError("Register an IOS image fist")
|
raise DynamipsError("Register an IOS image fist")
|
||||||
|
|
||||||
|
try:
|
||||||
self._hypervisor.send("vm set_tsg {name} {group_id}".format(name=self._name,
|
self._hypervisor.send("vm set_tsg {name} {group_id}".format(name=self._name,
|
||||||
group_id=group_id))
|
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,
|
log.info("router {name} [id={id}]: set in JIT sharing group {group_id}".format(name=self._name,
|
||||||
id=self._id,
|
id=self._id,
|
||||||
|
2
setup.py
2
setup.py
@ -46,7 +46,7 @@ setup(
|
|||||||
long_description=open("README.rst", "r").read(),
|
long_description=open("README.rst", "r").read(),
|
||||||
install_requires=[
|
install_requires=[
|
||||||
"tornado>=3.1",
|
"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"
|
"jsonschema==2.3.0"
|
||||||
],
|
],
|
||||||
entry_points={
|
entry_points={
|
||||||
|
Loading…
Reference in New Issue
Block a user