go.ligato.io/vpp-agent/v3@v3.5.0/plugins/govppmux/govpp.conf (about)

     1  # Path to a Unix-domain socket through which configuration requests are sent to VPP.
     2  # Used if connect-via-shm is set to false and env. variable GOVPPMUX_NOSOCK is not defined.
     3  # Default is "/run/vpp-api.sock".
     4  binapi-socket-path: <path>
     5  
     6  # If enabled, govpp will access VPP for configuration requests via the shared memory
     7  # instead of through the socket.
     8  connect-via-shm: false
     9  
    10  # Custom shared memory prefix for VPP. Not used by default.
    11  # Relevant only when govpp uses shared memory to send configuration requests to VPP
    12  # (connect-via-shm is enabled or env. variable GOVPPMUX_NOSOCK is defined)
    13  shm-prefix: <prefix>
    14  
    15  # Socket path for reading VPP status, default is "/run/vpp/stats.sock"
    16  stats-socket-path: <path>
    17  
    18  # If VPP lost connection, this flag allows to automatically run the whole resync procedure
    19  # for all registered plugins after reconnection.
    20  resync-after-reconnect: false
    21  
    22  # Binary API requests failed because of the temporary VPP disconnect can be re-tried. Field defines number of
    23  # retry attempts. Default is zero, meaning the feature is disabled.
    24  retry-request-count: 0
    25  
    26  # Defines timeout between binary API retry attempts in case some of them fails. Default value is 500ms.
    27  # If retry-request-count is set to zero, the field has no effect.
    28  retry-request-timeout: 500ms
    29  
    30  # Defines max number of attempts GoVPPMux tries to reach the VPP (default is 3 attempts).
    31  retry-connect-count: 3
    32  
    33  # Defines time in nanoseconds between VPP connection retries (default is 1 second).
    34  retry-connect-timeout: 1s
    35  
    36  # Enable VPP proxy.
    37  proxy-enabled: true