Thanks Florin for the information.

-- 
Regards,
Akshaya N 

-----Original Message-----
From: Florin Coras <[email protected]>
To: Akshaya Nadahalli <[email protected]>
Cc: [email protected]
Subject: Re: [vpp-dev] VPP's host stack VRF aware
Date: Thu, 28 Dec 2017 11:15:59 -0800

Hi Akshaya, 


Yes it is, via app namespaces. You can configure application namespaces
via binary api or “app ns” cli. For instance:


app ns id <namespace-id> secret <secret> sw_if_index <sw_if_index> 


The secret is a shared secret between vpp and the app while the
sw_if_index is the index of an interface that ‘supports’ the namespace.
Whatever the fib table of the interface becomes the table of the
namespace. There’s also an option to directly configure the fib_id in
the cli command. 


To have an app connect to a namespace via vcl, add to vcl’s config file
the namespace-id and namespace-secret. 


Hope this helps, 
Florin 

> On Dec 28, 2017, at 2:28 AM, Akshaya Nadahalli <[email protected]>
> wrote:
> 
> 
> 
> Hi VPP team,
> 
>     Is VPP's host TCP/UDP stack VRF aware? If yes, then how can an
> application set the VRF to a socket via VCL library?
> 
> -- 
> Regards,
> Akshaya N 
> 
> 
> 
> _______________________________________________
> vpp-dev mailing list
> [email protected]
> https://lists.fd.io/mailman/listinfo/vpp-dev


_______________________________________________
vpp-dev mailing list
[email protected]
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to