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

        fun.rbm_close()
        fun.ssh_close('gw')
Beispiel #3
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')
Beispiel #4
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)

        fun.rbm_close()
Beispiel #5
0
    def teardown_class(self):
        # 回收环境
        clr_env.clear_env()

        fun.rbm_close()
        fun.ssh_close('gw')
        fun.ssh_close('vlanA')
        fun.ssh_close('vlanB')
Beispiel #6
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')
Beispiel #7
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')
Beispiel #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')
Beispiel #9
0
	def teardown_class(self):
		#回收环境
		fun.rbm_close()
		fun.ssh_close('c')
		# fun.ssh_close('s')
		fun.ssh_close('gw')