def ifc2asa(self, no_asa_cfg_stack,  asa_cfg_list):
     'Override default implementation to deal with "no timeout ...", which is not accepted by ASA. Use "clear config timeout" instead'
     tmp_no_asa_cfg_stack = []
     result = DMObject.ifc2asa(self, tmp_no_asa_cfg_stack, asa_cfg_list)
     if tmp_no_asa_cfg_stack:
         'consolidate "no timeout ..." commands into "clear config timeout"'
         self.generate_cli(no_asa_cfg_stack, "clear config timeout")
     return result
示例#2
0
 def ifc2asa(self, no_asa_cfg_stack, asa_cfg_list):
     'Override default implementation to deal with "no timeout ...", which is not accepted by ASA. Use "clear config timeout" instead'
     tmp_no_asa_cfg_stack = []
     result = DMObject.ifc2asa(self, tmp_no_asa_cfg_stack, asa_cfg_list)
     if tmp_no_asa_cfg_stack:
         'consolidate "no timeout ..." commands into "clear config timeout"'
         self.generate_cli(no_asa_cfg_stack, "clear config timeout")
     return result