1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-26 08:48:11 +00:00

Fixes c7200 NPE setting.

This commit is contained in:
grossmj 2015-04-26 18:35:12 -06:00
parent 3e6996903f
commit 017997e0a3

View File

@ -120,7 +120,7 @@ class C7200(Router):
npe-225, npe-300, npe-400 and npe-g2 (PowerPC c7200 only) npe-225, npe-300, npe-400 and npe-g2 (PowerPC c7200 only)
""" """
if self.is_running(): if (yield from self.is_running()):
raise DynamipsError("Cannot change NPE on running router") raise DynamipsError("Cannot change NPE on running router")
yield from self._hypervisor.send('c7200 set_npe "{name}" {npe}'.format(name=self._name, npe=npe)) yield from self._hypervisor.send('c7200 set_npe "{name}" {npe}'.format(name=self._name, npe=npe))