summaryrefslogtreecommitdiffstats
path: root/binapi/stn/stn.ba.go
diff options
context:
space:
mode:
authorVladimir Lavor <vlavor@cisco.com>2020-09-22 13:44:10 +0200
committerVladimir Lavor <vlavor@cisco.com>2020-09-22 14:40:28 +0200
commit9efccff8b3f3c8ba3f9e2343a5e827bfaf07a7f8 (patch)
treefc1a1d1b70fc6d2dea4c289c3bad9e0575fc3e67 /binapi/stn/stn.ba.go
parent43cd23926d5eec359d4b554a4330e1aa596c76de (diff)
Reload stats socket when VPP restarts
The current implementation loads the stats socket and maps it to the memory. If VPP restarts, the socket file is recreated while the mapped data remain unchanged, silently failing since it does not get any updates. This change adds socket file monitoring which reconnects and remaps the socket file in such a case. Change-Id: I061f7400410f4dfe5de66ba7844c4ae1567bbcbe Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
Diffstat (limited to 'binapi/stn/stn.ba.go')
0 files changed, 0 insertions, 0 deletions