Extend accelppp.py op-mode script to get subnet/start/stop/gateway info from the configuration
Description
Description
Details
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)
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | FEATURE REQUEST | None | T4564 Root task for rewriting [op-mode] to vyos.opmode format | ||
Resolved | FEATURE REQUEST | Viacheslav | T5013 Extend accelppp.py op-mode to get subnet start stop info from config |
Event Timeline
Comment Actions
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": {} } } }`