'Process input parameters'

def process_input_params(self):

    if (self.state == 'absent'):
        self.evpn = None
    elif (self.evpn == 'disable'):
        return
    if self.vpn_target_both:
        for ele in self.vpn_target_both:
            if (ele in self.vpn_target_export):
                self.vpn_target_export.remove(ele)
            if (ele in self.vpn_target_import):
                self.vpn_target_import.remove(ele)
    if (self.vpn_target_export and self.vpn_target_import):
        vpn_target_export = copy.deepcopy(self.vpn_target_export)
        for ele in vpn_target_export:
            if (ele in self.vpn_target_import):
                self.vpn_target_both.append(ele)
                self.vpn_target_import.remove(ele)
                self.vpn_target_export.remove(ele)
