-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Ondrej Fabry edited this page Apr 9, 2019
·
5 revisions
Welcome to the vpp wiki!
- ...
Add following section to your VPP config file (by default at /etc/vpp/startup.conf
):
socksvr {
# default will create socket at `/run/vpp-api.sock`
default
}
Use socket-name
to change the socket location:
socksvr {
# socket-name can be used to change socket location
socket-name /run/myvpp.sock
}
Add following section to your VPP config file (by default at /etc/vpp/startup.conf
):
statseg {
# default will create socket at `/run/vpp/stats.sock`
default
}
Use socket-name
to change the stats socket location:
statseg {
# socket-name can be used to change the default socket location
socket-name /run/myvpp.sock
}
Additional options available in statseg
config section:
statseg {
# per-node-counters enables (default is `off`) counters for nodes (stats with prefix `/sys/node/`)
per-node-counters on
# size sets the size of the memory mapped stats segment (default is ~32MB)
size <n>[G|M|K]
}