Example #1
0
 def tearDownClass(self):
     """
     clean up
     :return:
     """
     self.logging.info('--> TestFCLuns.tearDownClass()')
     self.logging.debug('disable the hba added in setup class')
     utils.bring_zfcp_offline(self.session, self.hba_id)
     self.logging.info('<-- TestFCLuns.tearDownClass()')
 def tearDownClass(self):
     """
     clean up
     :return:
     """
     self.logging.info('--> TestStorageIODevices.tearDownClass()')
     self.logging.debug('unconfigure eckd and fcp devices')
     if self.online_dasdeckd_device:
         utils.bring_eckd_offline(self.session, self.online_dasdeckd_device)
     if self.offline_dasdeckd_device:
         utils.bring_eckd_offline(self.session, self.offline_dasdeckd_device)
     if self.online_zfcp_device:
         utils.bring_zfcp_offline(self.session, self.online_zfcp_device)
     if self.offline_zfcp_device:
         utils.bring_zfcp_offline(self.session, self.offline_zfcp_device)
     self.logging.info('<-- TestStorageIODevices.tearDownClass()')