Page MenuHomeVyOS Platform

Extend accelppp.py op-mode to get subnet start stop info from config
Closed, ResolvedPublicFEATURE REQUEST

Description

Extend accelppp.py op-mode script to get subnet/start/stop/gateway info from the configuration

Details

Difficulty level
Unknown (require assessment)
Version
1.4
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Improvement (missing useful functionality)

Event Timeline

Viacheslav changed the task status from Open to In progress.Feb 17 2023, 2:56 PM
Viacheslav claimed this task.
Viacheslav created this task.
Viacheslav changed Version from - to 1.4.

PR https://github.com/vyos/vyos-1x/pull/1829

vyos@r14:~$ /usr/libexec/vyos/op_mode/accelppp.py show_statistics --protocol pppoe --raw
{
    "sessions": {
        "active": "1",
        "starting": "0"
    },
    "cpu": "0%",
    "config_option": {
        "authentication": {
            "mode": "noauth"
        },
        "client_ip_pool": {
            "name": {
                "foo": {
                    "gateway_address": "192.0.2.1",
                    "subnet": "192.0.2.0/24"
                }
            }
        },
        "interface": {
            "eth1": {}
        }
    }
}`
Viacheslav moved this task from Need Triage to Finished on the VyOS 1.4 Sagitta board.