ui_ons_cli.py 文件源码

python
阅读 19 收藏 0 点赞 0 评论 0

项目:taf 作者: taf3 项目源码 文件源码
def enter_config_mode(self):
        """Method that returns to config mode of a switch.

        """
        commands = [['configure'], ]
        if not self.is_config_mode:
            self.is_config_mode = True
            self.mode_prompt = 'Switch (config)#'
            try:
                self.cli_set(commands)
            except (CLISSHException, SSHException, SocketError):
                self.is_config_mode = False
                self.mode_prompt = 'Switch #'
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号