From 017997e0a3acb41aff61cb5e84919b308d89455d Mon Sep 17 00:00:00 2001 From: grossmj Date: Sun, 26 Apr 2015 18:35:12 -0600 Subject: [PATCH] Fixes c7200 NPE setting. --- gns3server/modules/dynamips/nodes/c7200.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/modules/dynamips/nodes/c7200.py b/gns3server/modules/dynamips/nodes/c7200.py index 1a9d140f..8f6f664f 100644 --- a/gns3server/modules/dynamips/nodes/c7200.py +++ b/gns3server/modules/dynamips/nodes/c7200.py @@ -120,7 +120,7 @@ class C7200(Router): 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") yield from self._hypervisor.send('c7200 set_npe "{name}" {npe}'.format(name=self._name, npe=npe))