You can also configure the VCL app namespace-id & secret via the
environment variables VCL_APP_NAMESPACE_ID and
VCL_APP_NAMESPACE_SECRET. Note that VCL environment variables take
precedence over attributes configured in the vcl config file.
Thanks,
-daw-
On 12/28/2017 02:15 PM, Florin Coras wrote:
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]
<mailto:[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] <mailto:[email protected]>
https://lists.fd.io/mailman/listinfo/vpp-dev
_______________________________________________
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