> I am trying to connect to the new stats-segment in VPP 1908 by using the C
> APIs.
> The issue that I am seeing is,
> the server socket file “/run/vpp/stats.sock” is not getting created when VPP
> is started for the first time. But the file is getting created after a VPP
> restart, and the stat_segment_connect() works.
>
> Of course, I have the below in my vpp.conf after unix {}, api-trace{},
> api-segment{}, socksvr{}.
> statseg {
> default
> }
>
> Do I need to do anything more in addition to the statseg definition in the
> vpp.conf?
Do you have these patches:
commit 18fff7477b40b7764f2e3bd0f91279db39acb759
Author: Benoît Ganne <bga...@cisco.com>
Date: Thu Aug 29 18:16:14 2019 +0200
stats: null-terminate default socket name
Type: fix
Fixes: d991a798ff
Change-Id: I1920a40d7bbb01593676d9d8564158fdba9452bb
Signed-off-by: Benoît Ganne <bga...@cisco.com>
commit d991a798ff5eb6d151b6641e61fefc6315bab0ac
Author: Ole Troan <o...@cisco.com>
Date: Mon Aug 19 14:51:45 2019 +0200
vlib: create unix runtime directory
Ensure the runtime directory is created at startup.
Default /run/vpp
Type: fix
Fixes: I53d70939c8125d04a365ac51a6cbf8926dc52adf
Change-Id: I6d70364ea756b86768c4dd1f6a9383238ed275c8
Signed-off-by: Ole Troan <o...@cisco.com>
Cheers,
Ole
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#15287): https://lists.fd.io/g/vpp-dev/message/15287
Mute This Topic: https://lists.fd.io/mt/70247634/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-