def ifc2asa(self, no_asa_cfg_stack, asa_cfg_list): '''Generate ASA configuration from IFC configuration delta. @see DMObject.ifc2asa for parameter details ''' CompositeType.ifc2asa(self, no_asa_cfg_stack, asa_cfg_list) if not self.has_ifc_delta_cfg(): return action = self.get_action() if action == State.NOCHANGE: return if action == State.DESTROY and self.is_removable: # when removing cluster group, disable the cluster first no_asa_cfg_stack.append(CLIInteraction('no enable', mode_command=self.get_cli()))