Re: [vpp-dev] VCL defaults to app-local-scope

2019-07-17 Thread Alok Nikhil (anikhil) via Lists.Fd.Io
Great! Thanks Florin. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13523): https://lists.fd.io/g/vpp-dev/message/13523 Mute This Topic: https://lists.fd.io/mt/32435763/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g

Re: [vpp-dev] VCL defaults to app-local-scope

2019-07-11 Thread Florin Coras
Hi Alok, Inline. > On Jul 11, 2019, at 5:19 PM, Alok Nikhil (anikhil) via Lists.Fd.Io > wrote: > > Thanks Florin! That works. > > Just a couple of more questions - > 1) You mentioned the VCL library was undergoing a refactor. Is it now stable > enough for production use? Yes, VCL refactor

Re: [vpp-dev] VCL defaults to app-local-scope

2019-07-11 Thread Alok Nikhil (anikhil) via Lists.Fd.Io
Thanks Florin! That works. Just a couple of more questions - 1) You mentioned the VCL library was undergoing a refactor. Is it now stable enough for production use? 2) VCL doesn't clean up any sessions, if the app crashes and doesn't do close the session before doing so. Is this expected? Would

Re: [vpp-dev] VCL defaults to app-local-scope

2019-07-11 Thread Florin Coras
Hi Alok, VCL, on master, defaults to no scope set. Local and global scope are set only if requested in vcl.config as “app-local-scope” or “app-global-scope” or if set via environment variables, like in your example lower. For more details check vcl_cfg.c. Session layer interprets no scope set

[vpp-dev] VCL defaults to app-local-scope

2019-07-11 Thread Alok Nikhil (anikhil) via Lists.Fd.Io
I was following the discussion on this thread - VCL-Error ( https://lists.fd.io/g/vpp-dev/topic/vcl_error/23802581?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,40,23802581 ) That led me to believe VCL starts with a global-scope as the default. However, I tried a hosting the sock_test_server and