예제 #1
0
    def changeConsolePort(self):
        """ Called to change the console port
        """

        if self.router.state != 'stopped':
            QtGui.QMessageBox.warning(globals.GApp.mainWindow, translate("IOSRouter", "Console"), translate("IOSRouter", "You must restart this router after changing its console port"))
        AbstractNode.changeConsolePort(self)
예제 #2
0
 def changeConsolePort(self):
     """ Called to change the console port
     """
     
     if self.emudev.state != 'stopped':
         QtGui.QMessageBox.critical(globals.GApp.mainWindow, translate("AnyEmuDevice", "Console port"), translate("AnyEmuDevice", "Cannot change the console port while the node is running"))
         return
     AbstractNode.changeConsolePort(self)
예제 #3
0
    def changeConsolePort(self):
        """ Called to change the console port
        """

        if self.router.state != 'stopped':
            QtGui.QMessageBox.warning(
                globals.GApp.mainWindow, translate("IOSRouter", "Console"),
                translate(
                    "IOSRouter",
                    "You must restart this router after changing its console port"
                ))
        AbstractNode.changeConsolePort(self)
예제 #4
0
    def changeConsolePort(self):
        """ Called to change the console port
        """

        if self.emu_vboxdev.state != 'stopped':
            QtGui.QMessageBox.critical(
                globals.GApp.mainWindow,
                translate(
                    "AnyVBoxEmuDevice",
                    "Cannot change the console port while the node is running")
            )
            return
        AbstractNode.changeConsolePort(self)