Move the VyOS driver from napalm.base.NetworkDriver onto the napalm-device-types role bases so netOrk can poll VyOS routers like its own drivers.
Scope
Inherit from FirewallDriver (NAT/VPN, firewall rules, DHCP server, health metrics, package management).
Keep all existing getters and their 19 mocked test cases green.
Implement the role methods VyOS supports; leave the rest undeclared (role bases declare, they never implement).
Modernise packaging to pyproject.toml with a napalm.drivers entry point (vyos).
Check the driver against current VyOS 1.4/1.5 output; upstream was last touched in 2023-11.
Integration into netOrk (separate change in NetOrk/netork)
Pin the repo in vendor-drivers.txt with its # provides: entry point(s).
Extend tests/test_vendor_drivers.py / discovery classification as needed.
Add the device type to ui/src/lib/deviceTypes.ts only if the role is new.
Notes
Hard fork: upstream will not take a dependency on napalm-device-types (not on PyPI), so this repo is maintained here from now on. Upstream history is kept.
License: Apache-2.0. Keep LICENSE, add a NOTICE and mark modified files as required.
napalm-device-types is not on PyPI: install it from git+https://git.netork.io/NAPALM/napalm-device-types.git before this package.
Generic logic goes into napalm-device-types, vendor mechanics stay here. If a role method needs a new contract or mixin, that is a separate change in napalm-device-types first.
Gitea Actions are disabled on this repo until a .gitea/workflows CI replaces the upstream GitHub workflows.
Mocked test data only covers the classic NAPALM getters. New role methods need real device output as fixtures, and the driver needs one run against a real device before it is pinned in netOrk.
Priority: P3 (important, not urgent). Target: before 2026-11-05.
## Goal
Move the VyOS driver from `napalm.base.NetworkDriver` onto the `napalm-device-types` role bases so netOrk can poll VyOS routers like its own drivers.
## Scope
- Inherit from `FirewallDriver` (NAT/VPN, firewall rules, DHCP server, health metrics, package management).
- Keep all existing getters and their 19 mocked test cases green.
- Implement the role methods VyOS supports; leave the rest undeclared (role bases declare, they never implement).
- Modernise packaging to `pyproject.toml` with a `napalm.drivers` entry point (`vyos`).
- Check the driver against current VyOS 1.4/1.5 output; upstream was last touched in 2023-11.
## Integration into netOrk (separate change in NetOrk/netork)
- Pin the repo in `vendor-drivers.txt` with its `# provides:` entry point(s).
- Extend `tests/test_vendor_drivers.py` / discovery classification as needed.
- Add the device type to `ui/src/lib/deviceTypes.ts` only if the role is new.
## Notes
- Hard fork: upstream will not take a dependency on `napalm-device-types` (not on PyPI), so this repo is maintained here from now on. Upstream history is kept.
- License: Apache-2.0. Keep `LICENSE`, add a `NOTICE` and mark modified files as required.
- `napalm-device-types` is not on PyPI: install it from `git+https://git.netork.io/NAPALM/napalm-device-types.git` before this package.
- Generic logic goes into `napalm-device-types`, vendor mechanics stay here. If a role method needs a new contract or mixin, that is a separate change in `napalm-device-types` first.
- Gitea Actions are disabled on this repo until a `.gitea/workflows` CI replaces the upstream GitHub workflows.
- Mocked test data only covers the classic NAPALM getters. New role methods need real device output as fixtures, and the driver needs one run against a real device before it is pinned in netOrk.
Priority: P3 (important, not urgent). Target: before 2026-11-05.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Goal
Move the VyOS driver from
napalm.base.NetworkDriveronto thenapalm-device-typesrole bases so netOrk can poll VyOS routers like its own drivers.Scope
FirewallDriver(NAT/VPN, firewall rules, DHCP server, health metrics, package management).pyproject.tomlwith anapalm.driversentry point (vyos).Integration into netOrk (separate change in NetOrk/netork)
vendor-drivers.txtwith its# provides:entry point(s).tests/test_vendor_drivers.py/ discovery classification as needed.ui/src/lib/deviceTypes.tsonly if the role is new.Notes
napalm-device-types(not on PyPI), so this repo is maintained here from now on. Upstream history is kept.LICENSE, add aNOTICEand mark modified files as required.napalm-device-typesis not on PyPI: install it fromgit+https://git.netork.io/NAPALM/napalm-device-types.gitbefore this package.napalm-device-types, vendor mechanics stay here. If a role method needs a new contract or mixin, that is a separate change innapalm-device-typesfirst..gitea/workflowsCI replaces the upstream GitHub workflows.Priority: P3 (important, not urgent). Target: before 2026-11-05.