def gen_diff_ifc_asa(self, cli_dict):
     if not self.cli_key in cli_dict:
         return
     SimpleType.diff_ifc_asa(self, cli_dict[self.cli_key])
     return self.get_action()
Example #2
0
 def diff_ifc_asa(self, cli):
     'Override the default implementation to remember the old cli for deletion purpose'
     SimpleType.diff_ifc_asa(self, cli)
     self.delta_ifc_cfg_value['old_cli'] = cli
 def gen_diff_ifc_asa(self, cli):
     if cli.startswith('segment-id') and self.segment_key in cli:
         SimpleType.diff_ifc_asa(self, cli)
         return self.get_action()
 def gen_diff_ifc_asa(self, cli):
     if not 'ipv6 nd prefix' in cli:
         return
     SimpleType.diff_ifc_asa(self, cli)
     return self.get_action()
Example #5
0
 def gen_diff_ifc_asa(self, cli_dict):
     if not self.cli_key in cli_dict:
         return
     SimpleType.diff_ifc_asa(self, cli_dict[self.cli_key])
     return self.get_action()
Example #6
0
 def gen_diff_ifc_asa(self, cli):
     if cli.startswith('segment-id') and self.segment_key in cli:
         SimpleType.diff_ifc_asa(self, cli)
         return self.get_action()
Example #7
0
 def gen_diff_ifc_asa(self, cli):
     if not 'ipv6 nd prefix' in cli:
         return
     SimpleType.diff_ifc_asa(self, cli)
     return self.get_action()