def import_all_vpn_paths_to_vrf(self, vrf_table, import_rts=None):
        """Imports VPNv4/6 or EVPN paths from Global/VPN table into given
        VRFv4/6  or VRFEVPN table.
        :param vrf_table: Vrf table to which we import
        :type vrf_table: VrfTable
        :param import_rts: import RTs to override default import_rts of
         vrf table for this import
        :type import_rts: set of strings

        Checks if we have any path RT common with VRF table's import RT.
        """
        if vrf_table.route_family == Vrf4Table.ROUTE_FAMILY:
            vpn_table = self.get_vpn4_table()
        elif vrf_table.route_family == Vrf6Table.ROUTE_FAMILY:
            vpn_table = self.get_vpn6_table()
        elif vrf_table.route_family == VrfEvpnTable.ROUTE_FAMILY:
            vpn_table = self.get_evpn_table()
        elif vrf_table.route_family == Vrf4FlowSpecTable.ROUTE_FAMILY:
            vpn_table = self.get_vpnv4fs_table()
        elif vrf_table.route_family == Vrf6FlowSpecTable.ROUTE_FAMILY:
            vpn_table = self.get_vpnv6fs_table()
        elif vrf_table.route_family == L2vpnFlowSpecTable.ROUTE_FAMILY:
            vpn_table = self.get_l2vpnfs_table()
        else:
            raise ValueError('Invalid VRF table route family: %s' %
                             vrf_table.route_family)

        vrf_table.import_vpn_paths_from_table(vpn_table, import_rts)