original_docstring: Run standard test teardown and acl related log.
docstring: Run standard test teardown and acl related log.
docstring_tokens: Run standard test teardown and acl related log .
code: def tearDown(self):
          """Run standard test teardown and acl related log."""
          if self.af is not None and not self.vpp_dead:
              if self.af == AF_INET:
                  self.logger.info(self.vapi.ppcli("show inacl type ip4"))
                  self.logger.info(self.vapi.ppcli("show outacl type ip4"))
              elif self.af == AF_INET6:
                  self.logger.info(self.vapi.ppcli("show inacl type ip6"))
                  self.logger.info(self.vapi.ppcli("show outacl type ip6"))
  
              self.logger.info(self.vapi.cli("show classify table verbose"))
              self.logger.info(self.vapi.cli("show ip fib"))
              self.logger.info(self.vapi.cli("show error"))
  
              if self.acl_active_table.endswith('out'):
                  self.output_acl_set_interface(
                      self.pg0, self.acl_tbl_idx.get(self.acl_active_table), 0)
              elif self.acl_active_table != '':
                  self.input_acl_set_interface(
                      self.pg0, self.acl_tbl_idx.get(self.acl_active_table), 0)
              self.acl_active_table = ''
  
              for intf in self.interfaces:
                  if self.af == AF_INET:
                      intf.unconfig_ip4()
                  elif self.af == AF_INET6:
                      intf.unconfig_ip6()
                  intf.admin_down()
  
          super(TestClassifier, self).tearDown()
code_tokens: def tearDown ( self ) : if self . af is not None and not self . vpp_dead : if self . af == AF_INET : self . logger . info ( self . vapi . ppcli ( "show inacl type ip4" ) ) self . logger . info ( self . vapi . ppcli ( "show outacl type ip4" ) ) elif self . af == AF_INET6 : self . logger . info ( self . vapi . ppcli ( "show inacl type ip6" ) ) self . logger . info ( self . vapi . ppcli ( "show outacl type ip6" ) ) self . logger . info ( self . vapi . cli ( "show classify table verbose" ) ) self . logger . info ( self . vapi . cli ( "show ip fib" ) ) self . logger . info ( self . vapi . cli ( "show error" ) ) if self . acl_active_table . endswith ( 'out' ) : self . output_acl_set_interface ( self . pg0 , self . acl_tbl_idx . get ( self . acl_active_table ) , 0 ) elif self . acl_active_table != '' : self . input_acl_set_interface ( self . pg0 , self . acl_tbl_idx . get ( self . acl_active_table ) , 0 ) self . acl_active_table = '' for intf in self . interfaces : if self . af == AF_INET : intf . unconfig_ip4 ( ) elif self . af == AF_INET6 : intf . unconfig_ip6 ( ) intf . admin_down ( ) super ( TestClassifier , self ) . tearDown ( )
short_docstring: Run standard test teardown and acl related log.
short_docstring_tokens: Run standard test teardown and acl related log .
comment: """Run standard test teardown and acl related log."""