Example #1
0
def goin_default_lan(self):
    try:
        interface_business.goin_default_interface(self)
        #点击LAN上的修改按钮
        interface_control.lan_edit(self)
     #捕捉异常并打印异常信息
    except Exception,e:
        print u"使用默认ip登录wan页面失败,原因如下:\n%s"%e
Example #2
0
def goin_lan(self):
    try:
        #登录路由并进入接口页面
        interface_business.goin_interface(self)
        #点击LAN上的修改按钮
        interface_control.lan_edit(self)
    #捕捉异常并打印异常信息
    except Exception,e:
        print u"进入lan页面失败,原因如下:\n%s"%e