Change-Id: I8f965a0758c4b7459f27a46c095dad232e331032
Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
To enable it add following section to your VPP config:
socksvr {
To enable it add following section to your VPP config:
socksvr {
+ socket-name /run/vpp/api.sock
}
------------------------------------------------------------
`
}
------------------------------------------------------------
`
To enable it add following section to your VPP config:
statseg {
To enable it add following section to your VPP config:
statseg {
+ socket-name /run/vpp/stats.sock
}
------------------------------------------------------------
`
}
------------------------------------------------------------
`
func (s *StatsRPC) watchConnection() {
heartbeatTicker := time.NewTicker(10 * time.Second).C
atomic.StoreUint32(&s.available, 1)
func (s *StatsRPC) watchConnection() {
heartbeatTicker := time.NewTicker(10 * time.Second).C
atomic.StoreUint32(&s.available, 1)
- log.Println("enabling statsRPC service")
+ log.Debugln("enabling statsRPC service")
count := 0
prev := new(api.SystemStats)
count := 0
prev := new(api.SystemStats)
case core.Connected:
if !s.serviceAvailable() {
atomic.StoreUint32(&s.available, 1)
case core.Connected:
if !s.serviceAvailable() {
atomic.StoreUint32(&s.available, 1)
- log.Println("enabling binapiRPC service")
+ log.Debugln("enabling binapiRPC service")
}
case core.Disconnected:
if s.serviceAvailable() {
}
case core.Disconnected:
if s.serviceAvailable() {