Thanks Regards, Ewan
[email protected] From: Steve Shin (jonshin) Date: 2017-08-11 23:01 To: [email protected]; vpp-dev Subject: Re: [vpp-dev] Policy routing Hi Ewan, In VPP we have a generic classifier feature that can be used to filter user specific traffic to support PBR. User can configure a forwarding policy using classifier defined in an ACL to match on interesting packets and redirect traffic using pre-defined VRF specific to PBR. One thing you can try is to use action and metadata parameters in classifier API as follows: @param action - 0: no action (by default) metadata is not used. 1: Classified IP packets will be looked up from the specified ipv4 fib table (configured by metadata as VRF id). Only valid for L3 input ACL node 2: Classified IP packets will be looked up from the specified ipv6 fib table (configured by metadata as VRF id). Only valid for L3 input ACL node @param metadata - valid only if action != 0 VRF id if action is 1 or 2. define classify_add_del_session { u32 client_index; u32 context; u8 is_add; u32 table_index; u32 hit_next_index; u32 opaque_index; i32 advance; u8 action; u32 metadata; u8 match[0]; }; Thanks, Steve From: <[email protected]> on behalf of "[email protected]" <[email protected]> Date: Friday, August 11, 2017 at 12:37 AM To: vpp-dev <[email protected]> Subject: [vpp-dev] Policy routing Hi, Does vpp surpport policy routing? Regards, Ewan [email protected]
_______________________________________________ vpp-dev mailing list [email protected] https://lists.fd.io/mailman/listinfo/vpp-dev
