'get_existing'

def get_existing(self):

    self.get_vrf_af()
    self.existing['vrf'] = self.vrf
    self.existing['vrf_aftype'] = list()
    self.existing['route_distinguisher'] = list()
    self.existing['vpn_target_value'] = list()
    self.existing['vpn_target_type'] = list()
    self.existing['evpn_target_value'] = list()
    self.existing['evpn_target_type'] = list()
    if (self.vrf_af_info['vpnInstAF'] is None):
        return
    for vrf_af_ele in self.vrf_af_info['vpnInstAF']:
        self.existing['vrf_aftype'].append(vrf_af_ele['afType'])
        self.existing['route_distinguisher'].append(vrf_af_ele['vrfRD'])
        if vrf_af_ele.get('vpnTargets'):
            for vpn_target in vrf_af_ele.get('vpnTargets'):
                self.existing['vpn_target_type'].append(vpn_target['vrfRTType'])
                self.existing['vpn_target_value'].append(vpn_target['vrfRTValue'])
        if vrf_af_ele.get('evpnTargets'):
            for evpn_target in vrf_af_ele.get('evpnTargets'):
                self.existing['evpn_target_type'].append(evpn_target['vrfRTType'])
                self.existing['evpn_target_value'].append(evpn_target['vrfRTValue'])
