Page MenuHomeVyOS Platform

vpn sessions-columns configuration needed
Open, LowPublicFEATURE REQUEST

Description

In order to modify the
accel-cmd -p 2004 show session
output to fit a common needs i'd propose a config option like

set vpn cli sessions-columns "list of comma separated list of statistics columns available from accel-ppp"

for example:

set vpn cli sessions-columns "vrf,ifname,username,calling-sid,called-sid,ip,rate-limit,type,comp,state,rx-bytes,tx-bytes,uptime"

which should set the appropriate option in [cli] section of /run/accel-ppp/<vpn>.conf where <vpn>=l2tp, pppoe, etc depending on technology:
[cli]
sessions-columns=vrf,ifname,username,calling-sid,called-sid,ip,rate-limit,type,comp,state,rx-bytes,tx-bytes,uptime

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Unspecified (please specify)

Event Timeline

aserkin renamed this task from vpn session-columns configuration needed to vpn sessions-columns configuration needed.Aug 15 2022, 5:38 PM
aserkin created this task.
aserkin updated the task description. (Show Details)