Re: Zookeeper and vrf

2018-08-21 Thread Pramod Srinivasan
Users of the zookeeper client library would need to provide the vrf device that 
the sockets opened by client library be associated with. 

https://www.kernel.org/doc/Documentation/networking/vrf.txt

For the sockets that are opened by Zookeeper client library, we call setsockopt 
to bind the socket to a vrf device.

On 8/20/18, 11:58 AM, "Benjamin Reed"  wrote:

not that i know of. how would you envision the library supporting vrf?

thanx
ben

On Mon, Aug 20, 2018 at 11:55 AM, Pramod Srinivasan  
wrote:
> Hi Everyone, any guidance for the question below?
>
> On 8/16/18, 4:15 PM, "Pramod Srinivasan"  wrote:
>
> Hi Everyone,
>
> I am using Zookeeper C client library and wanted to check if there 
are any plans to add vrf support to Zookeeper client library. The client 
application may be in a different vrf from zookeeper server and it would be 
useful to provide a vrf name when we call zookeeper init so that any socket 
opened within the zookeeper library could be bound to the given vrf or a 
separate client library API to set the vrf for the sockets should work too.
>
> Thanks,
> Pramod
>
>
>




Re: Zookeeper and vrf

2018-08-20 Thread Benjamin Reed
not that i know of. how would you envision the library supporting vrf?

thanx
ben

On Mon, Aug 20, 2018 at 11:55 AM, Pramod Srinivasan  wrote:
> Hi Everyone, any guidance for the question below?
>
> On 8/16/18, 4:15 PM, "Pramod Srinivasan"  wrote:
>
> Hi Everyone,
>
> I am using Zookeeper C client library and wanted to check if there are 
> any plans to add vrf support to Zookeeper client library. The client 
> application may be in a different vrf from zookeeper server and it would be 
> useful to provide a vrf name when we call zookeeper init so that any socket 
> opened within the zookeeper library could be bound to the given vrf or a 
> separate client library API to set the vrf for the sockets should work too.
>
> Thanks,
> Pramod
>
>
>


Re: Zookeeper and vrf

2018-08-20 Thread Pramod Srinivasan
Hi Everyone, any guidance for the question below?

On 8/16/18, 4:15 PM, "Pramod Srinivasan"  wrote:

Hi Everyone,

I am using Zookeeper C client library and wanted to check if there are any 
plans to add vrf support to Zookeeper client library. The client application 
may be in a different vrf from zookeeper server and it would be useful to 
provide a vrf name when we call zookeeper init so that any socket opened within 
the zookeeper library could be bound to the given vrf or a separate client 
library API to set the vrf for the sockets should work too.

Thanks,
Pramod 





Zookeeper and vrf

2018-08-16 Thread Pramod Srinivasan
Hi Everyone,

I am using Zookeeper C client library and wanted to check if there are any 
plans to add vrf support to Zookeeper client library. The client application 
may be in a different vrf from zookeeper server and it would be useful to 
provide a vrf name when we call zookeeper init so that any socket opened within 
the zookeeper library could be bound to the given vrf or a separate client 
library API to set the vrf for the sockets should work too.

Thanks,
Pramod