示例#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)