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:
parent
c0a876af68
commit
29be7ac4e2
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user