Example #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')
Example #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)
Example #3
0
    def teardown_class(self):
        # 回收环境
        # for i in clr_env.clear_env:
        # 	fun.cmd(i, 'gw')

        fun.rbm_close()
        fun.ssh_close('gw')
Example #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')
Example #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')
Example #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')
Example #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')
Example #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')
Example #9
0
 def teardown_class(self):
     #回收环境
     # fun.rbm_close()
     fun.ssh_close('c')
     fun.ssh_close('s')
     fun.ssh_close('gw')
Example #10
0
    def teardown_class(self):
        # 回收环境
        clr_env.clear_env()

        fun.ssh_close('gw')