示例#1
0
    def teardown_class(self):
        # 回收环境
        clr_env.clear_env()
        fun.send(rbmExc, message.delvlan['SetVlan'], rbmDomain, base_path)

        fun.rbm_close()
        fun.ssh_close('gw')
示例#2
0
	def teardown_class(self):
		#回收环境
		for i in clr_env.clear_env:
			fun.cmd(i,'gw')

		for i in fun.mac:
			fun.ssh_close(i)
示例#3
0
    def teardown_class(self):
        # 回收环境
        # for i in clr_env.clear_env:
        # 	fun.cmd(i, 'gw')

        fun.rbm_close()
        fun.ssh_close('gw')
示例#4
0
    def teardown_class(self):
        # 回收环境
        clr_env.iso_setup_class(dut='FrontDut')
        clr_env.iso_setup_class(dut='BackDut')

        fun.rbm_close()
        fun.ssh_close('FrontDut')
        fun.ssh_close('BackDut')
示例#5
0
    def teardown_class(self):
        # 回收环境
        clr_env.iso_teardown_met('http_redirect', base_path)
        clr_env.iso_setup_class(dut='FrontDut')
        clr_env.iso_setup_class(dut='BackDut')

        fun.rbm_close()
        fun.ssh_close('FrontDut')
        fun.ssh_close('BackDut')
示例#6
0
    def teardown_class(self):
        # 回收环境
        clr_env.iso_teardown_met('mail', base_path)
        clr_env.iso_teardown_met('ftp', base_path)
        clr_env.iso_teardown_met('tcp_http', base_path)
        clr_env.iso_setup_class(dut='FrontDut')
        clr_env.iso_setup_class(dut='BackDut')

        fun.rbm_close()
        fun.ssh_close('FrontDut')
        fun.ssh_close('BackDut')
示例#7
0
    def teardown_class(self):
        # 回收环境
        clr_env.clear_env()

        fun.rbm_close()
        fun.ssh_close('gw')
        fun.ssh_close('vlanA')
        fun.ssh_close('vlanB')
示例#8
0
    def teardown_class(self):
        # 回收环境
        clr_env.clear_env()
        fun.pid_kill('8889', process='python3', gw='vlanA')
        fun.pid_kill('8889', process='python3', gw='gw')
        fun.send(rbmExc, message.delvlan['SetVlan'], rbmDomain, base_path)

        fun.rbm_close()
        fun.ssh_close('gw')
        fun.ssh_close('vlanA')
        fun.ssh_close('vlanB')
示例#9
0
 def teardown_class(self):
     #回收环境
     # fun.rbm_close()
     fun.ssh_close('c')
     fun.ssh_close('s')
     fun.ssh_close('gw')
示例#10
0
    def teardown_class(self):
        # 回收环境
        clr_env.clear_env()

        fun.ssh_close('gw')